com.meterware.httpunit

Class WebConversation

public class WebConversation extends WebClient

The context for a series of HTTP requests. This class manages cookies used to maintain session context, computes relative URLs, and generally emulates the browser behavior needed to build an automated test of a web site.

Author: Russell Gold

Constructor Summary
WebConversation()
Creates a new web conversation.
Method Summary
voidclearProxyServer()
protected WebResponsenewResponse(WebRequest request, FrameSelector targetFrame)
Creates a web response object which represents the response to the specified web request.
voidsetProxyServer(String proxyHost, int proxyPort)

Constructor Detail

WebConversation

public WebConversation()
Creates a new web conversation.

Method Detail

clearProxyServer

public void clearProxyServer()

newResponse

protected WebResponse newResponse(WebRequest request, FrameSelector targetFrame)
Creates a web response object which represents the response to the specified web request.

setProxyServer

public void setProxyServer(String proxyHost, int proxyPort)