类 ManagementWebServerFactoryCustomizer<T extends org.springframework.boot.web.server.ConfigurableWebServerFactory>
- java.lang.Object
- org.springframework.boot.actuate.autoconfigure.web.server.ManagementWebServerFactoryCustomizer<T>
- 类型参数:
T
- the type of web server factory to customize
- 所有已实现的接口:
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 theWebServerFactory
used to create the management context's web server.- 从以下版本开始:
- 2.0.0
构造器概要
构造器 限定符 构造器 说明 protected
ManagementWebServerFactoryCustomizer(org.springframework.beans.factory.ListableBeanFactory beanFactory, Class<? extends org.springframework.boot.web.server.WebServerFactoryCustomizer<?>>... customizerClasses)
构造器详细资料
ManagementWebServerFactoryCustomizer
@SafeVarargs protected ManagementWebServerFactoryCustomizer(org.springframework.beans.factory.ListableBeanFactory beanFactory, Class<? extends org.springframework.boot.web.server.WebServerFactoryCustomizer<?>>... customizerClasses)
方法详细资料
getOrder
public int getOrder()
- 指定者:
getOrder
在接口中org.springframework.core.Ordered
customize
public final void customize(T factory)
- 指定者:
customize
在接口中org.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)