public class RequestEvent
extends java.util.EventObject
Modifier and Type | Field and Description |
---|---|
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.
|
Constructor and Description |
---|
RequestEvent(java.lang.Object source,
int type,
Request request)
Constructs a request event with the specified source, type, and request.
|
Modifier and Type | Method and Description |
---|---|
Request |
getRequest()
Returns the request associated with this event.
|
int |
getType()
Returns the type of this event.
|
public static final int REQUEST_CREATED
public static final int REQUEST_SENDING
public static final int REQUEST_SENT
protected int type
protected Request request
public RequestEvent(java.lang.Object source, int type, Request request)