org.jboss.seam.security.external
Class ResponseHolderImpl
java.lang.Object
org.jboss.seam.security.external.ResponseHolderImpl
- All Implemented Interfaces:
- ResponseHolder
public class ResponseHolderImpl
- extends Object
- implements ResponseHolder
- Author:
- Marcel Kolsteren
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ResponseHolderImpl
public ResponseHolderImpl(javax.servlet.http.HttpServletResponse response,
String dialogueId)
getResponse
public javax.servlet.http.HttpServletResponse getResponse()
- Description copied from interface:
ResponseHolder
- Gets the HTTP servlet response
- Specified by:
getResponse
in interface ResponseHolder
- Returns:
- the response
setResponse
public void setResponse(javax.servlet.http.HttpServletResponse response)
redirectWithDialoguePropagation
public void redirectWithDialoguePropagation(String url)
- Description copied from interface:
ResponseHolder
- Results in a redirect to the specified URL. If a dialogue is active, the
id of that dialogue will be appended to the URL as a query parameter, so
that the dialogue will be restored when the browser gets the redirect URL.
- Specified by:
redirectWithDialoguePropagation
in interface ResponseHolder
- Parameters:
url
- URL
addDialogueIdToUrl
public String addDialogueIdToUrl(String url)
- Description copied from interface:
ResponseHolder
- Adds the id of the current dialogue to the URL. If no dialogue is active,
it just returns the URL unmodified.
- Specified by:
addDialogueIdToUrl
in interface ResponseHolder
- Parameters:
url
- URL
- Returns:
- URL
Copyright © 2011 Seam Framework. All Rights Reserved.