|
Return to www.inductionframework.org | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ControllerResolver
This interface is used to abstract the algorithm used to map a HTTP request to a specific controller invocation.
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.ServletConfig
- com.acciente.induction.init.config.Config.ControllerResolver
- java.lang.ClassLoader (to get the Induction reloading classloader) - any user defined model class (to get the respective model object)
| Nested Class Summary | |
|---|---|
static class |
ControllerResolver.Resolution
A container object for the resolution information. |
| Method Summary | |
|---|---|
ControllerResolver.Resolution |
resolve(javax.servlet.http.HttpServletRequest oRequest)
This method should resolve the the specified HTTP request to the class name of a controller and method name (within the same class) to be invoked |
ControllerResolver.Resolution |
resolve(java.lang.Throwable oThrowable)
This method is called if an exception occurs during controller or view execution. |
| Method Detail |
|---|
ControllerResolver.Resolution resolve(javax.servlet.http.HttpServletRequest oRequest)
oRequest - the HTTP request context in which the resolution is requested
ControllerResolver.Resolution resolve(java.lang.Throwable oThrowable)
oThrowable - the exception context in which the resolution is requested
|
Return to www.inductionframework.org | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||