A B C D E F G H I J L M N O P R S T U V W

A

ACCEPTED - Static variable in interface com.meterware.httpunit.cookies.CookieListener
Indicates that the cookie was accepted.
AuthorizationRequiredException - exception com.meterware.httpunit.AuthorizationRequiredException.
This exception is thrown when an unauthorized request is made for a page that requires authentication.
AuthorizationRequiredException(String, String) - Constructor for class com.meterware.httpunit.AuthorizationRequiredException
 
addClientListener(WebClientListener) - Method in class com.meterware.httpunit.WebClient
Adds a listener to watch for requests and responses.
addCookie(String, String) - Method in class com.meterware.httpunit.WebClient
Deprecated. as of 1.6, use #putCookie instead.
addCookie(String, String) - Method in class com.meterware.httpunit.cookies.CookieJar
Deprecated. as of 1.6, use #putCookie
addCookieListener(CookieListener) - Static method in class com.meterware.httpunit.cookies.CookieProperties
Adds a listener for cookie events.
addEntries(Dictionary) - Method in class com.meterware.httpunit.WebClient.HeaderDictionary
 
addHTMLParserListener(HTMLParserListener) - Static method in class com.meterware.httpunit.parsing.HTMLParserFactory
Add an HTML Parser listener.
addHeader(String) - Method in class com.meterware.pseudoserver.WebResource
 
addHtmlErrorListener(HTMLParserListener) - Static method in class com.meterware.httpunit.HttpUnitOptions
Deprecated. as of 1.5.2, use HTMLParserfactory#addHTMLParserListener
addPresetParameter(String, String) - Method in class com.meterware.httpunit.WebForm
Records a parameter defined by including it in the destination URL.
addPresetParameter(String, String) - Method in class com.meterware.httpunit.WebRequestSource
Records a parameter defined by including it in the destination URL.
addResourceHeader(String, String) - Method in class com.meterware.pseudoserver.HttpUserAgentTest
 
addResourceHeader(String, String) - Method in class com.meterware.pseudoserver.PseudoServer
Adds a header to a defined resource.
addWindowListener(WebWindowListener) - Method in class com.meterware.httpunit.WebClient
Adds a listener to watch for window openings and closings.
alert(String) - Method in class com.meterware.httpunit.WebResponse.Scriptable
 
asBytes(String) - Method in class com.meterware.pseudoserver.HttpUserAgentTest
 
asText() - Method in class com.meterware.httpunit.TableCell
Deprecated. as of 1.6, use #getText()
asText() - Method in class com.meterware.httpunit.WebLink
Deprecated. as of 1.6, use #getText instead
asText() - Method in class com.meterware.httpunit.WebTable
Returns a rendering of this table with all cells converted to text.
asText(Object[]) - Static method in class com.meterware.pseudoserver.HttpUserAgentTest
 
assertEqualQueries(String, String) - Method in class com.meterware.pseudoserver.HttpUserAgentTest
 
assertEquals(String, Object[], Object[]) - Method in class com.meterware.pseudoserver.HttpUserAgentTest
 
assertEquals(String, byte[], byte[]) - Method in class com.meterware.pseudoserver.HttpUserAgentTest
 
assertImplement(String, Object[], Class) - Method in class com.meterware.pseudoserver.HttpUserAgentTest
 
assertImplements(String, Object, Class) - Method in class com.meterware.pseudoserver.HttpUserAgentTest
 
assertMatchingSet(String, Object[], Enumeration) - Method in class com.meterware.pseudoserver.HttpUserAgentTest
 
assertMatchingSet(String, Object[], Object[]) - Static method in class com.meterware.pseudoserver.HttpUserAgentTest
 
associate(WebResponse) - Method in interface com.meterware.httpunit.scripting.ScriptingEngineFactory
Associates a scripting engine with the specified HTML web response.

B

BULLET_LIST - Static variable in class com.meterware.httpunit.WebList
Indicator of a bullet list (HTML tag <ul>)
Base64 - class com.meterware.httpunit.Base64.
A utility class to convert to and from base 64 encoding.
Base64() - Constructor for class com.meterware.httpunit.Base64
 
BlockElement - class com.meterware.httpunit.BlockElement.
Represents a block-level element such as a paragraph or table cell, which can contain other elements.
BlockElement(WebResponse, FrameSelector, URL, String, Node, String) - Constructor for class com.meterware.httpunit.BlockElement
 
Button - class com.meterware.httpunit.Button.
A button in a form.

C

CONTENTS - Static variable in class com.meterware.pseudoserver.PseudoServlet
 
ClientProperties - class com.meterware.httpunit.ClientProperties.
A class which represents the properties of a web client.
Cookie - class com.meterware.httpunit.cookies.Cookie.
An HTTP client-side cookie.
CookieJar - class com.meterware.httpunit.cookies.CookieJar.
A collection of HTTP cookies, which can interact with cookie and set-cookie header values.
CookieJar() - Constructor for class com.meterware.httpunit.cookies.CookieJar
Creates an empty cookie jar.
CookieJar(CookieSource) - Constructor for class com.meterware.httpunit.cookies.CookieJar
Creates a cookie jar which is initially populated with cookies parsed from the Set-Cookie and Set-Cookie2 header fields.
CookieListener - interface com.meterware.httpunit.cookies.CookieListener.
An interface for classes which can listen for cookies being rejected and the reason.
CookieProperties - class com.meterware.httpunit.cookies.CookieProperties.
Controls behavior for cookies.
CookieProperties() - Constructor for class com.meterware.httpunit.cookies.CookieProperties
 
