|
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.ajp.AbstractAjpProtocol
public abstract class AbstractAjpProtocol
Field Summary | |
---|---|
protected Adapter |
adapter
The adapter, used to call the connector. |
protected HashMap<String,Object> |
attributes
|
protected String |
domain
|
protected AbstractEndpoint |
endpoint
|
protected int |
keepAliveTimeout
The number of seconds Tomcat will wait for a subsequent request before closing the connection. |
protected MBeanServer |
mserver
|
protected ObjectName |
oname
|
protected int |
packetSize
AJP packet size. |
protected int |
processorCache
Processor cache. |
protected String |
requiredSecret
Required secret. |
protected ObjectName |
rgOname
|
protected static StringManager |
sm
The string manager for this package. |
protected boolean |
tomcatAuthentication
Should authentication be done in the native webserver layer, or in the Servlet container ? |
protected ObjectName |
tpOname
|
Constructor Summary | |
---|---|
AbstractAjpProtocol()
|
Method Summary | |
---|---|
void |
destroy()
Destroy the protocol (optional). |
Adapter |
getAdapter()
|
InetAddress |
getAddress()
|
Object |
getAttribute(String key)
|
Iterator<String> |
getAttributeNames()
|
int |
getBacklog()
|
String |
getDomain()
|
Executor |
getExecutor()
The executor, provide access to the underlying thread pool. |
int |
getKeepAliveTimeout()
|
protected abstract Log |
getLog()
|
int |
getMaxThreads()
|
String |
getName()
|
ObjectName |
getObjectName()
|
int |
getPacketSize()
|
int |
getPort()
|
int |
getProcessorCache()
|
String |
getProperty(String name)
Get a property |
int |
getSoLinger()
|
int |
getSoTimeout()
|
boolean |
getTcpNoDelay()
|
int |
getThreadPriority()
|
boolean |
getTomcatAuthentication()
|
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 |
setExecutor(Executor executor)
|
void |
setKeepAliveTimeout(int timeout)
|
void |
setMaxThreads(int maxThreads)
|
void |
setPacketSize(int packetSize)
|
void |
setPort(int port)
|
void |
setProcessorCache(int processorCache)
|
boolean |
setProperty(String name,
String value)
Set a property. |
void |
setRequiredSecret(String requiredSecret)
|
void |
setSoLinger(int soLinger)
|
void |
setSoTimeout(int soTimeout)
|
void |
setTcpNoDelay(boolean tcpNoDelay)
|
void |
setThreadPriority(int threadPriority)
|
void |
setTomcatAuthentication(boolean tomcatAuthentication)
|
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 |
---|
init, start |
Field Detail |
---|
protected static final StringManager sm
protected ObjectName tpOname
protected ObjectName rgOname
protected AbstractEndpoint endpoint
protected Adapter adapter
protected HashMap<String,Object> attributes
protected int processorCache
protected boolean tomcatAuthentication
protected String requiredSecret
protected int packetSize
protected int keepAliveTimeout
protected String domain
protected ObjectName oname
protected MBeanServer mserver
Constructor Detail |
---|
public AbstractAjpProtocol()
Method Detail |
---|
protected abstract Log getLog()
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 void setAdapter(Adapter adapter)
setAdapter
in interface ProtocolHandler
public Adapter getAdapter()
getAdapter
in interface ProtocolHandler
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 String getName()
public int getProcessorCache()
public void setProcessorCache(int processorCache)
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 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 boolean getTomcatAuthentication()
public void setTomcatAuthentication(boolean tomcatAuthentication)
public void setRequiredSecret(String requiredSecret)
public int getPacketSize()
public void setPacketSize(int packetSize)
public int getKeepAliveTimeout()
public void setKeepAliveTimeout(int timeout)
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 |