All Packages Class Hierarchy This Package Previous Next Index
Class w3c.www.protocol.http.RequestEvent
java.lang.Object
|
+----w3c.www.protocol.http.RequestEvent
- public class RequestEvent
- extends Object
The base class for request events.
Request events are emited to request observers (if available) while
requests are being processed.
This class is the base class for all request events.
-
code
- The associated event code.
-
EVT_CLOSED
- Error definition - The target server has improperly closed the
connection.
-
EVT_CONNECTED
- Status definition - Connection is now settle, about to emit
the request to target host.
-
EVT_CONTINUE
-
-
EVT_EMITED
- Status definition - Request headers are now emited, the HttpManager
is now waiting for the reply.
-
EVT_QUEUED
- Status definition - The request is now queued for processing.
-
EVT_REPLIED
- Status definition - Reply headers have been received, the reply
will be handed out right after this to the observer.
-
EVT_UNREACHABLE
-
-
request
- The request that trigered the event.
-
server
- The server instance that issued the event.
-
RequestEvent(HttpServer, Request, int)
-
EVT_QUEUED
public static int EVT_QUEUED
- Status definition - The request is now queued for processing.
EVT_CONNECTED
public static int EVT_CONNECTED
- Status definition - Connection is now settle, about to emit
the request to target host.
EVT_EMITED
public static int EVT_EMITED
- Status definition - Request headers are now emited, the HttpManager
is now waiting for the reply.
EVT_REPLIED
public static int EVT_REPLIED
- Status definition - Reply headers have been received, the reply
will be handed out right after this to the observer.
EVT_CLOSED
public static int EVT_CLOSED
- Error definition - The target server has improperly closed the
connection.
EVT_CONTINUE
public static int EVT_CONTINUE
EVT_UNREACHABLE
public static int EVT_UNREACHABLE
server
public HttpServer server
- The server instance that issued the event.
request
public Request request
- The request that trigered the event.
code
public int code
- The associated event code.
RequestEvent
public RequestEvent(HttpServer server,
Request request,
int code)
All Packages Class Hierarchy This Package Previous Next Index