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
      • addServerCustomizers

        void addServerCustomizers(JettyServerCustomizer... customizers)
        Add JettyServerCustomizers that will be applied to the Server before it is started.
        Parameters:
        customizers - the customizers to add

Copyright © 2018 Pivotal Software, Inc.. All rights reserved.