|
Apache Tomcat 7.0.4 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.coyote.http11.AbstractHttp11Protocol
org.apache.coyote.http11.Http11AprProtocol
public class Http11AprProtocol
Abstract the protocol implementation, including threading, etc. Processor is single threaded and specific to stream-based protocols, will not fit Jk protocols like JNI.
Field Summary | |
---|---|
protected static StringManager |
sm
The string manager for this package. |
protected int |
timeout
This timeout represents the socket timeout which will be used while the adapter execution is in progress, unless disableUploadTimeout is set to true. |
Fields inherited from class org.apache.coyote.http11.AbstractHttp11Protocol |
---|
adapter, attributes, domain, endpoint, mserver, oname, rgOname, sslImplementation, tpOname |
Constructor Summary | |
---|---|
Http11AprProtocol()
|
Method Summary | |
---|---|
void |
destroy()
Destroy the protocol (optional). |
boolean |
getDeferAccept()
|
protected Log |
getLog()
|
int |
getPollerSize()
|
int |
getPollerThreadCount()
|
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. |
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. |
int |
getTimeout()
|
boolean |
getUseSendfile()
|
void |
init()
Start the protocol |
void |
setDeferAccept(boolean deferAccept)
|
void |
setPollerSize(int pollerSize)
|
void |
setPollerThreadCount(int pollerThreadCount)
|
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 |
setSSLPassword(String SSLPassword)
|
void |
setSSLProtocol(String SSLProtocol)
|
void |
setSSLVerifyClient(String SSLVerifyClient)
|
void |
setSSLVerifyDepth(int SSLVerifyDepth)
|
void |
setTimeout(int timeout)
|
void |
setUseSendfile(boolean useSendfile)
|
void |
start()
Start the protocol. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static final StringManager sm
protected int timeout
Constructor Detail |
---|
public Http11AprProtocol()
Method Detail |
---|
protected Log getLog()
getLog
in class AbstractHttp11Protocol
public void init() throws Exception
init
in interface ProtocolHandler
init
in class AbstractHttp11Protocol
Exception
public void start() throws Exception
ProtocolHandler
Exception
public void destroy() throws Exception
ProtocolHandler
destroy
in interface ProtocolHandler
destroy
in class AbstractHttp11Protocol
Exception
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 void setPollerThreadCount(int pollerThreadCount)
public int getPollerThreadCount()
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 int getTimeout()
getTimeout
in class AbstractHttp11Protocol
public void setTimeout(int timeout)
setTimeout
in class AbstractHttp11Protocol
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 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)
|
Apache Tomcat 7.0.4 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |