public interface InvocationContextFactory
Modifier and Type | Method and Description |
---|---|
javax.servlet.http.HttpSession |
getSession(java.lang.String sessionId,
boolean create)
Returns the session with the specified ID; if none exists or the session is invalid, will create a new session if the create flag is true.
|
InvocationContext |
newInvocation(ServletUnitClient client,
FrameSelector targetFrame,
WebRequest request,
java.util.Dictionary clientHeaders,
byte[] messageBody)
Creates and returns a new invocation context to test calling of servlet methods.
|
InvocationContext newInvocation(ServletUnitClient client, FrameSelector targetFrame, WebRequest request, java.util.Dictionary clientHeaders, byte[] messageBody) throws java.io.IOException, java.net.MalformedURLException
java.io.IOException
java.net.MalformedURLException
javax.servlet.http.HttpSession getSession(java.lang.String sessionId, boolean create)