org.springframework.boot.web.embedded.tomcat

Interface TomcatProtocolHandlerCustomizer<T extends org.apache.coyote.ProtocolHandler>

  • Type Parameters:
    T - specified type for customization based on ProtocolHandler
    Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.


    @FunctionalInterface
    public interface TomcatProtocolHandlerCustomizer<T extends org.apache.coyote.ProtocolHandler>
    Callback interface that can be used to customize the ProtocolHandler on the Connector.
    Since:
    2.2.0
    See Also:
    ConfigurableTomcatWebServerFactory
    • Method Detail

      • customize

        void customize(T protocolHandler)
        Customize the protocol handler.
        Parameters:
        protocolHandler - the protocol handler to customize