@ConfigurationProperties(value="host-resolution") public static class HttpServerConfiguration.HostResolutionConfiguration extends Object
HttpHostResolver
.Constructor and Description |
---|
HostResolutionConfiguration() |
Modifier and Type | Method and Description |
---|---|
String |
getHostHeader() |
String |
getPortHeader() |
String |
getProtocolHeader() |
boolean |
isPortInHost() |
void |
setHostHeader(String hostHeader) |
void |
setPortHeader(String portHeader) |
void |
setPortInHost(boolean portInHost) |
void |
setProtocolHeader(String protocolHeader) |
public String getHostHeader()
public void setHostHeader(String hostHeader)
hostHeader
- The header name that stores the hostpublic String getProtocolHeader()
public void setProtocolHeader(String protocolHeader)
protocolHeader
- The header name that stores the protocolpublic String getPortHeader()
public void setPortHeader(String portHeader)
portHeader
- The header name that stores the portpublic boolean isPortInHost()
public void setPortInHost(boolean portInHost)
portInHost
- True if the host header supports a port
appended with :
. Default value ().