|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.seam.core.Redirect
@Name(value="redirect") @Intercept(value=NEVER) @Scope(value=CONVERSATION) public class Redirect
Convenient API for performing browser redirects with parameters.
Constructor Summary | |
---|---|
Redirect()
|
Method Summary | |
---|---|
void |
captureCurrentRequest()
Capture the view id and request parameters from the current request and squirrel them away so we can return here later in the conversation. |
void |
execute()
Perform the redirect |
Map<String,Object> |
getParameters()
Get all the request parameters that have been set |
String |
getViewId()
Get the JSF view id to redirect to |
static Redirect |
instance()
|
void |
setParameter(String name,
Object value)
Set a request parameter value |
void |
setViewId(String viewId)
Set the JSF view id to redirect to |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Redirect()
Method Detail |
---|
public String getViewId()
public void setViewId(String viewId)
viewId
- any JSF view idpublic Map<String,Object> getParameters()
public void setParameter(String name, Object value)
public void captureCurrentRequest()
public void execute()
public static Redirect instance()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |