|
|
@ -446,55 +446,67 @@ public class ServerProperties {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@DeprecatedConfigurationProperty(replacement = "server.tomcat.remoteip.internal-proxies")
|
|
|
|
@DeprecatedConfigurationProperty(replacement = "server.tomcat.remoteip.internal-proxies")
|
|
|
|
|
|
|
|
@Deprecated
|
|
|
|
public String getInternalProxies() {
|
|
|
|
public String getInternalProxies() {
|
|
|
|
return this.remoteip.getInternalProxies();
|
|
|
|
return this.remoteip.getInternalProxies();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Deprecated
|
|
|
|
public void setInternalProxies(String internalProxies) {
|
|
|
|
public void setInternalProxies(String internalProxies) {
|
|
|
|
this.remoteip.setInternalProxies(internalProxies);
|
|
|
|
this.remoteip.setInternalProxies(internalProxies);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@DeprecatedConfigurationProperty(replacement = "server.tomcat.remoteip.protocol-header")
|
|
|
|
@DeprecatedConfigurationProperty(replacement = "server.tomcat.remoteip.protocol-header")
|
|
|
|
|
|
|
|
@Deprecated
|
|
|
|
public String getProtocolHeader() {
|
|
|
|
public String getProtocolHeader() {
|
|
|
|
return this.remoteip.getProtocolHeader();
|
|
|
|
return this.remoteip.getProtocolHeader();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Deprecated
|
|
|
|
public void setProtocolHeader(String protocolHeader) {
|
|
|
|
public void setProtocolHeader(String protocolHeader) {
|
|
|
|
this.remoteip.setProtocolHeader(protocolHeader);
|
|
|
|
this.remoteip.setProtocolHeader(protocolHeader);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@DeprecatedConfigurationProperty(replacement = "server.tomcat.remoteip.protocol-header-https-value")
|
|
|
|
@DeprecatedConfigurationProperty(replacement = "server.tomcat.remoteip.protocol-header-https-value")
|
|
|
|
|
|
|
|
@Deprecated
|
|
|
|
public String getProtocolHeaderHttpsValue() {
|
|
|
|
public String getProtocolHeaderHttpsValue() {
|
|
|
|
return this.remoteip.getProtocolHeaderHttpsValue();
|
|
|
|
return this.remoteip.getProtocolHeaderHttpsValue();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Deprecated
|
|
|
|
public void setProtocolHeaderHttpsValue(String protocolHeaderHttpsValue) {
|
|
|
|
public void setProtocolHeaderHttpsValue(String protocolHeaderHttpsValue) {
|
|
|
|
this.remoteip.setProtocolHeaderHttpsValue(protocolHeaderHttpsValue);
|
|
|
|
this.remoteip.setProtocolHeaderHttpsValue(protocolHeaderHttpsValue);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@DeprecatedConfigurationProperty(replacement = "server.tomcat.remoteip.host-header")
|
|
|
|
@DeprecatedConfigurationProperty(replacement = "server.tomcat.remoteip.host-header")
|
|
|
|
|
|
|
|
@Deprecated
|
|
|
|
public String getHostHeader() {
|
|
|
|
public String getHostHeader() {
|
|
|
|
return this.remoteip.getHostHeader();
|
|
|
|
return this.remoteip.getHostHeader();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Deprecated
|
|
|
|
public void setHostHeader(String hostHeader) {
|
|
|
|
public void setHostHeader(String hostHeader) {
|
|
|
|
this.remoteip.setHostHeader(hostHeader);
|
|
|
|
this.remoteip.setHostHeader(hostHeader);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@DeprecatedConfigurationProperty(replacement = "server.tomcat.remote.port-header")
|
|
|
|
@DeprecatedConfigurationProperty(replacement = "server.tomcat.remote.port-header")
|
|
|
|
|
|
|
|
@Deprecated
|
|
|
|
public String getPortHeader() {
|
|
|
|
public String getPortHeader() {
|
|
|
|
return this.remoteip.getPortHeader();
|
|
|
|
return this.remoteip.getPortHeader();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Deprecated
|
|
|
|
public void setPortHeader(String portHeader) {
|
|
|
|
public void setPortHeader(String portHeader) {
|
|
|
|
this.remoteip.setPortHeader(portHeader);
|
|
|
|
this.remoteip.setPortHeader(portHeader);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@DeprecatedConfigurationProperty(replacement = "server.tomcat.remoteip.remote-ip-header")
|
|
|
|
@DeprecatedConfigurationProperty(replacement = "server.tomcat.remoteip.remote-ip-header")
|
|
|
|
|
|
|
|
@Deprecated
|
|
|
|
public String getRemoteIpHeader() {
|
|
|
|
public String getRemoteIpHeader() {
|
|
|
|
return this.remoteip.getRemoteIpHeader();
|
|
|
|
return this.remoteip.getRemoteIpHeader();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Deprecated
|
|
|
|
public void setRemoteIpHeader(String remoteIpHeader) {
|
|
|
|
public void setRemoteIpHeader(String remoteIpHeader) {
|
|
|
|
this.remoteip.setRemoteIpHeader(remoteIpHeader);
|
|
|
|
this.remoteip.setRemoteIpHeader(remoteIpHeader);
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -1057,6 +1069,7 @@ public class ServerProperties {
|
|
|
|
return this.getThreads().getAcceptors();
|
|
|
|
return this.getThreads().getAcceptors();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Deprecated
|
|
|
|
public void setAcceptors(Integer acceptors) {
|
|
|
|
public void setAcceptors(Integer acceptors) {
|
|
|
|
this.getThreads().setAcceptors(acceptors);
|
|
|
|
this.getThreads().setAcceptors(acceptors);
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -1067,6 +1080,7 @@ public class ServerProperties {
|
|
|
|
return this.getThreads().getSelectors();
|
|
|
|
return this.getThreads().getSelectors();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Deprecated
|
|
|
|
public void setSelectors(Integer selectors) {
|
|
|
|
public void setSelectors(Integer selectors) {
|
|
|
|
this.getThreads().setSelectors(selectors);
|
|
|
|
this.getThreads().setSelectors(selectors);
|
|
|
|
}
|
|
|
|
}
|
|
|
|