@ConfigurationProperties(value="host-resolution") public static class HttpServerConfiguration.HostResolutionConfiguration extends java.lang.Object
HttpHostResolver
.Constructor and Description |
---|
HostResolutionConfiguration() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getHostHeader() |
java.lang.String |
getPortHeader() |
java.lang.String |
getProtocolHeader() |
boolean |
isPortInHost() |
void |
setHostHeader(java.lang.String hostHeader) |
void |
setPortHeader(java.lang.String portHeader) |
void |
setPortInHost(boolean portInHost) |
void |
setProtocolHeader(java.lang.String protocolHeader) |
public java.lang.String getHostHeader()
public void setHostHeader(java.lang.String hostHeader)
hostHeader
- The header name that stores the hostpublic java.lang.String getProtocolHeader()
public void setProtocolHeader(java.lang.String protocolHeader)
protocolHeader
- The header name that stores the protocolpublic java.lang.String getPortHeader()
public void setPortHeader(java.lang.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 ().