|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--com.meterware.httpunit.WebClient
|
+--com.meterware.httpunit.WebConversation
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.
| Nested Class Summary |
| Nested classes inherited from class com.meterware.httpunit.WebClient |
WebClient.HeaderDictionary |
| Constructor Summary | |
WebConversation()
Creates a new web conversation. |
|
| Method Summary | |
void |
clearProxyServer()
Clears the proxy server settings. |
protected WebResponse |
newResponse(WebRequest request,
FrameSelector targetFrame)
Creates a web response object which represents the response to the specified web request. |
void |
setProxyServer(java.lang.String proxyHost,
int proxyPort)
Specifies a proxy server to use for requests from this client. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public WebConversation()
| Method Detail |
protected WebResponse newResponse(WebRequest request,
FrameSelector targetFrame)
throws java.net.MalformedURLException,
java.io.IOException
newResponse in class WebClientrequest - the request to which the response should be generatedtargetFrame - the frame in which the response should be stored
java.net.MalformedURLException
java.io.IOExceptionpublic void clearProxyServer()
WebClient
clearProxyServer in class WebClient
public void setProxyServer(java.lang.String proxyHost,
int proxyPort)
WebClient
setProxyServer in class WebClient
|
Copyright © 2000-2004 Russell Gold. See license agreement for rights granted. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||