|
|||||||||
| Home >> All >> com >> meterware >> [ servletunit overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
com.meterware.servletunit
Interface InvocationContextFactory

- public interface InvocationContextFactory
An interface for an object which acts as a factory of InvocationContexts
| Method Summary | |
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,
com.meterware.httpunit.FrameSelector targetFrame,
com.meterware.httpunit.WebRequest request,
java.util.Dictionary clientHeaders,
byte[] messageBody)
Creates and returns a new invocation context to test calling of servlet methods. |
| Method Detail |
newInvocation
public InvocationContext newInvocation(ServletUnitClient client, com.meterware.httpunit.FrameSelector targetFrame, com.meterware.httpunit.WebRequest request, java.util.Dictionary clientHeaders, byte[] messageBody) throws java.io.IOException, java.net.MalformedURLException
- Creates and returns a new invocation context to test calling of servlet methods.
getSession
public 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.
|
|||||||||
| Home >> All >> com >> meterware >> [ servletunit overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC