com.meterware.servletunit
Interface InvocationContextFactory


public interface InvocationContextFactory

An interface for an object which acts as a factory of InvocationContexts

Author:
Russell Gold

Method Summary
 InvocationContext newInvocation(WebRequest request, javax.servlet.http.Cookie[] clientCookies, 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(WebRequest request,
                                       javax.servlet.http.Cookie[] clientCookies,
                                       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.

java.io.IOException
java.net.MalformedURLException

Copyright © 2000-2002 Russell Gold. See license agreement for rights granted.