au.com.whitesquare.waf.servlet.resolver
Class ExtensionSwitchingKeyResolver

java.lang.Object
  extended byau.com.whitesquare.waf.servlet.resolver.ExtensionSwitchingKeyResolver
All Implemented Interfaces:
CommandKeyResolver

public class ExtensionSwitchingKeyResolver
extends Object
implements CommandKeyResolver

Purpose:
Log History:
$Log$
Revision 1.1 2006/04/26 11:26:10 steve
New Key Resolver that allows for the key to be resolved based on the extension of the request. Each different extension type can be mapped to a different resolver.

Version:
$Revision$
Author:
Steve Mactaggart

Field Summary
static String DEFAULT
           
 
Constructor Summary
ExtensionSwitchingKeyResolver()
           
 
Method Summary
 void init(ServletConfig config)
           
 void resolve(WAFRequest request, HttpServletRequest req)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT

public static final String DEFAULT
See Also:
Constant Field Values
Constructor Detail

ExtensionSwitchingKeyResolver

public ExtensionSwitchingKeyResolver()
Method Detail

resolve

public void resolve(WAFRequest request,
                    HttpServletRequest req)
Specified by:
resolve in interface CommandKeyResolver
See Also:
CommandKeyResolver.resolve(au.com.whitesquare.waf.servlet.WAFRequest, javax.servlet.http.HttpServletRequest)

init

public void init(ServletConfig config)
          throws ServletException
Specified by:
init in interface CommandKeyResolver
Parameters:
config -
Throws:
ServletException
See Also:
CommandKeyResolver.init(javax.servlet.ServletConfig)


Copyright © 2004 Whitesquare Software. All Rights Reserved.