public final class NHttpConfiguration extends Object
| 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
|
static int |
DEFAULT_LISTENER_SHUTDOWN_WAIT_TIME |
static int |
MAX_ACTIVE_CON |
static String |
TRANSPORT_LISTENER_SHUTDOWN_WAIT_TIME |
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
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 isCountConnections()
public String isServiceListBlocked()
public String getRESTDispatchService()
public String getRestUriApiRegex()
public String getRestUriProxyRegex()
public int getListenerShutdownWaitTime()
public boolean isPreserveHttpHeader(String httpHeader)
httpHeader - http header namepublic int getProperty(String name, int def)
name - name of the system/config propertydef - default value to return if the property is not setpublic boolean getBooleanValue(String name, boolean def)
name - name of the system/config propertydef - default value to return if the property is not setpublic String getStringValue(String name, String def)
name - name of the system/config propertydef - default value to return if the property is not setpublic boolean isHttpMethodDisabled(String method)
Copyright © 2005–2016 Apache Software Foundation. All rights reserved.