org.apache.velocity.tools.test.blackbox
Class ServletAdaptor
java.lang.Object
org.apache.velocity.tools.test.blackbox.ServletAdaptor
- All Implemented Interfaces:
- InvocationHandler
public class ServletAdaptor
- extends Object
- implements InvocationHandler
Helper class for LinkToolTests class
- Version:
- $Id$
- Author:
- Christopher Schultz
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ServletAdaptor
public ServletAdaptor(Map cookies)
ServletAdaptor
public ServletAdaptor(String contextPath,
Map params)
ServletAdaptor
public ServletAdaptor(String contextPath,
String pathInfo,
Map params)
invoke
public Object invoke(Object proxy,
Method method,
Object[] args)
- Specified by:
invoke
in interface InvocationHandler
response
protected Object response(Object proxy,
Method method,
Object[] args)
request
protected Object request(Object proxy,
Method method,
Object[] args)
context
protected Object context(Object proxy,
Method method,
Object[] args)
Copyright © 2002-2010 Apache Software Foundation. All Rights Reserved.