|
Apache Tomcat 6.0.53 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.coyote.AbstractProtocol org.apache.coyote.http11.Http11Protocol
public class Http11Protocol
Abstract the protocol implementation, including threading, etc. Processor is single threaded and specific to stream-based protocols, will not fit Jk protocols like JNI.
Nested Class Summary | |
---|---|
protected static class |
Http11Protocol.Http11ConnectionHandler
|
Field Summary | |
---|---|
protected Adapter |
adapter
The adapter, used to call the connector. |
protected java.util.HashMap<java.lang.String,java.lang.Object> |
attributes
|
protected Http11Protocol.Http11ConnectionHandler |
cHandler
|
protected java.lang.String |
clientCertProvider
When client certificate information is presented in a form other than instances of X509Certificate it needs to be
converted before it can be used and this property controls which JSSE
provider is used to perform the conversion. |
protected java.lang.String |
compressableMimeTypes
|
protected java.lang.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 java.lang.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 javax.management.MBeanServer |
mserver
|
protected java.lang.String |
noCompressionUserAgents
|
protected javax.management.ObjectName |
oname
|
protected int |
processorCache
Processor cache. |
protected java.lang.String |
restrictedUserAgents
User agents regular expressions which should be restricted to HTTP/1.0 support. |
protected javax.management.ObjectName |
rgOname
|
protected boolean |
secure
This field indicates if the protocol is secure from the perspective of the client (= https is used). |
protected java.lang.String |
server
Server header. |
protected static StringManager |
sm
The string manager for this package. |
protected int |
socketBuffer
|
protected ServerSocketFactory |
socketFactory
|
protected java.lang.String |
socketFactoryName
Name of the socket factory. |
protected boolean |
SSLEnabled
|
protected SSLImplementation |
sslImplementation
|
protected java.lang.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 javax.management.ObjectName |
tpOname
|
Constructor Summary | |
---|---|
Http11Protocol()
|
Method Summary | |
---|---|
void |
destroy()
|
Adapter |
getAdapter()
|
java.net.InetAddress |
getAddress()
|
java.lang.String |
getAlgorithm()
|
java.lang.Object |
getAttribute(java.lang.String key)
|
java.util.Iterator<java.lang.String> |
getAttributeNames()
|
int |
getBacklog()
|
java.lang.String |
getCiphers()
|
java.lang.String |
getClientauth()
|
java.lang.String |
getClientCertProvider()
|
java.lang.String |
getCompressableMimeType()
|
java.lang.String |
getCompression()
|
int |
getCompressionMinSize()
|
boolean |
getDisableUploadTimeout()
|
java.lang.String |
getDomain()
|
protected AbstractEndpoint |
getEndpoint()
|
java.util.concurrent.Executor |
getExecutor()
|
boolean |
getKeepAlive()
Return the Keep-Alive policy for the connection. |
int |
getKeepAliveTimeout()
|
java.lang.String |
getKeyAlias()
|
java.lang.String |
getKeypass()
|
java.lang.String |
getKeystore()
|
java.lang.String |
getKeytype()
|
int |
getMaxHttpHeaderSize()
|
int |
getMaxKeepAliveRequests()
|
int |
getMaxSavePostSize()
|
int |
getMaxThreads()
|
java.lang.String |
getName()
|
java.lang.String |
getNoCompressionUserAgents()
|
javax.management.ObjectName |
getObjectName()
|
int |
getPort()
|
int |
getProcessorCache()
|
java.lang.String |
getProperty(java.lang.String name)
Get a property |
java.lang.String |
getProtocols()
|
java.lang.String |
getRestrictedUserAgents()
|
boolean |
getSecure()
|
java.lang.String |
getServer()
|
int |
getSocketBuffer()
|
java.lang.String |
getSocketFactory()
|
int |
getSoLinger()
|
int |
getSoTimeout()
|
java.lang.String |
getSslEnabledProtocols()
|
java.lang.String |
getSSLImplementation()
|
boolean |
getTcpNoDelay()
|
int |
getThreadPriority()
|
int |
getTimeout()
|
int |
getUnlockTimeout()
|
void |
init()
Init the protocol. |
boolean |
isSSLEnabled()
|
void |
pause()
Pause the protocol (optional). |
void |
postDeregister()
|
void |
postRegister(java.lang.Boolean registrationDone)
|
void |
preDeregister()
|
javax.management.ObjectName |
preRegister(javax.management.MBeanServer server,
javax.management.ObjectName name)
|
void |
resume()
Resume the protocol (optional). |
void |
setAdapter(Adapter adapter)
The adapter, used to call the connector. |
void |
setAddress(java.net.InetAddress ia)
|
void |
setAlgorithm(java.lang.String k)
|
void |
setAttribute(java.lang.String name,
java.lang.Object value)
Pass config info |
void |
setBacklog(int backlog)
|
void |
setCiphers(java.lang.String ciphers)
|
void |
setClientauth(java.lang.String k)
|
void |
setClientCertProvider(java.lang.String s)
|
void |
setCompressableMimeType(java.lang.String valueS)
|
void |
setCompression(java.lang.String valueS)
|
void |
setCompressionMinSize(int valueI)
|
void |
setDisableUploadTimeout(boolean isDisabled)
|
void |
setExecutor(java.util.concurrent.Executor executor)
|
void |
setKeepAlive(boolean keepAlive)
Set the keep-alive policy for this connection. |
void |
setKeepAliveTimeout(int timeout)
|
void |
setKeyAlias(java.lang.String keyAlias)
|
void |
setKeypass(java.lang.String k)
|
void |
setKeystore(java.lang.String k)
|
void |
setKeytype(java.lang.String k)
|
void |
setMaxHttpHeaderSize(int valueI)
|
void |
setMaxKeepAliveRequests(int mkar)
|
void |
setMaxSavePostSize(int valueI)
|
void |
setMaxThreads(int maxThreads)
|
void |
setNoCompressionUserAgents(java.lang.String valueS)
|
void |
setPort(int port)
|
void |
setProcessorCache(int processorCache)
|
void |
setProperty(java.lang.String name,
java.lang.String value)
Set a property. |
void |
setProtocols(java.lang.String k)
|
void |
setRestrictedUserAgents(java.lang.String valueS)
|
void |
setSecure(boolean b)
|
void |
setServer(java.lang.String server)
|
void |
setSocketBuffer(int socketBuffer)
|
void |
setSocketFactory(java.lang.String valueS)
|
void |
setSoLinger(int soLinger)
|
void |
setSoTimeout(int soTimeout)
|
void |
setSSLEnabled(boolean SSLEnabled)
|
void |
setSslEnabledProtocols(java.lang.String k)
|
void |
setSSLImplementation(java.lang.String valueS)
|
void |
setTcpNoDelay(boolean tcpNoDelay)
|
void |
setThreadPriority(int threadPriority)
|
void |
setTimeout(int timeout)
|
void |
setUnlockTimeout(int unlockTimeout)
|
void |
start()
Start the protocol. |
Methods inherited from class org.apache.coyote.AbstractProtocol |
---|
createName, getLocalPort, getMaxCookieCount, getMaxHeaderCount, getNameIndex, nextNameIndex, setMaxCookieCount, setMaxHeaderCount |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static Log log
protected static StringManager sm
protected Http11Protocol.Http11ConnectionHandler cHandler
protected JIoEndpoint endpoint
protected javax.management.ObjectName tpOname
protected javax.management.ObjectName rgOname
protected ServerSocketFactory socketFactory
protected SSLImplementation sslImplementation
protected java.util.HashMap<java.lang.String,java.lang.Object> attributes
protected Adapter adapter
protected int processorCache
protected int socketBuffer
protected boolean secure
protected boolean SSLEnabled
protected java.lang.String socketFactoryName
protected java.lang.String sslImplementationName
protected int maxKeepAliveRequests
protected int keepAliveTimeout
protected int timeout
protected int maxSavePostSize
protected int maxHttpHeaderSize
protected boolean disableUploadTimeout
protected java.lang.String compression
protected java.lang.String noCompressionUserAgents
protected java.lang.String compressableMimeTypes
protected int compressionMinSize
protected java.lang.String restrictedUserAgents
protected java.lang.String server
protected java.lang.String clientCertProvider
X509Certificate
it needs to be
converted before it can be used and this property controls which JSSE
provider is used to perform the conversion. For example it is used with
the AJP connectors, the HTTP APR connector and with the
SSLValve
. If not specified, the
default provider will be used.
protected java.lang.String domain
protected javax.management.ObjectName oname
protected javax.management.MBeanServer mserver
Constructor Detail |
---|
public Http11Protocol()
Method Detail |
---|
protected final AbstractEndpoint getEndpoint()
getEndpoint
in class AbstractProtocol
public void setAttribute(java.lang.String name, java.lang.Object value)
setAttribute
in interface ProtocolHandler
public java.lang.Object getAttribute(java.lang.String key)
getAttribute
in interface ProtocolHandler
public java.util.Iterator<java.lang.String> getAttributeNames()
getAttributeNames
in interface ProtocolHandler
public void setProperty(java.lang.String name, java.lang.String value)
public java.lang.String getProperty(java.lang.String name)
public void setAdapter(Adapter adapter)
ProtocolHandler
setAdapter
in interface ProtocolHandler
public Adapter getAdapter()
getAdapter
in interface ProtocolHandler
public void init() throws java.lang.Exception
ProtocolHandler
init
in interface ProtocolHandler
java.lang.Exception
public void start() throws java.lang.Exception
ProtocolHandler
start
in interface ProtocolHandler
java.lang.Exception
public void pause() throws java.lang.Exception
ProtocolHandler
pause
in interface ProtocolHandler
java.lang.Exception
public void resume() throws java.lang.Exception
ProtocolHandler
resume
in interface ProtocolHandler
java.lang.Exception
public void destroy() throws java.lang.Exception
destroy
in interface ProtocolHandler
java.lang.Exception
public java.lang.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 java.lang.String getSocketFactory()
public void setSocketFactory(java.lang.String valueS)
public java.lang.String getSSLImplementation()
public void setSSLImplementation(java.lang.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 java.lang.String getCompression()
public void setCompression(java.lang.String valueS)
public java.lang.String getNoCompressionUserAgents()
public void setNoCompressionUserAgents(java.lang.String valueS)
public java.lang.String getCompressableMimeType()
public void setCompressableMimeType(java.lang.String valueS)
public int getCompressionMinSize()
public void setCompressionMinSize(int valueI)
public java.lang.String getRestrictedUserAgents()
public void setRestrictedUserAgents(java.lang.String valueS)
public void setServer(java.lang.String server)
public java.lang.String getServer()
public java.util.concurrent.Executor getExecutor()
public void setExecutor(java.util.concurrent.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 java.net.InetAddress getAddress()
public void setAddress(java.net.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 int getUnlockTimeout()
public void setUnlockTimeout(int unlockTimeout)
public boolean getKeepAlive()
public void setKeepAlive(boolean keepAlive)
public java.lang.String getKeystore()
public void setKeystore(java.lang.String k)
public java.lang.String getKeypass()
public void setKeypass(java.lang.String k)
public java.lang.String getKeytype()
public void setKeytype(java.lang.String k)
public java.lang.String getClientauth()
public void setClientauth(java.lang.String k)
public java.lang.String getProtocols()
public void setProtocols(java.lang.String k)
public java.lang.String getSslEnabledProtocols()
public void setSslEnabledProtocols(java.lang.String k)
public java.lang.String getAlgorithm()
public void setAlgorithm(java.lang.String k)
public java.lang.String getCiphers()
public void setCiphers(java.lang.String ciphers)
public java.lang.String getKeyAlias()
public void setKeyAlias(java.lang.String keyAlias)
public java.lang.String getClientCertProvider()
public void setClientCertProvider(java.lang.String s)
public javax.management.ObjectName getObjectName()
public java.lang.String getDomain()
public javax.management.ObjectName preRegister(javax.management.MBeanServer server, javax.management.ObjectName name) throws java.lang.Exception
preRegister
in interface javax.management.MBeanRegistration
java.lang.Exception
public void postRegister(java.lang.Boolean registrationDone)
postRegister
in interface javax.management.MBeanRegistration
public void preDeregister() throws java.lang.Exception
preDeregister
in interface javax.management.MBeanRegistration
java.lang.Exception
public void postDeregister()
postDeregister
in interface javax.management.MBeanRegistration
|
Apache Tomcat 6.0.53 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |