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 | Interface and Description |
---|---|
interface |
ActionResponse
The
ActionResponse interface represents the portlet
response to an action request. |
interface |
EventResponse
The
EventResponse interface represents the portlet
response to an event request. |
interface |
MimeResponse
The
MimeResponse defines the base interface to assist a
portlet in returning MIME content. |
interface |
RenderResponse
The
RenderResponse defines an object to assist a portlet in
sending a response to the portal. |
interface |
ResourceResponse
The
ResourceResponse defines an object to assist a portlet
for rendering a resource. |
interface |
StateAwareResponse
The
StateAwareResponse represents a response that can modify
state information or send events.It extends the PortletResponse interface. |
Modifier and Type | Method and Description |
---|---|
void |
PortletRequestDispatcher.forward(PortletRequest request,
PortletResponse response)
Forwards a portlet request from a portlet to another resource (servlet, JSP file, or HTML file)
on the server.
|
void |
PortletRequestDispatcher.include(PortletRequest request,
PortletResponse response)
Includes the content of a resource (servlet, JSP page, HTML file) in the
response.
|
Modifier and Type | Class and Description |
---|---|
class |
ActionResponseWrapper
The
ActionResponseWrapper provides a convenient
implementation of the ActionResponse interface
that can be subclassed by developers wishing to adapt the response. |
class |
EventResponseWrapper
The
EventResponseWrapper provides a convenient
implementation of the EventResponse interface
that can be subclassed by developers wishing to adapt the response. |
class |
PortletResponseWrapper
The
PortletResponseWrapper provides a convenient
implementation of the PortletResponse interface
and is extended by other response wrappers. |
class |
RenderResponseWrapper
The
RenderResponseWrapper provides a convenient
implementation of the RenderResponse interface
that can be subclassed by developers wishing to adapt the response. |
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 |
---|---|
PortletResponse |
PortletResponseWrapper.getResponse()
Return the wrapped response object.
|
Modifier and Type | Method and Description |
---|---|
void |
PortletResponseWrapper.setResponse(PortletResponse response)
Sets the response object being wrapped.
|
Constructor and Description |
---|
PortletResponseWrapper(PortletResponse response)
Creates an
ActionResponse adaptor
wrapping the given response object. |
Copyright © 2004–2015 The Apache Software Foundation. All rights reserved.