| java.lang.Object com.meterware.httpunit.WebClient com.meterware.httpunit.WebConversation
WebConversation | public class WebConversation extends WebClient (Code) | | 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 | |
public | WebConversation() Creates a new web conversation. |
WebConversation | public WebConversation()(Code) | | Creates a new web conversation.
|
clearProxyServer | public void clearProxyServer()(Code) | | |
setProxyServer | public void setProxyServer(String proxyHost, int proxyPort)(Code) | | |
Methods inherited from com.meterware.httpunit.WebClient | public void addClientListener(WebClientListener listener)(Code)(Java Doc) public void addCookie(String name, String value)(Code)(Java Doc) public void addWindowListener(WebWindowListener listener)(Code)(Java Doc) public void clearContents()(Code)(Java Doc) public void clearProxyServer()(Code)(Java Doc) void close(WebWindow window)(Code)(Java Doc) FrameSelector findFrame(String target)(Code)(Java Doc) public ClientProperties getClientProperties()(Code)(Java Doc) boolean getConfirmationResponse(String message)(Code)(Java Doc) CookieJar getCookieJar()(Code)(Java Doc) public String[] getCookieNames()(Code)(Java Doc) public String getCookieValue(String name)(Code)(Java Doc) public WebResponse getCurrentPage()(Code)(Java Doc) public boolean getExceptionsThrownOnErrorStatus()(Code)(Java Doc) public WebResponse getFrameContents(String frameName)(Code)(Java Doc) public WebResponse getFrameContents(FrameSelector targetFrame)(Code)(Java Doc) public String[] getFrameNames()(Code)(Java Doc) public String getHeaderField(String fieldName)(Code)(Java Doc) protected Dictionary getHeaderFields(URL targetURL)(Code)(Java Doc) public WebWindow getMainWindow()(Code)(Java Doc) public String getNextAlert()(Code)(Java Doc) public WebWindow getOpenWindow(String name)(Code)(Java Doc) public WebWindow[] getOpenWindows()(Code)(Java Doc) public String getProxyHost()(Code)(Java Doc) public int getProxyPort()(Code)(Java Doc) public WebResponse getResource(WebRequest request) throws IOException(Code)(Java Doc) public WebResponse getResponse(String urlString) throws MalformedURLException, IOException, SAXException(Code)(Java Doc) public WebResponse getResponse(WebRequest request) throws MalformedURLException, IOException, SAXException(Code)(Java Doc) public String getUserAgent()(Code)(Java Doc) String getUserResponse(String message, String defaultResponse)(Code)(Java Doc) abstract protected WebResponse newResponse(WebRequest request, FrameSelector targetFrame) throws MalformedURLException, IOException(Code)(Java Doc) public String popNextAlert()(Code)(Java Doc) void postAlert(String message)(Code)(Java Doc) public void putCookie(String name, String value)(Code)(Java Doc) public void removeClientListener(WebClientListener listener)(Code)(Java Doc) public void removeWindowListener(WebWindowListener listener)(Code)(Java Doc) public WebResponse sendRequest(WebRequest request) throws MalformedURLException, IOException, SAXException(Code)(Java Doc) public void setAuthorization(String userName, String password)(Code)(Java Doc) public void setDialogResponder(DialogResponder responder)(Code)(Java Doc) public void setExceptionsThrownOnErrorStatus(boolean throwExceptions)(Code)(Java Doc) public void setHeaderField(String fieldName, String fieldValue)(Code)(Java Doc) public void setMainWindow(WebWindow mainWindow)(Code)(Java Doc) public void setProxyServer(String proxyHost, int proxyPort)(Code)(Java Doc) public void setProxyServer(String proxyHost, int proxyPort, String userName, String password)(Code)(Java Doc) public void setUserAgent(String userAgent)(Code)(Java Doc) void tellListeners(WebRequest request)(Code)(Java Doc) void tellListeners(WebResponse response)(Code)(Java Doc) void updateClient(WebResponse response) throws IOException(Code)(Java Doc) void updateFrameContents(WebWindow requestWindow, String requestTarget, WebResponse response, RequestContext requestContext) throws IOException, SAXException(Code)(Java Doc) final protected void updateMainWindow(FrameSelector frame, WebResponse response) throws MalformedURLException, IOException, SAXException(Code)(Java Doc) final protected void writeMessageBody(WebRequest request, OutputStream stream) throws IOException(Code)(Java Doc)
|
|
|