public final class NHttpConfiguration extends HttpTransportConfiguration
Modifier and Type | Field and Description |
---|---|
static String |
BLOCK_SERVICE_LIST
Comma separated list of blocked uris
|
static String |
BLOCK_SERVICE_LIST_DEFAULT
Default value for BLOCK_SERVICE_LIST
|
log
Modifier and Type | Method and Description |
---|---|
int |
getBufferSize() |
int |
getClientCoreThreads() |
int |
getClientKeepalive() |
int |
getClientMaxThreads() |
int |
getClientQueueLen() |
static NHttpConfiguration |
getInstance() |
int |
getServerCoreThreads() |
int |
getServerKeepalive() |
int |
getServerMaxThreads() |
int |
getServerQueueLen() |
protected int |
getThreadsPerReactor()
Get the number of I/O dispatcher threads that should be used in each IOReactor.
|
boolean |
isCountConnections() |
boolean |
isHttpMethodDisabled(String method) |
boolean |
isKeepAliveDisabled() |
boolean |
isPreserveHttpHeader(String httpHeader)
Check preserving status of the http header field
|
String |
isServiceListBlocked() |
getBooleanProperty, getBooleanProperty, getConnectingReactorConfig, getConnectionConfig, getIntProperty, getIntProperty, getListeningReactorConfig, getStringProperty
public static final String BLOCK_SERVICE_LIST
public static final String BLOCK_SERVICE_LIST_DEFAULT
protected int getThreadsPerReactor()
HttpTransportConfiguration
getThreadsPerReactor
in class HttpTransportConfiguration
public static NHttpConfiguration getInstance()
public int getServerCoreThreads()
public int getServerMaxThreads()
public int getServerKeepalive()
public int getServerQueueLen()
public int getClientCoreThreads()
public int getClientMaxThreads()
public int getClientKeepalive()
public int getClientQueueLen()
public int getBufferSize()
public boolean isKeepAliveDisabled()
public boolean isCountConnections()
public String isServiceListBlocked()
public boolean isHttpMethodDisabled(String method)
public boolean isPreserveHttpHeader(String httpHeader)
httpHeader
- http header nameCopyright © 2005-2017 Apache Software Foundation. All Rights Reserved.