Class ManagementWebServerFactoryCustomizer<T extends org.springframework.boot.web.server.ConfigurableWebServerFactory>

  • 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
    • Constructor Detail

      • ManagementWebServerFactoryCustomizer

        @SafeVarargs
        protected ManagementWebServerFactoryCustomizer​(org.springframework.beans.factory.ListableBeanFactory beanFactory,
                                                       Class<? extends org.springframework.boot.web.server.WebServerFactoryCustomizer<?>>... customizerClasses)
    • Method Detail

      • getOrder

        public int getOrder()
        Specified by:
        getOrder in interface org.springframework.core.Ordered
      • customize

        public final void customize​(T factory)
        Specified by:
        customize in interface 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)