Uses of Interface
jakarta.portlet.EventResponse
-
Packages that use EventResponse Package Description jakarta.portlet The jakarta.portlet package defines the API for the Jakarta Portlet Specification V4.0.jakarta.portlet.filter The jakarta.portlet.filter package defines the filter APIs for the Jakarta Portlet Specification. -
-
Uses of EventResponse in jakarta.portlet
Methods in jakarta.portlet with parameters of type EventResponse Modifier and Type Method Description protected booleanGenericPortlet. dispatchAnnotatedEventMethod(String name, EventRequest request, EventResponse response)Dispatches an event request to an annotated event method.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@ProcessEventthat 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. -
Uses of EventResponse in jakarta.portlet.filter
Classes in jakarta.portlet.filter that implement EventResponse Modifier and Type Class Description classEventResponseWrapperTheEventResponseWrapperprovides a convenient implementation of theEventResponseinterface that can be subclassed by developers.Methods in jakarta.portlet.filter that return EventResponse Modifier and Type Method Description EventResponseEventResponseWrapper. getResponse()Return the wrapped response object.Methods in jakarta.portlet.filter with parameters of type EventResponse 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. setResponse(EventResponse response)Sets the response object being wrapped.Constructors in jakarta.portlet.filter with parameters of type EventResponse Constructor Description EventResponseWrapper(EventResponse response)Creates anEventResponseadaptor wrapping the given response object.
-