public class RequestEvent extends 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.
|
source| Constructor and Description |
|---|
RequestEvent(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.
|
getSource, toStringpublic static final int REQUEST_CREATED
public static final int REQUEST_SENDING
public static final int REQUEST_SENT
protected int type
protected Request request
Copyright © 2017. All rights reserved.