Package org.apache.coyote.ajp
Class AjpNioProtocol
- All Implemented Interfaces:
MBeanRegistration
,ProtocolHandler
- Direct Known Subclasses:
AjpProtocol
This the NIO based protocol handler implementation for AJP.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.coyote.AbstractProtocol
AbstractProtocol.AsyncTimeout, AbstractProtocol.ConnectionHandler<S>, AbstractProtocol.RecycledProcessors
-
Field Summary
Fields inherited from class org.apache.coyote.ajp.AbstractAjpProtocol
ajpFlush, sm
Fields inherited from class org.apache.coyote.AbstractProtocol
adapter, clientCertProvider, domain, mserver, oname, processorCache, rgOname
-
Constructor Summary
-
Method Summary
Methods inherited from class org.apache.coyote.ajp.AbstractAjpProtocol
addSslHostConfig, addSslHostConfig, addUpgradeProtocol, createProcessor, createUpgradeProcessor, findSslHostConfigs, findUpgradeProtocols, getAjpFlush, getAllowedRequestAttributesPattern, getAllowedRequestAttributesPatternInternal, getEndpoint, getNegotiatedProtocol, getPacketSize, getProtocolName, getRequiredSecret, getSecret, getSecretRequired, getTomcatAuthentication, getTomcatAuthorization, getUpgradeProtocol, setAjpFlush, setAllowedRequestAttributesPattern, setPacketSize, setRequiredSecret, setSecret, setSecretRequired, setTomcatAuthentication, setTomcatAuthorization, start
Methods inherited from class org.apache.coyote.AbstractProtocol
addWaitingProcessor, awaitConnectionsClose, closeServerSocketGraceful, destroy, getAcceptCount, getAcceptorThreadCount, getAcceptorThreadPriority, getAdapter, getAddress, getAsyncTimeout, getBacklog, getClientCertProvider, getConnectionCount, getConnectionLinger, getConnectionTimeout, getDomain, getExecutor, getGlobalRequestProcessorMBeanName, getHandler, getKeepAliveTimeout, getLocalPort, getMaxConnections, getMaxHeaderCount, getMaxThreads, getMinSpareThreads, getName, getNameIndex, getObjectName, getPort, getPortOffset, getPortWithOffset, getProcessorCache, getProperty, getSendReasonPhrase, getSoLinger, getSoTimeout, getTcpNoDelay, getThreadPriority, getWaitingProcessorCount, init, isAprRequired, isSendfileSupported, pause, postDeregister, postRegister, preDeregister, preRegister, removeWaitingProcessor, resume, setAcceptCount, setAcceptorThreadCount, setAcceptorThreadPriority, setAdapter, setAddress, setBacklog, setClientCertProvider, setConnectionLinger, setConnectionTimeout, setExecutor, setHandler, setKeepAliveTimeout, setMaxConnections, setMaxHeaderCount, setMaxThreads, setMinSpareThreads, setPort, setPortOffset, setProcessorCache, setProperty, setSendReasonPhrase, setSoLinger, setSoTimeout, setTcpNoDelay, setThreadPriority, stop
-
Constructor Details
-
AjpNioProtocol
public AjpNioProtocol()
-
-
Method Details
-
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 classAbstractProtocol<NioChannel>
- Returns:
- the logger
-
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 classAbstractProtocol<NioChannel>
- Returns:
- the prefix
-