Package org.apache.coyote.ajp
Class AjpAprProtocol
- java.lang.Object
-
- org.apache.coyote.AbstractProtocol<S>
-
- org.apache.coyote.ajp.AbstractAjpProtocol<Long>
-
- org.apache.coyote.ajp.AjpAprProtocol
-
- All Implemented Interfaces:
MBeanRegistration,ProtocolHandler
@Deprecated public class AjpAprProtocol extends AbstractAjpProtocol<Long>
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 Summary
-
Nested classes/interfaces inherited from class org.apache.coyote.AbstractProtocol
AbstractProtocol.ConnectionHandler<S>, AbstractProtocol.RecycledProcessors
-
-
Field Summary
-
Fields inherited from class org.apache.coyote.ajp.AbstractAjpProtocol
sm
-
Fields inherited from class org.apache.coyote.AbstractProtocol
adapter, domain, mserver, oname, processorCache, rgOname
-
-
Constructor Summary
Constructors Constructor Description AjpAprProtocol()Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected LoggetLog()Deprecated.Concrete implementations need to provide access to their logger to be used by the abstract classes.protected StringgetNamePrefix()Deprecated.Obtain the prefix to be used when construction a name for this protocol handler.intgetPollTime()Deprecated.booleanisAprRequired()Deprecated.Requires APR/native libraryvoidsetPollTime(int pollTime)Deprecated.-
Methods inherited from class org.apache.coyote.ajp.AbstractAjpProtocol
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, start
-
Methods inherited from class org.apache.coyote.AbstractProtocol
addWaitingProcessor, awaitConnectionsClose, closeServerSocketGraceful, destroy, getAcceptCount, getAcceptorThreadPriority, getAdapter, getAddress, getClientCertProvider, getConnectionCount, getConnectionLinger, getConnectionTimeout, getDomain, getExecutor, getGlobalRequestProcessorMBeanName, getHandler, getId, getKeepAliveTimeout, getLocalPort, getMaxConnections, getMaxHeaderCount, 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, setAcceptorThreadPriority, setAdapter, setAddress, setClientCertProvider, setConnectionLinger, setConnectionTimeout, setExecutor, setHandler, setKeepAliveTimeout, setMaxConnections, setMaxHeaderCount, setMaxThreads, setMinSpareThreads, setPort, setPortOffset, setProcessorCache, setProperty, setTcpNoDelay, setThreadPriority, setUtilityExecutor, startAsyncTimeout, stop, stopAsyncTimeout
-
-
-
-
Method Detail
-
getLog
protected Log 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
public boolean 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
public int getPollTime()
Deprecated.
-
setPollTime
public void setPollTime(int pollTime)
Deprecated.
-
getNamePrefix
protected String 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
-
-