public class Http11AprProtocol extends AbstractHttp11Protocol<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>
npnHandler
adapter, clientCertProvider, domain, endpoint, mserver, oname, processorCache, rgOname, sm, tpOname
Constructor and Description |
---|
Http11AprProtocol() |
Modifier and Type | Method and Description |
---|---|
String[] |
getCiphersUsed() |
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 String |
getNamePrefix()
Obtain the prefix to be used when construction a name for this protocol
handler.
|
int |
getPollerSize() |
int |
getPollTime() |
int |
getSendfileSize() |
int |
getSendfileThreadCount() |
String |
getSSLCACertificateFile()
SSL CA certificate file.
|
String |
getSSLCACertificatePath()
SSL CA certificate path.
|
String |
getSSLCARevocationFile()
SSL CA revocation file.
|
String |
getSSLCARevocationPath()
SSL CA revocation path.
|
String |
getSSLCertificateChainFile()
SSL certificate chain file.
|
String |
getSSLCertificateFile()
SSL certificate file.
|
String |
getSSLCertificateKeyFile()
SSL certificate key file.
|
String |
getSSLCipherSuite()
SSL cipher suite.
|
boolean |
getSSLDisableCompression()
Disable SSL compression.
|
boolean |
getSSLHonorCipherOrder()
SSL honor cipher order.
|
String |
getSSLPassword()
SSL password (if a cert is encrypted, and no password has been provided, a callback
will ask for a password).
|
String |
getSSLProtocol()
SSL protocol.
|
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(String SSLCACertificateFile) |
void |
setSSLCACertificatePath(String SSLCACertificatePath) |
void |
setSSLCARevocationFile(String SSLCARevocationFile) |
void |
setSSLCARevocationPath(String SSLCARevocationPath) |
void |
setSSLCertificateChainFile(String SSLCertificateChainFile) |
void |
setSSLCertificateFile(String SSLCertificateFile) |
void |
setSSLCertificateKeyFile(String SSLCertificateKeyFile) |
void |
setSSLCipherSuite(String SSLCipherSuite) |
void |
setSSLDisableCompression(boolean disable) |
void |
setSSLHonorCipherOrder(boolean SSLHonorCipherOrder) |
void |
setSSLPassword(String SSLPassword) |
void |
setSSLProtocol(String SSLProtocol) |
void |
setSSLVerifyClient(String SSLVerifyClient) |
void |
setSSLVerifyDepth(int SSLVerifyDepth) |
void |
setUseSendfile(boolean useSendfile) |
void |
start()
Start the protocol.
|
configureProcessor, getCompressableMimeType, getCompressableMimeTypes, getCompression, getCompressionMinSize, getConnectionUploadTimeout, getDisableUploadTimeout, getMaxExtensionSize, getMaxHttpHeaderSize, getMaxKeepAliveRequests, getMaxSavePostSize, getMaxSwallowSize, getMaxTrailerSize, getNoCompressionUserAgents, getProtocolName, getRestrictedUserAgents, getSecure, getServer, getSocketBuffer, getUpgradeAsyncWriteBufferSize, isSSLEnabled, setCompressableMimeType, setCompressableMimeTypes, setCompression, setCompressionMinSize, setConnectionUploadTimeout, setDisableUploadTimeout, setMaxExtensionSize, setMaxHttpHeaderSize, setMaxKeepAliveRequests, setMaxSavePostSize, setMaxSwallowSize, setMaxTrailerSize, setNoCompressionUserAgents, setNpnHandler, 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, isCometSupported, isCometTimeoutSupported, isSendfileSupported, pause, postDeregister, postRegister, preDeregister, preRegister, resume, setAdapter, setAddress, setBacklog, setClientCertProvider, setConnectionTimeout, setExecutor, setKeepAliveTimeout, setMaxConnections, setMaxHeaderCount, setMaxThreads, setMinSpareThreads, setPort, setProcessorCache, setProperty, setSoLinger, setSoTimeout, setTcpNoDelay, setThreadPriority, stop
protected Log getLog()
AbstractProtocol
getLog
in class AbstractProtocol<Long>
protected AbstractEndpoint.Handler getHandler()
AbstractProtocol
getHandler
in class AbstractProtocol<Long>
public boolean isAprRequired()
ProtocolHandler
isAprRequired
in interface ProtocolHandler
isAprRequired
in class AbstractProtocol<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 String getSSLProtocol()
public void setSSLProtocol(String SSLProtocol)
public String getSSLPassword()
public void setSSLPassword(String SSLPassword)
public String getSSLCipherSuite()
public void setSSLCipherSuite(String SSLCipherSuite)
public String[] getCiphersUsed()
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 String getSSLCertificateFile()
public void setSSLCertificateFile(String SSLCertificateFile)
public String getSSLCertificateKeyFile()
public void setSSLCertificateKeyFile(String SSLCertificateKeyFile)
public String getSSLCertificateChainFile()
public void setSSLCertificateChainFile(String SSLCertificateChainFile)
public String getSSLCACertificatePath()
public void setSSLCACertificatePath(String SSLCACertificatePath)
public String getSSLCACertificateFile()
public void setSSLCACertificateFile(String SSLCACertificateFile)
public String getSSLCARevocationPath()
public void setSSLCARevocationPath(String SSLCARevocationPath)
public String getSSLCARevocationFile()
public void setSSLCARevocationFile(String SSLCARevocationFile)
public String getSSLVerifyClient()
public void setSSLVerifyClient(String SSLVerifyClient)
public int getSSLVerifyDepth()
public void setSSLVerifyDepth(int SSLVerifyDepth)
public boolean getSSLDisableCompression()
public void setSSLDisableCompression(boolean disable)
protected String getNamePrefix()
AbstractProtocol
getNamePrefix
in class AbstractProtocol<Long>
public void start() throws Exception
ProtocolHandler
start
in interface ProtocolHandler
start
in class AbstractProtocol<Long>
Exception
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.