|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.synapse.transport.nhttp.NHttpConfiguration
public final class NHttpConfiguration
Store and manage properties that tune the nhttp transport
| Field Summary | |
|---|---|
static String |
BLOCK_SERVICE_LIST
Comma separated list of blocked uris |
static String |
BLOCK_SERVICE_LIST_DEFAULT
Default value for BLOCK_SERVICE_LIST |
static int |
DEFAULT_LISTENER_SHUTDOWN_WAIT_TIME
|
static int |
MAX_ACTIVE_CON
|
static String |
TRANSPORT_LISTENER_SHUTDOWN_WAIT_TIME
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int MAX_ACTIVE_CON
public static final String TRANSPORT_LISTENER_SHUTDOWN_WAIT_TIME
public static final int DEFAULT_LISTENER_SHUTDOWN_WAIT_TIME
public static final String BLOCK_SERVICE_LIST
public static final String BLOCK_SERVICE_LIST_DEFAULT
| Method Detail |
|---|
public static NHttpConfiguration getInstance()
public int getServerCoreThreads()
public int getServerMaxThreads()
public int getServerKeepalive()
public int getServerQueueLen()
public int getServerIOWorkers()
public int getClientCoreThreads()
public int getClientMaxThreads()
public int getClientKeepalive()
public int getClientQueueLen()
public int getClientIOWorkers()
public int getMaxActiveConnections()
public int getErrorHandlerCoreThreads()
public int getErrorHandlerTMaxThreads()
public int getErrorHandlerKeepAlive()
public int getErrorHandlerQueuelen()
public boolean isErrorHandlerPoolEnabled()
public int getBufferSize()
public boolean isKeepAliveDisabled()
public boolean isPreserveUserAgentHeader()
public boolean isPreserveServerHeader()
public boolean isCountConnections()
public String isServiceListBlocked()
public String getRESTDispatchService()
public String getRestUriApiRegex()
public String getRestUriProxyRegex()
public int getListenerShutdownWaitTime()
public int getProperty(String name,
int def)
name - name of the system/config propertydef - default value to return if the property is not set
public boolean getBooleanValue(String name,
boolean def)
name - name of the system/config propertydef - default value to return if the property is not set
public String getStringValue(String name,
String def)
name - name of the system/config propertydef - default value to return if the property is not set
public boolean isHttpMethodDisabled(String method)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||