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 theManagementInterfaceBuildTimeConfig.enabled
build-time property.
-
-
Field Summary
Fields Modifier and Type Field Description int
acceptBacklog
The accept backlog, this is how many connections can be waiting to be accepted before connections start being rejectedBodyConfig
body
Request body related settingsString
domainSocket
Path to a unix domain socketboolean
domainSocketEnabled
Enable listening to host:portMap<String,FilterConfig>
filter
Additional HTTP configuration per pathboolean
handle100ContinueAutomatically
When set totrue
, the HTTP server automatically sends `100 CONTINUE` response when the request expects it (with the `Expect: 100-Continue` header).Map<String,HeaderConfig>
header
Additional HTTP Headers always sent in the responseOptional<String>
host
The HTTP host 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.boolean
hostEnabled
Enable listening to host:portDuration
idleTimeout
Http connection idle timeoutServerLimitsConfig
limits
Server limits configurationint
port
The HTTP portProxyConfig
proxy
ServerSslConfig
ssl
The SSL configint
testPort
The HTTP port
-
Constructor Summary
Constructors Constructor Description ManagementInterfaceConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
determinePort(LaunchMode launchMode)
-
-
-
Field Detail
-
port
@ConfigItem(defaultValue="9000") public int port
The HTTP port
-
testPort
@ConfigItem(defaultValue="9001") public int testPort
The HTTP port
-
host
@ConfigItem public Optional<String> host
The HTTP host 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.
-
hostEnabled
@ConfigItem(defaultValue="true") public boolean hostEnabled
Enable listening to host:port
-
ssl
public ServerSslConfig ssl
The SSL config
-
handle100ContinueAutomatically
@ConfigItem(defaultValue="false", name="handle-100-continue-automatically") public 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
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
-
header
@ConfigItem public Map<String,HeaderConfig> header
Additional HTTP Headers always sent in the response
-
filter
@ConfigItem public Map<String,FilterConfig> filter
Additional HTTP configuration per path
-
proxy
public ProxyConfig proxy
-
-
Method Detail
-
determinePort
public int determinePort(LaunchMode launchMode)
-
-