Package org.apache.coyote.http11
Class Http11AprProtocol
- java.lang.Object
-
- org.apache.coyote.AbstractProtocol<S>
-
- org.apache.coyote.http11.AbstractHttp11Protocol<java.lang.Long>
-
- org.apache.coyote.http11.Http11AprProtocol
-
- All Implemented Interfaces:
javax.management.MBeanRegistration
,ProtocolHandler
@Deprecated public class Http11AprProtocol extends AbstractHttp11Protocol<java.lang.Long>
Deprecated.The APR/Native Connector will be removed in Tomcat 10.1.x onwards.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
-
-
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.http11.AbstractHttp11Protocol
sm
-
Fields inherited from class org.apache.coyote.AbstractProtocol
adapter, domain, mserver, oname, processorCache, rgOname
-
-
Constructor Summary
Constructors Constructor Description Http11AprProtocol()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
getDeferAccept()
Deprecated.protected Log
getLog()
Deprecated.Concrete implementations need to provide access to their logger to be used by the abstract classes.protected java.lang.String
getNamePrefix()
Deprecated.Obtain the prefix to be used when construction a name for this protocol handler.int
getPollTime()
Deprecated.int
getSendfileSize()
Deprecated.boolean
isAprRequired()
Deprecated.Requires APR/native libraryvoid
setDeferAccept(boolean deferAccept)
Deprecated.void
setPollTime(int pollTime)
Deprecated.void
setSendfileSize(int sendfileSize)
Deprecated.-
Methods inherited from class org.apache.coyote.http11.AbstractHttp11Protocol
addAllowedTrailerHeader, addSslHostConfig, addUpgradeProtocol, createProcessor, createUpgradeProcessor, destroy, findSslHostConfigs, findUpgradeProtocols, getAllowedTrailerHeaders, getAllowedTrailerHeadersInternal, getAllowHostHeaderMismatch, getCompressibleMimeType, getCompressibleMimeTypes, getCompression, getCompressionLevel, getCompressionMinSize, getConnectionUploadTimeout, getContinueResponseTiming, getContinueResponseTimingInternal, getDefaultSSLHostConfigName, getDisableUploadTimeout, getEndpoint, getMaxExtensionSize, getMaxHttpHeaderSize, getMaxHttpRequestHeaderSize, getMaxHttpResponseHeaderSize, getMaxKeepAliveRequests, getMaxSavePostSize, getMaxSwallowSize, getMaxTrailerSize, getNegotiatedProtocol, getNoCompressionUserAgents, getNoCompressionUserAgentsPattern, getONameForUpgrade, getProtocolName, getRejectIllegalHeader, getRelaxedPathChars, getRelaxedQueryChars, getRestrictedUserAgents, getRestrictedUserAgentsPattern, getSecure, getServer, getServerRemoveAppProvidedValues, getUpgradeGroupInfo, getUpgradeProtocol, getUseKeepAliveResponseHeader, getUseSendfile, init, isSSLEnabled, isTrailerHeaderAllowed, reloadSslHostConfig, reloadSslHostConfigs, removeAllowedTrailerHeader, setAllowedTrailerHeaders, setAllowHostHeaderMismatch, setCompressibleMimeType, setCompression, setCompressionMinSize, setConnectionUploadTimeout, setContinueResponseTiming, setDefaultSSLHostConfigName, setDisableUploadTimeout, setMaxExtensionSize, setMaxHttpHeaderSize, setMaxHttpRequestHeaderSize, setMaxHttpResponseHeaderSize, setMaxKeepAliveRequests, setMaxSavePostSize, setMaxSwallowSize, setMaxTrailerSize, setNoCompressionUserAgents, setRejectIllegalHeader, setRelaxedPathChars, setRelaxedQueryChars, setRestrictedUserAgents, setSecure, setServer, setServerRemoveAppProvidedValues, setSSLEnabled, setUseKeepAliveResponseHeader, setUseSendfile, useCompression
-
Methods inherited from class org.apache.coyote.AbstractProtocol
addWaitingProcessor, awaitConnectionsClose, closeServerSocketGraceful, 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, 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, start, startAsyncTimeout, stop, stopAsyncTimeout
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.coyote.ProtocolHandler
getDesiredBufferSize
-
-
-
-
Method Detail
-
getLog
protected Log getLog()
Deprecated.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<java.lang.Long>
- Returns:
- the logger
-
isAprRequired
public boolean isAprRequired()
Deprecated.Description copied from interface:ProtocolHandler
Requires APR/native library- Specified by:
isAprRequired
in interfaceProtocolHandler
- Overrides:
isAprRequired
in classAbstractProtocol<java.lang.Long>
- Returns:
true
if this Protocol Handler requires the APR/native library, otherwisefalse
-
getPollTime
public int getPollTime()
Deprecated.
-
setPollTime
public void setPollTime(int pollTime)
Deprecated.
-
getSendfileSize
public int getSendfileSize()
Deprecated.
-
setSendfileSize
public void setSendfileSize(int sendfileSize)
Deprecated.
-
getDeferAccept
public boolean getDeferAccept()
Deprecated.
-
setDeferAccept
public void setDeferAccept(boolean deferAccept)
Deprecated.
-
getNamePrefix
protected java.lang.String getNamePrefix()
Deprecated.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<java.lang.Long>
- Returns:
- the prefix
-
-