Return to www.inductionframework.org

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

java.lang.Object
  extended by com.acciente.induction.init.config.Config.ControllerResolver
Enclosing class:
Config

public static class Config.ControllerResolver
extends java.lang.Object

Modular configuration container


Constructor Summary
Config.ControllerResolver()
           
 
Method Summary
 java.lang.String getClassName()
          Returns the name of the class used to resolve a HTTP request to a controller name (and method).
 java.lang.String getDefaultHandlerMethodName()
           
 boolean isIgnoreMethodNameCase()
           
 void setClassName(java.lang.String sClassName)
          Used to set a fully qualified class name used to resolve a HTTP request to a controller name (and method).
 void setDefaultHandlerMethodName(java.lang.String sDefaultHandlerMethodName)
           
 void setIgnoreMethodNameCase(boolean bIgnoreMethodNameCase)
          Controls if the default resolver should respect method case when looking for a method.
 java.lang.String toString()
           
 java.lang.String toXML()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Config.ControllerResolver

public Config.ControllerResolver()
Method Detail

setClassName

public void setClassName(java.lang.String sClassName)
Used to set a fully qualified class name used to resolve a HTTP request to a controller name (and method). This parameter is usually not set. When not set, a default controller resolver that maps a URL path to a controller name and method is used.

Parameters:
sClassName - a string representing fully qualified classname or null to use the default resolver

getClassName

public java.lang.String getClassName()
Returns the name of the class used to resolve a HTTP request to a controller name (and method).

Returns:
a string representing a fully qualified class name

getDefaultHandlerMethodName

public java.lang.String getDefaultHandlerMethodName()

setDefaultHandlerMethodName

public void setDefaultHandlerMethodName(java.lang.String sDefaultHandlerMethodName)

isIgnoreMethodNameCase

public boolean isIgnoreMethodNameCase()

setIgnoreMethodNameCase

public void setIgnoreMethodNameCase(boolean bIgnoreMethodNameCase)
Controls if the default resolver should respect method case when looking for a method. A resolver implementation is may choose to ignore this setting.

Parameters:
bIgnoreMethodNameCase - if true is specified, it tells the resolver implementation to search for a handler method name ignoring case.

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

toXML

public java.lang.String toXML()

Return to www.inductionframework.org

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