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 |
ResourceResponseWrapper
The
ResourceResponseWrapper provides a convenient
implementation of the ResourceResponse interface
that can be subclassed by developers wishing to adapt the response. |
Modifier and Type | Method and Description |
---|---|
ResourceResponse |
ResourceResponseWrapper.getResponse()
Return the wrapped response 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
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.
|
Constructor and Description |
---|
ResourceResponseWrapper(ResourceResponse response)
Creates an
ResourceResponse adaptor
wrapping the given response object. |
Copyright © 2004–2015 The Apache Software Foundation. All rights reserved.