|
Apache Tomcat 7.0.4 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.coyote.http11.AbstractHttp11Protocol
public abstract class AbstractHttp11Protocol
Field Summary | |
---|---|
protected Adapter |
adapter
The adapter, used to call the connector. |
protected HashMap<String,Object> |
attributes
|
protected String |
domain
|
protected AbstractEndpoint |
endpoint
|
protected MBeanServer |
mserver
|
protected ObjectName |
oname
|
protected ObjectName |
rgOname
|
protected static StringManager |
sm
The string manager for this package. |
protected SSLImplementation |
sslImplementation
|
protected ObjectName |
tpOname
|
Constructor Summary | |
---|---|
AbstractHttp11Protocol()
|
Method Summary | |
---|---|
void |
destroy()
Destroy the protocol (optional). |
Adapter |
getAdapter()
|
InetAddress |
getAddress()
|
Object |
getAttribute(String key)
|
Iterator<String> |
getAttributeNames()
|
int |
getBacklog()
|
String |
getCompressableMimeType()
|
String |
getCompressableMimeTypes()
|
String |
getCompression()
|
int |
getCompressionMinSize()
|
int |
getConnectionTimeout()
|
boolean |
getDisableUploadTimeout()
|
String |
getDomain()
|
Executor |
getExecutor()
The executor, provide access to the underlying thread pool. |
boolean |
getKeepAlive()
Return the Keep-Alive policy for the connection. |
int |
getKeepAliveTimeout()
|
protected abstract Log |
getLog()
|
int |
getMaxHttpHeaderSize()
|
int |
getMaxKeepAliveRequests()
Maximum number of requests which can be performed over a keepalive connection. |
int |
getMaxSavePostSize()
|
int |
getMaxThreads()
|
String |
getName()
|
String |
getNoCompressionUserAgents()
|
ObjectName |
getObjectName()
|
int |
getPort()
|
int |
getProcessorCache()
|
String |
getProperty(String name)
Get a property |
String |
getRestrictedUserAgents()
|
boolean |
getSecure()
|
String |
getServer()
|
int |
getSocketBuffer()
|
int |
getSoLinger()
|
int |
getSoTimeout()
|
boolean |
getTcpNoDelay()
|
int |
getThreadPriority()
|
int |
getTimeout()
|
abstract void |
init()
Initialise the protocol. |
boolean |
isSSLEnabled()
|
void |
pause()
Pause the protocol (optional). |
void |
postDeregister()
|
void |
postRegister(Boolean registrationDone)
|
void |
preDeregister()
|
ObjectName |
preRegister(MBeanServer server,
ObjectName name)
|
void |
resume()
Resume the protocol (optional). |
void |
setAdapter(Adapter adapter)
The adapter, used to call the connector. |
void |
setAddress(InetAddress ia)
|
void |
setAttribute(String name,
Object value)
Pass config info |
void |
setBacklog(int backlog)
|
void |
setCompressableMimeType(String valueS)
|
void |
setCompressableMimeTypes(String valueS)
|
void |
setCompression(String valueS)
|
void |
setCompressionMinSize(int valueI)
|
void |
setConnectionTimeout(int timeout)
|
void |
setDisableUploadTimeout(boolean isDisabled)
|
void |
setExecutor(Executor executor)
|
void |
setKeepAlive(boolean keepAlive)
Set the keep-alive policy for this connection. |
void |
setKeepAliveTimeout(int keepAliveTimeout)
The number of seconds Tomcat will wait for a subsequent request before closing the connection. |
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)
|
boolean |
setProperty(String name,
String value)
Set a property. |
void |
setRestrictedUserAgents(String valueS)
|
void |
setSecure(boolean b)
|
void |
setServer(String server)
|
void |
setSocketBuffer(int socketBuffer)
|
void |
setSoLinger(int soLinger)
|
void |
setSoTimeout(int i)
|
void |
setSSLEnabled(boolean SSLEnabled)
|
void |
setTcpNoDelay(boolean tcpNoDelay)
|
void |
setThreadPriority(int threadPriority)
|
void |
setTimeout(int timeout)
|
void |
stop()
Stop the protocol. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.coyote.ProtocolHandler |
---|
start |
Field Detail |
---|
protected static final StringManager sm
protected ObjectName tpOname
protected ObjectName rgOname
protected AbstractEndpoint endpoint
protected SSLImplementation sslImplementation
protected Adapter adapter
protected HashMap<String,Object> attributes
protected String domain
protected ObjectName oname
protected MBeanServer mserver
Constructor Detail |
---|
public AbstractHttp11Protocol()
Method Detail |
---|
protected abstract Log getLog()
public void setAdapter(Adapter adapter)
ProtocolHandler
setAdapter
in interface ProtocolHandler
public Adapter getAdapter()
getAdapter
in interface ProtocolHandler
public void setAttribute(String name, Object value)
setAttribute
in interface ProtocolHandler
public Object getAttribute(String key)
getAttribute
in interface ProtocolHandler
public Iterator<String> getAttributeNames()
getAttributeNames
in interface ProtocolHandler
public boolean setProperty(String name, String value)
public String getProperty(String name)
public InetAddress getAddress()
public void setAddress(InetAddress ia)
public String getName()
public void pause() throws Exception
ProtocolHandler
pause
in interface ProtocolHandler
Exception
public void resume() throws Exception
ProtocolHandler
resume
in interface ProtocolHandler
Exception
public void stop() throws Exception
ProtocolHandler
stop
in interface ProtocolHandler
Exception
public void destroy() throws Exception
ProtocolHandler
destroy
in interface ProtocolHandler
Exception
public boolean isSSLEnabled()
public void setSSLEnabled(boolean SSLEnabled)
public boolean getSecure()
public void setSecure(boolean b)
public int getProcessorCache()
public void setProcessorCache(int processorCache)
public int getSocketBuffer()
public void setSocketBuffer(int socketBuffer)
public int getMaxKeepAliveRequests()
public void setMaxKeepAliveRequests(int mkar)
public boolean getKeepAlive()
public void setKeepAlive(boolean keepAlive)
public void setKeepAliveTimeout(int keepAliveTimeout)
public int getKeepAliveTimeout()
public int getTimeout()
public void setTimeout(int timeout)
public int getConnectionTimeout()
public void setConnectionTimeout(int timeout)
public int getSoTimeout()
public void setSoTimeout(int i)
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 String getCompressableMimeTypes()
public void setCompressableMimeTypes(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()
ProtocolHandler
getExecutor
in interface ProtocolHandler
public void setExecutor(Executor executor)
public int getMaxThreads()
public void setMaxThreads(int maxThreads)
public int getThreadPriority()
public void setThreadPriority(int threadPriority)
public int getPort()
public void setPort(int port)
public int getBacklog()
public void setBacklog(int backlog)
public boolean getTcpNoDelay()
public void setTcpNoDelay(boolean tcpNoDelay)
public int getSoLinger()
public void setSoLinger(int soLinger)
public abstract void init() throws Exception
ProtocolHandler
init
in interface ProtocolHandler
Exception
public ObjectName getObjectName()
public String getDomain()
public ObjectName preRegister(MBeanServer server, ObjectName name) throws Exception
preRegister
in interface MBeanRegistration
Exception
public void postRegister(Boolean registrationDone)
postRegister
in interface MBeanRegistration
public void preDeregister() throws Exception
preDeregister
in interface MBeanRegistration
Exception
public void postDeregister()
postDeregister
in interface MBeanRegistration
|
Apache Tomcat 7.0.4 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |