org.cdlib.xtf.test
Class FakeServletContainer
Object
FakeServletContainer
public class FakeServletContainer
- extends Object
Allows command-line access to crossQuery and dynaXML by simulating a servlet
container.
Method Summary |
static void |
main(String[] args)
|
private static void |
service(HttpServlet servlet,
String url)
|
private static void |
service(String url)
|
Methods inherited from class Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
crossQuery
private static CrossQuery crossQuery
dynaXML
private static DynaXML dynaXML
config
private static FakeServletConfig config
FakeServletContainer
public FakeServletContainer()
service
private static void service(HttpServlet servlet,
String url)
throws ServletException,
IOException
- Throws:
ServletException
IOException
service
private static void service(String url)
throws ServletException,
IOException,
InterruptedException
- Throws:
ServletException
IOException
InterruptedException
main
public static void main(String[] args)
throws InterruptedException,
ServletException,
IOException
- Throws:
InterruptedException
ServletException
IOException