| 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 | 
|---|---|
| ResourceRequest | PortletAsyncContext. getResourceRequest()
 Gets the request that was used to initialize this  PortletAsyncContextby callingResourceRequest.startAsync()orResourceRequest.startAsync(ServletRequest, ServletResponse). | 
| ResourceRequest | PortletAsyncEvent. getSuppliedRequest()
 Gets the resource request 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  PortletAsyncListenerwith the most recent 
 asynchronous cycle that was started by a call to one of theResourceRequest.startAsync()methods. | 
| void | GenericPortlet. serveResource(ResourceRequest request,
             ResourceResponse response)Default resource serving. | 
| 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. | 
| PortletAsyncContext | ResourceRequest. startPortletAsync(ResourceRequest request,
                 ResourceResponse response)
 Puts this request into asynchronous mode and initializes the  AsyncContextobject. | 
| Constructor and Description | 
|---|
| PortletAsyncEvent(PortletAsyncContext context,
                 ResourceRequest request,
                 ResourceResponse response)
 Constructs a  PortletAsyncEventfrom the givenPortletAsyncContext,ResourceRequest, andResourceResponse. | 
| PortletAsyncEvent(PortletAsyncContext context,
                 ResourceRequest request,
                 ResourceResponse response,
                 Throwable throwable)
 Constructs a  PortletAsyncEventfrom the givenPortletAsyncContext,ResourceRequest,ResourceResponse, 
 andThrowable. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | ResourceRequestWrapperThe  
  ResourceRequestWrapperprovides a convenient 
 implementation of theResourceRequestinterface 
 that can be subclassed by developers. | 
| Modifier and Type | Method and Description | 
|---|---|
| ResourceRequest | ResourceRequestWrapper. getRequest()Return the wrapped request object. | 
| ResourceRequest | PortletAsyncContextWrapper. getResourceRequest() | 
| 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  doFiltermethod 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 | ResourceRequestWrapper. setRequest(ResourceRequest request)Sets the request object being wrapped. | 
| PortletAsyncContext | ResourceRequestWrapper. startPortletAsync(ResourceRequest request,
                 ResourceResponse response) | 
| Constructor and Description | 
|---|
| ResourceRequestWrapper(ResourceRequest request)Creates an  ResourceRequestadaptor 
 wrapping the given request object. | 
Java Portlet 3.0 API Specification. See the Copyright and License provided with this distribution. Use is subject to license terms.