com.meterware.httpunit
Class WebConversation
java.lang.Object
|
+--com.meterware.httpunit.WebClient
|
+--com.meterware.httpunit.WebConversation
- All Implemented Interfaces:
- FrameHolder
- 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
Methods inherited from class com.meterware.httpunit.WebClient |
addClientListener, addCookie, clearContents, getCookieHeaderField, getCookieNames, getCookieValue, getExceptionsThrownOnErrorStatus, getFrameContents, getFrameNames, getHeaderField, getHeaderFields, getResponse, getResponse, getUserAgent, removeClientListener, sendRequest, setAuthorization, setExceptionsThrownOnErrorStatus, setHeaderField, setUserAgent, updateClient, writeMessageBody |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WebConversation
public WebConversation()
- Creates a new web conversation.
newResponse
protected WebResponse newResponse(WebRequest request)
throws MalformedURLException,
IOException
- Creates a web response object which represents the response to the specified web request.
- Overrides:
newResponse
in class WebClient