org.apache.coyote.http11
public class Http11AprProtocol extends Object implements ProtocolHandler, MBeanRegistration
| Field Summary | |
|---|---|
| protected Adapter | adapter
The adapter, used to call the connector. |
| protected HashMap<String,Object> | attributes |
| protected String | compressableMimeTypes |
| protected String | compression
Integrated compression support. |
| protected int | compressionMinSize |
| protected boolean | disableUploadTimeout
If true, the regular socket timeout will be used for the full duration
of the connection. |
| protected String | domain |
| protected AprEndpoint | endpoint |
| protected static Log | log |
| protected int | maxHttpHeaderSize
Maximum size of the HTTP message header. |
| protected int | maxKeepAliveRequests
Maximum number of requests which can be performed over a keepalive
connection. |
| protected int | maxSavePostSize
Maximum size of the post which will be saved when processing certain
requests, such as a POST. |
| protected MBeanServer | mserver |
| protected String | noCompressionUserAgents |
| protected ObjectName | oname |
| protected int | processorCache
Processor cache. |
| protected String | protocol |
| protected String | restrictedUserAgents
User agents regular expressions which should be restricted to HTTP/1.0 support. |
| protected boolean | secure
This field indicates if the protocol is secure from the perspective of
the client (= https is used). |
| protected String | server
Server header. |
| protected static StringManager | sm
The string manager for this package. |
| protected int | socketBuffer |
| 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. |
| Constructor Summary | |
|---|---|
| Http11AprProtocol() | |
| Method Summary | |
|---|---|
| void | destroy() |
| Adapter | getAdapter() |
| InetAddress | getAddress() |
| Object | getAttribute(String key) |
| Iterator | getAttributeNames() |
| int | getBacklog() |
| String | getCompressableMimeType() |
| String | getCompression() |
| int | getCompressionMinSize() |
| boolean | getDeferAccept() |
| boolean | getDisableUploadTimeout() |
| String | getDomain() |
| Executor | getExecutor() |
| boolean | getKeepAlive()
Return the Keep-Alive policy for the connection. |
| int | getKeepAliveTimeout()
The number of seconds Tomcat will wait for a subsequent request
before closing the connection. |
| int | getMaxHttpHeaderSize() |
| int | getMaxKeepAliveRequests() |
| int | getMaxSavePostSize() |
| int | getMaxThreads() |
| String | getName() |
| String | getNoCompressionUserAgents() |
| ObjectName | getObjectName() |
| int | getPollerSize() |
| int | getPollerThreadCount() |
| int | getPollTime() |
| int | getPort() |
| int | getProcessorCache() |
| String | getProtocol() |
| String | getRestrictedUserAgents() |
| boolean | getSecure() |
| int | getSendfileSize() |
| int | getSendfileThreadCount() |
| String | getServer() |
| int | getSocketBuffer() |
| int | getSoLinger() |
| int | getSoTimeout() |
| 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. |
| boolean | getTcpNoDelay() |
| int | getThreadPriority() |
| int | getTimeout() |
| int | getUnlockTimeout() |
| boolean | getUseSendfile() |
| void | init() Start the protocol |
| boolean | isSSLEnabled()
SSL engine. |
| void | pause() |
| void | postDeregister() |
| void | postRegister(Boolean registrationDone) |
| void | preDeregister() |
| ObjectName | preRegister(MBeanServer server, ObjectName name) |
| void | resume() |
| void | setAdapter(Adapter adapter) |
| void | setAddress(InetAddress ia) |
| void | setAttribute(String name, Object value) Pass config info |
| void | setBacklog(int backlog) |
| void | setCompressableMimeType(String valueS) |
| void | setCompression(String valueS) |
| void | setCompressionMinSize(int valueI) |
| void | setDeferAccept(boolean deferAccept) |
| void | setDisableUploadTimeout(boolean isDisabled) |
| void | setExecutor(Executor executor) |
| void | setKeepAlive(boolean keepAlive)
Set the keep-alive policy for this connection. |
| void | setKeepAliveTimeout(int timeout) |
| void | setMaxHttpHeaderSize(int valueI) |
| void | setMaxKeepAliveRequests(int mkar) |
| void | setMaxSavePostSize(int valueI) |
| void | setMaxThreads(int maxThreads) |
| void | setNoCompressionUserAgents(String valueS) |
| void | setPollerSize(int pollerSize) |
| void | setPollerThreadCount(int pollerThreadCount) |
| void | setPollTime(int pollTime) |
| void | setPort(int port) |
| void | setProcessorCache(int processorCache) |
| void | setProtocol(String protocol) |
| void | setRestrictedUserAgents(String valueS) |
| void | setSecure(boolean b) |
| void | setSendfileSize(int sendfileSize) |
| void | setSendfileThreadCount(int sendfileThreadCount) |
| void | setServer(String server) |
| void | setSocketBuffer(int socketBuffer) |
| void | setSoLinger(int soLinger) |
| void | setSoTimeout(int soTimeout) |
| 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 | setSSLEnabled(boolean SSLEnabled) |
| void | setSSLPassword(String SSLPassword) |
| void | setSSLProtocol(String SSLProtocol) |
| void | setSSLVerifyClient(String SSLVerifyClient) |
| void | setSSLVerifyDepth(int SSLVerifyDepth) |
| void | setTcpNoDelay(boolean tcpNoDelay) |
| void | setThreadPriority(int threadPriority) |
| void | setTimeout(int timeout) |
| void | setUnlockTimeout(int unlockTimeout) |
| void | setUseSendfile(boolean useSendfile) |
| void | start() |