Package | Description |
---|---|
javax.portlet |
The javax.portlet package defines the API
for the Java Portlet Specification V3.0.
|
javax.portlet.filter |
The javax.portlet.filter package defines the filter APIs for the Java Portlet Specification.
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
GenericPortlet.dispatchAnnotatedEventMethod(String name,
EventRequest request,
EventResponse response)
Dispatches an event request to an annotated event method.
|
void |
GenericPortlet.processEvent(EventRequest request,
EventResponse response)
The default implementation tries to dispatch to a method
annotated with
@ProcessEvent that matches the
event name or, if no
such method is found just sets the current render parameters on
the response.Note that the annotated methods needs to be public in order to be allowed to be called by GenericPortlet . |
void |
EventPortlet.processEvent(EventRequest request,
EventResponse response)
Called by the portlet container requesting the portlet
to process a specific event.
|
Modifier and Type | Class and Description |
---|---|
class |
EventResponseWrapper
The
EventResponseWrapper provides a convenient
implementation of the EventResponse interface
that can be subclassed by developers. |
Modifier and Type | Method and Description |
---|---|
EventResponse |
EventResponseWrapper.getResponse()
Return the wrapped response object.
|
Modifier and Type | Method and Description |
---|---|
void |
FilterChain.doFilter(EventRequest request,
EventResponse response)
Causes the next filter in the chain to be invoked,
or if the calling filter is the last filter in the chain,
causes the portlet at the end of the chain to be invoked.
|
void |
EventFilter.doFilter(EventRequest request,
EventResponse response,
FilterChain chain)
The
doFilter method of the Filter is called by the
portlet container each time a event request/response pair is passed
through the chain due to a client request for a portlet method
at the end of the chain. |
void |
EventResponseWrapper.setResponse(EventResponse response)
Sets the response object being wrapped.
|
Constructor and Description |
---|
EventResponseWrapper(EventResponse response)
Creates an
EventResponse adaptor
wrapping the given response object. |
Java Portlet 3.0 API Specification. See the Copyright and License provided with this distribution. Use is subject to license terms.