org.apache.coyote.http11
Class Http11NioProtocol
java.lang.Object
org.apache.coyote.AbstractProtocol
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, getSslImplementationName, getSslProtocol, getTrustMaxCertLength, getTruststoreAlgorithm, getTruststoreFile, getTruststorePass, getTruststoreProvider, getTruststoreType, init, setAlgorithm, setAllowUnsafeLegacyRenegotiation, setCiphers, setClientAuth, setCrlFile, setKeyAlias, setKeyPass, setKeystoreFile, setKeystorePass, setKeystoreProvider, setKeystoreType, setSessionCacheSize, setSessionTimeout, setSslImplementationName, setSslProtocol, setTrustMaxCertLength, setTruststoreAlgorithm, setTruststoreFile, setTruststorePass, setTruststoreProvider, setTruststoreType |
Methods inherited from class org.apache.coyote.http11.AbstractHttp11Protocol |
getCompressableMimeType, getCompressableMimeTypes, getCompression, getCompressionMinSize, getConnectionUploadTimeout, getDisableUploadTimeout, getMaxHttpHeaderSize, getMaxKeepAliveRequests, getMaxSavePostSize, getMaxTrailerSize, getNoCompressionUserAgents, getProtocolName, getRestrictedUserAgents, getSecure, getServer, getSocketBuffer, isSSLEnabled, setCompressableMimeType, setCompressableMimeTypes, setCompression, setCompressionMinSize, setConnectionUploadTimeout, setDisableUploadTimeout, setMaxHttpHeaderSize, setMaxKeepAliveRequests, setMaxSavePostSize, setMaxTrailerSize, setNoCompressionUserAgents, setRestrictedUserAgents, setSecure, setServer, setSocketBuffer, setSSLEnabled |
Methods inherited from class org.apache.coyote.AbstractProtocol |
destroy, getAdapter, getAddress, getBacklog, getClientCertProvider, getConnectionTimeout, getDomain, getExecutor, getKeepAliveTimeout, getLocalPort, getMaxConnections, getMaxHeaderCount, getMaxThreads, getMinSpareThreads, getName, getNameIndex, getObjectName, getPort, getProcessorCache, getProperty, getSoLinger, getSoTimeout, getTcpNoDelay, getThreadPriority, pause, postDeregister, postRegister, preDeregister, preRegister, resume, setAdapter, setAddress, setBacklog, setClientCertProvider, setConnectionTimeout, setExecutor, setKeepAliveTimeout, setMaxConnections, setMaxHeaderCount, setMaxThreads, setMinSpareThreads, setPort, setProcessorCache, setProperty, setSoLinger, setSoTimeout, setTcpNoDelay, setThreadPriority, start, 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()
- Description copied from class:
AbstractProtocol
- Concrete implementations need to provide access to their logger to be
used by the abstract classes.
- Specified by:
getLog
in class AbstractProtocol
getHandler
protected AbstractEndpoint.Handler getHandler()
- Description copied from class:
AbstractProtocol
- Obtain the handler associated with the underlying Endpoint
- Specified by:
getHandler
in class AbstractProtocol
getEndpoint
public NioEndpoint getEndpoint()
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)
setOomParachute
public void setOomParachute(int oomParachute)
getNamePrefix
protected String getNamePrefix()
- Description copied from class:
AbstractProtocol
- Obtain the prefix to be used when construction a name for this protocol
handler. The name will be prefix-address-port.
- Specified by:
getNamePrefix
in class AbstractProtocol
Copyright © 2000-2012 Apache Software Foundation. All Rights Reserved.