CookieSource - interface com.meterware.httpunit.cookies.CookieSource.
This interface represents a source from which to parse out cookies.
clear() - Method in class com.meterware.httpunit.cookies.CookieJar
Empties this cookie jar of all contents.
clearCaches() - Method in interface com.meterware.httpunit.scripting.ScriptingEngine
Clears any cached values, permitting them to be recomputed as needed.
clearContents() - Method in class com.meterware.httpunit.WebClient
Resets the state of this client, removing all cookies, frames, and per-client headers.
clearErrorMessages() - Method in interface com.meterware.httpunit.scripting.ScriptingEngineFactory
Clears the accumulated script error messages.
clearProxyServer() - Method in class com.meterware.httpunit.WebClient
Clears the proxy server settings.
clearProxyServer() - Method in class com.meterware.httpunit.WebConversation
 
clearScriptErrorMessages() - Static method in class com.meterware.httpunit.HttpUnitOptions
Clears the accumulated script error messages.
click() - Method in class com.meterware.httpunit.Button
Performs the action associated with clicking this button after running any 'onClick' script.
click(int, int) - Method in class com.meterware.httpunit.SubmitButton
Performs the action associated with clicking this button after running any 'onClick' script.
click() - Method in class com.meterware.httpunit.WebLink
Submits a request as though the user had clicked on this link.
click() - Method in interface com.meterware.httpunit.scripting.Input
 
close() - Method in class com.meterware.httpunit.WebResponse.Scriptable
 
close() - Method in class com.meterware.httpunit.WebWindow
Closes this window.
com.meterware.httpunit - package com.meterware.httpunit
Classes for testing http server systems.
com.meterware.httpunit.cookies - package com.meterware.httpunit.cookies
Classes to support cookie handling.
com.meterware.httpunit.parsing - package com.meterware.httpunit.parsing
Classes to control HTML parsing.
com.meterware.httpunit.scripting - package com.meterware.httpunit.scripting
 
com.meterware.pseudoserver - package com.meterware.pseudoserver
A test framework for HTTP clients, using a simplified HTTP server.
com.meterware.servletunit - package com.meterware.servletunit
Classes for unit testing servlets, providing internal access to running servlets using a simulated servlet container.
completeRequest(URLConnection) - Method in class com.meterware.httpunit.MessageBodyWebRequest
Performs any additional processing necessary to complete the request.
completeRequest(URLConnection) - Method in class com.meterware.httpunit.WebRequest
Performs any additional processing necessary to complete the request.
containsKey(Object) - Method in class com.meterware.httpunit.WebClient.HeaderDictionary
 
cookieRejected(String, int, String) - Method in interface com.meterware.httpunit.cookies.CookieListener
Invoked when a cookie is rejected by HttpUnit.

D

DEFAULT_BUFFER_SIZE - Static variable in class com.meterware.httpunit.HttpUnitUtils
 
DEFAULT_CHARACTER_SET - Static variable in class com.meterware.httpunit.HttpUnitUtils
 
DEFAULT_SCRIPT_ENGINE_FACTORY - Static variable in class com.meterware.httpunit.HttpUnitOptions
 
DEFAULT_TEXT_BUFFER_SIZE - Static variable in class com.meterware.httpunit.HttpUnitUtils
 
DNSListener - interface com.meterware.httpunit.DNSListener.
A listener for DNS Requests.
DOMAIN_NOT_SOURCE_SUFFIX - Static variable in interface com.meterware.httpunit.cookies.CookieListener
Indicates that the domain attribute is not a suffix of the source domain issuing the cookie.
DOMAIN_ONE_DOT - Static variable in interface com.meterware.httpunit.cookies.CookieListener
Indicates that the domain attribute has only one dot.
DOMAIN_TOO_MANY_LEVELS - Static variable in interface com.meterware.httpunit.cookies.CookieListener
Indicates that the source domain has an extra dot beyond those defined in the domain attribute.
DialogAdapter - class com.meterware.httpunit.DialogAdapter.
 
DialogAdapter() - Constructor for class com.meterware.httpunit.DialogAdapter
 
DialogResponder - interface com.meterware.httpunit.DialogResponder.
Interface for an object to supply user responses to dialogs.
DocumentAdapter - interface com.meterware.httpunit.parsing.DocumentAdapter.
 
DocumentElement - interface com.meterware.httpunit.scripting.DocumentElement.
 
decode(String) - Static method in class com.meterware.httpunit.Base64
Returns the plaintext equivalent of a base 64-encoded string.
decode(String) - Static method in class com.meterware.httpunit.HttpUnitUtils
Returns an interpretation of the specified URL-encoded string, using the iso-8859-1 character set.
decode(String, String) - Static method in class com.meterware.httpunit.HttpUnitUtils
Decodes a URL safe string into its original form using the specified character set.
defineRawInputStream(InputStream) - Method in class com.meterware.httpunit.WebResponse
 
defineResource(String, PseudoServlet) - Method in class com.meterware.pseudoserver.HttpUserAgentTest
 
defineResource(String, String) - Method in class com.meterware.pseudoserver.HttpUserAgentTest
 
defineResource(String, byte[], String) - Method in class com.meterware.pseudoserver.HttpUserAgentTest
 
defineResource(String, String, int) - Method in class com.meterware.pseudoserver.HttpUserAgentTest
 
defineResource(String, String, String) - Method in class com.meterware.pseudoserver.HttpUserAgentTest
 
defineWebPage(String, String) - Method in class com.meterware.pseudoserver.HttpUserAgentTest
 
doButtonAction() - Method in class com.meterware.httpunit.Button
Perform the normal action of this button.
doButtonAction() - Method in class com.meterware.httpunit.ResetButton
 
doButtonAction() - Method in class com.meterware.httpunit.SubmitButton
Perform the normal action of this button.
doEvent(String) - Method in class com.meterware.httpunit.scripting.ScriptableDelegate
Executes the specified scripted event.
doGet(HttpServletRequest, HttpServletResponse) - Method in class com.meterware.servletunit.JUnitServlet
 
doOnClickEvent() - Method in class com.meterware.httpunit.Button
Does the 'onClick' event defined for this button.

E

encode(String) - Static method in class com.meterware.httpunit.Base64
Returns the base 64 encoded equivalent of a supplied string.
equals(Object) - Method in class com.meterware.httpunit.BlockElement
 
equals(Object) - Method in class com.meterware.httpunit.SubmitButton
 
equals(Object) - Method in class com.meterware.httpunit.cookies.Cookie
 
error(URL, String, int, int) - Method in interface com.meterware.httpunit.parsing.HTMLParserListener
Invoked when the parser wishes to report an error.
evaluateExpression(String) - Method in class com.meterware.httpunit.scripting.ScriptableDelegate
Evaluates the specified javascript expression, returning its value.
evaluateScriptExpression(String) - Method in interface com.meterware.httpunit.scripting.ScriptingEngine
Evaluates the specified string as JavaScript.
executeScript(String, String) - Method in interface com.meterware.httpunit.scripting.ScriptingEngine
Interprets the specified script, which may include global function definitions.

F

FrameSelector - class com.meterware.httpunit.FrameSelector.
An immutable class which describes the position of a frame in the window hierarchy.

G

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.
GetMethodWebRequest(URL, String, String) - Constructor for class com.meterware.httpunit.GetMethodWebRequest
Constructs a web request with a specific target.
get(String) - Method in class com.meterware.httpunit.HTMLPage.Scriptable
 
get(Object) - Method in class com.meterware.httpunit.WebClient.HeaderDictionary
 
get(String) - Method in class com.meterware.httpunit.WebForm.Scriptable
 
get(String) - Method in class com.meterware.httpunit.WebImage.Scriptable
 
get(String) - Method in class com.meterware.httpunit.WebLink.Scriptable
 
get(String) - Method in class com.meterware.httpunit.WebResponse.Scriptable
Returns the value of the named property.
get(String) - Method in interface com.meterware.httpunit.scripting.Input
 
get(String) - Method in class com.meterware.httpunit.scripting.ScriptableDelegate
Returns the value of the named property.
get(int) - Method in class com.meterware.httpunit.scripting.ScriptableDelegate
Returns the value of the index property.
getAction() - Method in class com.meterware.httpunit.WebForm.Scriptable
 
getAction() - Method in class com.meterware.httpunit.WebForm
Returns the action defined for this form.
getAltText() - Method in class com.meterware.httpunit.WebImage
 
getApplet() - Method in class com.meterware.httpunit.WebApplet
 
getApplets() - Method in interface com.meterware.httpunit.HTMLSegment
Returns the applets found in the page in the order in which they appear.
getApplets() - Method in class com.meterware.httpunit.WebResponse
 
getApplicationCodeName() - Method in class com.meterware.httpunit.ClientProperties
 
getApplicationName() - Method in class com.meterware.httpunit.ClientProperties
 
getApplicationVersion() - Method in class com.meterware.httpunit.ClientProperties
 
getArchiveSpecification() - Method in class com.meterware.httpunit.WebApplet
Returns the archive specification.
getAttribute(String) - Method in class com.meterware.httpunit.BlockElement
 
getAttribute(String) - Method in interface com.meterware.httpunit.HTMLElement
Returns the value of the attribute of this element with the specified name.
getAttribute(String) - Method in class com.meterware.httpunit.WebRequestSource
 
getAttributeValue(Node, String, int) - Method in class com.meterware.httpunit.BlockElement
 
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.
getAutoRedirect() - Static method in class com.meterware.httpunit.HttpUnitOptions
Deprecated. as of 1.5.3, use ClientProperties#isAutoRedirect();
getAutoRefresh() - Static method in class com.meterware.httpunit.HttpUnitOptions
Deprecated. as of 1.5.3, use ClientProperties#isAutoRefresh();
getAvailHeight() - Method in class com.meterware.httpunit.ClientProperties
 
getAvailableScreenWidth() - Method in class com.meterware.httpunit.ClientProperties
 
getBaseResponse() - Method in class com.meterware.httpunit.WebRequestSource
Returns the web response containing this request source.
getBaseURL() - Method in class com.meterware.httpunit.WebRequestSource
 
getBody() - Method in class com.meterware.pseudoserver.PseudoServlet
 
getButton(HTMLElementPredicate, Object) - Method in class com.meterware.httpunit.WebForm
 
getButtonWithID(String) - Method in class com.meterware.httpunit.WebForm
Convenience method which returns the button with the specified ID.
getButtons() - Method in class com.meterware.httpunit.WebForm
Returns an array containing all of the buttons defined for this form.
getCellAsText(int, int) - Method in class com.meterware.httpunit.WebTable
Returns the contents of the specified table cell as text.
getCharacterSet() - Method in class com.meterware.httpunit.WebForm
Returns the character set encoding for this form.
getCharacterSet() - Method in class com.meterware.httpunit.WebRequest
Returns the character set required for this request.
getCharacterSet() - Method in class com.meterware.httpunit.WebResponse
Returns the character set used in this response.
getClassName() - Method in class com.meterware.httpunit.BlockElement
Returns the class attribute associated with this element.
getClassName() - Method in interface com.meterware.httpunit.HTMLElement
Returns the class associated with this element.
getClassName() - Method in class com.meterware.httpunit.WebRequestSource
Returns the class associated with this request source.
getClassName() - Method in interface com.meterware.servletunit.JSPServletDescriptor
Returns the class name of the JSP servlet.
getClassName() - Method in class com.meterware.servletunit.ServletRunner.JasperJSPServletDescriptor
 
getCleanedText(String) - Method in interface com.meterware.httpunit.parsing.HTMLParser
Removes any string artifacts placed in the text by the parser.
getClient() - Method in class com.meterware.httpunit.WebWindow
Returns the web client associated with this window.
getClientProperties() - Method in class com.meterware.httpunit.WebClient
Returns the properties associated with this client.
getClientProperties() - Method in class com.meterware.httpunit.WebResponse.Scriptable
 
getCodeBaseURL() - Method in class com.meterware.httpunit.WebApplet
Returns the URL of the codebase used to find the applet classes
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.
getCommand() - Method in class com.meterware.pseudoserver.HttpRequest
Returns the command associated with this request.
getConfirmation(String) - Method in class com.meterware.httpunit.DialogAdapter
Invoked when the user agent needs to display a confirmation dialog.
getConfirmation(String) - Method in interface com.meterware.httpunit.DialogResponder
Invoked when the user agent needs to display a confirmation dialog.
getConfirmationResponse(String) - Method in class com.meterware.httpunit.WebResponse.Scriptable
 
getConnectedPort() - Method in class com.meterware.pseudoserver.PseudoServer
Returns the port on which this server is listening.
getContentLength() - Method in class com.meterware.httpunit.WebResponse
Returns the content length of this response.
getContentType() - Method in class com.meterware.httpunit.MessageBodyWebRequest
 
getContentType() - Method in class com.meterware.httpunit.UploadFileSpec
Returns the content type associated with this file upload specification.
getContentType() - Method in class com.meterware.httpunit.WebRequest
Returns the content type of this request.
getContentType() - Method in class com.meterware.httpunit.WebResponse
Returns the content type of this response.
getContextParameter(String) - Method in class com.meterware.servletunit.ServletRunner
Returns the value of the named context parameter found in the application definition.
getCookie() - Method in class com.meterware.httpunit.HTMLPage.Scriptable
 
getCookie(String) - Method in class com.meterware.httpunit.cookies.CookieJar
Returns the value of the specified cookie.
getCookieHeaderField(URL) - Method in class com.meterware.httpunit.cookies.CookieJar
Returns the value of the cookie header to be sent to the specified URL.
getCookieNames() - Method in class com.meterware.httpunit.WebClient
Returns the name of all the active cookies which will be sent to the server.
getCookieNames() - Method in class com.meterware.httpunit.cookies.CookieJar
Returns the name of all the active cookies in this cookie jar.
getCookieValue(String) - Method in class com.meterware.httpunit.WebClient
Returns the value of the specified cookie.
getCookieValue(String) - Method in class com.meterware.httpunit.cookies.CookieJar
Returns the value of the specified cookie.
getCookies() - Method in class com.meterware.httpunit.cookies.CookieJar
Returns a collection containing all of the cookies in this jar.
getCurrentFrameContents() - Method in class com.meterware.httpunit.WebRequestSource
 
getCurrentPage() - Method in class com.meterware.httpunit.WebClient
Returns the response representing the current top page in the main window.
getCurrentPage() - Method in class com.meterware.httpunit.WebWindow
Returns the response representing the main page in this window.
getDOM() - Method in class com.meterware.httpunit.BlockElement
Returns a copy of the domain object model associated with this HTML segment.
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.WebRequestSource
Returns a copy of the domain object model subtree associated with this entity.
getDefaultCharacterSet() - Static method in class com.meterware.httpunit.HttpUnitOptions
Returns the character set to be used for pages which do not specify one.
getDefaultContentType() - Static method in class com.meterware.httpunit.HttpUnitOptions
Returns the content type to be used for pages which do not specify one.
getDefaultProperties() - Static method in class com.meterware.httpunit.ClientProperties
Returns the current defaults for newly created web clients.
getDelegates(HTMLElement[]) - Method in class com.meterware.httpunit.scripting.ScriptableDelegate
 
getDestination() - Method in class com.meterware.httpunit.WebRequestSource
 
getDocument() - Method in class com.meterware.httpunit.WebResponse.Scriptable
 
getDomain() - Method in class com.meterware.httpunit.cookies.Cookie
Returns the domain to which this cookie may be sent.
getElement() - Method in class com.meterware.httpunit.WebRequestSource
Returns the actual DOM for this request source, not a copy.
getElementDelegates() - Method in class com.meterware.httpunit.WebForm.Scriptable
 
getElementNames() - Method in interface com.meterware.httpunit.HTMLSegment
Returns a list of HTML element names contained in this HTML section.
getElementNames() - Method in class com.meterware.httpunit.WebResponse
Returns a list of HTML element names contained in this HTML section.
getElementWithID(String) - Method in class com.meterware.httpunit.HTMLPage.Scriptable
 
getElementWithID(String) - Method in interface com.meterware.httpunit.HTMLSegment
Returns the HTMLElement found in this segment with the specified ID.
getElementWithID(String) - Method in class com.meterware.httpunit.WebResponse
Returns the HTMLElement with the specified ID.
getElementsByName(String) - Method in class com.meterware.httpunit.HTMLPage.Scriptable
 
getElementsByTagName(String) - Method in class com.meterware.httpunit.HTMLPage.Scriptable
 
getElementsByTagName(String) - Method in class com.meterware.httpunit.WebForm.Scriptable
 
getElementsWithAttribute(String, String) - Method in interface com.meterware.httpunit.HTMLSegment
Returns the HTMLElements found with the specified attribute value.
getElementsWithAttribute(String, String) - Method in class com.meterware.httpunit.WebResponse
Returns the HTMLElements found with the specified attribute value.
getElementsWithName(String) - Method in interface com.meterware.httpunit.HTMLSegment
Returns the HTMLElements found in this segment with the specified name.
getElementsWithName(String) - Method in class com.meterware.httpunit.WebResponse
Returns the HTMLElements found in this segment with the specified name.
getEmptyParameterValue() - Method in class com.meterware.httpunit.WebForm
 
getEmptyParameterValue() - Method in class com.meterware.httpunit.WebRequestSource
 
getErrorMessages() - Method in interface com.meterware.httpunit.scripting.ScriptingEngineFactory
Returns the accumulated script error messages encountered.
getExceptionsThrownOnErrorStatus() - Static method in class com.meterware.httpunit.HttpUnitOptions
Returns true if WebClient.getResponse throws exceptions when detected an error status.
getExceptionsThrownOnErrorStatus() - Method in class com.meterware.httpunit.WebClient
Returns true if an exception will be thrown when an error status (4xx or 5xx) is detected on a response.
getExceptionsThrownOnScriptError() - Static method in class com.meterware.httpunit.HttpUnitOptions
Returns true if script errors cause exceptions to be thrown.
getExternalStyleSheet() - Method in class com.meterware.httpunit.HTMLPage
Returns the location of the linked stylesheet in the head
getExternalStyleSheet() - Method in class com.meterware.httpunit.WebResponse
Returns the stylesheet linked in the head of the page.
getFilter() - Method in interface com.meterware.servletunit.InvocationContext
Returns the current active filter object.
getFilterChain() - Method in interface com.meterware.servletunit.InvocationContext
Returns the current filter chain.
getFirstMatchingForm(HTMLElementPredicate, Object) - Method in interface com.meterware.httpunit.HTMLSegment
Returns the first form found in the page matching the specified criteria.
getFirstMatchingForm(HTMLElementPredicate, Object) - Method in class com.meterware.httpunit.WebResponse
Returns the first form found in the page matching the specified criteria.
getFirstMatchingLink(HTMLElementPredicate, Object) - Method in interface com.meterware.httpunit.HTMLSegment
Returns the first link found in the page matching the specified criteria.
getFirstMatchingLink(HTMLElementPredicate, Object) - Method in class com.meterware.httpunit.WebResponse
Returns the first link found in the page matching the specified criteria.
getFirstMatchingTable(HTMLElementPredicate, Object) - Method in interface com.meterware.httpunit.HTMLSegment
Returns the first table in the response which matches the specified predicate and value.
getFirstMatchingTable(HTMLElementPredicate, Object) - Method in class com.meterware.httpunit.WebResponse
Returns the first table in the response which matches the specified predicate and value.
getFirstMatchingTextBlock(HTMLElementPredicate, Object) - Method in class com.meterware.httpunit.WebResponse
Returns the first link found in the page matching the specified criteria.
getFormWithID(String) - Method in interface com.meterware.httpunit.HTMLSegment
Returns the form found in this HTML segment with the specified ID.
getFormWithID(String) - Method in class com.meterware.httpunit.WebResponse
Returns the form found in the page with the specified ID.
getFormWithName(String) - Method in interface com.meterware.httpunit.HTMLSegment
Returns the form found in this HTML segment with the specified name.
getFormWithName(String) - Method in class com.meterware.httpunit.WebResponse
Returns the form found in the page with the specified name.
getForms() - Method in class com.meterware.httpunit.HTMLPage.Scriptable
 
getForms() - Method in interface com.meterware.httpunit.HTMLSegment
Returns the forms found in this HTML segment in the order in which they appear.
getForms() - Method in class com.meterware.httpunit.WebResponse
Returns the forms found in the page in the order in which they appear.
getFragmentIdentifier() - Method in class com.meterware.httpunit.WebRequestSource
Returns the fragment identifier for this request source, used to identifier an element within an HTML document.
getFrame() - Method in class com.meterware.httpunit.WebRequestSource
Returns the frame containing this request source.
getFrame() - Method in interface com.meterware.servletunit.InvocationContext
Returns the target frame for the original request.
getFrameContents(String) - Method in class com.meterware.httpunit.WebClient
Returns the response associated with the specified frame name in the main window.
getFrameContents(FrameSelector) - Method in class com.meterware.httpunit.WebClient
Returns the response associated with the specified frame name in the main window.
getFrameContents(String) - Method in class com.meterware.httpunit.WebWindow
Returns the response associated with the specified frame name.
getFrameName() - Method in class com.meterware.httpunit.WebResponse
Returns the name of the frame containing this page.
getFrameNames() - Method in class com.meterware.httpunit.WebClient
Returns the name of the currently active frames in the main window.
getFrameNames() - Method in class com.meterware.httpunit.WebResponse
Returns the names of the frames found in the page in the order in which they appear.
getFrameNames() - Method in class com.meterware.httpunit.WebWindow
Returns the name of the currently active frames.
getFrames() - Method in class com.meterware.httpunit.WebResponse.Scriptable
 
