Package org.apache.coyote.ajp
Class AjpAprProtocol
- All Implemented Interfaces:
- MBeanRegistration,- ProtocolHandler
Deprecated.
The APR/Native Connector will be removed in Tomcat 10.1.x onwards.
This the APR/native based protocol handler implementation for AJP.
- 
Nested Class SummaryNested classes/interfaces inherited from class org.apache.coyote.AbstractProtocolAbstractProtocol.ConnectionHandler<S>, AbstractProtocol.RecycledProcessors
- 
Field SummaryFields inherited from class org.apache.coyote.ajp.AbstractAjpProtocolsmFields inherited from class org.apache.coyote.AbstractProtocoladapter, domain, mserver, oname, processorCache, rgOname
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected LoggetLog()Deprecated.Concrete implementations need to provide access to their logger to be used by the abstract classes.protected StringDeprecated.Obtain the prefix to be used when construction a name for this protocol handler.intDeprecated.booleanDeprecated.Requires APR/native libraryvoidsetPollTime(int pollTime) Deprecated.Methods inherited from class org.apache.coyote.ajp.AbstractAjpProtocoladdSslHostConfig, 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 org.apache.coyote.AbstractProtocoladdWaitingProcessor, awaitConnectionsClose, 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, init, 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- 
AjpAprProtocolpublic AjpAprProtocol()Deprecated.
 
- 
- 
Method Details- 
getLogDeprecated.Description copied from class:AbstractProtocolConcrete implementations need to provide access to their logger to be used by the abstract classes.- Specified by:
- getLogin class- AbstractProtocol<Long>
- Returns:
- the logger
 
- 
isAprRequiredpublic boolean isAprRequired()Deprecated.Description copied from interface:ProtocolHandlerRequires APR/native library- Specified by:
- isAprRequiredin interface- ProtocolHandler
- Overrides:
- isAprRequiredin class- AbstractProtocol<Long>
- Returns:
- trueif this Protocol Handler requires the APR/native library, otherwise- false
 
- 
getPollTimepublic int getPollTime()Deprecated.
- 
setPollTimepublic void setPollTime(int pollTime) Deprecated.
- 
getNamePrefixDeprecated.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 class- AbstractProtocol<Long>
- Returns:
- the prefix
 
 
-