Interface ManagementConfig


@ConfigMapping(prefix="quarkus.management") @ConfigRoot(phase=RUN_TIME) public interface ManagementConfig
Management interface.

Note that the management interface must be enabled using the ManagementInterfaceBuildTimeConfig.enabled() build-time property.

  • Method Details

    • auth

      Authentication configuration
    • port

      @WithDefault("9000") int port()
      The HTTP port
    • testPort

      @WithDefault("9001") int testPort()
      The HTTP port
    • host

      String host()
      The HTTP host

      In dev/test mode this defaults to localhost, in prod mode this defaults to 0.0.0.0

      Defaulting to 0.0.0.0 makes it easier to deploy Quarkus to container, however it is not suitable for dev/test mode as other people on the network can connect to your development machine.

      As an exception, when running in Windows Subsystem for Linux (WSL), the HTTP host defaults to 0.0.0.0 even in dev/test mode since using localhost makes the application inaccessible.

    • hostEnabled

      @WithDefault("true") boolean hostEnabled()
      Enable listening to host:port
    • cors

      @ConfigDocSection(generated=true) CORSConfig cors()
      The CORS config
    • hostValidation

      @ConfigDocSection(generated=true) HostValidationConfig hostValidation()
      The HTTP Host header validation
    • ssl

      The SSL config
    • tlsConfigurationName

      Optional<String> tlsConfigurationName()
      The name of the TLS configuration to use.

      If not set and the default TLS configuration is configured (quarkus.tls.*) then that will be used. If a name is configured, it uses the configuration from quarkus.tls.<name>.* If a name is configured, but no TLS configuration is found with that name then an error will be thrown.

      If no TLS configuration is set, and quarkus.tls.* is not configured, then, `quarkus.management.ssl` will be used.

    • handle100ContinueAutomatically

      @WithName("handle-100-continue-automatically") @WithDefault("false") boolean handle100ContinueAutomatically()
      When set to true, the HTTP server automatically sends `100 CONTINUE` response when the request expects it (with the `Expect: 100-Continue` header).
    • useSemicolonAsQueryParamDelimiter

      @WithDefault("false") boolean useSemicolonAsQueryParamDelimiter()
      Whether the HTTP server should treat the semicolon (;) as a query parameter delimiter, in addition to the ampersand (&).

      When set to true, a request like /path?a=1;b=2 is parsed as two parameters (a=1 and b=2). When set to false (the default), the semicolon is treated as a literal character and the request yields a single parameter (a=1;b=2).

    • limits

      Server limits configuration
    • idleTimeout

      @WithDefault("30M") Duration idleTimeout()
      Http connection idle timeout
    • body

      BodyConfig body()
      Request body related settings
    • acceptBacklog

      @WithDefault("-1") int acceptBacklog()
      The accept backlog, this is how many connections can be waiting to be accepted before connections start being rejected
    • domainSocket

      @WithDefault("/var/run/io.quarkus.management.socket") String domainSocket()
      Path to a Unix Domain Socket.
    • domainSocketEnabled

      @WithDefault("false") boolean domainSocketEnabled()
      Enable listening to host:port
    • header

      Additional HTTP Headers always sent in the response
    • filter

      Additional HTTP configuration per path
    • proxy

      ProxyConfig proxy()
      Holds configuration related with proxy addressing forward.
    • websocketServer

      @ConfigDocSection WebsocketServerConfig websocketServer()
      WebSocket Server configuration.
    • tcpUserTimeout

      @WithDefault("0s") Duration tcpUserTimeout()
      TCP user timeout (linux native transport only). 0 means disabled.
    • soLinger

      @WithDefault("-1") int soLinger()
      Socket linger timeout in seconds. -1 means disabled.
    • sendBufferSize

      OptionalInt sendBufferSize()
      Socket send buffer size. When not set, the OS default is used.
    • receiveBufferSize

      OptionalInt receiveBufferSize()
      Socket receive buffer size. When not set, the OS default is used.
    • readIdleTimeout

      @WithDefault("0s") Duration readIdleTimeout()
      Read-specific idle timeout. 0 means disabled.
    • writeIdleTimeout

      @WithDefault("0s") Duration writeIdleTimeout()
      Write-specific idle timeout. 0 means disabled.
    • compressionContentSizeThreshold

      @WithDefault("0") int compressionContentSizeThreshold()
      Minimum response body size (in bytes) to trigger compression. 0 means compress everything when compression is enabled.
    • proxyProtocolTimeout

      @WithDefault("10s") Duration proxyProtocolTimeout()
      The timeout for the PROXY protocol handshake. When the PROXY protocol is enabled (quarkus.management.proxy.use-proxy-protocol=true), this configures how long the server waits for the PROXY protocol header before closing the connection.
    • tcpKeepAlive

      @WithDefault("false") boolean tcpKeepAlive()
      Enable TCP keepalive.

      This is an advanced setting. When enabled, the server sends TCP keepalive probes to detect dead connections.

    • logActivity

      @WithDefault("false") boolean logActivity()
      Enable Netty-level wire logging for the management interface.

      This is an advanced setting. When enabled, all bytes sent and received on the server are logged at DEBUG level using the Netty logging handler. This produces a large volume of logs.

    • activityLogDataFormat

      @WithDefault("HEX_DUMP") VertxHttpConfig.ActivityLogDataFormat activityLogDataFormat()
      The format for Netty activity log data. Only used when log-activity is enabled.

      This is an advanced setting.

    • reuseAddress

      @WithDefault("true") boolean reuseAddress()
      Enable address reuse on the server socket.

      This is an advanced setting. When enabled, the SO_REUSEADDR option is set on the server socket.

    • trafficClass

      @WithDefault("-1") int trafficClass()
      The value of the IP traffic class (TOS field) for outgoing packets.

      This is an advanced setting. Valid values range from 0 to 255. A value of -1 (the default) means the traffic class is not set.

    • determinePort

      default int determinePort(io.quarkus.runtime.LaunchMode launchMode)