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.


Variable Index

 o code
The associated event code.
 o EVT_CLOSED
Error definition - The target server has improperly closed the connection.
 o EVT_CONNECTED
Status definition - Connection is now settle, about to emit the request to target host.
 o EVT_CONTINUE
 o EVT_EMITED
Status definition - Request headers are now emited, the HttpManager is now waiting for the reply.
 o EVT_QUEUED
Status definition - The request is now queued for processing.
 o EVT_REPLIED
Status definition - Reply headers have been received, the reply will be handed out right after this to the observer.
 o EVT_UNREACHABLE
 o request
The request that trigered the event.
 o server
The server instance that issued the event.

Constructor Index

 o RequestEvent(HttpServer, Request, int)

Variables

 o EVT_QUEUED
 public static int EVT_QUEUED
Status definition - The request is now queued for processing.

 o EVT_CONNECTED
 public static int EVT_CONNECTED
Status definition - Connection is now settle, about to emit the request to target host.

 o EVT_EMITED
 public static int EVT_EMITED
Status definition - Request headers are now emited, the HttpManager is now waiting for the reply.

 o 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.

 o EVT_CLOSED
 public static int EVT_CLOSED
Error definition - The target server has improperly closed the connection.

 o EVT_CONTINUE
 public static int EVT_CONTINUE
 o EVT_UNREACHABLE
 public static int EVT_UNREACHABLE
 o server
 public HttpServer server
The server instance that issued the event.

 o request
 public Request request
The request that trigered the event.

 o code
 public int code
The associated event code.

Constructors

 o RequestEvent
 public RequestEvent(HttpServer server,
                     Request request,
                     int code)

All Packages  Class Hierarchy  This Package  Previous  Next  Index