org.apache.coyote.http11
Class Http11NioProtocol
java.lang.Object
org.apache.coyote.http11.AbstractHttp11Protocol
org.apache.coyote.http11.AbstractHttp11JsseProtocol
org.apache.coyote.http11.Http11NioProtocol
- All Implemented Interfaces:
- MBeanRegistration, ProtocolHandler
public class Http11NioProtocol
- extends AbstractHttp11JsseProtocol
Abstract the protocol implementation, including threading, etc.
Processor is single threaded and specific to stream-based protocols,
will not fit Jk protocols like JNI.
- Author:
- Remy Maucherat, Costin Manolache, Filip Hanik
Methods inherited from class org.apache.coyote.http11.AbstractHttp11JsseProtocol |
getAlgorithm, getAllowUnsafeLegacyRenegotiation, getCiphers, getClientAuth, getCrlFile, getKeyAlias, getKeyPass, getKeystoreFile, getKeystorePass, getKeystoreProvider, getKeystoreType, getSessionCacheSize, getSessionTimeout, getSslProtocol, getTrustMaxCertLength, getTruststoreAlgorithm, getTruststoreFile, getTruststorePass, getTruststoreProvider, getTruststoreType, setAlgorithm, setAllowUnsafeLegacyRenegotiation, setCiphers, setClientAuth, setCrlFile, setKeyAlias, setKeyPass, setKeystoreFile, setKeystorePass, setKeystoreProvider, setKeystoreType, setSessionCacheSize, setSessionTimeout, setSslProtocol, setTrustMaxCertLength, setTruststoreAlgorithm, setTruststoreFile, setTruststorePass, setTruststoreProvider, setTruststoreType |
Methods inherited from class org.apache.coyote.http11.AbstractHttp11Protocol |
destroy, getAdapter, getAddress, getAttribute, getAttributeNames, getBacklog, getCompressableMimeType, getCompressableMimeTypes, getCompression, getCompressionMinSize, getConnectionTimeout, getDisableUploadTimeout, getDomain, getExecutor, getKeepAlive, getKeepAliveTimeout, getMaxHttpHeaderSize, getMaxKeepAliveRequests, getMaxSavePostSize, getMaxThreads, getName, getNoCompressionUserAgents, getObjectName, getPort, getProcessorCache, getProperty, getRestrictedUserAgents, getSecure, getServer, getSocketBuffer, getSoLinger, getSoTimeout, getTcpNoDelay, getThreadPriority, getTimeout, isSSLEnabled, pause, postDeregister, postRegister, preDeregister, preRegister, resume, setAdapter, setAddress, setAttribute, setBacklog, setCompressableMimeType, setCompressableMimeTypes, setCompression, setCompressionMinSize, setConnectionTimeout, setDisableUploadTimeout, setExecutor, setKeepAlive, setKeepAliveTimeout, setMaxHttpHeaderSize, setMaxKeepAliveRequests, setMaxSavePostSize, setMaxThreads, setNoCompressionUserAgents, setPort, setProcessorCache, setProperty, setRestrictedUserAgents, setSecure, setServer, setSocketBuffer, setSoLinger, setSoTimeout, setSSLEnabled, setTcpNoDelay, setThreadPriority, setTimeout, stop |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Http11NioProtocol
public Http11NioProtocol()
getLog
protected Log getLog()
- Specified by:
getLog
in class AbstractHttp11Protocol
getEndpoint
public NioEndpoint getEndpoint()
init
public void init()
throws Exception
- Start the protocol
- Specified by:
init
in interface ProtocolHandler
- Specified by:
init
in class AbstractHttp11Protocol
- Throws:
Exception
start
public void start()
throws Exception
- Description copied from interface:
ProtocolHandler
- Start the protocol.
- Throws:
Exception
setPollerThreadCount
public void setPollerThreadCount(int count)
getPollerThreadCount
public int getPollerThreadCount()
setSelectorTimeout
public void setSelectorTimeout(long timeout)
getSelectorTimeout
public long getSelectorTimeout()
setAcceptorThreadPriority
public void setAcceptorThreadPriority(int threadPriority)
setPollerThreadPriority
public void setPollerThreadPriority(int threadPriority)
getAcceptorThreadPriority
public int getAcceptorThreadPriority()
getPollerThreadPriority
public int getPollerThreadPriority()
getUseSendfile
public boolean getUseSendfile()
setUseSendfile
public void setUseSendfile(boolean useSendfile)
getProtocol
public String getProtocol()
setProtocol
public void setProtocol(String k)
getSocketCloseDelay
public int getSocketCloseDelay()
setSocketCloseDelay
public void setSocketCloseDelay(int d)
setOomParachute
public void setOomParachute(int oomParachute)
Copyright © 2000-2010 Apache Software Foundation. All Rights Reserved.