org.apache.ajp

Class AjpHandler

Known Direct Subclasses:
NegociationHandler, RequestHandler

public class AjpHandler
extends java.lang.Object

Base class for handlers of Ajp messages. Jk provide a simple bidirectional communication mechanism between the web server and a servlet container. It is based on messages that are passed between the 2 server, using a single thread on each side. The container side must be able to deal with at least the "REQUEST FORWARD", the server side must be able to deal with at least "HEADERS", "BODY", "END" messages.

Authors:
Henri Gomez
Costin Manolache

Field Summary

static int
UNKNOWN

Method Summary

int
handleAjpMessage(int type, Ajp13 channel, Ajp13Packet ajp, BaseRequest req)
Execute the callback
void
init(Ajp13 channel)

Field Details

UNKNOWN

public static final int UNKNOWN

Field Value:
-1

Method Details

handleAjpMessage

public int handleAjpMessage(int type,
                            Ajp13 channel,
                            Ajp13Packet ajp,
                            BaseRequest req)
            throws IOException
Execute the callback


init

public void init(Ajp13 channel)


Copyright B) 2000-2003 Apache Software Foundation. All Rights Reserved.