public class ProxyConfig extends Object
IHTTPProxy,
HTTPProxyFactory| Constructor and Description |
|---|
ProxyConfig()
Constructor of ProxyConfig
|
| Modifier and Type | Method and Description |
|---|---|
int |
getKeepAliveInterval()
Get keep alive interval value
|
int |
getKeepAliveTimeoutWithoutContentLength()
Get keep alive interval value for a content without content length
information
|
IHTTPLocalServerFactory |
getLocalServerFactory()
Get Factory of
IHTTPLocalServer that enables to return HTTP
Response for specified request directly from the proxy. |
int |
getMaxConnection()
Get maximum connection number of the proxy
|
int |
getMaxQueueSize()
Get maximum queue size
|
int |
getPort()
Get port number of proxy
|
IHTTPProxyTranscoderFactory |
getProxyTranscoderFactory()
Get Factory of
IHTTPProxyTranscoder that is used to transcode
HTTP Response message |
ISecretManager |
getSecretManager()
Get
ISecretManager that is used for confirmation of correct
server-client combination. |
IHTTPSessionOverriderFactory |
getSessionOverriderFactory()
Get Factory of
IHTTPSessionOverrider that is used to override
HTTP Session in the proxy |
int |
getTimeout()
Get time out value
|
void |
setLocalServerFactory(IHTTPLocalServerFactory localServerFactory)
Set Factory of
IHTTPLocalServer that enables to return HTTP
Response for specified request directly from the proxy. |
void |
setMaxConnection(int maxConnection)
Set maximum connection number of the proxy
|
void |
setPort(int port)
Set port number for the proxy
|
void |
setProxyTranscoderFactory(IHTTPProxyTranscoderFactory proxyTranscoderFactory)
Set Factory of
IHTTPProxyTranscoder that is used to transcode
HTTP Response message in the proxy |
void |
setSecretManager(ISecretManager secretManager)
Set
ISecretManager that is used for confirmation of correct
server-client combination. |
void |
setSessionOverriderFactory(IHTTPSessionOverriderFactory sessionOverriderFactory)
Set Factory of
IHTTPSessionOverrider that is used to override
HTTP Session in the proxy |
void |
setTimeout(int timeout)
Set time out value of the proxy
|
public int getPort()
public void setPort(int port)
port - port numberpublic int getMaxConnection()
public void setMaxConnection(int maxConnection)
maxConnection - maximum connection numberpublic int getTimeout()
public void setTimeout(int timeout)
timeout - time out valuepublic int getKeepAliveInterval()
public int getMaxQueueSize()
public int getKeepAliveTimeoutWithoutContentLength()
public IHTTPProxyTranscoderFactory getProxyTranscoderFactory()
IHTTPProxyTranscoder that is used to transcode
HTTP Response messageIHTTPProxyTranscoderIHTTPProxyTranscoderpublic void setProxyTranscoderFactory(IHTTPProxyTranscoderFactory proxyTranscoderFactory)
IHTTPProxyTranscoder that is used to transcode
HTTP Response message in the proxyproxyTranscoderFactory - target IHTTPProxyTranscoderFactoryIHTTPProxyTranscoderpublic IHTTPSessionOverriderFactory getSessionOverriderFactory()
IHTTPSessionOverrider that is used to override
HTTP Session in the proxyIHTTPSessionOverriderIHTTPSessionOverriderpublic void setSessionOverriderFactory(IHTTPSessionOverriderFactory sessionOverriderFactory)
IHTTPSessionOverrider that is used to override
HTTP Session in the proxysessionOverriderFactory - target IHTTPSessionOverriderFactoryIHTTPSessionOverriderpublic IHTTPLocalServerFactory getLocalServerFactory()
IHTTPLocalServer that enables to return HTTP
Response for specified request directly from the proxy.IHTTPLocalServerIHTTPLocalServerpublic void setLocalServerFactory(IHTTPLocalServerFactory localServerFactory)
IHTTPLocalServer that enables to return HTTP
Response for specified request directly from the proxy.localServerFactory - target IHTTPLocalServerFactoryIHTTPLocalServerpublic ISecretManager getSecretManager()
ISecretManager that is used for confirmation of correct
server-client combination.public void setSecretManager(ISecretManager secretManager)
ISecretManager that is used for confirmation of correct
server-client combination.secretManager - target secret manager