getGetResponse() - Method in class com.meterware.pseudoserver.PseudoServlet
Returns a resource object as a result of a get request.
getHTMLPage() - Method in class com.meterware.httpunit.WebRequestSource
Returns the HTMLPage associated with this request source.
getHTMLParser() - Static method in class com.meterware.httpunit.parsing.HTMLParserFactory
Returns the current selected parser.
getHeader(String) - Method in class com.meterware.pseudoserver.PseudoServlet
Returns the header with the specified name.
getHeaderField(String) - Method in class com.meterware.httpunit.WebClient
Returns the value for the header field with the specified name.
getHeaderField(String) - Method in class com.meterware.httpunit.WebResponse
Returns the value for the specified header field.
getHeaderFieldNames() - Method in class com.meterware.httpunit.WebResponse
Returns the names of the header fields found in the response.
getHeaderFields(URL) - Method in class com.meterware.httpunit.WebClient
Returns the value of all current header fields.
getHeaderFields(String) - Method in interface com.meterware.httpunit.cookies.CookieSource
Returns the values for the specified header field.
getHeaders() - Method in class com.meterware.httpunit.WebRequest
Returns a copy of the headers to be sent with this request.
getHeight() - Method in class com.meterware.httpunit.WebApplet
Returns the height of the panel in which the applet will be drawn.
getHostPath() - Method in class com.meterware.pseudoserver.HttpUserAgentTest
 
getHostPort() - Method in class com.meterware.pseudoserver.HttpUserAgentTest
 
getHtmlErrorListeners() - Static method in class com.meterware.httpunit.HttpUnitOptions
Deprecated. as of 1.5.2, removed with no replacement
getID() - Method in class com.meterware.httpunit.BlockElement
Returns the ID associated with this element.
getID() - Method in interface com.meterware.httpunit.HTMLElement
Returns the ID associated with this element.
getID() - Method in class com.meterware.httpunit.WebRequestSource
Returns the ID associated with this request source.
getID() - Method in interface com.meterware.httpunit.scripting.IdentifiedDelegate
 
getImageWithAltText(String) - Method in interface com.meterware.httpunit.HTMLSegment
Returns the first image found in the page with the specified alt attribute.
getImageWithAltText(String) - Method in class com.meterware.httpunit.WebResponse
Returns the first image found in the page with the specified alt attribute.
getImageWithName(String) - Method in interface com.meterware.httpunit.HTMLSegment
Returns the image found in the page with the specified name.
getImageWithName(String) - Method in class com.meterware.httpunit.WebResponse
Returns the image found in the page with the specified name attribute.
getImageWithSource(String) - Method in interface com.meterware.httpunit.HTMLSegment
Returns the first image found in the page with the specified src attribute.
getImageWithSource(String) - Method in class com.meterware.httpunit.WebResponse
Returns the first image found in the page with the specified src attribute.
getImages() - Method in class com.meterware.httpunit.HTMLPage.Scriptable
 
getImages() - Method in interface com.meterware.httpunit.HTMLSegment
Returns the images found in the page in the order in which they appear.
getImages() - Method in class com.meterware.httpunit.WebResponse
Returns the images found in the page in the order in which they appear.
getImagesTreatedAsAltText() - Static method in class com.meterware.httpunit.HttpUnitOptions
Returns true if images are treated as text, using their alt attributes.
getIncludedScript(String) - Method in interface com.meterware.httpunit.parsing.DocumentAdapter
Returns the contents of an included script, given its src attribute.
getIncludedScript(String) - Method in interface com.meterware.httpunit.parsing.ScriptHandler
 
getIndex() - Method in interface com.meterware.httpunit.scripting.SelectionOption
 
getInitializationParameters(String, String) - Method in interface com.meterware.servletunit.JSPServletDescriptor
Returns initialization parameters for the JSP servlet, given the specified classpath and working directory.
getInitializationParameters(String, String) - Method in class com.meterware.servletunit.ServletRunner.JasperJSPServletDescriptor
 
getInputStream() - Method in class com.meterware.httpunit.WebResponse
Returns a buffered input stream for reading the contents of this reply.
getIpAddress(String) - Method in interface com.meterware.httpunit.DNSListener
Returns the IP address as a string for the specified host name.
getItems() - Method in class com.meterware.httpunit.WebList
 
getLength() - Method in interface com.meterware.httpunit.scripting.SelectionOptions
Returns the length of this array
getLink() - Method in class com.meterware.httpunit.WebImage
 
getLinkWith(String) - Method in interface com.meterware.httpunit.HTMLSegment
Returns the first link which contains the specified text.
getLinkWith(String) - Method in class com.meterware.httpunit.WebResponse
Returns the first link which contains the specified text.
getLinkWithID(String) - Method in class com.meterware.httpunit.WebResponse
Returns the link found in the page with the specified ID.
getLinkWithImageText(String) - Method in interface com.meterware.httpunit.HTMLSegment
Returns the first link which contains an image with the specified text as its 'alt' attribute.
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.
getLinkWithName(String) - Method in class com.meterware.httpunit.WebResponse
Returns the link found in the page with the specified name.
getLinks() - Method in class com.meterware.httpunit.HTMLPage.Scriptable
 
getLinks() - Method in interface com.meterware.httpunit.HTMLSegment
Returns the links found in this HTML segment 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.
getListType() - Method in class com.meterware.httpunit.WebList
 
getLists() - Method in class com.meterware.httpunit.TextBlock
Returns any lists embedded in this text block.
getMainClassName() - Method in class com.meterware.httpunit.WebApplet
Returns the name of the applet main class.
getMainWindow() - Method in class com.meterware.httpunit.WebClient
 
getMatchesIgnoreCase() - Static method in class com.meterware.httpunit.HttpUnitOptions
If true, text matches in methods such as HTMLSegment.getLinkWith(java.lang.String) are case insensitive.
getMatchingForms(HTMLElementPredicate, Object) - Method in interface com.meterware.httpunit.HTMLSegment
Returns all forms found in the page matching the specified criteria.
getMatchingForms(HTMLElementPredicate, Object) - Method in class com.meterware.httpunit.WebResponse
Returns all forms found in the page matching the specified criteria.
getMatchingLinks(HTMLElementPredicate, Object) - Method in interface com.meterware.httpunit.HTMLSegment
Returns all links found in the page matching the specified criteria.
getMatchingLinks(HTMLElementPredicate, Object) - Method in class com.meterware.httpunit.WebResponse
Returns all links found in the page matching the specified criteria.
getMatchingTables(HTMLElementPredicate, Object) - Method in interface com.meterware.httpunit.HTMLSegment
Returns all tables found in the page matching the specified criteria.
getMatchingTables(HTMLElementPredicate, Object) - Method in class com.meterware.httpunit.WebResponse
Returns all tables found in the page matching the specified criteria.
getMessage() - Method in class com.meterware.httpunit.AuthorizationRequiredException
 
getMessage() - Method in class com.meterware.httpunit.HttpException
 
getMessageBody() - Method in class com.meterware.httpunit.MessageBodyWebRequest
Subclasses must override this method to provide a message body for the request.
getMessageBody() - Method in class com.meterware.httpunit.PostMethodWebRequest
 
getMessageBody() - Method in class com.meterware.httpunit.PutMethodWebRequest
Returns a message body based on the input stream.
getMetaTagContent(String, String) - Method in class com.meterware.httpunit.HTMLPage
Retrieves the "content" of the meta tags for a key pair attribute-attributeValue.
getMetaTagContent(String, String) - Method in class com.meterware.httpunit.WebResponse
Retrieves the "content" of the meta tags for a key pair attribute-attributeValue.
getMethod() - Method in class com.meterware.httpunit.GetMethodWebRequest
Returns the HTTP method defined for this request.
getMethod() - Method in class com.meterware.httpunit.HeadMethodWebRequest
 
getMethod() - Method in class com.meterware.httpunit.PostMethodWebRequest
Returns the HTTP method defined for this request.
getMethod() - Method in class com.meterware.httpunit.PutMethodWebRequest
Returns 'PUT' to indicate the method.
getMethod() - Method in class com.meterware.httpunit.WebForm
Returns the method defined for this form.
getMethod() - Method in class com.meterware.httpunit.WebRequest
Returns the HTTP method defined for this request.
getName() - Method in class com.meterware.httpunit.BlockElement
Returns the name associated with this element.
getName() - Method in interface com.meterware.httpunit.HTMLElement
Returns the name associated with this element.
getName() - Method in class com.meterware.httpunit.WebForm.Scriptable
 
getName() - Method in class com.meterware.httpunit.WebImage.Scriptable
 
getName() - Method in class com.meterware.httpunit.WebImage
 
getName() - Method in class com.meterware.httpunit.WebLink.Scriptable
 
getName() - Method in class com.meterware.httpunit.WebRequestSource
Returns the name associated with this request source.
getName() - Method in class com.meterware.httpunit.WebResponse.Scriptable
 
getName() - Method in class com.meterware.httpunit.WebWindow
Returns the name of this window.
getName() - Method in class com.meterware.httpunit.cookies.Cookie
Returns the name of this cookie.
getName() - Method in interface com.meterware.httpunit.scripting.NamedDelegate
 
getNewCookieNames() - Method in class com.meterware.httpunit.WebResponse
Returns a list of new cookie names defined as part of this response.
getNewCookieValue(String) - Method in class com.meterware.httpunit.WebResponse
Returns the new cookie value defined as part of this response.
getNextAlert() - Method in class com.meterware.httpunit.WebClient
Returns the next javascript alert without removing it from the queue.
getNextTextBlock(TextBlock) - Method in class com.meterware.httpunit.WebResponse
Returns the text block after the specified block, if any.
getNumTextParameters(String) - Method in class com.meterware.httpunit.WebForm
Returns the number of text parameters in this form with the specified name.
getOnLoadEvent() - Method in class com.meterware.httpunit.HTMLPage
Returns the onLoad event script.
getOpenWindow(String) - Method in class com.meterware.httpunit.WebClient
 
getOpenWindows() - Method in class com.meterware.httpunit.WebClient
 
getOpener() - Method in class com.meterware.httpunit.WebWindow
Returns the web response that contained the script which opened this window.
getOptionValues(String) - Method in class com.meterware.httpunit.WebForm
Returns the option values defined for the specified parameter name.
getOptions(String) - Method in class com.meterware.httpunit.WebForm
Returns the displayed options defined for the specified parameter name.
getPageFrame() - Method in class com.meterware.httpunit.WebRequestSource
Deprecated. as of 1.6, use #getFrame
getParameter(String) - Method in class com.meterware.httpunit.WebApplet
Returns the value of the specified applet parameter, or null if not defined.
getParameter(String) - Method in class com.meterware.httpunit.WebRequest
Returns the value of a parameter in this web request.
getParameter(String) - Method in class com.meterware.pseudoserver.HttpRequest
Returns the parameter with the specified name.
getParameter(String) - Method in class com.meterware.pseudoserver.PseudoServlet
Returns the values for the parameter with the specified name.
getParameterHolder() - Method in class com.meterware.httpunit.WebRequest
 
