Interface ManagementConfig
ManagementInterfaceBuildTimeConfig.enabled() build-time property.-
Method Summary
Modifier and TypeMethodDescriptionintThe accept backlog, this is how many connections can be waiting to be accepted before connections start being rejectedauth()Authentication configurationbody()Request body related settingsdefault intdeterminePort(LaunchMode launchMode) Path to a unix domain socketbooleanEnable listening to host:portfilter()Additional HTTP configuration per pathbooleanWhen set totrue, the HTTP server automatically sends `100 CONTINUE` response when the request expects it (with the `Expect: 100-Continue` header).header()Additional HTTP Headers always sent in the responsehost()The HTTP hostbooleanEnable listening to host:portHttp connection idle timeoutlimits()Server limits configurationintport()The HTTP portproxy()Holds configuration related with proxy addressing forward.ssl()The SSL configinttestPort()The HTTP portThe name of the TLS configuration to use.
-
Method Details
-
auth
ManagementRuntimeAuthConfig auth()Authentication configuration -
port
@WithDefault("9000") int port()The HTTP port -
testPort
@WithDefault("9001") int testPort()The HTTP port -
host
String host()The HTTP hostIn 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 -
ssl
ServerSslConfig ssl()The SSL config -
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 fromquarkus.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 totrue, the HTTP server automatically sends `100 CONTINUE` response when the request expects it (with the `Expect: 100-Continue` header). -
limits
ServerLimitsConfig limits()Server limits configuration -
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
Path to a unix domain socket -
domainSocketEnabled
@WithDefault("false") boolean domainSocketEnabled()Enable listening to host:port -
header
Map<String,HeaderConfig> header()Additional HTTP Headers always sent in the response -
filter
Map<String,FilterConfig> filter()Additional HTTP configuration per path -
proxy
ProxyConfig proxy()Holds configuration related with proxy addressing forward. -
determinePort
-