org.springframework.boot.web.embedded.undertow

Interface ConfigurableUndertowWebServerFactory

    • Method Detail

      • setBuilderCustomizers

        void setBuilderCustomizers(java.util.Collection<? extends UndertowBuilderCustomizer> customizers)
        Set UndertowBuilderCustomizers that should be applied to the Undertow Undertow.Builder. Calling this method will replace any existing customizers.
        Parameters:
        customizers - the customizers to set
        Since:
        2.3.0
      • setBufferSize

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

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

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

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

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

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

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

        void setAccessLogSuffix(java.lang.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