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.AbstractProtocolAbstractProtocol.AsyncTimeout, AbstractProtocol.ConnectionHandler<S>, AbstractProtocol.RecycledProcessors
 
- 
 - 
Field Summary- 
Fields inherited from class org.apache.coyote.http11.AbstractHttp11Protocolsm
 - 
Fields inherited from class org.apache.coyote.AbstractProtocoladapter, clientCertProvider, domain, mserver, oname, processorCache, rgOname
 
- 
 - 
Constructor SummaryConstructors Constructor Description Http11AprProtocol()Deprecated.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleangetDeferAccept()Deprecated.protected LoggetLog()Deprecated.Concrete implementations need to provide access to their logger to be used by the abstract classes.protected java.lang.StringgetNamePrefix()Deprecated.Obtain the prefix to be used when construction a name for this protocol handler.intgetPollTime()Deprecated.intgetSendfileSize()Deprecated.booleanisAprRequired()Deprecated.Requires APR/native libraryvoidsetDeferAccept(boolean deferAccept)Deprecated.voidsetPollTime(int pollTime)Deprecated.voidsetSendfileSize(int sendfileSize)Deprecated.- 
Methods inherited from class org.apache.coyote.http11.AbstractHttp11ProtocoladdAllowedTrailerHeader, addSslHostConfig, addUpgradeProtocol, createProcessor, createUpgradeProcessor, destroy, findSslHostConfigs, findUpgradeProtocols, getAlgorithm, getAllowedTrailerHeaders, getAllowedTrailerHeadersInternal, getAllowHostHeaderMismatch, getCiphers, getClientAuth, getCompressableMimeType, getCompressableMimeTypes, getCompressibleMimeType, getCompressibleMimeTypes, getCompression, getCompressionMinSize, getConnectionUploadTimeout, getContinueResponseTiming, getContinueResponseTimingInternal, getCrlFile, getDefaultSSLHostConfigName, getDisableUploadTimeout, getEndpoint, getKeyAlias, getKeyPass, getKeystoreFile, getKeystorePass, getKeystoreProvider, getKeystoreType, getMaxExtensionSize, getMaxHttpHeaderSize, getMaxHttpRequestHeaderSize, getMaxHttpResponseHeaderSize, getMaxKeepAliveRequests, getMaxSavePostSize, getMaxSwallowSize, getMaxTrailerSize, getNegotiatedProtocol, getNoCompressionStrongETag, getNoCompressionUserAgents, getONameForUpgrade, getProtocolName, getRejectIllegalHeader, getRejectIllegalHeaderName, getRelaxedPathChars, getRelaxedQueryChars, getRestrictedUserAgents, getSecure, getServer, getServerRemoveAppProvidedValues, getSessionCacheSize, getSessionTimeout, getSSLCACertificateFile, getSSLCACertificatePath, getSSLCARevocationFile, getSSLCARevocationPath, getSSLCertificateChainFile, getSSLCertificateFile, getSSLCertificateKeyFile, getSSLCipherSuite, getSSLDisableCompression, getSSLDisableSessionTickets, getSslEnabledProtocols, getSSLHonorCipherOrder, getSSLPassword, getSslProtocol, getSSLProtocol, getSSLVerifyClient, getSSLVerifyDepth, getTrustManagerClassName, getTrustMaxCertLength, getTruststoreAlgorithm, getTruststoreFile, getTruststorePass, getTruststoreProvider, getTruststoreType, getUpgradeGroupInfo, getUpgradeProtocol, getUseKeepAliveResponseHeader, getUseSendfile, getUseServerCipherSuitesOrder, init, isSSLEnabled, reloadSslHostConfig, reloadSslHostConfigs, removeAllowedTrailerHeader, setAlgorithm, setAllowedTrailerHeaders, setAllowHostHeaderMismatch, setCiphers, setClientAuth, setCompressableMimeType, setCompressibleMimeType, setCompression, setCompressionMinSize, setConnectionUploadTimeout, setContinueResponseTiming, setCrlFile, setDefaultSSLHostConfigName, setDisableUploadTimeout, setKeyAlias, setKeyPass, setKeystoreFile, setKeystorePass, setKeystoreProvider, setKeystoreType, setMaxExtensionSize, setMaxHttpHeaderSize, setMaxHttpRequestHeaderSize, setMaxHttpResponseHeaderSize, setMaxKeepAliveRequests, setMaxSavePostSize, setMaxSwallowSize, setMaxTrailerSize, setNoCompressionStrongETag, setNoCompressionUserAgents, setRejectIllegalHeader, setRejectIllegalHeaderName, setRelaxedPathChars, setRelaxedQueryChars, setRestrictedUserAgents, setSecure, setServer, setServerRemoveAppProvidedValues, setSessionCacheSize, setSessionTimeout, setSSLCACertificateFile, setSSLCACertificatePath, setSSLCARevocationFile, setSSLCARevocationPath, setSSLCertificateChainFile, setSSLCertificateFile, setSSLCertificateKeyFile, setSSLCipherSuite, setSSLDisableCompression, setSSLDisableSessionTickets, setSSLEnabled, setSslEnabledProtocols, setSSLHonorCipherOrder, setSSLPassword, setSslProtocol, setSSLProtocol, setSSLVerifyClient, setSSLVerifyDepth, setTrustManagerClassName, setTrustMaxCertLength, setTruststoreAlgorithm, setTruststoreFile, setTruststorePass, setTruststoreProvider, setTruststoreType, setUseKeepAliveResponseHeader, setUseSendfile, setUseServerCipherSuitesOrder, useCompression
 - 
Methods inherited from class org.apache.coyote.AbstractProtocoladdWaitingProcessor, awaitConnectionsClose, closeServerSocketGraceful, 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, 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, start, stop
 
- 
 
- 
- 
- 
Method Detail- 
getLogprotected 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 class- AbstractProtocol<java.lang.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<java.lang.Long>
- Returns:
- trueif this Protocol Handler requires the APR/native library, otherwise- false
 
 - 
getPollTimepublic int getPollTime() Deprecated.
 - 
setPollTimepublic void setPollTime(int pollTime) Deprecated.
 - 
getSendfileSizepublic int getSendfileSize() Deprecated.
 - 
setSendfileSizepublic void setSendfileSize(int sendfileSize) Deprecated.
 - 
getDeferAcceptpublic boolean getDeferAccept() Deprecated.
 - 
setDeferAcceptpublic void setDeferAccept(boolean deferAccept) Deprecated.
 - 
getNamePrefixprotected java.lang.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 class- AbstractProtocol<java.lang.Long>
- Returns:
- the prefix
 
 
- 
 
-