Interface IProxyServerConfiguration
-
- All Known Implementing Classes:
ProxyServerConfiguration
public interface IProxyServerConfigurationDefines the proxy server configuration
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetConnectionsPerThread()Get the connections per threadintgetMaxRequestTime()Ger the max request timejava.lang.String[]getProxyHostNames()Get the proxy host namesbooleanreuseXForwarded()Define if any existing X-Forwarded-For header should be used or should it be overwritten.booleanrewriteHostHeader()Define if the HOST header should be rewritten to use the target host of the call.
-
-
-
Method Detail
-
rewriteHostHeader
boolean rewriteHostHeader()
Define if the HOST header should be rewritten to use the target host of the call.- Returns:
- true to reqrite the host header
-
reuseXForwarded
boolean reuseXForwarded()
Define if any existing X-Forwarded-For header should be used or should it be overwritten.- Returns:
- true to reuse
-
getMaxRequestTime
int getMaxRequestTime()
Ger the max request time- Returns:
- the max request time
-
getConnectionsPerThread
int getConnectionsPerThread()
Get the connections per thread- Returns:
- the connections per thread
-
getProxyHostNames
java.lang.String[] getProxyHostNames()
Get the proxy host names- Returns:
- the proxy host names
-
-