public class Http11Protocol extends Object implements ProtocolHandler, MBeanRegistration
| Modifier and Type | Class and Description |
|---|---|
protected static class |
Http11Protocol.Http11ConnectionHandler |
| Modifier and Type | Field and Description |
|---|---|
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 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 int |
socketBuffer |
protected ServerSocketFactory |
socketFactory |
protected String |
socketFactoryName
Name of the socket factory.
|
protected boolean |
SSLEnabled |
protected JSSEImplementation |
sslImplementation |
protected String |
sslImplementationName
Name of the SSL implementation.
|
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 and Description |
|---|
Http11Protocol() |
protected Http11Protocol.Http11ConnectionHandler cHandler
protected JIoEndpoint endpoint
protected ObjectName tpOname
protected ObjectName rgOname
protected ServerSocketFactory socketFactory
protected JSSEImplementation sslImplementation
protected Adapter adapter
protected int processorCache
protected int socketBuffer
protected boolean secure
protected boolean SSLEnabled
protected String socketFactoryName
protected String sslImplementationName
protected int maxKeepAliveRequests
protected int keepAliveTimeout
protected int timeout
protected int maxSavePostSize
protected int maxHttpHeaderSize
protected boolean disableUploadTimeout
protected String compression
protected String noCompressionUserAgents
protected String compressableMimeTypes
protected int compressionMinSize
protected String restrictedUserAgents
protected String server
protected String domain
protected ObjectName oname
protected MBeanServer mserver
public void setAttribute(String name, Object value)
setAttribute in interface ProtocolHandlerpublic Object getAttribute(String key)
getAttribute in interface ProtocolHandlerpublic Iterator getAttributeNames()
getAttributeNames in interface ProtocolHandlerpublic void setAdapter(Adapter adapter)
ProtocolHandlersetAdapter in interface ProtocolHandlerpublic Adapter getAdapter()
getAdapter in interface ProtocolHandlerpublic boolean hasIoEvents()
hasIoEvents in interface ProtocolHandlerpublic RequestGroupInfo getRequestGroupInfo()
getRequestGroupInfo in interface ProtocolHandlerpublic void init()
throws Exception
ProtocolHandlerinit in interface ProtocolHandlerExceptionpublic void start()
throws Exception
ProtocolHandlerstart in interface ProtocolHandlerExceptionpublic void pause()
throws Exception
ProtocolHandlerpause in interface ProtocolHandlerExceptionpublic void resume()
throws Exception
ProtocolHandlerresume in interface ProtocolHandlerExceptionpublic void destroy()
throws Exception
destroy in interface ProtocolHandlerExceptionpublic String getJmxName()
public String getName()
public int getProcessorCache()
public void setProcessorCache(int processorCache)
public int getSocketBuffer()
public void setSocketBuffer(int socketBuffer)
public boolean getSecure()
public void setSecure(boolean b)
public boolean isSSLEnabled()
public void setSSLEnabled(boolean SSLEnabled)
public String getSocketFactory()
public void setSocketFactory(String valueS)
public String getSSLImplementation()
public void setSSLImplementation(String valueS)
public int getMaxKeepAliveRequests()
public void setMaxKeepAliveRequests(int mkar)
public int getKeepAliveTimeout()
public void setKeepAliveTimeout(int timeout)
public int getTimeout()
public void setTimeout(int timeout)
public int getMaxSavePostSize()
public void setMaxSavePostSize(int valueI)
public int getMaxHttpHeaderSize()
public void setMaxHttpHeaderSize(int valueI)
public boolean getDisableUploadTimeout()
public void setDisableUploadTimeout(boolean isDisabled)
public String getCompression()
public void setCompression(String valueS)
public String getNoCompressionUserAgents()
public void setNoCompressionUserAgents(String valueS)
public String getCompressableMimeType()
public void setCompressableMimeType(String valueS)
public int getCompressionMinSize()
public void setCompressionMinSize(int valueI)
public String getRestrictedUserAgents()
public void setRestrictedUserAgents(String valueS)
public void setServer(String server)
public String getServer()
public Executor getExecutor()
public void setExecutor(Executor executor)
public int getMaxThreads()
public void setMaxThreads(int maxThreads)
public int getThreadPriority()
public void setThreadPriority(int threadPriority)
public int getBacklog()
public void setBacklog(int backlog)
public int getPort()
public void setPort(int port)
public InetAddress getAddress()
public void setAddress(InetAddress ia)
public boolean getTcpNoDelay()
public void setTcpNoDelay(boolean tcpNoDelay)
public int getSoLinger()
public void setSoLinger(int soLinger)
public int getSoTimeout()
public void setSoTimeout(int soTimeout)
public void setPollerSize(int pollerSize)
public int getPollerSize()
public boolean getKeepAlive()
public void setKeepAlive(boolean keepAlive)
public String getKeystore()
public void setKeystore(String k)
public String getKeypass()
public void setKeypass(String k)
public String getKeytype()
public void setKeytype(String k)
public String getClientauth()
public void setClientauth(String k)
public String getProtocols()
public void setProtocols(String k)
public String getAlgorithm()
public void setAlgorithm(String k)
public String getCiphers()
public void setCiphers(String ciphers)
public String getKeyAlias()
public void setKeyAlias(String keyAlias)
public SSLContext getSSLContext()
public void setSSLContext(SSLContext sslContext)
public ObjectName getObjectName()
public String getDomain()
public ObjectName preRegister(MBeanServer server, ObjectName name) throws Exception
preRegister in interface MBeanRegistrationExceptionpublic void postRegister(Boolean registrationDone)
postRegister in interface MBeanRegistrationpublic void preDeregister()
throws Exception
preDeregister in interface MBeanRegistrationExceptionpublic void postDeregister()
postDeregister in interface MBeanRegistrationCopyright © 2016 JBoss by Red Hat. All rights reserved.