public class PassThroughConfiguration
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
java.lang.Boolean |
getBooleanProperty(java.lang.String name)
Get a Boolean property that tunes pass-through http transport.
|
java.lang.Boolean |
getBooleanProperty(java.lang.String name,
java.lang.Boolean def)
Get a boolean property that tunes pass-through http transport.
|
int |
getConnectionGraceTime() |
int |
getConnectionIdleTime() |
java.lang.String |
getCorrelationHeaderName() |
static PassThroughConfiguration |
getInstance() |
java.lang.Integer |
getIntProperty(java.lang.String name)
Get an int property that tunes pass-through http transport.
|
java.lang.Integer |
getIntProperty(java.lang.String name,
java.lang.Integer def)
Get an int property that tunes pass-through http transport.
|
int |
getIOBufferSize() |
int |
getIOThreadsPerReactor() |
int |
getListenerShutdownWaitTime() |
int |
getMaxActiveConnections() |
int |
getMaximumConnectionLifespan() |
java.lang.String |
getPassThroughDefaultServiceName()
Get the default synapse service name
|
java.lang.String |
getPreserveHttpHeaders() |
java.lang.String |
getResponsePreseveHttpHeaders() |
java.lang.String |
getRESTDispatchService() |
java.lang.String |
getRestUriApiRegex() |
java.lang.String |
getRestUriProxyRegex() |
java.lang.String |
getStringProperty(java.lang.String name,
java.lang.String def)
Get a String property that tunes pass-through http transport.
|
int |
getWorkerPoolCoreSize() |
int |
getWorkerPoolMaxSize() |
int |
getWorkerPoolQueueLen() |
int |
getWorkerThreadKeepaliveSec() |
boolean |
isForcedJSONMessageValidationEnabled() |
boolean |
isForcedXmlMessageValidationEnabled() |
boolean |
isKeepAliveDisabled() |
boolean |
isListeningIOReactorShared() |
boolean |
isPreserveServerHeader() |
boolean |
isPreserveUserAgentHeader() |
boolean |
isReverseProxyMode()
Check for reverse proxy mode
|
public static PassThroughConfiguration getInstance()
public int getWorkerPoolCoreSize()
public int getWorkerPoolMaxSize()
public int getWorkerThreadKeepaliveSec()
public int getWorkerPoolQueueLen()
public int getIOThreadsPerReactor()
public int getIOBufferSize()
public boolean isKeepAliveDisabled()
public int getMaxActiveConnections()
public int getListenerShutdownWaitTime()
public boolean isPreserveUserAgentHeader()
public boolean isPreserveServerHeader()
public boolean isForcedXmlMessageValidationEnabled()
public boolean isForcedJSONMessageValidationEnabled()
public java.lang.String getPreserveHttpHeaders()
public java.lang.String getResponsePreseveHttpHeaders()
public int getConnectionIdleTime()
public int getMaximumConnectionLifespan()
public int getConnectionGraceTime()
public java.lang.String getCorrelationHeaderName()
public java.lang.Integer getIntProperty(java.lang.String name, java.lang.Integer def)
name
- name of the system/config propertydef
- default value to return if the property is not setpublic java.lang.Integer getIntProperty(java.lang.String name)
name
- name of the system/config propertypublic java.lang.Boolean getBooleanProperty(java.lang.String name, java.lang.Boolean def)
name
- name of the system/config propertydef
- default value to return if the property is not setpublic java.lang.Boolean getBooleanProperty(java.lang.String name)
name
- name of the system/config propertypublic java.lang.String getStringProperty(java.lang.String name, java.lang.String def)
name
- name of the system/config propertydef
- default value to return if the property is not setpublic java.lang.String getRESTDispatchService()
public java.lang.String getRestUriApiRegex()
public java.lang.String getRestUriProxyRegex()
public boolean isListeningIOReactorShared()
public boolean isReverseProxyMode()
public java.lang.String getPassThroughDefaultServiceName()
Copyright © 2005-2021 Apache Software Foundation. All Rights Reserved.