RenderResponseWrapper provides a convenient
implementation of the RenderResponse interface
that can be subclassed by developers.
This class implements the Wrapper or Decorator pattern.
Methods default to calling through to the wrapped response object.
RenderResponse
| Access | Constructor and Description |
|---|---|
| public | RenderResponseWrapper(RenderResponse
the event response to wrap response)Creates an |
| Modifier and Type | Method and Description |
|---|---|
| public RenderResponse | Returns: the wrapped responseOverrides javax. |
| public void | setNextPossiblePortletModes(Collection<? extends PortletMode>
Enumeration of objects
of type PortletMode
or any subtype of PortletMode with the
next possible portlet modes that the make sense from the
portlet point of view, must not be null or an
empty enumeration.Implements javax. |
| public void | |
| public void | setTitle(String
portlet title as text String or resource URI title)Implements javax.
Deprecated
This method sets the title of the portlet.
|
| RenderResponseWrapper | back to summary |
|---|---|
| public RenderResponseWrapper(RenderResponse response) Creates an
| |
| getResponse | back to summary |
|---|---|
| public RenderResponse getResponse() Overrides javax. Return the wrapped response object.
| |
| setNextPossiblePortletModes | back to summary |
|---|---|
| public void setNextPossiblePortletModes(Collection<? extends PortletMode> portletModes) Implements javax. Doc from javax. This method allows the portlet to tell the portal the next possible portlet modes that the make sense from the portlet point of view. If set, the portal should honor these enumeration of portlet modes and only provide the end user with choices to the provided portlet modes or a subset of these modes based on access control considerations. If the portlet does not set any next possible portlet modes the default is that all portlet modes that the portlet has defined supporting in the portlet deployment descriptor are meaningful new portlet modes.
| |
| setResponse | back to summary |
|---|---|
| public void setResponse(RenderResponse response) Sets the response object being wrapped.
| |
| setTitle | back to summary |
|---|---|
| public void setTitle(String title) Implements javax. Doc from javax. Deprecated
This method sets the title of the portlet. The value can be a text String
| |