Return to www.inductionframework.org

com.acciente.induction.resolver
Class ShortURLControllerResolver

java.lang.Object
  extended by com.acciente.induction.resolver.ShortURLControllerResolver
All Implemented Interfaces:
ControllerResolver

public class ShortURLControllerResolver
extends java.lang.Object
implements ControllerResolver

ShortURLControllerResolver

Author:
Adinath Raveendra Raj

Nested Class Summary
 
Nested classes/interfaces inherited from interface com.acciente.induction.resolver.ControllerResolver
ControllerResolver.Resolution
 
Constructor Summary
ShortURLControllerResolver(Config.ControllerMapping oControllerMapping, java.lang.ClassLoader oClassLoader)
           
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ShortURLControllerResolver

public ShortURLControllerResolver(Config.ControllerMapping oControllerMapping,
                                  java.lang.ClassLoader oClassLoader)
                           throws java.io.IOException
Throws:
java.io.IOException
Method Detail

resolve

public ControllerResolver.Resolution resolve(javax.servlet.http.HttpServletRequest oRequest)
Description copied from interface: ControllerResolver
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

Specified by:
resolve in interface ControllerResolver
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 © 2008-2009 Acciente, LLC. All Rights Reserved.