Class ManagementWebServerFactoryCustomizer<T extends org.springframework.boot.web.server.ConfigurableWebServerFactory>
java.lang.Object
org.springframework.boot.actuate.autoconfigure.web.server.ManagementWebServerFactoryCustomizer<T>
- Type Parameters:
T- the type of web server factory to customize
- All Implemented Interfaces:
org.springframework.boot.web.server.WebServerFactoryCustomizer<T>,org.springframework.core.Ordered
public abstract class ManagementWebServerFactoryCustomizer<T extends org.springframework.boot.web.server.ConfigurableWebServerFactory>
extends Object
implements org.springframework.boot.web.server.WebServerFactoryCustomizer<T>, org.springframework.core.Ordered
WebServerFactoryCustomizer that customizes the WebServerFactory used to
create the management context's web server.- Since:
- 2.0.0
-
Field Summary
Fields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedManagementWebServerFactoryCustomizer(org.springframework.beans.factory.ListableBeanFactory beanFactory, Class<? extends org.springframework.boot.web.server.WebServerFactoryCustomizer<?>>... customizerClasses) -
Method Summary
-
Constructor Details
-
ManagementWebServerFactoryCustomizer
@SafeVarargs protected ManagementWebServerFactoryCustomizer(org.springframework.beans.factory.ListableBeanFactory beanFactory, Class<? extends org.springframework.boot.web.server.WebServerFactoryCustomizer<?>>... customizerClasses)
-
-
Method Details
-
getOrder
public int getOrder()- Specified by:
getOrderin interfaceorg.springframework.core.Ordered
-
customize
- Specified by:
customizein interfaceorg.springframework.boot.web.server.WebServerFactoryCustomizer<T extends org.springframework.boot.web.server.ConfigurableWebServerFactory>
-
customize
protected void customize(T factory, ManagementServerProperties managementServerProperties, org.springframework.boot.autoconfigure.web.ServerProperties serverProperties)
-