|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.w3c.www.protocol.http.RequestEvent
public class RequestEvent
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.
Field Summary | |
---|---|
int |
code
The associated event code. |
static int |
EVT_CLOSED
Error definition - The target server has improperly closed the connection. |
static int |
EVT_CONNECTED
Status definition - Connection is now settle, about to emit the request to target host. |
static int |
EVT_CONTINUE
|
static int |
EVT_EMITED
Status definition - Request headers are now emited, the HttpManager is now waiting for the reply. |
static int |
EVT_QUEUED
Status definition - The request is now queued for processing. |
static int |
EVT_REPLIED
Status definition - Reply headers have been received, the reply will be handed out right after this to the observer. |
static int |
EVT_UNREACHABLE
|
Request |
request
The request that trigered the event. |
HttpServer |
server
The server instance that issued the event. |
Constructor Summary | |
---|---|
RequestEvent(HttpServer server,
Request request,
int code)
|
Method Summary |
---|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static int EVT_QUEUED
public static int EVT_CONNECTED
public static int EVT_EMITED
public static int EVT_REPLIED
public static int EVT_CLOSED
public static int EVT_CONTINUE
public static int EVT_UNREACHABLE
public HttpServer server
public Request request
public int code
Constructor Detail |
---|
public RequestEvent(HttpServer server, Request request, int code)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |