A C G H P R S T W

A

addCookie(String, String) - Method in class com.meterware.httpunit.WebConversation
Defines a cookie to be sent to the server on every request.
asText() - Method in class com.meterware.httpunit.WebLink
Returns the text value of this link.
asText() - Method in class com.meterware.httpunit.TableCell
Returns the text value of this cell.
asText() - Method in class com.meterware.httpunit.WebTable
Returns a rendering of the table with all cells converted to text.
AuthorizationRequiredException - exception com.meterware.httpunit.AuthorizationRequiredException.
This exception is thrown when an unauthorized request is made for a page that requires authentication.

C

com.meterware.httpunit - package com.meterware.httpunit
Classes for testing http server systems.
completeRequest(URLConnection) - Method in class com.meterware.httpunit.WebRequest
Performs any additional processing necessary to complete the request.
completeRequest(URLConnection) - Method in class com.meterware.httpunit.PostMethodWebRequest
 

G

getAuthenticationParameter(String) - Method in class com.meterware.httpunit.AuthorizationRequiredException
Returns the named authentication parameter.
getAuthenticationScheme() - Method in class com.meterware.httpunit.AuthorizationRequiredException
Returns the name of the authentication scheme.
getCell(int, int) - Method in class com.meterware.httpunit.WebTable
Deprecated. use #getCellAsText
getCellAsText(int, int) - Method in class com.meterware.httpunit.WebTable
Returns the contents of the specified table cell as text.
getColSpan() - Method in class com.meterware.httpunit.TableCell
Returns the number of columns spanned by this cell.
getColumnCount() - Method in class com.meterware.httpunit.WebTable
Returns the number of columns in the table.
getDOM() - Method in class com.meterware.httpunit.WebResponse
Returns a copy of the domain object model tree associated with this response.
getDOMSubtree() - Method in class com.meterware.httpunit.WebForm
Returns a copy of the domain object model subtree associated with this form.
getDOMSubtree() - Method in class com.meterware.httpunit.WebLink
Returns a copy of the domain object model subtree associated with this link.
getForms() - Method in class com.meterware.httpunit.WebResponse
Returns the forms found in the page in the order in which they appear.
getLinks() - Method in class com.meterware.httpunit.WebResponse
Returns the links found in the page in the order in which they appear.
getLinkWith(String) - Method in class com.meterware.httpunit.WebResponse
Returns the first link which contains the specified text.
getLinkWithImageText(String) - Method in class com.meterware.httpunit.WebResponse
Returns the first link which contains an image with the specified text as its 'alt' attribute.
getMessage() - Method in class com.meterware.httpunit.AuthorizationRequiredException
 
GetMethodWebRequest - class com.meterware.httpunit.GetMethodWebRequest.
An HTTP request using the GET method.
GetMethodWebRequest(String) - Constructor for class com.meterware.httpunit.GetMethodWebRequest
Constructs a web request using a specific absolute url string.
GetMethodWebRequest(URL, String) - Constructor for class com.meterware.httpunit.GetMethodWebRequest
Constructs a web request using a base URL and a relative url string.
getOptions(String) - Method in class com.meterware.httpunit.WebForm
Returns the displayed options defined for the specified parameter name.
getOptionValues(String) - Method in class com.meterware.httpunit.WebForm
Returns the option values defined for the specified parameter name.
getParameter(String) - Method in class com.meterware.httpunit.WebRequest
Returns the value of a parameter in this web request.
getParameterNames() - Method in class com.meterware.httpunit.WebForm
Returns an array containing the names of the parameters defined for this form, in the order in which they appear.
getParameterString() - Method in class com.meterware.httpunit.WebRequest
 
getParameterValue(String) - Method in class com.meterware.httpunit.WebForm
Returns the default value of the named parameter.
getParameterValues(String) - Method in class com.meterware.httpunit.WebForm
Returns the multiple default values of the named parameter.
getParameterValues(String) - Method in class com.meterware.httpunit.WebRequest
Returns the multiple default values of the named parameter.
getRequest() - Method in class com.meterware.httpunit.WebForm
Creates and returns a web request which will simulate the submission of this form.
getRequest() - Method in class com.meterware.httpunit.WebLink
Creates and returns a web request which will simulate clicking on this link.
getResponse(WebRequest) - Method in class com.meterware.httpunit.WebConversation
Submits a web request and returns a response, using all state developed so far as stored in cookies as requested by the server.
getRowCount() - Method in class com.meterware.httpunit.WebTable
Returns the number of rows in the table.
getRowSpan() - Method in class com.meterware.httpunit.TableCell
Returns the number of rows spanned by this cell.
getTableCell(int, int) - Method in class com.meterware.httpunit.WebTable
Returns the contents of the specified table cell as text.
getTables() - Method in class com.meterware.httpunit.WebResponse
Returns the top-level tables found in this page in the order in which they appear.
getTableStartingWith(String) - Method in class com.meterware.httpunit.WebResponse
Returns the first table in the response which has the specified text as the full text of its first non-blank row and non-blank column.
getTableStartingWithPrefix(String) - Method in class com.meterware.httpunit.WebResponse
Returns the first table in the response which has the specified text as a prefix of the text of its first non-blank row and non-blank column.
getURL() - Method in class com.meterware.httpunit.WebRequest
Returns the final URL associated with this web request.
getURL() - Method in class com.meterware.httpunit.GetMethodWebRequest
 
getURL() - Method in class com.meterware.httpunit.PostMethodWebRequest
 
getURLBase() - Method in class com.meterware.httpunit.WebRequest
 
getURLString() - Method in class com.meterware.httpunit.WebRequest
 
getUserAgent() - Method in class com.meterware.httpunit.WebConversation
Returns the current user agent setting.

H

hasNoParameters() - Method in class com.meterware.httpunit.WebRequest
 

P

PostMethodWebRequest - class com.meterware.httpunit.PostMethodWebRequest.
An HTTP request using the POST method.
PostMethodWebRequest(String) - Constructor for class com.meterware.httpunit.PostMethodWebRequest
Constructs a web request using a specific absolute url string.
purgeEmptyCells() - Method in class com.meterware.httpunit.WebTable
Removes all rows and all columns from this table which have no visible text in them.

R

removeParameter(String) - Method in class com.meterware.httpunit.WebRequest
Removes a parameter from this web request.

S

setAuthorization(String, String) - Method in class com.meterware.httpunit.WebConversation
Sets a username and password for a basic authentication scheme.
setParameter(String, String) - Method in class com.meterware.httpunit.WebRequest
Sets the value of a parameter in a web request.
setParameter(String, String[]) - Method in class com.meterware.httpunit.WebRequest
Sets the multiple values of a parameter in a web request.
setUserAgent(String) - Method in class com.meterware.httpunit.WebConversation
Specifies the user agent identification.

T

TableCell - class com.meterware.httpunit.TableCell.
A single cell in an HTML table.
toString() - Method in class com.meterware.httpunit.WebResponse
 
toString() - Method in class com.meterware.httpunit.WebTable
 

W

WebConversation - class com.meterware.httpunit.WebConversation.
The context for a series of HTTP requests.
WebConversation() - Constructor for class com.meterware.httpunit.WebConversation
Creates a new web conversation.
WebForm - class com.meterware.httpunit.WebForm.
This class represents a form in an HTML page.
WebLink - class com.meterware.httpunit.WebLink.
This class represents a link in an HTML page.
WebRequest - class com.meterware.httpunit.WebRequest.
A request sent to a web server.
WebRequest(String) - Constructor for class com.meterware.httpunit.WebRequest
Constructs a web request using an absolute URL string.
WebRequest(URL, String) - Constructor for class com.meterware.httpunit.WebRequest
Constructs a web request using a base URL and a relative URL string.
WebRequest(WebRequest, String) - Constructor for class com.meterware.httpunit.WebRequest
Constructs a web request using a base request and a relative URL string.
WebResponse - class com.meterware.httpunit.WebResponse.
A response from a web server to an Http request.
WebTable - class com.meterware.httpunit.WebTable.
This class represents a table in an HTML page.

A C G H P R S T W