Package | Description |
---|---|
com.meterware.servletunit |
Classes for unit testing servlets, providing internal access to running servlets using a simulated servlet container.
|
Modifier and Type | Method and Description |
---|---|
InvocationContext |
InvocationContextFactory.newInvocation(ServletUnitClient client,
FrameSelector targetFrame,
WebRequest request,
Dictionary clientHeaders,
byte[] messageBody)
Creates and returns a new invocation context to test calling of servlet methods.
|
InvocationContext |
ServletUnitClient.newInvocation(String requestString)
Creates and returns a new invocation context from a GET request.
|
InvocationContext |
ServletUnitClient.newInvocation(WebRequest request)
Creates and returns a new invocation context to test calling of servlet methods.
|
Modifier and Type | Method and Description |
---|---|
WebResponse |
ServletUnitClient.getResponse(InvocationContext invocation)
Updates this client and returns the response which would be displayed by the
user agent.
|
Copyright © 2012. All Rights Reserved.