org.codehaus.waffle.action
Class RequestParameterMethodNameResolver

java.lang.Object
  extended by org.codehaus.waffle.action.RequestParameterMethodNameResolver
All Implemented Interfaces:
MethodNameResolver

public class RequestParameterMethodNameResolver
extends java.lang.Object
implements MethodNameResolver

Implementation of method name resolver which returns the value of a configurable action parameter key, which defaults to 'method'.

The resolved name is monitored along with the available parameter key set.

Author:
Michael Ward, Mauro Talevi

Constructor Summary
RequestParameterMethodNameResolver(ActionMonitor monitor)
           
RequestParameterMethodNameResolver(RequestParameterMethodNameResolverConfig configuration, ActionMonitor monitor)
           
 
Method Summary
 java.lang.String resolve(javax.servlet.http.HttpServletRequest request)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RequestParameterMethodNameResolver

public RequestParameterMethodNameResolver(ActionMonitor monitor)

RequestParameterMethodNameResolver

public RequestParameterMethodNameResolver(RequestParameterMethodNameResolverConfig configuration,
                                          ActionMonitor monitor)
Method Detail

resolve

public java.lang.String resolve(javax.servlet.http.HttpServletRequest request)
Specified by:
resolve in interface MethodNameResolver


Copyright © 2007 null. All Rights Reserved.