Returns a render URL containing render parameters according to the
MimeResponse.Copy argument. The portlet may modify the returned render URL. The
URL is intended to be used in the sendRedirect(String location) method to allow
the portlet to force a redirect to the same page with modified render state. * Creates a render URL targeting the current portlet.
The createRedirectURL method cannot be invoked after any of the
following methods of the ActionResponse interface has been called:
- setPortletMode
- setWindowState
- setRenderParameter
- setRenderParameters
- removePublicRenderParameter
- getRenderParameters
The new render URL will contain render parameters from the
current request as specified by the option
parameter.
NONE
All public and private parameters are removed from the URL.
ALL
The public and private parameters governing the current
request are added to the URL.
PUBLIC
Only public parameters governing the current
request are added to the URL.
The URL can be further extended by adding render
parameters, portlet mode, and window state.
If no additional portlet mode, window
state or security modifier is set on the URL, the values from the
current render or resource request are preserved.
If a public render parameter value is set or removed on a render URL, then the public
render parameter will be set to the new value or removed when the URL is activated.