|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.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
Deprecated. |
Field Summary | |
---|---|
protected Adapter |
adapter
Deprecated. The adapter, used to call the connector. |
protected java.util.HashMap<java.lang.String,java.lang.Object> |
attributes
Deprecated. |
protected Http11Protocol.Http11ConnectionHandler |
cHandler
Deprecated. |
protected java.lang.String |
compressableMimeTypes
Deprecated. |
protected java.lang.String |
compression
Deprecated. Integrated compression support. |
protected int |
compressionMinSize
Deprecated. |
protected boolean |
disableUploadTimeout
Deprecated. If true, the regular socket timeout will be used for the full duration of the connection. |
protected java.lang.String |
domain
Deprecated. |
protected JIoEndpoint |
endpoint
Deprecated. |
protected int |
keepAliveTimeout
Deprecated. The number of seconds Tomcat will wait for a subsequent request before closing the connection. |
protected static Log |
log
Deprecated. |
protected int |
maxHttpHeaderSize
Deprecated. Maximum size of the HTTP message header. |
protected int |
maxKeepAliveRequests
Deprecated. Maximum number of requests which can be performed over a keepalive connection. |
protected int |
maxSavePostSize
Deprecated. Maximum size of the post which will be saved when processing certain requests, such as a POST. |
protected javax.management.MBeanServer |
mserver
Deprecated. |
protected java.lang.String |
noCompressionUserAgents
Deprecated. |
protected javax.management.ObjectName |
oname
Deprecated. |
protected java.lang.String |
restrictedUserAgents
Deprecated. User agents regular expressions which should be restricted to HTTP/1.0 support. |
protected javax.management.ObjectName |
rgOname
Deprecated. |
protected boolean |
secure
Deprecated. This field indicates if the protocol is secure from the perspective of the client (= https is used). |
protected java.lang.String |
server
Deprecated. Server header. |
protected static StringManager |
sm
Deprecated. The string manager for this package. |
protected ServerSocketFactory |
socketFactory
Deprecated. |
protected java.lang.String |
socketFactoryName
Deprecated. Name of the socket factory. |
protected boolean |
SSLEnabled
Deprecated. |
protected SSLImplementation |
sslImplementation
Deprecated. |
protected java.lang.String |
sslImplementationName
Deprecated. Name of the SSL implementation. |
protected int |
timeout
Deprecated. 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
Deprecated. |
Constructor Summary | |
---|---|
Http11Protocol()
Deprecated. |
Method Summary | |
---|---|
void |
destroy()
Deprecated. |
Adapter |
getAdapter()
Deprecated. |
java.net.InetAddress |
getAddress()
Deprecated. |
java.lang.String |
getAlgorithm()
Deprecated. |
java.lang.Object |
getAttribute(java.lang.String key)
Deprecated. |
java.util.Iterator |
getAttributeNames()
Deprecated. |
int |
getBacklog()
Deprecated. |
java.lang.String |
getCiphers()
Deprecated. |
java.lang.String |
getClientauth()
Deprecated. |
java.lang.String |
getCompressableMimeType()
Deprecated. |
java.lang.String |
getCompression()
Deprecated. |
int |
getCompressionMinSize()
Deprecated. |
boolean |
getDisableUploadTimeout()
Deprecated. |
java.lang.String |
getDomain()
Deprecated. |
java.util.concurrent.Executor |
getExecutor()
Deprecated. |
boolean |
getKeepAlive()
Deprecated. Return the Keep-Alive policy for the connection. |
int |
getKeepAliveTimeout()
Deprecated. |
java.lang.String |
getKeyAlias()
Deprecated. |
java.lang.String |
getKeypass()
Deprecated. |
java.lang.String |
getKeystore()
Deprecated. |
java.lang.String |
getKeytype()
Deprecated. |
int |
getMaxHttpHeaderSize()
Deprecated. |
int |
getMaxKeepAliveRequests()
Deprecated. |
int |
getMaxSavePostSize()
Deprecated. |
int |
getMaxThreads()
Deprecated. |
java.lang.String |
getName()
Deprecated. |
java.lang.String |
getNoCompressionUserAgents()
Deprecated. |
javax.management.ObjectName |
getObjectName()
Deprecated. |
int |
getPort()
Deprecated. |
java.lang.String |
getProperty(java.lang.String name)
Deprecated. Get a property |
java.lang.String |
getProtocols()
Deprecated. |
java.lang.String |
getRestrictedUserAgents()
Deprecated. |
boolean |
getSecure()
Deprecated. |
java.lang.String |
getServer()
Deprecated. |
java.lang.String |
getSocketFactory()
Deprecated. |
int |
getSoLinger()
Deprecated. |
int |
getSoTimeout()
Deprecated. |
java.lang.String |
getSSLImplementation()
Deprecated. |
boolean |
getTcpNoDelay()
Deprecated. |
int |
getThreadPriority()
Deprecated. |
int |
getTimeout()
Deprecated. |
void |
init()
Deprecated. Init the protocol. |
boolean |
isSSLEnabled()
Deprecated. |
void |
pause()
Deprecated. Pause the protocol (optional). |
void |
postDeregister()
Deprecated. |
void |
postRegister(java.lang.Boolean registrationDone)
Deprecated. |
void |
preDeregister()
Deprecated. |
javax.management.ObjectName |
preRegister(javax.management.MBeanServer server,
javax.management.ObjectName name)
Deprecated. |
void |
resume()
Deprecated. Resume the protocol (optional). |
void |
setAdapter(Adapter adapter)
Deprecated. The adapter, used to call the connector. |
void |
setAddress(java.net.InetAddress ia)
Deprecated. |
void |
setAlgorithm(java.lang.String k)
Deprecated. |
void |
setAttribute(java.lang.String name,
java.lang.Object value)
Deprecated. Pass config info |
void |
setBacklog(int i)
Deprecated. |
void |
setCiphers(java.lang.String ciphers)
Deprecated. |
void |
setClientauth(java.lang.String k)
Deprecated. |
void |
setCompressableMimeType(java.lang.String valueS)
Deprecated. |
void |
setCompression(java.lang.String valueS)
Deprecated. |
void |
setCompressionMinSize(int valueI)
Deprecated. |
void |
setDisableUploadTimeout(boolean isDisabled)
Deprecated. |
void |
setExecutor(java.util.concurrent.Executor executor)
Deprecated. |
void |
setKeepAlive(boolean keepAlive)
Deprecated. Set the keep-alive policy for this connection. |
void |
setKeepAliveTimeout(int timeout)
Deprecated. |
void |
setKeyAlias(java.lang.String keyAlias)
Deprecated. |
void |
setKeypass(java.lang.String k)
Deprecated. |
void |
setKeystore(java.lang.String k)
Deprecated. |
void |
setKeytype(java.lang.String k)
Deprecated. |
void |
setMaxHttpHeaderSize(int valueI)
Deprecated. |
void |
setMaxKeepAliveRequests(int mkar)
Deprecated. |
void |
setMaxSavePostSize(int valueI)
Deprecated. |
void |
setMaxThreads(int maxThreads)
Deprecated. |
void |
setNoCompressionUserAgents(java.lang.String valueS)
Deprecated. |
void |
setPort(int port)
Deprecated. |
void |
setProperty(java.lang.String name,
java.lang.String value)
Deprecated. Set a property. |
void |
setProtocols(java.lang.String k)
Deprecated. |
void |
setRestrictedUserAgents(java.lang.String valueS)
Deprecated. |
void |
setSecure(boolean b)
Deprecated. |
void |
setServer(java.lang.String server)
Deprecated. |
void |
setSocketFactory(java.lang.String valueS)
Deprecated. |
void |
setSoLinger(int i)
Deprecated. |
void |
setSoTimeout(int i)
Deprecated. |
void |
setSSLEnabled(boolean SSLEnabled)
Deprecated. |
void |
setSSLImplementation(java.lang.String valueS)
Deprecated. |
void |
setTcpNoDelay(boolean b)
Deprecated. |
void |
setThreadPriority(int threadPriority)
Deprecated. |
void |
setTimeout(int timeout)
Deprecated. |
void |
start()
Deprecated. 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 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 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 domain
protected javax.management.ObjectName oname
protected javax.management.MBeanServer mserver
Constructor Detail |
---|
public Http11Protocol()
Method Detail |
---|
public void setProperty(java.lang.String name, java.lang.String value)
public java.lang.String getProperty(java.lang.String name)
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 getAttributeNames()
getAttributeNames
in interface ProtocolHandler
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 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 void setThreadPriority(int threadPriority)
public int getThreadPriority()
public int getBacklog()
public void setBacklog(int i)
public int getPort()
public void setPort(int port)
public java.net.InetAddress getAddress()
public void setAddress(java.net.InetAddress ia)
public java.lang.String getName()
public boolean getTcpNoDelay()
public void setTcpNoDelay(boolean b)
public int getSoLinger()
public void setSoLinger(int i)
public int getSoTimeout()
public void setSoTimeout(int i)
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 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 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
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |