EventRequestWrapper provides a convenient
implementation of the EventRequest interface
that can be subclassed by developers.
This class implements the Wrapper or Decorator pattern.
Methods default to calling through to the wrapped request object.
EventRequest
| Access | Constructor and Description |
|---|---|
| public | EventRequestWrapper(EventRequest
the event request to wrap request)Creates an |
| Modifier and Type | Method and Description |
|---|---|
| public Event | getEvent()
Implements javax. |
| public String | getMethod()
Implements javax. |
| public EventRequest | Returns: the wrapped requestOverrides javax. |
| public void |
| EventRequestWrapper | back to summary |
|---|---|
| public EventRequestWrapper(EventRequest request) Creates an
| |
| getEvent | back to summary |
|---|---|
| public Event getEvent() Implements javax. Doc from javax. Returns the event that triggered the call to the processEvent method. | |
| getMethod | back to summary |
|---|---|
| public String getMethod() Implements javax. Doc from javax. Returns the name of the HTTP method with which the original action request was made, for example, POST, or PUT. | |
| getRequest | back to summary |
|---|---|
| public EventRequest getRequest() Overrides javax. Return the wrapped request object.
| |
| setRequest | back to summary |
|---|---|
| public void setRequest(EventRequest request) Sets the request object being wrapped.
| |