| 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 | 
|---|---|
ResourceResponse | 
PortletAsyncContext.getResourceResponse()
 Gets the response that was used to initialize this  
PortletAsyncContext by calling
 ResourceRequest.startAsync() or ResourceRequest.startAsync(ServletRequest, ServletResponse). | 
ResourceResponse | 
PortletAsyncEvent.getSuppliedResponse()
 Gets the resource response associated with the listener when it was added through the 
  
PortletAsyncContext#addListener(PortletAsyncListener, ResourceRequest, ResourceResponse)
 method. | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
PortletAsyncContext.addListener(PortletAsyncListener listener,
           ResourceRequest request,
           ResourceResponse response)
 Registers the given  
PortletAsyncListener with the most recent 
 asynchronous cycle that was started by a call to one of the 
 ResourceRequest.startAsync() methods. | 
void | 
ResourceServingPortlet.serveResource(ResourceRequest request,
             ResourceResponse response)
Called by the portlet container to allow the portlet to generate
 the resource content based on its current state. 
 | 
void | 
GenericPortlet.serveResource(ResourceRequest request,
             ResourceResponse response)
Default resource serving. 
 | 
PortletAsyncContext | 
ResourceRequest.startPortletAsync(ResourceRequest request,
                 ResourceResponse response)
 Puts this request into asynchronous mode and initializes the  
AsyncContext
 object. | 
| Constructor and Description | 
|---|
PortletAsyncEvent(PortletAsyncContext context,
                 ResourceRequest request,
                 ResourceResponse response)
 Constructs a  
PortletAsyncEvent from the given 
 PortletAsyncContext, ResourceRequest, and ResourceResponse. | 
PortletAsyncEvent(PortletAsyncContext context,
                 ResourceRequest request,
                 ResourceResponse response,
                 Throwable throwable)
 Constructs a  
PortletAsyncEvent from the given 
 PortletAsyncContext, ResourceRequest, ResourceResponse, 
 and Throwable. | 
| Modifier and Type | Class and Description | 
|---|---|
class  | 
ResourceResponseWrapper
The  
  
ResourceResponseWrapper provides a convenient 
 implementation of the ResourceResponse interface 
 that can be subclassed by developers. | 
| Modifier and Type | Method and Description | 
|---|---|
ResourceResponse | 
PortletAsyncContextWrapper.getResourceResponse()  | 
ResourceResponse | 
ResourceResponseWrapper.getResponse()
Return the wrapped response object. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
PortletAsyncContextWrapper.addListener(PortletAsyncListener listener,
           ResourceRequest request,
           ResourceResponse response)  | 
void | 
FilterChain.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. 
 | 
void | 
ResourceFilter.doFilter(ResourceRequest request,
        ResourceResponse response,
        FilterChain chain)
The  
doFilter method 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. | 
void | 
ResourceResponseWrapper.setResponse(ResourceResponse response)
Sets the response object being wrapped. 
 | 
PortletAsyncContext | 
ResourceRequestWrapper.startPortletAsync(ResourceRequest request,
                 ResourceResponse response)  | 
| Constructor and Description | 
|---|
ResourceResponseWrapper(ResourceResponse response)
Creates an  
ResourceResponse 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.