Uses of Interface
jakarta.portlet.ResourceResponse
-
Packages that use ResourceResponse 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 ResourceResponse in jakarta.portlet
Methods in jakarta.portlet that return ResourceResponse Modifier and Type Method Description ResourceResponsePortletAsyncContext. getResourceResponse()Gets the response that was used to initialize thisPortletAsyncContextby callingResourceRequest.startAsync()orResourceRequest.startAsync(ServletRequest, ServletResponse).ResourceResponsePortletAsyncEvent. getSuppliedResponse()Gets the resource response associated with the listener when it was added through thePortletAsyncContext#addListener(PortletAsyncListener, ResourceRequest, ResourceResponse)method.Methods in jakarta.portlet with parameters of type ResourceResponse Modifier and Type Method Description voidPortletAsyncContext. addListener(PortletAsyncListener listener, ResourceRequest request, ResourceResponse response)Registers the givenPortletAsyncListenerwith the most recent asynchronous cycle that was started by a call to one of theResourceRequest.startAsync()methods.voidGenericPortlet. serveResource(ResourceRequest request, ResourceResponse response)Default resource serving.voidResourceServingPortlet. serveResource(ResourceRequest request, ResourceResponse response)Called by the portlet container to allow the portlet to generate the resource content based on its current state.PortletAsyncContextResourceRequest. startPortletAsync(ResourceRequest request, ResourceResponse response)Puts this request into asynchronous mode and initializes theAsyncContextobject.Constructors in jakarta.portlet with parameters of type ResourceResponse Constructor Description PortletAsyncEvent(PortletAsyncContext context, ResourceRequest request, ResourceResponse response)Constructs aPortletAsyncEventfrom the givenPortletAsyncContext,ResourceRequest, andResourceResponse.PortletAsyncEvent(PortletAsyncContext context, ResourceRequest request, ResourceResponse response, Throwable throwable)Constructs aPortletAsyncEventfrom the givenPortletAsyncContext,ResourceRequest,ResourceResponse, andThrowable. -
Uses of ResourceResponse in jakarta.portlet.filter
Classes in jakarta.portlet.filter that implement ResourceResponse Modifier and Type Class Description classResourceResponseWrapperTheResourceResponseWrapperprovides a convenient implementation of theResourceResponseinterface that can be subclassed by developers.Methods in jakarta.portlet.filter that return ResourceResponse Modifier and Type Method Description ResourceResponsePortletAsyncContextWrapper. getResourceResponse()ResourceResponseResourceResponseWrapper. getResponse()Return the wrapped response object.Methods in jakarta.portlet.filter with parameters of type ResourceResponse Modifier and Type Method Description voidPortletAsyncContextWrapper. addListener(PortletAsyncListener listener, ResourceRequest request, ResourceResponse response)voidFilterChain. doFilter(ResourceRequest request, ResourceResponse 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.voidResourceFilter. doFilter(ResourceRequest request, ResourceResponse response, FilterChain chain)ThedoFiltermethod of the Filter is called by the portlet container each time a resource request/response pair is passed through the chain due to a client request for a portlet method at the end of the chain.voidResourceResponseWrapper. setResponse(ResourceResponse response)Sets the response object being wrapped.PortletAsyncContextResourceRequestWrapper. startPortletAsync(ResourceRequest request, ResourceResponse response)Constructors in jakarta.portlet.filter with parameters of type ResourceResponse Constructor Description ResourceResponseWrapper(ResourceResponse response)Creates anResourceResponseadaptor wrapping the given response object.
-