|
Return to www.inductionframework.org | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.acciente.induction.dispatcher.resolver.URLResolver
public class URLResolver
This class is used to generate URLs dynamically from controller/view class names using the mapping rules defined for redirects.
Constructor Summary | |
---|---|
URLResolver(RedirectResolverExecutor oRedirectResolverExecutor,
javax.servlet.http.HttpServletRequest oHttpServletRequest)
|
Method Summary | |
---|---|
java.lang.String |
resolve(java.lang.Class oTargetClass)
Call to resolve a URL from a target controller or view. |
java.lang.String |
resolve(java.lang.Class oTargetClass,
java.util.Map oURLQueryParameters)
Call to resolve a URL from a target controller or view and a map of query parameters. |
java.lang.String |
resolve(java.lang.Class oControllerClass,
java.lang.String sControllerMethodName)
Call to resolve a URL from 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)
Call to resolve a URL from a target controller and a specific target method in the controller and has URL query parameters. |
java.lang.String |
resolve(java.lang.String sURLPart)
Call to resolve a URL from 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)
Use to resolve a URL from a target URL and URL query parameters. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public URLResolver(RedirectResolverExecutor oRedirectResolverExecutor, javax.servlet.http.HttpServletRequest oHttpServletRequest)
Method Detail |
---|
public java.lang.String resolve(java.lang.Class oTargetClass)
oTargetClass
- a class object representing a class that implements the Controller or interface or a view
public 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
public 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
public 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
public java.lang.String resolve(java.lang.String sURLPart)
sURLPart
- a string representing a complete or partial URL
public 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 |