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, Cookie[] clientCookies, 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,
                                       Cookie[] clientCookies,
                                       Dictionary clientHeaders,
                                       byte[] messageBody)
                                throws IOException,
                                       MalformedURLException
Creates and returns a new invocation context to test calling of servlet methods.