|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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 |
Method Summary | |
---|---|
boolean |
getBooleanValue(String name,
boolean def)
Get properties that tune nhttp transport. |
int |
getBufferSize()
|
int |
getClientCoreThreads()
|
int |
getClientIOWorkers()
|
int |
getClientKeepalive()
|
int |
getClientMaxThreads()
|
int |
getClientQueueLen()
|
static NHttpConfiguration |
getInstance()
|
int |
getProperty(String name,
int def)
Get properties that tune nhttp transport. |
int |
getServerCoreThreads()
|
int |
getServerIOWorkers()
|
int |
getServerKeepalive()
|
int |
getServerMaxThreads()
|
int |
getServerQueueLen()
|
String |
getStringValue(String name,
String def)
Get properties that tune nhttp transport. |
boolean |
isCountConnections()
|
boolean |
isHttpMethodDisabled(String method)
|
boolean |
isKeepAliveDisabled()
|
boolean |
isPreserveServerHeader()
|
boolean |
isPreserveUserAgentHeader()
|
String |
isServiceListBlocked()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
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 getBufferSize()
public boolean isKeepAliveDisabled()
public boolean isPreserveUserAgentHeader()
public boolean isPreserveServerHeader()
public boolean isCountConnections()
public String isServiceListBlocked()
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 |