Uses of Interface
javax.portlet.EventRequest
-
Packages that use EventRequest Package Description javax.portlet The javax.portlet package defines the API for Java Portlet Specification V2.0.javax.portlet.filter The javax.portlet.filter package defines the filter APIs for the Java Portlet Specification. -
-
Uses of EventRequest in javax.portlet
Methods in javax.portlet with parameters of type EventRequest Modifier and Type Method Description void
EventPortlet. processEvent(EventRequest request, EventResponse response)
Called by the portlet container requesting the portlet to process a specific event.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 byGenericPortlet
.void
EventResponse. setRenderParameters(EventRequest request)
Maintain the current render parameters of the request for the response. -
Uses of EventRequest in javax.portlet.filter
Classes in javax.portlet.filter that implement EventRequest Modifier and Type Class Description class
EventRequestWrapper
TheEventRequestWrapper
provides a convenient implementation of theEventRequest
interface that can be subclassed by developers wishing to adapt the request.Methods in javax.portlet.filter that return EventRequest Modifier and Type Method Description EventRequest
EventRequestWrapper. getRequest()
Return the wrapped request object.Methods in javax.portlet.filter with parameters of type EventRequest Modifier and Type Method Description void
EventFilter. doFilter(EventRequest request, EventResponse response, FilterChain chain)
ThedoFilter
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
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
EventResponseWrapper. setRenderParameters(EventRequest request)
The default behavior of this method is to callsetRenderParameters()
on the wrapped response object.void
EventRequestWrapper. setRequest(EventRequest request)
Sets the request object being wrapped.Constructors in javax.portlet.filter with parameters of type EventRequest Constructor Description EventRequestWrapper(EventRequest request)
Creates anEventRequest
adaptor wrapping the given request object.
-