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.enabledbuild-time property.
-
-
Field Summary
Fields Modifier and Type Field Description intacceptBacklogThe accept backlog, this is how many connections can be waiting to be accepted before connections start being rejectedManagementRuntimeAuthConfigauthAuthentication configurationBodyConfigbodyRequest body related settingsStringdomainSocketPath to a unix domain socketbooleandomainSocketEnabledEnable listening to host:portMap<String,FilterConfig>filterAdditional HTTP configuration per pathbooleanhandle100ContinueAutomaticallyWhen set totrue, the HTTP server automatically sends `100 CONTINUE` response when the request expects it (with the `Expect: 100-Continue` header).Map<String,HeaderConfig>headerAdditional HTTP Headers always sent in the responseOptional<String>hostThe 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.booleanhostEnabledEnable listening to host:portDurationidleTimeoutHttp connection idle timeoutServerLimitsConfiglimitsServer limits configurationintportThe HTTP portProxyConfigproxyServerSslConfigsslThe SSL configinttestPortThe HTTP port
-
Constructor Summary
Constructors Constructor Description ManagementInterfaceConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intdeterminePort(LaunchMode launchMode)
-
-
-
Field Detail
-
auth
public ManagementRuntimeAuthConfig 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 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)
-
-