Class ManagementInterfaceConfiguration

java.lang.Object
io.quarkus.vertx.http.runtime.management.ManagementInterfaceConfiguration

@ConfigRoot(phase=RUN_TIME, name="management") public class ManagementInterfaceConfiguration extends Object
Configures the management interface. Note that the management interface must be enabled using the ManagementInterfaceBuildTimeConfig.enabled build-time property.
  • Field Details

    • auth

      Authentication configuration
    • port

      @ConfigItem(defaultValue="9000") public int port
      The HTTP port
    • testPort

      @ConfigItem(defaultValue="9001") public int testPort
      The HTTP port
    • host

      @ConfigItem public 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

      @ConfigItem(defaultValue="true") public boolean hostEnabled
      Enable listening to host:port
    • ssl

      public ServerSslConfig ssl
      The SSL config
    • tlsConfigurationName

      @ConfigItem public 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

      @ConfigItem(defaultValue="false", name="handle-100-continue-automatically") public 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).
    • limits

      public ServerLimitsConfig limits
      Server limits configuration
    • idleTimeout

      @ConfigItem(defaultValue="30M", name="idle-timeout") public Duration idleTimeout
      Http connection idle timeout
    • body

      public BodyConfig body
      Request body related settings
    • acceptBacklog

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

      @ConfigItem(defaultValue="/var/run/io.quarkus.management.socket") public String domainSocket
      Path to a unix domain socket
    • domainSocketEnabled

      @ConfigItem public boolean domainSocketEnabled
      Enable listening to host:port
    • filter

      Additional HTTP configuration per path
    • proxy

      public ProxyConfig proxy
  • Constructor Details

    • ManagementInterfaceConfiguration

      public ManagementInterfaceConfiguration()
  • Method Details

    • determinePort

      public int determinePort(LaunchMode launchMode)