gnu.inet.http.event
Class RequestEvent
EventObject
gnu.inet.http.event.RequestEvent
public class RequestEvent
extends EventObject
A request event.
RequestEvent(Object source, int type, Request request) - Constructs a request event with the specified source, type, and request.
|
REQUEST_CREATED
public static final int REQUEST_CREATED
The request created event type.
REQUEST_SENDING
public static final int REQUEST_SENDING
The request sending event type.
REQUEST_SENT
public static final int REQUEST_SENT
The request sent event type.
request
protected Request request
The request associated with this event.
type
protected int type
The type of this event.
RequestEvent
public RequestEvent(Object source,
int type,
Request request)
Constructs a request event with the specified source, type, and request.
getRequest
public Request getRequest()
Returns the request associated with this event.
getType
public int getType()
Returns the type of this event.