org.apache.ajp.tomcat33
Class Ajp14Interceptor
PoolTcpConnector
org.apache.ajp.tomcat33.Ajp14Interceptor
- TcpConnectionHandler
public class Ajp14Interceptor
extends PoolTcpConnector
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.
protected boolean | doShutdown(InetAddress serverAddr, InetAddress clientAddr)
|
void | engineInit(ContextManager cm)
|
void | engineStart(ContextManager cm)
|
Object | getInfo(Context ctx, Request request, int id, String key)
|
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, thData[] ) - Called whenever a new TCP connection is received.
|
int | setInfo(Context ctx, Request request, int id, String key, Object obj)
|
void | setPassword(String s)
|
void | setSeed(String pseed) - Set the original entropy seed
|
void | setServer(Object contextM) - This has nothing to do with TcpHandling,
was used as a workaround
|
Ajp14Interceptor
public Ajp14Interceptor()
doShutdown
protected boolean doShutdown(InetAddress serverAddr,
InetAddress clientAddr)
engineInit
public void engineInit(ContextManager cm)
throws TomcatException
engineStart
public void engineStart(ContextManager cm)
throws TomcatException
getInfo
public Object getInfo(Context ctx,
Request request,
int id,
String key)
init
public 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.
XXX we should use a single object, not array ( several reasons ),
XXX Ajp14 should be storead as a request note, to be available in
all modules
- init in interface TcpConnectionHandler
localInit
protected void localInit()
throws Exception
Called by PoolTcpConnector to allow childs to init.
setInfo
public int setInfo(Context ctx,
Request request,
int id,
String key,
Object obj)
setPassword
public void setPassword(String s)
setSeed
public void setSeed(String pseed)
Set the original entropy seed
setServer
public void setServer(Object contextM)
This has nothing to do with TcpHandling,
was used as a workaround
Add informations about the a "controler" object
specific to the server. In tomcat it will be a
ContextManager.
- setServer in interface TcpConnectionHandler
Copyright B) 2000-2003 Apache Software Foundation. All Rights Reserved.