public class Http11AprProtocol extends AbstractHttp11Protocol<java.lang.Long>
Modifier and Type | Class and Description |
---|---|
protected static class |
Http11AprProtocol.Http11ConnectionHandler |
AbstractProtocol.AbstractConnectionHandler<S,P extends Processor<S>>, AbstractProtocol.RecycledProcessors<P extends Processor<S>,S>
sm
adapter, clientCertProvider, domain, endpoint, mserver, oname, processorCache, rgOname, tpOname
Constructor and Description |
---|
Http11AprProtocol() |
Modifier and Type | Method and Description |
---|---|
boolean |
getDeferAccept() |
protected AbstractEndpoint.Handler |
getHandler()
Obtain the handler associated with the underlying Endpoint
|
protected Log |
getLog()
Concrete implementations need to provide access to their logger to be
used by the abstract classes.
|
protected java.lang.String |
getNamePrefix()
Obtain the prefix to be used when construction a name for this protocol
handler.
|
int |
getPollerSize() |
int |
getPollTime() |
int |
getSendfileSize() |
int |
getSendfileThreadCount() |
java.lang.String |
getSSLCACertificateFile()
SSL CA certificate file.
|
java.lang.String |
getSSLCACertificatePath()
SSL CA certificate path.
|
java.lang.String |
getSSLCARevocationFile()
SSL CA revocation file.
|
java.lang.String |
getSSLCARevocationPath()
SSL CA revocation path.
|
java.lang.String |
getSSLCertificateChainFile()
SSL certificate chain file.
|
java.lang.String |
getSSLCertificateFile()
SSL certificate file.
|
java.lang.String |
getSSLCertificateKeyFile()
SSL certificate key file.
|
java.lang.String |
getSSLCipherSuite()
SSL cipher suite.
|
boolean |
getSSLDisableCompression()
Disable SSL compression.
|
boolean |
getSSLHonorCipherOrder()
SSL honor cipher order.
|
java.lang.String |
getSSLPassword()
SSL password (if a cert is encrypted, and no password has been provided, a callback
will ask for a password).
|
java.lang.String |
getSSLProtocol()
SSL protocol.
|
java.lang.String |
getSSLVerifyClient()
SSL verify client.
|
int |
getSSLVerifyDepth()
SSL verify depth.
|
boolean |
getUseSendfile() |
boolean |
isAprRequired()
Requires APR/native library
|
void |
setDeferAccept(boolean deferAccept) |
void |
setPollerSize(int pollerSize) |
void |
setPollTime(int pollTime) |
void |
setSendfileSize(int sendfileSize) |
void |
setSendfileThreadCount(int sendfileThreadCount) |
void |
setSSLCACertificateFile(java.lang.String SSLCACertificateFile) |
void |
setSSLCACertificatePath(java.lang.String SSLCACertificatePath) |
void |
setSSLCARevocationFile(java.lang.String SSLCARevocationFile) |
void |
setSSLCARevocationPath(java.lang.String SSLCARevocationPath) |
void |
setSSLCertificateChainFile(java.lang.String SSLCertificateChainFile) |
void |
setSSLCertificateFile(java.lang.String SSLCertificateFile) |
void |
setSSLCertificateKeyFile(java.lang.String SSLCertificateKeyFile) |
void |
setSSLCipherSuite(java.lang.String SSLCipherSuite) |
void |
setSSLDisableCompression(boolean disable) |
void |
setSSLHonorCipherOrder(boolean SSLHonorCipherOrder) |
void |
setSSLPassword(java.lang.String SSLPassword) |
void |
setSSLProtocol(java.lang.String SSLProtocol) |
void |
setSSLVerifyClient(java.lang.String SSLVerifyClient) |
void |
setSSLVerifyDepth(int SSLVerifyDepth) |
void |
setUseSendfile(boolean useSendfile) |
addAllowedTrailerHeader, getAllowedTrailerHeaders, getAllowedTrailerHeadersAsSet, getCompressableMimeType, getCompressableMimeTypes, getCompression, getCompressionMinSize, getConnectionUploadTimeout, getDisableUploadTimeout, getMaxExtensionSize, getMaxHttpHeaderSize, getMaxKeepAliveRequests, getMaxSavePostSize, getMaxSwallowSize, getMaxTrailerSize, getNoCompressionUserAgents, getProtocolName, getRestrictedUserAgents, getSecure, getServer, getSocketBuffer, getUpgradeAsyncWriteBufferSize, isSSLEnabled, removeAllowedTrailerHeader, setAllowedTrailerHeaders, setCompressableMimeType, setCompressableMimeTypes, setCompression, setCompressionMinSize, setConnectionUploadTimeout, setDisableUploadTimeout, setMaxExtensionSize, setMaxHttpHeaderSize, setMaxKeepAliveRequests, setMaxSavePostSize, setMaxSwallowSize, setMaxTrailerSize, setNoCompressionUserAgents, setRestrictedUserAgents, setSecure, setServer, setSocketBuffer, setSSLEnabled, setUpgradeAsyncWriteBufferSize
destroy, getAdapter, getAddress, getBacklog, getClientCertProvider, getConnectionCount, getConnectionTimeout, getDomain, getExecutor, getKeepAliveTimeout, getLocalPort, getMaxConnections, getMaxHeaderCount, getMaxThreads, getMinSpareThreads, getName, getNameIndex, getObjectName, getPort, getProcessorCache, getProperty, getSoLinger, getSoTimeout, getTcpNoDelay, getThreadPriority, init, pause, postDeregister, postRegister, preDeregister, preRegister, resume, setAdapter, setAddress, setBacklog, setClientCertProvider, setConnectionTimeout, setExecutor, setKeepAliveTimeout, setMaxConnections, setMaxHeaderCount, setMaxThreads, setMinSpareThreads, setPort, setProcessorCache, setProperty, setSoLinger, setSoTimeout, setTcpNoDelay, setThreadPriority, start, stop
protected Log getLog()
AbstractProtocol
getLog
in class AbstractProtocol<java.lang.Long>
protected AbstractEndpoint.Handler getHandler()
AbstractProtocol
getHandler
in class AbstractProtocol<java.lang.Long>
public boolean isAprRequired()
ProtocolHandler
isAprRequired
in interface ProtocolHandler
isAprRequired
in class AbstractProtocol<java.lang.Long>
public boolean getUseSendfile()
public void setUseSendfile(boolean useSendfile)
public int getPollTime()
public void setPollTime(int pollTime)
public void setPollerSize(int pollerSize)
public int getPollerSize()
public int getSendfileSize()
public void setSendfileSize(int sendfileSize)
public void setSendfileThreadCount(int sendfileThreadCount)
public int getSendfileThreadCount()
public boolean getDeferAccept()
public void setDeferAccept(boolean deferAccept)
public java.lang.String getSSLProtocol()
public void setSSLProtocol(java.lang.String SSLProtocol)
public java.lang.String getSSLPassword()
public void setSSLPassword(java.lang.String SSLPassword)
public java.lang.String getSSLCipherSuite()
public void setSSLCipherSuite(java.lang.String SSLCipherSuite)
public boolean getSSLHonorCipherOrder()
true
to enforce the server's cipher order
instead of the default which is to allow the client to choose a
preferred cipher.public void setSSLHonorCipherOrder(boolean SSLHonorCipherOrder)
public java.lang.String getSSLCertificateFile()
public void setSSLCertificateFile(java.lang.String SSLCertificateFile)
public java.lang.String getSSLCertificateKeyFile()
public void setSSLCertificateKeyFile(java.lang.String SSLCertificateKeyFile)
public java.lang.String getSSLCertificateChainFile()
public void setSSLCertificateChainFile(java.lang.String SSLCertificateChainFile)
public java.lang.String getSSLCACertificatePath()
public void setSSLCACertificatePath(java.lang.String SSLCACertificatePath)
public java.lang.String getSSLCACertificateFile()
public void setSSLCACertificateFile(java.lang.String SSLCACertificateFile)
public java.lang.String getSSLCARevocationPath()
public void setSSLCARevocationPath(java.lang.String SSLCARevocationPath)
public java.lang.String getSSLCARevocationFile()
public void setSSLCARevocationFile(java.lang.String SSLCARevocationFile)
public java.lang.String getSSLVerifyClient()
public void setSSLVerifyClient(java.lang.String SSLVerifyClient)
public int getSSLVerifyDepth()
public void setSSLVerifyDepth(int SSLVerifyDepth)
public boolean getSSLDisableCompression()
public void setSSLDisableCompression(boolean disable)
protected java.lang.String getNamePrefix()
AbstractProtocol
getNamePrefix
in class AbstractProtocol<java.lang.Long>
Copyright © 2000-2015 Apache Software Foundation. All Rights Reserved.