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 voidEventPortlet. processEvent(EventRequest request, EventResponse response)Called by the portlet container requesting the portlet to process a specific event.voidGenericPortlet. 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.voidEventResponse. 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 classEventRequestWrapperTheEventRequestWrapperprovides a convenient implementation of theEventRequestinterface that can be subclassed by developers wishing to adapt the request.Methods in javax.portlet.filter that return EventRequest Modifier and Type Method Description EventRequestEventRequestWrapper. getRequest()Return the wrapped request object.Methods in javax.portlet.filter with parameters of type EventRequest Modifier and Type Method Description voidEventFilter. doFilter(EventRequest request, EventResponse response, FilterChain chain)ThedoFiltermethod 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.voidFilterChain. 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.voidEventResponseWrapper. setRenderParameters(EventRequest request)The default behavior of this method is to callsetRenderParameters()on the wrapped response object.voidEventRequestWrapper. 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 anEventRequestadaptor wrapping the given request object.
-