EventResponseWrapper provides a convenient
implementation of the EventResponse interface
that can be subclassed by developers.
This class implements the Wrapper or Decorator pattern.
Methods default to calling through to the wrapped response object.
EventResponse
| Access | Constructor and Description |
|---|---|
| public | EventResponseWrapper(EventResponse
the event response to wrap response)Creates an |
| Modifier and Type | Method and Description |
|---|---|
| public EventResponse | Returns: the wrapped responseOverrides javax. |
| public void | setRenderParameters(EventRequest
The request the portlet has been provided
with by the portlet container for the current
request)processEvent call, must not be
null.Implements javax.
Deprecated
Maintain the current render parameters of the request for
the response.
|
| public void |
| EventResponseWrapper | back to summary |
|---|---|
| public EventResponseWrapper(EventResponse response) Creates an
| |
| getResponse | back to summary |
|---|---|
| public EventResponse getResponse() Overrides javax. Return the wrapped response object.
| |
| setRenderParameters | back to summary |
|---|---|
| public void setRenderParameters(EventRequest request) Implements javax. Doc from javax. Deprecated
Maintain the current render parameters of the request for the response. All previously set render parameters are cleared.
These parameters will be accessible in all
subsequent render calls via the
The given parameters do not need to be encoded prior to calling this method.
| |
| setResponse | back to summary |
|---|---|
| public void setResponse(EventResponse response) Sets the response object being wrapped.
| |