|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.acciente.induction.controller.Redirect
public class Redirect
Used to instruct the client to redirect.
Constructor Summary | |
---|---|
Redirect(Class oTargetClass)
A redirect object defined in terms of the controller or view class to which the client should redirect, Induction uses the redirect resolver to map the controller or view name to a URL. |
|
Redirect(Class oTargetClass,
Map oURLQueryParameters)
A redirect object defined in terms of the controller or view class to which the client should redirect, Induction uses the redirect resolver to map the controller or view name to a URL. |
|
Redirect(Class oTargetClass,
String sTargetMethodName)
A redirect object defined in terms of the controller and method to which the client should redirect, Induction uses the redirect resolver to map the controller or view name to a URL. |
|
Redirect(Class oTargetClass,
String sTargetMethodName,
Map oURLQueryParameters)
A redirect object defined in terms of the controller and method to which the client should redirect, Induction uses the redirect resolver to map the controller or view name to a URL. |
|
Redirect(Redirect oRedirect)
This is a copy constructor, very convenient when needed! |
|
Redirect(Redirect oRedirect,
Map oReplacementURLQueryParameters)
This is a copy constructor which allow changing the query params in the copy, very convenient when needed! |
|
Redirect(String sURL)
A redirect object defined directly in terms of the URL to which the client should redirect to. |
|
Redirect(String sURL,
Map oURLQueryParameters)
A redirect object defined directly in terms of the URL to which the client should redirect to. |
Method Summary | |
---|---|
Class |
getTargetClass()
|
String |
getTargetMethodName()
|
String |
getTargetURL()
|
Map |
getTargetURLQueryParameters()
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Redirect(Redirect oRedirect)
oRedirect
- the redirect object to make a clone ofpublic Redirect(Redirect oRedirect, Map oReplacementURLQueryParameters)
oRedirect
- the redirect object to make a clone ofoReplacementURLQueryParameters
- this maps replace the query params in the original redirectpublic Redirect(Class oTargetClass)
oTargetClass
- a class object representing a class that implements the Controller interface or one of the
view interfaces.public Redirect(Class oTargetClass, Map oURLQueryParameters)
oTargetClass
- a class object representing a class that implements the Controller interface or one of the
view interfaces.oURLQueryParameters
- a map to be converted to URL query parameterspublic Redirect(Class oTargetClass, String sTargetMethodName)
oTargetClass
- a class representing that implements the Controller interfacesTargetMethodName
- a specific method name in the controller that the client
should redirect topublic Redirect(Class oTargetClass, String sTargetMethodName, Map oURLQueryParameters)
oTargetClass
- a class representing that implements the Controller interfacesTargetMethodName
- a specific method name in the controller that the client
should redirect tooURLQueryParameters
- a map to be converted to URL query parameterspublic Redirect(String sURL)
sURL
- a string representing a complete or partial URLpublic Redirect(String sURL, Map oURLQueryParameters)
sURL
- a string representing a complete or partial URLMethod Detail |
---|
public Class getTargetClass()
public String getTargetMethodName()
public String getTargetURL()
public Map getTargetURLQueryParameters()
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |