|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.EventObject
gnu.inet.http.event.RequestEvent
public class RequestEvent
A request event.
Field Summary | |
---|---|
protected Request |
request
The request associated with this event. |
static int |
REQUEST_CREATED
The request created event type. |
static int |
REQUEST_SENDING
The request sending event type. |
static int |
REQUEST_SENT
The request sent event type. |
protected int |
type
The type of this event. |
Fields inherited from class java.util.EventObject |
---|
source |
Constructor Summary | |
---|---|
RequestEvent(java.lang.Object source,
int type,
Request request)
Constructs a request event with the specified source, type, and request. |
Method Summary | |
---|---|
Request |
getRequest()
Returns the request associated with this event. |
int |
getType()
Returns the type of this event. |
Methods inherited from class java.util.EventObject |
---|
getSource, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int REQUEST_CREATED
public static final int REQUEST_SENDING
public static final int REQUEST_SENT
protected int type
protected Request request
Constructor Detail |
---|
public RequestEvent(java.lang.Object source, int type, Request request)
Method Detail |
---|
public int getType()
type
public Request getRequest()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |