@ConfigRoot(phase=RUN_TIME) public class HttpConfig extends Object
| Modifier and Type | Field and Description |
|---|---|
CORSConfig |
cors
The CORS config
|
String |
host
The HTTP host
|
OptionalInt |
ioThreads
The number if IO threads used to perform IO.
|
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
|
| Constructor and Description |
|---|
HttpConfig() |
| Modifier and Type | Method and Description |
|---|---|
int |
determinePort(LaunchMode launchMode) |
int |
determineSslPort(LaunchMode launchMode) |
@ConfigItem(defaultValue="8080") public int port
@ConfigItem(defaultValue="8443") public int sslPort
@ConfigItem(defaultValue="8081") public int testPort
@ConfigItem(defaultValue="8444") public int testSslPort
@ConfigItem(defaultValue="0.0.0.0") public String host
@ConfigItem public OptionalInt ioThreads
public ServerSslConfig ssl
public CORSConfig cors
public int determinePort(LaunchMode launchMode)
public int determineSslPort(LaunchMode launchMode)
Copyright © 2019 JBoss by Red Hat. All rights reserved.