Return to www.inductionframework.org

com.acciente.induction.resolver
Interface ControllerResolver

All Known Implementing Classes:
URLPathControllerResolver

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.ServletContext

- com.acciente.induction.init.config.Config.ControllerResolver


Nested Class Summary
static class ControllerResolver.Resolution
          A container object containg the resolution information.
 
Method Summary
 ControllerResolver.Resolution resolve(javax.servlet.http.HttpServletRequest oRequest)
          This method should resolve the class name of the controller and method name within same to be invoked in response to the specified HTTP request
 

Method Detail

resolve

ControllerResolver.Resolution resolve(javax.servlet.http.HttpServletRequest oRequest)
This method should resolve the class name of the controller and method name within same to be invoked in response to the specified HTTP request

Parameters:
oRequest - the HTTP request context in which the resolution is requested
Returns:
an object containing the class name of the controller to be invoked and the method name within same

Return to www.inductionframework.org

Copyright (c) 2008 Acciente, LLC. All rights reserved.