public class AjpAprProtocol extends Object implements ProtocolHandler, MBeanRegistration
Modifier and Type | Class and Description |
---|---|
protected static class |
AjpAprProtocol.AjpConnectionHandler |
Modifier and Type | Field and Description |
---|---|
protected Hashtable |
attributes
Configuration attributes.
|
protected String |
domain |
protected AprEndpoint |
endpoint
Associated APR endpoint.
|
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 boolean |
tomcatAuthentication
Should authentication be done in the native webserver layer,
or in the Servlet container ?
|
protected ObjectName |
tpOname |
Constructor and Description |
---|
AjpAprProtocol() |
Modifier and Type | Method and Description |
---|---|
void |
destroy() |
Adapter |
getAdapter() |
InetAddress |
getAddress() |
Object |
getAttribute(String key) |
Iterator |
getAttributeNames() |
int |
getBacklog() |
boolean |
getDeferAccept() |
String |
getDomain() |
Executor |
getExecutor() |
String |
getJmxName() |
int |
getKeepAliveTimeout()
The number of seconds Tomcat will wait for a subsequent request
before closing the connection.
|
int |
getMaxThreads() |
String |
getName() |
ObjectName |
getObjectName() |
int |
getPacketSize() |
int |
getPollerSize() |
int |
getPollTime() |
int |
getPort() |
int |
getProcessorCache() |
RequestGroupInfo |
getRequestGroupInfo() |
boolean |
getReverseConnection() |
int |
getSoLinger() |
int |
getSoTimeout() |
boolean |
getTcpNoDelay() |
int |
getThreadPriority() |
boolean |
getTomcatAuthentication() |
boolean |
getUseSendfile() |
boolean |
hasIoEvents() |
void |
init()
Start the protocol
|
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 |
setDeferAccept(boolean deferAccept) |
void |
setExecutor(Executor executor) |
void |
setKeepAliveTimeout(int timeout) |
void |
setMaxThreads(int maxThreads) |
void |
setPacketSize(int packetSize) |
void |
setPollerSize(int pollerSize) |
void |
setPollTime(int pollTime) |
void |
setPort(int port) |
void |
setProcessorCache(int processorCache) |
void |
setRequiredSecret(String requiredSecret) |
void |
setReverseConnection(boolean reverseConnection) |
void |
setSoLinger(int soLinger) |
void |
setSoTimeout(int soTimeout) |
void |
setTcpNoDelay(boolean tcpNoDelay) |
void |
setThreadPriority(int threadPriority) |
void |
setTomcatAuthentication(boolean tomcatAuthentication) |
void |
setUseSendfile(boolean useSendfile) |
void |
start()
Start the protocol.
|
protected ObjectName tpOname
protected ObjectName rgOname
protected AprEndpoint endpoint
protected Hashtable attributes
protected int processorCache
protected boolean tomcatAuthentication
protected String requiredSecret
protected int packetSize
protected String domain
protected ObjectName oname
protected MBeanServer mserver
public void setAttribute(String name, Object value)
setAttribute
in interface ProtocolHandler
public Object getAttribute(String key)
getAttribute
in interface ProtocolHandler
public Iterator getAttributeNames()
getAttributeNames
in interface ProtocolHandler
public void setAdapter(Adapter adapter)
setAdapter
in interface ProtocolHandler
public Adapter getAdapter()
getAdapter
in interface ProtocolHandler
public boolean hasIoEvents()
hasIoEvents
in interface ProtocolHandler
public RequestGroupInfo getRequestGroupInfo()
getRequestGroupInfo
in interface ProtocolHandler
public void init() throws Exception
init
in interface ProtocolHandler
Exception
public void start() throws Exception
ProtocolHandler
start
in interface ProtocolHandler
Exception
public void pause() throws Exception
ProtocolHandler
pause
in interface ProtocolHandler
Exception
public void resume() throws Exception
ProtocolHandler
resume
in interface ProtocolHandler
Exception
public void destroy() throws Exception
destroy
in interface ProtocolHandler
Exception
public String getJmxName()
public String getName()
public int getProcessorCache()
public void setProcessorCache(int processorCache)
public Executor getExecutor()
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 getReverseConnection()
public void setReverseConnection(boolean reverseConnection)
public boolean getDeferAccept()
public void setDeferAccept(boolean deferAccept)
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 boolean getUseSendfile()
public void setUseSendfile(boolean useSendfile)
public int getPollTime()
public void setPollTime(int pollTime)
public void setPollerSize(int pollerSize)
public int getPollerSize()
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
Copyright © 2014 JBoss by Red Hat. All Rights Reserved.