@ConfigRoot(phase=RUN_TIME) public class HttpConfiguration extends Object
| Modifier and Type | Field and Description |
|---|---|
BodyConfig |
body
Request body related settings
|
CORSConfig |
cors
The CORS config
|
boolean |
corsEnabled
Enable the CORS filter.
|
String |
host
The HTTP host
|
OptionalInt |
ioThreads
The number if IO threads used to perform IO.
|
ServerLimitsConfig |
limits
Server limits configuration
|
int |
port
The HTTP port
|
ServerSslConfig |
ssl
The SSL config
|
int |
sslPort
The HTTPS port
|
int |
testPort
The HTTP port used to run tests
|
int |
testSslPort
The HTTPS port used to run tests
|
boolean |
virtual
If this is true then only a virtual channel will be set up for vertx web.
|
| Constructor and Description |
|---|
HttpConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
int |
determinePort(LaunchMode launchMode) |
int |
determineSslPort(LaunchMode launchMode) |
@ConfigItem(name="cors", defaultValue="false") public boolean corsEnabled
@ConfigItem(defaultValue="8080") public int port
@ConfigItem(defaultValue="8081") public int testPort
@ConfigItem(defaultValue="0.0.0.0") public String host
@ConfigItem(defaultValue="8443") public int sslPort
@ConfigItem(defaultValue="8444") public int testSslPort
public CORSConfig cors
public ServerSslConfig ssl
@ConfigItem public OptionalInt ioThreads
@ConfigItem(defaultValue="false") public boolean virtual
public ServerLimitsConfig limits
public BodyConfig body
public int determinePort(LaunchMode launchMode)
public int determineSslPort(LaunchMode launchMode)
Copyright © 2019 JBoss by Red Hat. All rights reserved.