org.springframework.boot.web.embedded.jetty

Interface ConfigurableJettyWebServerFactory

    • Method Detail

      • setAcceptors

        void setAcceptors(int acceptors)
        Set the number of acceptor threads to use.
        Parameters:
        acceptors - the number of acceptor threads to use
      • setSelectors

        void setSelectors(int selectors)
        Set the number of selector threads to use.
        Parameters:
        selectors - the number of selector threads to use
      • setUseForwardHeaders

        void setUseForwardHeaders(boolean useForwardHeaders)
        Set if x-forward-* headers should be processed.
        Parameters:
        useForwardHeaders - if x-forward headers should be used