Class AjpAprProtocol
- All Implemented Interfaces:
MBeanRegistration, ProtocolHandler
Deprecated.
The APR/Native Connector will be removed in Tomcat 9.1.x onwards and has been removed from Tomcat 10.1.x
onwards.
This the APR/native based protocol handler implementation for AJP.
-
Nested Class Summary
Nested classes/interfaces inherited from class AbstractProtocol
AbstractProtocol.ConnectionHandler<S>, AbstractProtocol.RecycledProcessors -
Field Summary
Fields inherited from class AbstractAjpProtocol
smFields inherited from class AbstractProtocol
adapter, domain, mserver, oname, processorCache, rgOname -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected LoggetLog()Deprecated.protected StringDeprecated.intDeprecated.voidinit()Deprecated.booleanDeprecated.voidsetPollTime(int pollTime) Deprecated.Methods inherited from class AbstractAjpProtocol
addSslHostConfig, addSslHostConfig, addUpgradeProtocol, createProcessor, createUpgradeProcessor, findSslHostConfigs, findUpgradeProtocols, getAjpFlush, getAllowedRequestAttributesPattern, getAllowedRequestAttributesPatternInternal, getDesiredBufferSize, getEndpoint, getNegotiatedProtocol, getPacketSize, getProtocolName, getRequiredSecret, getSecret, getSecretRequired, getTomcatAuthentication, getTomcatAuthorization, getUpgradeProtocol, setAjpFlush, setAllowedRequestAttributesPattern, setPacketSize, setRequiredSecret, setSecret, setSecretRequired, setTomcatAuthentication, setTomcatAuthorization, startMethods inherited from class AbstractProtocol
addWaitingProcessor, awaitConnectionsClose, checkSni, closeServerSocketGraceful, destroy, getAcceptCount, getAcceptorThreadCount, getAcceptorThreadPriority, getAdapter, getAddress, getClientCertProvider, getConnectionCount, getConnectionLinger, getConnectionTimeout, getDomain, getExecutor, getGlobalRequestProcessorMBeanName, getHandler, getId, getKeepAliveTimeout, getLocalPort, getMaxConnections, getMaxHeaderCount, getMaxQueueSize, getMaxThreads, getMinSpareThreads, getName, getNameIndex, getObjectName, getPort, getPortOffset, getPortWithOffset, getProcessorCache, getProperty, getTcpNoDelay, getThreadPriority, getUtilityExecutor, getWaitingProcessorCount, isPaused, isSendfileSupported, pause, postDeregister, postRegister, preDeregister, preRegister, removeWaitingProcessor, resume, setAcceptCount, setAcceptorThreadCount, setAcceptorThreadPriority, setAdapter, setAddress, setClientCertProvider, setConnectionLinger, setConnectionTimeout, setExecutor, setHandler, setKeepAliveTimeout, setMaxConnections, setMaxHeaderCount, setMaxQueueSize, setMaxThreads, setMinSpareThreads, setPort, setPortOffset, setProcessorCache, setProperty, setTcpNoDelay, setThreadPriority, setUtilityExecutor, startAsyncTimeout, stop, stopAsyncTimeout
-
Constructor Details
-
AjpAprProtocol
Deprecated.
-
-
Method Details
-
getLog
Deprecated.Description copied from class:AbstractProtocolConcrete implementations need to provide access to their logger to be used by the abstract classes.- Specified by:
getLogin classAbstractProtocol<Long>- Returns:
- the logger
-
isAprRequired
Deprecated.Description copied from interface:ProtocolHandlerRequires APR/native library- Specified by:
isAprRequiredin interfaceProtocolHandler- Overrides:
isAprRequiredin classAbstractProtocol<Long>- Returns:
trueif this Protocol Handler requires the APR/native library, otherwisefalse
-
getPollTime
Deprecated. -
setPollTime
Deprecated. -
init
Deprecated.Description copied from interface:ProtocolHandlerInitialise the protocol.- Specified by:
initin interfaceProtocolHandler- Overrides:
initin classAbstractProtocol<Long>- Throws:
Exception- If the protocol handler fails to initialise
-
getNamePrefix
Deprecated.Description copied from class:AbstractProtocolObtain the prefix to be used when construction a name for this protocol handler. The name will be prefix-address-port.- Specified by:
getNamePrefixin classAbstractProtocol<Long>- Returns:
- the prefix
-