org.apache.coyote.ajp
public class AjpProtocol extends Object implements ProtocolHandler, MBeanRegistration
| Nested Class Summary | |
|---|---|
| protected static class | AjpProtocol.AjpConnectionHandler |
| Field Summary | |
|---|---|
| protected Hashtable | attributes
Configuration attributes. |
| protected String | domain |
| protected JIoEndpoint | endpoint
Associated java.io endpoint. |
| protected int | keepAliveTimeout
The number of seconds Tomcat will wait for a subsequent request
before closing the connection. |
| protected static Log | log |
| 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 | |
|---|---|
| AjpProtocol() | |
| Method Summary | |
|---|---|
| void | destroy() |
| Adapter | getAdapter() |
| InetAddress | getAddress() |
| Object | getAttribute(String key) |
| Iterator | getAttributeNames() |
| int | getBacklog() |
| String | getDomain() |
| Executor | getExecutor() |
| int | getKeepAliveTimeout() |
| int | getMaxThreads() |
| String | getName() |
| ObjectName | getObjectName() |
| int | getPacketSize() |
| int | getPort() |
| int | getProcessorCache() |
| int | getSoLinger() |
| int | getSoTimeout() |
| boolean | getTcpNoDelay() |
| int | getThreadPriority() |
| boolean | getTomcatAuthentication() |
| void | init() Start the protocol |
| void | pause() |
| void | postDeregister() |
| void | postRegister(Boolean registrationDone) |
| void | preDeregister() |
| ObjectName | preRegister(MBeanServer server, ObjectName name) |
| void | resume() |
| 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) |
| 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 | start() |