|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object PoolTcpConnector org.apache.ajp.tomcat33.Ajp14Interceptor
Tomcat 33 module implementing the Ajp14 protocol. The actual protocol implementation is in Ajp14.java, this is just an adapter to plug it into tomcat.
Constructor Summary | |
Ajp14Interceptor()
|
Method Summary | |
protected boolean |
doShutdown(java.net.InetAddress serverAddr,
java.net.InetAddress clientAddr)
|
void |
engineInit(ContextManager cm)
|
void |
engineStart(ContextManager cm)
|
java.lang.Object |
getInfo(Context ctx,
Request request,
int id,
java.lang.String key)
|
java.lang.Object[] |
init()
Called by the thread pool when a new thread is added to the pool, in order to create the (expensive) objects that will be stored as thread data. |
protected void |
localInit()
Called by PoolTcpConnector to allow childs to init. |
void |
processConnection(TcpConnection connection,
java.lang.Object[] thData)
Called whenever a new TCP connection is received. |
int |
setInfo(Context ctx,
Request request,
int id,
java.lang.String key,
java.lang.Object obj)
|
void |
setPassword(java.lang.String s)
|
void |
setSeed(java.lang.String pseed)
Set the original entropy seed |
void |
setServer(java.lang.Object contextM)
Add informations about the a "controler" object specific to the server. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.tomcat.util.net.TcpConnectionHandler |
setAttribute |
Constructor Detail |
public Ajp14Interceptor()
Method Detail |
public void engineInit(ContextManager cm) throws TomcatException
TomcatException
public void engineStart(ContextManager cm) throws TomcatException
TomcatException
public void setPassword(java.lang.String s)
public void setSeed(java.lang.String pseed)
protected void localInit() throws java.lang.Exception
java.lang.Exception
public java.lang.Object[] init()
init
in interface TcpConnectionHandler
public void processConnection(TcpConnection connection, java.lang.Object[] thData)
processConnection
in interface TcpConnectionHandler
protected boolean doShutdown(java.net.InetAddress serverAddr, java.net.InetAddress clientAddr)
public void setServer(java.lang.Object contextM)
TcpConnectionHandler
setServer
in interface TcpConnectionHandler
public java.lang.Object getInfo(Context ctx, Request request, int id, java.lang.String key)
public int setInfo(Context ctx, Request request, int id, java.lang.String key, java.lang.Object obj)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |