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("true") boolean useSemicolonAsQueryParamDelimiter()
      Whether the HTTP server should treat the semicolon (;) as a query parameter delimiter, in addition to the ampersand (&).

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

      The default is true to preserve backward compatibility. It will change to false in Quarkus 4, as using the semicolon as a query parameter delimiter is uncommon and can cause issues when semicolons appear as part of parameter values.

    • 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.
    • determinePort

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