org.springframework.boot.web.embedded.undertow

Interface ConfigurableUndertowWebServerFactory

    • Method Detail

      • setBufferSize

        void setBufferSize(Integer bufferSize)
        Set the buffer size.
        Parameters:
        bufferSize - buffer size
      • setIoThreads

        void setIoThreads(Integer ioThreads)
        Set the number of IO Threads.
        Parameters:
        ioThreads - number of IO Threads
      • setWorkerThreads

        void setWorkerThreads(Integer workerThreads)
        Set the number of Worker Threads.
        Parameters:
        workerThreads - number of Worker Threads
      • setUseDirectBuffers

        void setUseDirectBuffers(Boolean useForwardHeaders)
        Set whether direct buffers should be used.
        Parameters:
        useForwardHeaders - whether direct buffers should be used
      • setAccessLogDirectory

        void setAccessLogDirectory(File accessLogDirectory)
        Set the access log directory.
        Parameters:
        accessLogDirectory - access log directory
      • setAccessLogPattern

        void setAccessLogPattern(String accessLogPattern)
        Set the access log pattern.
        Parameters:
        accessLogPattern - access log pattern
      • setAccessLogPrefix

        void setAccessLogPrefix(String accessLogPrefix)
        Set the access log prefix.
        Parameters:
        accessLogPrefix - log prefix
      • setAccessLogSuffix

        void setAccessLogSuffix(String accessLogSuffix)
        Set the access log suffix.
        Parameters:
        accessLogSuffix - access log suffix
      • setAccessLogEnabled

        void setAccessLogEnabled(boolean accessLogEnabled)
        Set whether access logs are enabled.
        Parameters:
        accessLogEnabled - whether access logs are enabled
      • setAccessLogRotate

        void setAccessLogRotate(boolean accessLogRotate)
        Set whether access logs rotation is enabled.
        Parameters:
        accessLogRotate - whether access logs rotation is enabled
      • setUseForwardHeaders

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