org.apache.coyote.http11
public class Http11Protocol extends Object implements ProtocolHandler, MBeanRegistration
| Nested Class Summary | |
|---|---|
| protected static class | Http11Protocol.Http11ConnectionHandler |
| Field Summary | |
|---|---|
| protected Adapter | adapter
The adapter, used to call the connector. |
| protected HashMap<String,Object> | attributes |
| protected Http11Protocol.Http11ConnectionHandler | cHandler |
| 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 JIoEndpoint | endpoint |
| protected int | keepAliveTimeout
The number of seconds Tomcat will wait for a subsequent request
before closing the connection. |
| 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 | restrictedUserAgents
User agents regular expressions which should be restricted to HTTP/1.0 support. |
| protected ObjectName | rgOname |
| 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 ServerSocketFactory | socketFactory |
| protected String | socketFactoryName
Name of the socket factory. |
| protected SSLImplementation | sslImplementation |
| protected String | sslImplementationName
Name of the SSL implementation. |
| protected boolean | SSLEnabled |
| 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. |
| protected ObjectName | tpOname |
| Constructor Summary | |
|---|---|
| Http11Protocol() | |
| Method Summary | |
|---|---|
| void | destroy() |
| Adapter | getAdapter() |
| InetAddress | getAddress() |
| String | getAlgorithm() |
| Object | getAttribute(String key) |
| Iterator | getAttributeNames() |
| int | getBacklog() |
| String | getCiphers() |
| String | getClientauth() |
| String | getCompressableMimeType() |
| String | getCompression() |
| int | getCompressionMinSize() |
| boolean | getDisableUploadTimeout() |
| String | getDomain() |
| Executor | getExecutor() |
| boolean | getKeepAlive()
Return the Keep-Alive policy for the connection. |
| int | getKeepAliveTimeout() |
| String | getKeyAlias() |
| String | getKeypass() |
| String | getKeystore() |
| String | getKeytype() |
| int | getMaxHttpHeaderSize() |
| int | getMaxKeepAliveRequests() |
| int | getMaxSavePostSize() |
| int | getMaxThreads() |
| String | getName() |
| String | getNoCompressionUserAgents() |
| ObjectName | getObjectName() |
| int | getPort() |
| int | getProcessorCache() |
| String | getProperty(String name)
Get a property |
| String | getProtocols() |
| String | getRestrictedUserAgents() |
| boolean | getSecure() |
| String | getServer() |
| int | getSocketBuffer() |
| String | getSocketFactory() |
| int | getSoLinger() |
| int | getSoTimeout() |
| String | getSSLImplementation() |
| boolean | getTcpNoDelay() |
| int | getThreadPriority() |
| int | getTimeout() |
| int | getUnlockTimeout() |
| void | init() |
| boolean | isSSLEnabled() |
| 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 | setAlgorithm(String k) |
| void | setAttribute(String name, Object value)
Pass config info |
| void | setBacklog(int backlog) |
| void | setCiphers(String ciphers) |
| void | setClientauth(String k) |
| void | setCompressableMimeType(String valueS) |
| void | setCompression(String valueS) |
| void | setCompressionMinSize(int valueI) |
| 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 | setKeyAlias(String keyAlias) |
| void | setKeypass(String k) |
| void | setKeystore(String k) |
| void | setKeytype(String k) |
| void | setMaxHttpHeaderSize(int valueI) |
| void | setMaxKeepAliveRequests(int mkar) |
| void | setMaxSavePostSize(int valueI) |
| void | setMaxThreads(int maxThreads) |
| void | setNoCompressionUserAgents(String valueS) |
| void | setPort(int port) |
| void | setProcessorCache(int processorCache) |
| void | setProperty(String name, String value)
Set a property. |
| void | setProtocols(String k) |
| void | setRestrictedUserAgents(String valueS) |
| void | setSecure(boolean b) |
| void | setServer(String server) |
| void | setSocketBuffer(int socketBuffer) |
| void | setSocketFactory(String valueS) |
| void | setSoLinger(int soLinger) |
| void | setSoTimeout(int soTimeout) |
| void | setSSLEnabled(boolean SSLEnabled) |
| void | setSSLImplementation(String valueS) |
| void | setTcpNoDelay(boolean tcpNoDelay) |
| void | setThreadPriority(int threadPriority) |
| void | setTimeout(int timeout) |
| void | setUnlockTimeout(int unlockTimeout) |
| void | start() |