| 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. | 
| Modifier and Type | Method and Description | 
|---|---|
| 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. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | ResourceRequestWrapperThe  ResourceRequestWrapperprovides a convenient 
 implementation of theResourceRequestinterface 
 that can be subclassed by developers wishing to adapt the request. | 
| Modifier and Type | Method and Description | 
|---|---|
| ResourceRequest | ResourceRequestWrapper. getRequest()Return the wrapped request object. | 
| Modifier and Type | Method and Description | 
|---|---|
| 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. | 
| Constructor and Description | 
|---|
| ResourceRequestWrapper(ResourceRequest request)Creates an  ResourceRequestadaptor 
 wrapping the given request object. | 
Copyright © 2004–2015 The Apache Software Foundation. All rights reserved.