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
PortletAsyncContext by calling
ResourceRequest.startAsync() or ResourceRequest.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
PortletAsyncListener with the most recent
asynchronous cycle that was started by a call to one of the
ResourceRequest.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
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 |
ResourceRequestWrapper
The
ResourceRequestWrapper provides a convenient
implementation of the ResourceRequest interface
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
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 |
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
ResourceRequest adaptor
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.