getParameterNames() - Method in class com.meterware.httpunit.WebApplet
Returns an array containing the names of the parameters defined for the applet.
getParameterNames() - Method in class com.meterware.httpunit.WebForm
Returns an array containing the names of the parameters defined for this form.
getParameterNames() - Method in class com.meterware.httpunit.WebRequestSource
Returns an array containing the names of any parameters to be sent on a request based on this request source.
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.
getParameterValues(String) - Method in class com.meterware.httpunit.WebRequestSource
Returns the values of the named parameter.
getParameterValuesValidated() - Static method in class com.meterware.httpunit.HttpUnitOptions
Deprecated. as of 1.6, use WebForm#newUnvalidatedRequest() to obtain a request without parameter validation.
getParent() - Method in class com.meterware.httpunit.HTMLPage.Scriptable
 
getParentDelegate() - Method in class com.meterware.httpunit.Button
 
getParentDelegate() - Method in class com.meterware.httpunit.TableRow
 
getParentDelegate() - Method in class com.meterware.httpunit.WebApplet
 
getParentDelegate() - Method in class com.meterware.httpunit.WebList
 
getParentDelegate() - Method in class com.meterware.httpunit.WebTable
 
getParserWarningsEnabled() - Static method in class com.meterware.httpunit.HttpUnitOptions
Deprecated. as of 1.5.2, use HTMLParserFactory#isParserWarningsEnabled
getPath() - Method in class com.meterware.httpunit.cookies.Cookie
Returns the path to which this cookie is restricted.
getPlatform() - Method in class com.meterware.httpunit.ClientProperties
 
getPostResponse() - Method in class com.meterware.pseudoserver.PseudoServlet
 
getProtocol() - Method in class com.meterware.pseudoserver.HttpRequest
Returns the protocol string specified in the message header for this request.
getProxyHost() - Method in class com.meterware.httpunit.WebClient
Returns the name of the active proxy server.
getProxyPort() - Method in class com.meterware.httpunit.WebClient
Returns the number of the active proxy port, or 0 is none is specified.
getPutResponse() - Method in class com.meterware.pseudoserver.PseudoServlet
 
getQueryString() - Method in class com.meterware.httpunit.HeaderOnlyWebRequest
Returns the query string defined for this request.
getQueryString() - Method in class com.meterware.httpunit.PostMethodWebRequest
Returns the query string defined for this request.
getQueryString() - Method in class com.meterware.httpunit.WebRequest
Returns the query string defined for this request.
getReader() - Method in class com.meterware.pseudoserver.PseudoServlet
Returns a reader for the body of the request.
getRedirectDelay() - Static method in class com.meterware.httpunit.HttpUnitOptions
Returns the delay, in milliseconds, before a redirect request is issues.
getRefreshDelay() - Method in class com.meterware.httpunit.WebResponse
Returns the delay before normally following the request to refresh this page, if any.
getRefreshRequest() - Method in class com.meterware.httpunit.WebResponse
Returns a request to refresh this page, if any.
getRelativeURL() - Method in class com.meterware.httpunit.WebRequestSource
 
getRequest(String, String) - Method in class com.meterware.httpunit.WebForm
Creates and returns a web request which will simulate the submission of this form with a button with the specified name and value.
getRequest(String) - Method in class com.meterware.httpunit.WebForm
Creates and returns a web request which will simulate the submission of this form with a button with the specified name.
getRequest(SubmitButton) - Method in class com.meterware.httpunit.WebForm
Creates and returns a web request which will simulate the submission of this form by pressing the specified button.
getRequest(SubmitButton, int, int) - Method in class com.meterware.httpunit.WebForm
Creates and returns a web request which will simulate the submission of this form by pressing the specified button.
getRequest() - Method in class com.meterware.httpunit.WebForm
Creates and returns a web request which will simulate the submission of this form with an unnamed submit button.
getRequest() - Method in class com.meterware.httpunit.WebRequestSource
Creates and returns a web request from this request source.
getRequest() - Method in class com.meterware.pseudoserver.PseudoServlet
 
getRequest() - Method in interface com.meterware.servletunit.InvocationContext
Returns the request to be processed by the servlet or filter.
getRequestParameterNames() - Method in class com.meterware.httpunit.WebRequest
Returns an array of all parameter names defined as part of this web request.
getResource(WebRequest) - Method in class com.meterware.httpunit.WebClient
Returns the resource specified by the request.
getResource(WebRequest) - Method in class com.meterware.httpunit.WebWindow
Returns the resource specified by the request.
getResponse(String) - Method in class com.meterware.httpunit.WebClient
Submits a GET method request and returns a response.
getResponse(WebRequest) - Method in class com.meterware.httpunit.WebClient
Submits a web request and returns a response, using all state developed so far as stored in cookies as requested by the server.
getResponse(String) - Method in class com.meterware.httpunit.WebWindow
Submits a GET method request and returns a response.
getResponse(WebRequest) - Method in class com.meterware.httpunit.WebWindow
Submits a web request and returns a response, using all state developed so far as stored in cookies as requested by the server.
getResponse(String) - Method in class com.meterware.pseudoserver.PseudoServlet
Returns a resource object as a result of a get request.
getResponse() - Method in interface com.meterware.servletunit.InvocationContext
Returns the response which the servlet or filter should modify