|
Return to www.inductionframework.org | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface RedirectResolver
This interface is used to abstract the algorithm used to map a redirect request to an actual URL
A class implementing this interface is expected to have a single public contructor adhering to the following convention:
- the single constructor should accepts no arguments or
- the single constructor should declare formal parameters using only the following types:
- javax.servlet.ServletContext
| Method Summary | |
|---|---|
java.lang.String |
resolve(java.lang.Class oTargetClass)
Called by Induction to resolve a redirect request defined on in terms of a target controller or view. |
java.lang.String |
resolve(java.lang.Class oTargetClass,
java.util.Map oURLQueryParameters)
Called by Induction to resolve a redirect request defined on in terms of a target controller or view and map of query parameters. |
java.lang.String |
resolve(java.lang.Class oControllerClass,
java.lang.String sControllerMethodName)
Called by Induction to resolve a redirect request defined on in terms of a target controller and a specific target method in the controller. |
java.lang.String |
resolve(java.lang.Class oControllerClass,
java.lang.String sControllerMethodName,
java.util.Map oURLQueryParameters)
Called by Induction to resolve a redirect request defined on in terms of a target controller and a specific target method in the controller and has URL query parameters. |
java.lang.String |
resolve(java.lang.String sURLPart)
Called by Induction to resolve a redirect request defined on in terms of a target URL, the URL may be a partial URL that this method is expected to complete. |
java.lang.String |
resolve(java.lang.String sURLPart,
java.util.Map oURLQueryParameters)
Called by Induction to resolve a redirect request defined on in terms of a target URL and URL query parameters. |
| Method Detail |
|---|
java.lang.String resolve(java.lang.Class oTargetClass)
oTargetClass - a class object representing a class that implements the Controller or interface or a view
java.lang.String resolve(java.lang.Class oTargetClass,
java.util.Map oURLQueryParameters)
oTargetClass - a class object representing a class that implements the Controller or interface or a viewoURLQueryParameters - a map to be converted to URL query parameters
java.lang.String resolve(java.lang.Class oControllerClass,
java.lang.String sControllerMethodName)
oControllerClass - a class object representing a class that implements the Controller interfacesControllerMethodName - a specific method name in the controller that the client
should redirect to
java.lang.String resolve(java.lang.Class oControllerClass,
java.lang.String sControllerMethodName,
java.util.Map oURLQueryParameters)
oControllerClass - a class object representing a class that implements the Controller interfacesControllerMethodName - a specific method name in the controller that the client
should redirect tooURLQueryParameters - a map to be converted to URL query parameters
java.lang.String resolve(java.lang.String sURLPart)
sURLPart - a string representing a complete or partial URL
java.lang.String resolve(java.lang.String sURLPart,
java.util.Map oURLQueryParameters)
sURLPart - a string representing a complete or partial URLoURLQueryParameters - a map to be converted to URL query parameters
|
Return to www.inductionframework.org | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||