|
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 oControllerClass)
Called by Induction to resolve a redirect request defined on in terms of a target controller. |
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.String sURL)
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. |
Method Detail |
---|
java.lang.String resolve(java.lang.Class oControllerClass)
oControllerClass
- a class object representing a class that implements the Controller interface
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.String sURL)
sURL
- a string representing a complete or partial URL
|
Return to www.inductionframework.org | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |