Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- ACCEPTED - Static variable in interface com.meterware.httpunit.cookies.CookieListener
-
Indicates that the cookie was accepted.
- 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.cookies.CookieJar
-
Deprecated.as of 1.6, use #putCookie
- addCookie(String, String) - Method in class com.meterware.httpunit.WebClient
-
Deprecated.as of 1.6, use #putCookie instead.
- addCookieListener(CookieListener) - Static method in class com.meterware.httpunit.cookies.CookieProperties
-
Adds a listener for cookie events.
- addCustomAttribute(String) - Static method in class com.meterware.httpunit.HttpUnitOptions
-
Deprecated.for new Scripting engine
- addEntries(Dictionary) - Method in class com.meterware.httpunit.WebClient.HeaderDictionary
- addFilter(String, Class<? extends Filter>) - Method in class com.meterware.servletunit.ServletUnitServletContext
- addFilter(String, String) - Method in class com.meterware.servletunit.ServletUnitServletContext
- addFilter(String, Filter) - Method in class com.meterware.servletunit.ServletUnitServletContext
- 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
- addHTMLParserListener(HTMLParserListener) - Static method in class com.meterware.httpunit.parsing.HTMLParserFactory
-
Add an HTML Parser listener.
- addListener(Class<? extends EventListener>) - Method in class com.meterware.servletunit.ServletUnitServletContext
- addListener(String) - Method in class com.meterware.servletunit.ServletUnitServletContext
- addListener(T) - Method in class com.meterware.servletunit.ServletUnitServletContext
- addPresetParameter(String, String) - Method in class com.meterware.httpunit.WebImage
- addPresetParameter(String, String) - Method in class com.meterware.httpunit.WebLink
- 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.
- addServlet(String, Class<? extends Servlet>) - Method in class com.meterware.servletunit.ServletUnitServletContext
- addServlet(String, String) - Method in class com.meterware.servletunit.ServletUnitServletContext
- addServlet(String, Servlet) - Method in class com.meterware.servletunit.ServletUnitServletContext
- addValues(ParameterProcessor, String) - Method in class com.meterware.httpunit.RadioButtonFormControl
- addValues(ParameterProcessor, String) - Method in class com.meterware.httpunit.Button
- addValues(ParameterProcessor, String) - Method in class com.meterware.httpunit.FormControl
- addValues(ParameterProcessor, String) - Method in class com.meterware.httpunit.RadioGroupFormControl
- addValues(ParameterProcessor, String) - Method in class com.meterware.httpunit.SubmitButton
-
addValues if not disabled and pressed
- 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
- alertUser(String) - Method in class com.meterware.httpunit.WebResponse.Scriptable
- asBytes(String) - Method in class com.meterware.pseudoserver.HttpUserAgentTest
- assertEqualQueries(String, String) - Method in class com.meterware.pseudoserver.HttpUserAgentTest
- assertEquals(String, byte[], byte[]) - Method in class com.meterware.pseudoserver.HttpUserAgentTest
- assertEquals(String, Object[], Object[]) - 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[], Object[]) - Static method in class com.meterware.pseudoserver.HttpUserAgentTest
- assertMatchingSet(String, Object[], Enumeration) - 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.
- 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
- asText(NodeList) - Static method in class com.meterware.httpunit.NodeUtils
-
Converts the DOM trees rooted at the specified nodes to text, ignoring any HTML tags.
- AuthorizationRequiredException - Exception Class in com.meterware.httpunit
-
This exception is thrown when an unauthorized request is made for a page that requires authentication.
B
- Base64 - Class in com.meterware.httpunit
-
A utility class to convert to and from base 64 encoding.
- Base64() - Constructor for class com.meterware.httpunit.Base64
- BlockElement - Class in com.meterware.httpunit
-
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
- blur() - Method in class com.meterware.httpunit.FormControl.Scriptable
-
simulate blur
- BULLET_LIST - Static variable in class com.meterware.httpunit.WebList
-
Indicator of a bullet list (HTML tag <ul>)
- Button - Class in com.meterware.httpunit
-
A button in a form.
- BUTTON_TYPE - Static variable in class com.meterware.httpunit.FormControl
C
- CHECKBOX_TYPE - Static variable in class com.meterware.httpunit.FormControl
- claimUniqueValue(List) - Method in class com.meterware.httpunit.FormControl
-
Sets this control to the next compatible value from the list, removing it from the list.
- claimUniqueValue(List) - Method in class com.meterware.httpunit.RadioGroupFormControl
- claimValueIsRequired(List, String) - Method in class com.meterware.httpunit.FormControl
-
Removes the specified required value from the list of values, throwing an exception if it is missing.
- clear() - Method in class com.meterware.httpunit.cookies.CookieJar
-
Empties this cookie jar of all contents.
- clearCaches() - Method in class com.meterware.httpunit.scripting.ScriptableDelegate
- clearCaches() - Method in interface com.meterware.httpunit.scripting.ScriptingEngine
-
Clears any cached values, permitting them to be recomputed as needed.
- clearCaches() - Method in interface com.meterware.httpunit.scripting.ScriptingHandler
- 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() - Method in class com.meterware.httpunit.FormControl.Scriptable
-
allow calling click for this control
- click() - Method in interface com.meterware.httpunit.scripting.Input
-
simulate a click
- click() - Method in class com.meterware.httpunit.WebLink
-
Submits a request as though the user had clicked on this link.
- click(int, int) - Method in class com.meterware.httpunit.SubmitButton
-
Performs the action associated with clicking this button after running any 'onClick' script.
- ClientProperties - Class in com.meterware.httpunit
-
A class which represents the properties of a web client.
- close() - Method in class com.meterware.httpunit.WebResponse
- close() - Method in class com.meterware.httpunit.WebWindow
-
Closes this window.
- closeWindow() - Method in class com.meterware.httpunit.WebResponse.Scriptable
- 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.
- confirm(String) - Method in class com.meterware.httpunit.WebResponse
- containsKey(Object) - Method in class com.meterware.httpunit.WebClient.HeaderDictionary
- CONTENTS - Static variable in class com.meterware.pseudoserver.PseudoServlet
- Cookie - Class in com.meterware.httpunit.cookies
-
An HTTP client-side cookie.
- CookieJar - Class in com.meterware.httpunit.cookies
-
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
andSet-Cookie2
header fields. - CookieListener - Interface in com.meterware.httpunit.cookies
-
An interface for classes which can listen for cookies being rejected and the reason.
- CookieProperties - Class in com.meterware.httpunit.cookies
-
Controls behavior for cookies.
- CookieProperties() - Constructor for class com.meterware.httpunit.cookies.CookieProperties
- cookieRejected(String, int, String) - Method in interface com.meterware.httpunit.cookies.CookieListener
-
Invoked when a cookie is rejected by HttpUnit.
- CookieSource - Interface in com.meterware.httpunit.cookies
-
This interface represents a source from which to parse out cookies.
- createBasicAuthenticationRequiredException(String) - Static method in exception class com.meterware.httpunit.AuthorizationRequiredException
- createDomScriptingHandler() - Method in class com.meterware.httpunit.WebResponse
-
create a DOMScriptingHandler
- createFilter(Class<T>) - Method in class com.meterware.servletunit.ServletUnitServletContext
- createHandler(HTMLElement) - Method in interface com.meterware.httpunit.scripting.ScriptingEngineFactory
- createHandler(WebResponse) - Method in interface com.meterware.httpunit.scripting.ScriptingEngineFactory
- createJavascriptScriptingHandler() - Method in class com.meterware.httpunit.WebResponse
- createListener(Class<T>) - Method in class com.meterware.servletunit.ServletUnitServletContext
- createServlet(Class<T>) - Method in class com.meterware.servletunit.ServletUnitServletContext
D
- declareRoles(String...) - Method in class com.meterware.servletunit.ServletUnitServletContext
- 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.
- DEFAULT_CHARACTER_SET - Static variable in class com.meterware.httpunit.HttpUnitUtils
- DEFAULT_SCRIPT_ENGINE_FACTORY - Static variable in class com.meterware.httpunit.HttpUnitOptions
-
/
- DEFAULT_SERVER_INFO - Static variable in class com.meterware.servletunit.ServletUnitServletContext
- DEFAULT_TEXT_BUFFER_SIZE - Static variable in class com.meterware.httpunit.HttpUnitUtils
- defineRawInputStream(InputStream) - Method in class com.meterware.httpunit.WebResponse
- defineResource(String, byte[], String) - Method in class com.meterware.pseudoserver.HttpUserAgentTest
- defineResource(String, PseudoServlet) - Method in class com.meterware.pseudoserver.HttpUserAgentTest
- defineResource(String, 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
-
define a Web Page with the given page name and boy adding the html and body tags with pageName as the title of the page
- defineWebPage(String, String, String) - Method in class com.meterware.pseudoserver.HttpUserAgentTest
-
define a Web Page with the given page name and boy adding the html and body tags with pageName as the title of the page use the given xml names space if it is not null
- DialogAdapter - Class in com.meterware.httpunit
- DialogAdapter() - Constructor for class com.meterware.httpunit.DialogAdapter
- DialogResponder - Interface in com.meterware.httpunit
-
Interface for an object to supply user responses to dialogs.
- DNSListener - Interface in com.meterware.httpunit
-
A listener for DNS Requests.
- doButtonAction() - Method in class com.meterware.httpunit.Button
-
Perform the normal action of this button.
- doButtonAction(int, int) - Method in class com.meterware.httpunit.Button
-
Perform the normal action of this button.
- doButtonAction(int, int) - Method in class com.meterware.httpunit.ResetButton
-
overridden button action
- doButtonAction(int, int) - Method in class com.meterware.httpunit.SubmitButton
-
do the button Action
- DocumentAdapter - Interface in com.meterware.httpunit.parsing
- DocumentElement - Interface in com.meterware.httpunit.scripting
- doEvent(String) - Method in class com.meterware.httpunit.BlockElement
-
Deprecated.since 1.7 - use doEventScript instead
- doEvent(String) - Method in class com.meterware.httpunit.Button
-
Deprecated.since 1.7 - use doEventScript instead
- doEvent(String) - Method in class com.meterware.httpunit.FormControl
-
Deprecated.since 1.7 - use doEventScript instead
- doEvent(String) - Method in class com.meterware.httpunit.RadioButtonFormControl
-
Deprecated.since 1.7 - use doEventScript instead
- doEvent(String) - Method in class com.meterware.httpunit.RadioGroupFormControl
-
Deprecated.since 1.7 - use doEventScript instead
- doEvent(String) - Method in class com.meterware.httpunit.ResetButton
-
Deprecated.since 1.7 - use doEventScript instead
- doEvent(String) - Method in class com.meterware.httpunit.SubmitButton
-
Deprecated.since 1.7 - use doEventScript instead
- doEvent(String) - Method in class com.meterware.httpunit.TableRow
-
Deprecated.since 1.7 - use doEventScript instead
- doEvent(String) - Method in class com.meterware.httpunit.WebApplet
-
Deprecated.since 1.7 - use doEventScript instead
- doEvent(String) - Method in class com.meterware.httpunit.WebList
-
Deprecated.since 1.7 - use doEventScript instead
- doEvent(String) - Method in class com.meterware.httpunit.WebTable
-
Deprecated.since 1.7 - use doEventScript instead
- doEvent(String) - Method in class com.meterware.httpunit.scripting.ScriptableDelegate
-
Deprecated.since 1.7 - use doEventScript instead
- doEvent(String) - Method in interface com.meterware.httpunit.scripting.ScriptingEventHandler
-
Deprecated.since 1.7
- doEvent(String) - Method in class com.meterware.httpunit.WebRequestSource
-
Deprecated.since 1.7 - use doEventScript instead
- doEventScript(String) - Method in class com.meterware.httpunit.BlockElement
-
optional do the event if it's defined
- doEventScript(String) - Method in class com.meterware.httpunit.Button
-
optional do the event if it's defined
- doEventScript(String) - Method in class com.meterware.httpunit.FormControl
-
optional do the event if it's defined
- doEventScript(String) - Method in class com.meterware.httpunit.RadioButtonFormControl
-
optional do the event if it's defined
- doEventScript(String) - Method in class com.meterware.httpunit.RadioGroupFormControl
-
optional do the event if it's defined
- doEventScript(String) - Method in class com.meterware.httpunit.ResetButton
-
optional do the event if it's defined
- doEventScript(String) - Method in class com.meterware.httpunit.SubmitButton
-
optional do the event if it's defined
- doEventScript(String) - Method in class com.meterware.httpunit.TableRow
-
optional do the event if it's defined
- doEventScript(String) - Method in class com.meterware.httpunit.WebApplet
-
optional do the event if it's defined
- doEventScript(String) - Method in class com.meterware.httpunit.WebList
-
optional do the event if it's defined
- doEventScript(String) - Method in class com.meterware.httpunit.WebTable
-
optional do the event if it's defined
- doEventScript(String) - Method in class com.meterware.httpunit.scripting.ScriptableDelegate
-
Executes the specified scripted event.
- doEventScript(String) - Method in interface com.meterware.httpunit.scripting.ScriptingEventHandler
-
run the Script for the given Event
- doEventScript(String) - Method in class com.meterware.httpunit.WebRequestSource
-
optional do the event if it's defined
- doGet(HttpServletRequest, HttpServletResponse) - Method in class com.meterware.servletunit.JUnitServlet
- 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.
- doOnChangeEvent() - Method in class com.meterware.httpunit.FormControl
-
Performs the 'onchange' event defined for this control.
- doOnClickEvent() - Method in class com.meterware.httpunit.FormControl
-
Performs the 'onClick' event defined for this control.
- doOnClickSequence(int, int) - Method in class com.meterware.httpunit.Button
-
the onClickSequence for this button
- doOnMouseDownEvent() - Method in class com.meterware.httpunit.FormControl
-
Performs the 'onMouseDown' event defined for this control.
- doOnMouseUpEvent() - Method in class com.meterware.httpunit.FormControl
-
Performs the 'onMouseUp' event defined for this control.
E
- emptyIfNull(String) - Method in class com.meterware.httpunit.FormControl
- 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.cookies.Cookie
- equals(Object) - Method in class com.meterware.httpunit.HttpHeader
- equals(Object) - Method in class com.meterware.httpunit.SubmitButton
- 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.
- evaluateExpression(String) - Method in interface com.meterware.httpunit.scripting.ScriptingHandler
- Example - Search tag in package com.meterware.httpunit
- Section
F
- FILE_TYPE - Static variable in class com.meterware.httpunit.FormControl
- focus() - Method in class com.meterware.httpunit.FormControl.Scriptable
-
simulate focus;
- FormControl - Class in com.meterware.httpunit
-
Represents a control in an HTML form.
- FormControl(WebForm, HTMLControl) - Constructor for class com.meterware.httpunit.FormControl
-
initialize the given form control from a Webform and a HTMLControl
- FormControl.Scriptable - Class in com.meterware.httpunit
-
implementation of Scriptable input elements
- FormParameter - Class in com.meterware.httpunit
-
Represents the aggregate of all form controls with a particular name.
- FormParameter() - Constructor for class com.meterware.httpunit.FormParameter
- FormParameter.UnusedParameterValueException - Exception Class in com.meterware.httpunit
-
This exception is thrown on an attempt to set a parameter to a value not permitted to it by the form.
- FormScriptable - Interface in com.meterware.httpunit.scripting
- FrameSelector - Class in com.meterware.httpunit
-
An immutable class which describes the position of a frame in the window hierarchy.
G
- get(int) - Method in class com.meterware.httpunit.scripting.ScriptableDelegate
-
Returns the value of the index property.
- get(Object) - Method in class com.meterware.httpunit.WebClient.HeaderDictionary
- get(String) - Method in class com.meterware.httpunit.FormControl.Scriptable
-
get the given property
- get(String) - Method in class com.meterware.httpunit.HTMLPage.Scriptable
-
get the Object with the given propertyName
- 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(String) - Method in class com.meterware.httpunit.WebForm.Scriptable
-
get the Object for the given propertyName
- 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_connectTimeout() - Method in class com.meterware.httpunit.WebConversation
- get_element() - Method in class com.meterware.httpunit.FormControl.Scriptable
- get_element() - Method in class com.meterware.httpunit.WebForm.Scriptable
- get_element() - Method in class com.meterware.httpunit.WebImage.Scriptable
- get_element() - Method in class com.meterware.httpunit.WebLink.Scriptable
- get_readTimeout() - Method in class com.meterware.httpunit.WebConversation
- getAction() - Method in class com.meterware.httpunit.WebForm
-
Returns the action defined for this form.
- getAction() - Method in class com.meterware.httpunit.WebForm.Scriptable
- 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.ParsedHTML
-
Returns a proxy for each applet found embedded in this page.
- 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
-
get the attribute with the given name
- 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.Button
-
get the Attribute with the given name - by delegating to NodeUtils
- getAttribute(String) - Method in class com.meterware.httpunit.FormControl
-
get the Attribute with the given name - by delegating to NodeUtils
- getAttribute(String) - Method in class com.meterware.httpunit.RadioButtonFormControl
-
get the Attribute with the given name - by delegating to NodeUtils
- getAttribute(String) - Method in class com.meterware.httpunit.RadioGroupFormControl
-
get the Attribute with the given name - by delegating to NodeUtils
- getAttribute(String) - Method in class com.meterware.httpunit.ResetButton
-
get the Attribute with the given name - by delegating to NodeUtils
- getAttribute(String) - Method in class com.meterware.httpunit.SubmitButton
-
get the Attribute with the given name - by delegating to NodeUtils
- getAttribute(String) - Method in class com.meterware.httpunit.TableRow
-
get the Attribute with the given name - by delegating to NodeUtils
- getAttribute(String) - Method in class com.meterware.httpunit.WebApplet
-
get the Attribute with the given name - by delegating to NodeUtils
- getAttribute(String) - Method in class com.meterware.httpunit.WebList
-
get the Attribute with the given name - by delegating to NodeUtils
- getAttribute(String) - Method in class com.meterware.httpunit.WebTable
-
get the Attribute with the given name - by delegating to NodeUtils
- getAttribute(String) - Method in class com.meterware.httpunit.FormControl.Scriptable
-
get the content of the given attribute
- getAttribute(String) - Method in class com.meterware.httpunit.WebForm.Scriptable
-
get the content of the given attribute
- getAttribute(String) - Method in class com.meterware.httpunit.WebImage.Scriptable
-
get the content of the given attribute
- getAttribute(String) - Method in class com.meterware.httpunit.WebLink.Scriptable
-
get the content of the given attribute
- getAttribute(String) - Method in class com.meterware.httpunit.WebRequestSource
-
get the attribute value for the given name
- getAttribute(String) - Method in class com.meterware.servletunit.ServletUnitServletContext
-
Returns the servlet container attribute with the given name, or null if there is no attribute by that name.
- getAttribute(String, String) - Method in class com.meterware.httpunit.Button
- getAttribute(String, String) - Method in class com.meterware.httpunit.FormControl
- getAttribute(String, String) - Method in class com.meterware.httpunit.RadioButtonFormControl
- getAttribute(String, String) - Method in class com.meterware.httpunit.RadioGroupFormControl
- getAttribute(String, String) - Method in class com.meterware.httpunit.ResetButton
- getAttribute(String, String) - Method in class com.meterware.httpunit.SubmitButton
- getAttribute(String, String) - Method in class com.meterware.httpunit.TableRow
- getAttribute(String, String) - Method in class com.meterware.httpunit.WebApplet
- getAttribute(String, String) - Method in class com.meterware.httpunit.WebList
- getAttribute(String, String) - Method in class com.meterware.httpunit.WebTable
- getAttributeNames() - Method in class com.meterware.servletunit.ServletUnitServletContext
- getAttributeValue(Node, String, int) - Method in class com.meterware.httpunit.BlockElement
- getAttributeValue(Node, String, int) - Static method in class com.meterware.httpunit.NodeUtils
-
get the attribute with the given name from the given node as an int value
- getAuthenticationParameter(String) - Method in exception class com.meterware.httpunit.AuthorizationRequiredException
-
Returns the named authentication parameter.
- getAuthenticationScheme() - Method in exception 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();
- getAvailableScreenWidth() - Method in class com.meterware.httpunit.ClientProperties
- getAvailHeight() - 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
- getButtons() - Method in class com.meterware.httpunit.WebForm
-
Returns an array containing all of the buttons defined for this form.
- getButtonWithID(String) - Method in class com.meterware.httpunit.WebForm
-
Convenience method which returns the button with the specified ID.
- getCause() - Method in exception class com.meterware.httpunit.HttpException
-
get the cause (if any)
- 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.
- getClassLoader() - Method in class com.meterware.servletunit.ServletUnitServletContext
- 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.Button
- getClassName() - Method in class com.meterware.httpunit.FormControl
- getClassName() - Method in class com.meterware.httpunit.RadioButtonFormControl
- getClassName() - Method in class com.meterware.httpunit.RadioGroupFormControl
- getClassName() - Method in class com.meterware.httpunit.ResetButton
- getClassName() - Method in class com.meterware.httpunit.SubmitButton
- getClassName() - Method in class com.meterware.httpunit.TableRow
- getClassName() - Method in class com.meterware.httpunit.WebApplet
- getClassName() - Method in class com.meterware.httpunit.WebList
- getClassName() - Method in class com.meterware.httpunit.WebTable
- 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.WebResponse
-
getter for the WebClient
- 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.MessageBodyWebRequest.InputStreamMessageBody
-
Returns the content type of this message body.
- 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.
- getContext(String) - Method in class com.meterware.servletunit.ServletUnitServletContext
-
Returns a ServletContext object that corresponds to a specified URL on the server.
- getContextParameter(String) - Method in class com.meterware.servletunit.ServletRunner
-
Returns the value of the named context parameter found in the application definition.
- getContextPath() - Method in class com.meterware.servletunit.ServletUnitServletContext
- getControl() - Method in class com.meterware.httpunit.FormParameter
-
get the control for this form Parameter (assuming it has only one as for a text control
- getControls() - Method in class com.meterware.httpunit.FormParameter
-
get the controls for this form Parameter
- getControlWithID(String) - Method in class com.meterware.httpunit.WebForm
-
Returns the form control which is part of this form with the specified ID.
- 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.
- getCookieDetails(String) - Method in class com.meterware.httpunit.WebClient
-
Returns an object containing the details of the named 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.
- getCookieJar() - Method in class com.meterware.httpunit.WebClient
-
Deprecated.- use with care - was not public in the past
- getCookieNames() - Method in class com.meterware.httpunit.cookies.CookieJar
-
Returns the name of all the active cookies in this cookie jar.
- getCookieNames() - Method in class com.meterware.httpunit.WebClient
-
Returns the name of all the active cookies which will be sent to the server.
- getCookies() - Method in class com.meterware.httpunit.cookies.CookieJar
-
Returns a collection containing all of the cookies in this jar.
- getCookieValue(String) - Method in class com.meterware.httpunit.cookies.CookieJar
-
Returns the value of the specified cookie.
- getCookieValue(String) - Method in class com.meterware.httpunit.WebClient
-
Returns the value of the specified cookie.
- 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.
- 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.
- getDefaultSessionTrackingModes() - Method in class com.meterware.servletunit.ServletUnitServletContext
- getDelegates(HTMLElement[]) - Method in class com.meterware.httpunit.scripting.ScriptableDelegate
- getDestination() - Method in class com.meterware.httpunit.WebRequestSource
- getDisplayedOptions() - Method in class com.meterware.httpunit.RadioButtonFormControl
- getDisplayedOptions() - Method in class com.meterware.httpunit.FormControl
-
Returns the list of values displayed by this control, if any.
- getDisplayedOptions() - Method in class com.meterware.httpunit.RadioGroupFormControl
-
Returns the options displayed for this radio button group.
- getDocument() - Method in class com.meterware.httpunit.WebResponse.Scriptable
- 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.ParsedHTML
-
Returns a copy of the domain object model associated with this page.
- getDOM() - Method in class com.meterware.httpunit.WebResponse
-
Returns a copy of the domain object model tree associated with this response.
- getDomain() - Method in class com.meterware.httpunit.cookies.Cookie
-
Returns the domain to which this cookie may be sent.
- getDOMSubtree() - Method in class com.meterware.httpunit.WebRequestSource
-
Returns a copy of the domain object model subtree associated with this entity.
- getEffectiveMajorVersion() - Method in class com.meterware.servletunit.ServletUnitServletContext
- getEffectiveMinorVersion() - Method in class com.meterware.servletunit.ServletUnitServletContext
- getEffectiveSessionTrackingModes() - Method in class com.meterware.servletunit.ServletUnitServletContext
- 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.ParsedHTML
-
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.
- 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
- getElementsByTagName(String) - Method in class com.meterware.httpunit.WebResponse
-
return the HTMLElements with the specified tag name
- 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.ParsedHTML
-
Returns the HTML elements with an attribute with the specified name and 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.ParsedHTML
-
Returns the HTML elements with the specified name.
- getElementsWithName(String) - Method in class com.meterware.httpunit.WebResponse
-
Returns the HTMLElements found in this segment with the specified name.
- 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.ParsedHTML
-
Returns the HTMLElement with the specified ID.
- getElementWithID(String) - Method in class com.meterware.httpunit.WebResponse
-
Returns the HTMLElement with the specified ID.
- getEmptyParameterValue() - Method in class com.meterware.httpunit.WebImage
- getEmptyParameterValue() - Method in class com.meterware.httpunit.WebLink
- 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.
- getExpiredTime() - Method in class com.meterware.httpunit.cookies.Cookie
- 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.
- getFilterRegistration(String) - Method in class com.meterware.servletunit.ServletUnitServletContext
- getFilterRegistrations() - Method in class com.meterware.servletunit.ServletUnitServletContext
- 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.ParsedHTML
-
Returns the first link 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.ParsedHTML
-
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.ParsedHTML
-
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.ParsedHTML
-
Returns the first text block found in the page 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.
- getForceLowerCase() - Static method in class com.meterware.httpunit.parsing.HTMLParserFactory
-
Return true if the current parser will support forcing the tags and attributes to lower case
- getForceUpperCase() - Static method in class com.meterware.httpunit.parsing.HTMLParserFactory
-
Return true if the current parser will support forcing the tags and attributes to upper case
- getForm() - Method in class com.meterware.httpunit.FormControl
- 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.ParsedHTML
-
Returns the forms found in the page 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.
- 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.ParsedHTML
-
Returns the form found in the page 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.ParsedHTML
-
Returns the form found in the page with the specified name.
- getFormWithName(String) - Method in class com.meterware.httpunit.WebResponse
-
Returns the form found in the page with the specified name.
- 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(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.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.ParsedHTML
-
Returns the frames found in the page in the order in which they appear.
- 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.
- 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(String) - Method in interface com.meterware.httpunit.cookies.CookieSource
-
Returns the values for the specified header field.
- getHeaderFields(URL) - Method in class com.meterware.httpunit.WebClient
-
Returns the value of all current header fields.
- 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
- 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.
- getHttpsProviderClass() - Static method in class com.meterware.httpunit.HttpsProtocolSupport
-
get the Https Provider Class if it's been set already return it - otherwise check with the Security package and take the first available provider if all fails take the default provider class
- getID() - Method in class com.meterware.httpunit.BlockElement
-
Returns the ID associated with this element.
- getID() - Method in class com.meterware.httpunit.FormControl.Scriptable
-
get my ID
- getID() - Method in interface com.meterware.httpunit.HTMLElement
-
Returns the ID associated with this element.
- getID() - Method in class com.meterware.httpunit.Button
- getID() - Method in class com.meterware.httpunit.FormControl
- getID() - Method in class com.meterware.httpunit.RadioButtonFormControl
- getID() - Method in class com.meterware.httpunit.RadioGroupFormControl
- getID() - Method in class com.meterware.httpunit.ResetButton
- getID() - Method in class com.meterware.httpunit.SubmitButton
- getID() - Method in class com.meterware.httpunit.TableRow
- getID() - Method in class com.meterware.httpunit.WebApplet
- getID() - Method in class com.meterware.httpunit.WebList
- getID() - Method in class com.meterware.httpunit.WebTable
- getID() - Method in interface com.meterware.httpunit.scripting.IdentifiedDelegate
- getID() - Method in class com.meterware.httpunit.WebRequestSource
-
Returns the ID associated with this request source.
- 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.ParsedHTML
-
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.
- 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.ParsedHTML
-
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.ParsedHTML
-
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.ParsedHTML
-
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.
- 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
- getInitParameter(String) - Method in class com.meterware.servletunit.ServletUnitServletContext
-
Returns a String containing the value of the named context-wide initialization parameter, or null if the parameter does not exist.
- getInitParameterNames() - Method in class com.meterware.servletunit.ServletUnitServletContext
-
Returns the names of the context's initialization parameters as an Enumeration of String objects, or an empty Enumeration if the context has no initialization parameters.
- 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
- getJavaScriptOptimizationLevel() - Static method in class com.meterware.httpunit.HttpUnitOptions
-
getter for Java Script optimization level
- getJspConfigDescriptor() - Method in class com.meterware.servletunit.ServletUnitServletContext
- getLabel() - Method in class com.meterware.httpunit.HttpHeader
- getLength() - Method in interface com.meterware.httpunit.scripting.SelectionOptions
-
Returns the length of this array
- getLink() - Method in class com.meterware.httpunit.WebImage
- 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.ParsedHTML
-
Returns the links 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 interface com.meterware.httpunit.HTMLSegment
-
Returns the first link which contains the specified text.
- getLinkWith(String) - Method in class com.meterware.httpunit.ParsedHTML
-
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.ParsedHTML
-
Returns the link found in the page with the specified ID.
- 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.ParsedHTML
-
Returns the link which contains the first 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.ParsedHTML
-
Returns the link found in the page with the specified name.
- getLinkWithName(String) - Method in class com.meterware.httpunit.WebResponse
-
Returns the link found in the page with the specified name.
- getLists() - Method in class com.meterware.httpunit.TextBlock
-
Returns any lists embedded in this text block.
- getListType() - Method in class com.meterware.httpunit.WebList
- getMainClassName() - Method in class com.meterware.httpunit.WebApplet
-
Returns the name of the applet main class.
- getMainWindow() - Method in class com.meterware.httpunit.WebClient
- getMajorVersion() - Method in class com.meterware.servletunit.ServletUnitServletContext
-
Returns the major version of the Java Servlet API that this servlet container supports.
- 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.ParsedHTML
-
Returns all links 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.ParsedHTML
-
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.ParsedHTML
-
Returns the tables in the response which match the specified predicate and value.
- getMatchingTables(HTMLElementPredicate, Object) - Method in class com.meterware.httpunit.WebResponse
-
Returns all tables found in the page matching the specified criteria.
- getMessage() - Method in exception class com.meterware.httpunit.AuthorizationRequiredException
- getMessage() - Method in exception class com.meterware.httpunit.FormParameter.UnusedParameterValueException
-
get the message for this exception
- getMessage() - Method in exception class com.meterware.httpunit.HttpException
-
get the Message for the http Exception
- getMessageBody() - Method in class com.meterware.httpunit.MessageBodyWebRequest
-
Subclasses may override this method to provide a message body for the request.
- getMessageBody() - Method in class com.meterware.httpunit.PostMethodWebRequest
- 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.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
- GetMethodWebRequest - Class in com.meterware.httpunit
-
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.
- getMimeType(String) - Method in class com.meterware.servletunit.ServletUnitServletContext
-
Returns the MIME type of the specified file, or null if the MIME type is not known.
- getMinorVersion() - Method in class com.meterware.servletunit.ServletUnitServletContext
-
Returns the minor version of the Servlet API that this servlet container supports.
- getName() - Method in class com.meterware.httpunit.BlockElement
-
Returns the name associated with this element.
- getName() - Method in class com.meterware.httpunit.cookies.Cookie
-
Returns the name of this cookie.
- getName() - Method in class com.meterware.httpunit.FormControl.Scriptable
-
get my Name
- getName() - Method in interface com.meterware.httpunit.HTMLElement
-
Returns the name associated with this element.
- getName() - Method in class com.meterware.httpunit.Button
- getName() - Method in class com.meterware.httpunit.FormControl
- getName() - Method in class com.meterware.httpunit.RadioButtonFormControl
- getName() - Method in class com.meterware.httpunit.RadioGroupFormControl
- getName() - Method in class com.meterware.httpunit.ResetButton
- getName() - Method in class com.meterware.httpunit.SubmitButton
- getName() - Method in class com.meterware.httpunit.TableRow
- getName() - Method in class com.meterware.httpunit.WebApplet
- getName() - Method in class com.meterware.httpunit.WebList
- getName() - Method in class com.meterware.httpunit.WebTable
- getName() - Method in interface com.meterware.httpunit.scripting.NamedDelegate
- getName() - Method in class com.meterware.httpunit.WebForm.Scriptable
- getName() - Method in class com.meterware.httpunit.WebImage
- getName() - Method in class com.meterware.httpunit.WebImage.Scriptable
- 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.
- getNamedDispatcher(String) - Method in class com.meterware.servletunit.ServletUnitServletContext
-
Returns a RequestDispatcher object that acts as a wrapper for the named servlet.
- 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.ParsedHTML
- getNextTextBlock(TextBlock) - Method in class com.meterware.httpunit.WebResponse
-
Returns the text block after the specified block, if any.
- getNode() - Method in class com.meterware.httpunit.BlockElement
- getNode() - Method in interface com.meterware.httpunit.HTMLElement
-
Returns the DOM node underlying this element.
- getNode() - Method in class com.meterware.httpunit.Button
- getNode() - Method in class com.meterware.httpunit.FormControl
- getNode() - Method in class com.meterware.httpunit.RadioButtonFormControl
- getNode() - Method in class com.meterware.httpunit.RadioGroupFormControl
- getNode() - Method in class com.meterware.httpunit.ResetButton
- getNode() - Method in class com.meterware.httpunit.SubmitButton
- getNode() - Method in class com.meterware.httpunit.TableRow
- getNode() - Method in class com.meterware.httpunit.WebApplet
- getNode() - Method in class com.meterware.httpunit.WebList
- getNode() - Method in class com.meterware.httpunit.WebTable
- getNode() - Method in class com.meterware.httpunit.WebRequestSource
- getNodeAttribute(Node, String) - Static method in class com.meterware.httpunit.NodeUtils
-
get the attribute with the given name from the given node
- getNodeAttribute(Node, String, String) - Static method in class com.meterware.httpunit.NodeUtils
-
get the attribute with the given name from the given node
- 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.
- getOpener() - Method in class com.meterware.httpunit.WebWindow
-
Returns the web response that contained the script which opened this window.
- getOpenWindow(String) - Method in class com.meterware.httpunit.WebClient
- getOpenWindows() - Method in class com.meterware.httpunit.WebClient
- getOptions(String) - Method in class com.meterware.httpunit.WebForm
-
Returns the displayed options defined for the specified parameter name.
- getOptionValues() - Method in class com.meterware.httpunit.RadioButtonFormControl
-
Returns the values permitted in this control.
- getOptionValues() - Method in class com.meterware.httpunit.FormControl
-
Returns the values permitted in this control.
- getOptionValues() - Method in class com.meterware.httpunit.RadioGroupFormControl
-
Returns the option values defined for this radio button group.
- getOptionValues(String) - Method in class com.meterware.httpunit.WebForm
-
Returns the option values defined for the specified parameter name.
- getOverrideContextType() - Method in class com.meterware.httpunit.ClientProperties
-
Returns the context type (if any) to use instead of the one specified by the server.
- 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.WebForm
-
get the form parameter with the given name
- 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.WebImage
-
Returns an array containing the names of any parameters defined as part of this link's URL.
- getParameterNames() - Method in class com.meterware.httpunit.WebLink
-
Returns an array containing the names of any parameters defined as part of this link's URL.
- 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.WebImage
-
Returns the multiple default values of the named parameter.
- getParameterValues(String) - Method in class com.meterware.httpunit.WebLink
-
Returns the multiple default values 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.BlockElement
- getParentDelegate() - Method in class com.meterware.httpunit.Button
- getParentDelegate() - Method in class com.meterware.httpunit.FormControl
- getParentDelegate() - Method in interface com.meterware.httpunit.HTMLElement
-
Returns the scriptable delegate which can provide the scriptable delegate for this element.
- 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.WebRequestSource
- 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
- getProperties() - Method in class com.meterware.httpunit.HttpHeader
- getProperty(String) - Method in class com.meterware.httpunit.HttpHeader
- 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.
- getQueryValue() - Method in class com.meterware.httpunit.RadioButtonFormControl
- getReader() - Method in class com.meterware.pseudoserver.PseudoServlet
-
Returns a reader for the body of the request.
- getRealPath(String) - Method in class com.meterware.servletunit.ServletUnitServletContext
-
Returns a String containing the real path for a given virtual path.
- 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
-
get the relative URL for a weblink change spaces to %20
- getRequest() - Method in class com.meterware.httpunit.WebImage
-
Creates and returns a web request which will simulate clicking on this link.
- getRequest() - Method in class com.meterware.httpunit.WebLink
-
Creates and returns a web request which will simulate clicking on this link.
- 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.
- 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(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(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.
- getRequestDispatcher(String) - Method in class com.meterware.servletunit.ServletUnitServletContext
-
Returns a RequestDispatcher object that acts as a wrapper for the resource located at the given path.
- 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.
- getResource(String) - Method in class com.meterware.servletunit.ServletUnitServletContext
-
Returns a URL to the resource that is mapped to a specified path.
- getResourceAsStream(String) - Method in class com.meterware.servletunit.ServletUnitServletContext
-
Returns the resource located at the named path as an InputStream object.
- getResourcePaths(String) - Method in class com.meterware.servletunit.ServletUnitServletContext
-
Returns a directory-like listing of all the paths to resources within the web application whose longest sub-path matches the supplied path argument.
- getResponse() - Method in interface com.meterware.servletunit.InvocationContext
-
Returns the response which the servlet or filter should modify during its operation.
- 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(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(WebRequest) - Method in class com.meterware.servletunit.ServletRunner
-
Returns the response from the specified servlet.
- getResponse(InvocationContext) - Method in class com.meterware.servletunit.ServletUnitClient
-
Updates this client and returns the response which would be displayed by the user agent.
- getResponse(String) - Method in class com.meterware.httpunit.WebClient
-
Submits a GET method request and returns a response.
- getResponse(String) - Method in class com.meterware.httpunit.WebWindow
-
Submits a GET method request and returns a response.
- getResponse(String) - Method in class com.meterware.pseudoserver.PseudoServlet
-
Returns a resource object as a result of a get request.
- getResponse(String) - Method in class com.meterware.servletunit.ServletRunner
-
Returns the response from the specified servlet using GET.
- getResponseCode() - Method in exception class com.meterware.httpunit.HttpException
-
get the response Code of this http Exception
- getResponseCode() - Method in class com.meterware.httpunit.WebResponse
-
Returns the response code associated with this response.
- getResponseMessage() - Method in exception class com.meterware.httpunit.HttpException
-
get the response Message of this http Exception
- getResponseMessage() - Method in class com.meterware.httpunit.WebResponse
-
Returns the response message associated with this response.
- getRowCount() - Method in class com.meterware.httpunit.WebTable
-
Returns the number of rows in the table.
- getRows() - Method in class com.meterware.httpunit.WebTable
-
Returns an array of rows for this table.
- getRowSpan() - Method in class com.meterware.httpunit.TableCell
-
Returns the number of rows spanned by this cell.
- getScriptableObject() - Method in class com.meterware.httpunit.WebForm
- getScriptableObject() - Method in class com.meterware.httpunit.WebResponse
-
get the scriptable object for this WebResponse
- getScriptEngine() - Method in class com.meterware.httpunit.scripting.ScriptableDelegate
- getScriptEngine(ScriptableDelegate) - Method in class com.meterware.httpunit.scripting.ScriptableDelegate
- getScriptEngineClassName() - Static method in class com.meterware.httpunit.HttpUnitOptions
- getScriptErrorMessages() - Static method in class com.meterware.httpunit.HttpUnitOptions
-
Returns the accumulated script error messages encountered.
- getScriptingEngine() - Static method in class com.meterware.httpunit.HttpUnitOptions
- getScriptingHandler() - Method in class com.meterware.httpunit.BlockElement
-
Returns the delegate which supports scripting this element.
- getScriptingHandler() - Method in interface com.meterware.httpunit.HTMLElement
-
Returns the delegate which supports scripting this element.
- getScriptingHandler() - Method in class com.meterware.httpunit.Button
-
Returns a scriptable object which can act as a proxy for this control.
- getScriptingHandler() - Method in class com.meterware.httpunit.FormControl
-
Returns a scriptable object which can act as a proxy for this control.
- getScriptingHandler() - Method in class com.meterware.httpunit.RadioButtonFormControl
-
Returns a scriptable object which can act as a proxy for this control.
- getScriptingHandler() - Method in class com.meterware.httpunit.RadioGroupFormControl
-
Returns a scriptable object which can act as a proxy for this control.
- getScriptingHandler() - Method in class com.meterware.httpunit.ResetButton
-
Returns a scriptable object which can act as a proxy for this control.
- getScriptingHandler() - Method in class com.meterware.httpunit.SubmitButton
-
Returns a scriptable object which can act as a proxy for this control.
- getScriptingHandler() - Method in class com.meterware.httpunit.TableRow
-
Returns a scriptable object which can act as a proxy for this control.
- getScriptingHandler() - Method in class com.meterware.httpunit.WebApplet
-
Returns a scriptable object which can act as a proxy for this control.
- getScriptingHandler() - Method in class com.meterware.httpunit.WebList
-
Returns a scriptable object which can act as a proxy for this control.
- getScriptingHandler() - Method in class com.meterware.httpunit.WebTable
-
Returns a scriptable object which can act as a proxy for this control.
- getScriptingHandler() - Method in interface com.meterware.httpunit.parsing.DocumentAdapter
-
Returns the Scriptable object associated with the document
- getScriptingHandler() - Method in class com.meterware.httpunit.WebRequestSource
-
Returns the scriptable delegate.
- getScriptingHandler() - Method in class com.meterware.httpunit.WebResponse
- getServer() - Method in class com.meterware.pseudoserver.HttpUserAgentTest
- getServerInfo() - Method in class com.meterware.servletunit.ServletUnitServletContext
-
Returns the name and version of the servlet container on which the servlet is running.
- getServlet() - Method in interface com.meterware.servletunit.InvocationContext
-
Returns the selected servlet, initialized to provide access to sessions and servlet context information.
- getServlet(String) - Method in class com.meterware.servletunit.ServletUnitServletContext
-
Deprecated.as of Servlet API 2.1
- getServletContextName() - Method in class com.meterware.servletunit.ServletUnitServletContext
-
Returns the name of this web application correponding to this ServletContext as specified in the deployment descriptor for this web application by the display-name element.
- getServletNames() - Method in class com.meterware.servletunit.ServletUnitServletContext
-
Deprecated.as of Servlet API 2.1
- getServletRegistration(String) - Method in class com.meterware.servletunit.ServletUnitServletContext
- getServletRegistrations() - Method in class com.meterware.servletunit.ServletUnitServletContext
- getServletResponse() - Method in interface com.meterware.servletunit.InvocationContext
-
Returns the final response from the servlet.
- getServlets() - Method in class com.meterware.servletunit.ServletUnitServletContext
-
Deprecated.as of Servlet API 2.0
- getSession(boolean) - Method in class com.meterware.servletunit.ServletRunner
-
Returns the session to be used by the next request.
- getSession(boolean) - Method in class com.meterware.servletunit.ServletUnitClient
-
Returns the session that would be used by the next request (if it asks for one).
- getSession(String, boolean) - Method in interface com.meterware.servletunit.InvocationContextFactory
-
Returns the session with the specified ID; if none exists or the session is invalid, will create a new session if the create flag is true.
- getSessionCookieConfig() - Method in class com.meterware.servletunit.ServletUnitServletContext
- getSocketReleaseWaitTime() - Static method in class com.meterware.pseudoserver.PseudoServer
-
Returns the amount of time the pseudo server will wait for a server socket to be released (in msec) before allocating a new one.
- getSource() - Method in class com.meterware.httpunit.WebImage
- getSubframeContents(String) - Method in class com.meterware.httpunit.WebResponse
-
Returns the contents of the specified subframe of this frameset response.
- getSubmitButton(String) - Method in class com.meterware.httpunit.WebForm
-
Returns the submit button defined in this form with the specified name.
- getSubmitButton(String, String) - Method in class com.meterware.httpunit.WebForm
-
Returns the submit button defined in this form with the specified name and value.
- getSubmitButtons() - Method in class com.meterware.httpunit.WebForm
-
Returns an array containing the submit buttons defined for this form.
- getSubmitButtonWithID(String) - Method in class com.meterware.httpunit.WebForm
-
Returns the submit button defined in this form with the specified ID.
- getSummary() - Method in class com.meterware.httpunit.WebTable
-
Returns the summary attribute associated with this table.
- getTableCell(int, int) - Method in class com.meterware.httpunit.WebTable
-
Returns the contents of the specified table cell as text.
- getTableCellWithID(String) - Method in class com.meterware.httpunit.WebTable
-
Returns the contents of the specified table cell with a given ID
- getTables() - Method in interface com.meterware.httpunit.HTMLSegment
-
Returns the top-level tables found in this HTML segment in the order in which they appear.
- getTables() - Method in class com.meterware.httpunit.ParsedHTML
-
Returns the top-level tables found in the page in the order in which they appear.
- 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 interface com.meterware.httpunit.HTMLSegment
-
Returns the first table in this HTML segment which has the specified text as the full text of its first non-blank row and non-blank column.
- getTableStartingWith(String) - Method in class com.meterware.httpunit.ParsedHTML
-
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.
- 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 interface com.meterware.httpunit.HTMLSegment
-
Returns the first table in this HTML segment which has the specified text as a prefix of the text in its first non-blank row and non-blank column.
- getTableStartingWithPrefix(String) - Method in class com.meterware.httpunit.ParsedHTML
-
Returns the first table in the response which has the specified text as a prefix of the text in 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.
- getTableWithID(String) - Method in interface com.meterware.httpunit.HTMLSegment
-
Returns the first table in this HTML segment which has the specified text as its ID attribute.
- getTableWithID(String) - Method in class com.meterware.httpunit.ParsedHTML
-
Returns the first table in the response which has the specified text as its ID attribute.
- getTableWithID(String) - Method in class com.meterware.httpunit.WebResponse
-
Returns the first table in the response which has the specified text as its ID attribute.
- getTableWithSummary(String) - Method in interface com.meterware.httpunit.HTMLSegment
-
Returns the first table in this HTML segment which has the specified text as its summary attribute.
- getTableWithSummary(String) - Method in class com.meterware.httpunit.ParsedHTML
-
Returns the first table in the response which has the specified text as its summary attribute.
- getTableWithSummary(String) - Method in class com.meterware.httpunit.WebResponse
-
Returns the first table in the response which has the specified text as its summary attribute.
- getTagName() - Method in class com.meterware.httpunit.BlockElement
-
Returns the tag for this block.
- getTagName() - Method in interface com.meterware.httpunit.HTMLElement
-
Returns the tag name of this node.
- getTagName() - Method in class com.meterware.httpunit.Button
- getTagName() - Method in class com.meterware.httpunit.FormControl
- getTagName() - Method in class com.meterware.httpunit.RadioButtonFormControl
- getTagName() - Method in class com.meterware.httpunit.RadioGroupFormControl
- getTagName() - Method in class com.meterware.httpunit.ResetButton
- getTagName() - Method in class com.meterware.httpunit.SubmitButton
- getTagName() - Method in class com.meterware.httpunit.TableRow
- getTagName() - Method in class com.meterware.httpunit.WebApplet
- getTagName() - Method in class com.meterware.httpunit.WebList
- getTagName() - Method in class com.meterware.httpunit.WebTable
- getTagName() - Method in class com.meterware.httpunit.WebRequestSource
- getTarget() - Method in class com.meterware.httpunit.WebRequest
-
Returns the target for this web request.
- getTarget() - Method in class com.meterware.httpunit.WebRequestSource
-
Returns the target for this request source.
- getText() - Method in class com.meterware.httpunit.BlockElement
-
Returns the text value of this block.
- getText() - Method in interface com.meterware.httpunit.HTMLElement
-
Returns the contents of this element, converted to a string.
- getText() - Method in class com.meterware.httpunit.Button
-
Returns the text value of this block.
- getText() - Method in class com.meterware.httpunit.FormControl
-
Returns the text value of this block.
- getText() - Method in class com.meterware.httpunit.RadioButtonFormControl
-
Returns the text value of this block.
- getText() - Method in class com.meterware.httpunit.RadioGroupFormControl
-
Returns the text value of this block.
- getText() - Method in class com.meterware.httpunit.ResetButton
-
Returns the text value of this block.
- getText() - Method in class com.meterware.httpunit.SubmitButton
-
Returns the text value of this block.
- getText() - Method in class com.meterware.httpunit.TableRow
-
Returns the text value of this block.
- getText() - Method in class com.meterware.httpunit.WebApplet
-
Returns the text value of this block.
- getText() - Method in class com.meterware.httpunit.WebList
-
Returns the text value of this block.
- getText() - Method in class com.meterware.httpunit.WebTable
-
Returns the text value of this block.
- getText() - Method in interface com.meterware.httpunit.scripting.SelectionOption
- getText() - Method in class com.meterware.httpunit.WebLink
-
Returns the text value of this link.
- getText() - Method in class com.meterware.httpunit.WebRequestSource
-
Returns the text value of this block.
- getText() - Method in class com.meterware.httpunit.WebResponse
-
Returns the text of the response (excluding headers) as a string.
- getTextBlocks() - Method in interface com.meterware.httpunit.HTMLSegment
-
Returns the top-level block elements found in the page in the order in which they appear.
- getTextBlocks() - Method in class com.meterware.httpunit.ParsedHTML
-
Returns the top-level block elements found in the page in the order in which they appear.
- getTextBlocks() - Method in class com.meterware.httpunit.WebResponse
-
Returns an array of text blocks found in the page.
- getTitle() - Method in class com.meterware.httpunit.BlockElement
-
Returns the title associated with this element.
- getTitle() - Method in interface com.meterware.httpunit.HTMLElement
-
Returns the title associated with this element.
- getTitle() - Method in class com.meterware.httpunit.Button
- getTitle() - Method in class com.meterware.httpunit.FormControl
- getTitle() - Method in class com.meterware.httpunit.RadioButtonFormControl
- getTitle() - Method in class com.meterware.httpunit.RadioGroupFormControl
- getTitle() - Method in class com.meterware.httpunit.ResetButton
- getTitle() - Method in class com.meterware.httpunit.SubmitButton
- getTitle() - Method in class com.meterware.httpunit.TableRow
- getTitle() - Method in class com.meterware.httpunit.WebApplet
- getTitle() - Method in class com.meterware.httpunit.WebList
- getTitle() - Method in class com.meterware.httpunit.WebTable
- getTitle() - Method in class com.meterware.httpunit.HTMLPage
-
Returns the title of the page.
- getTitle() - Method in class com.meterware.httpunit.HTMLPage.Scriptable
- getTitle() - Method in class com.meterware.httpunit.WebRequestSource
-
Returns the title associated with this request source.
- getTitle() - Method in class com.meterware.httpunit.WebResponse
-
Returns the title of the page.
- getType() - Method in class com.meterware.httpunit.Button
- getType() - Method in class com.meterware.httpunit.FormControl
-
Return the type of the control, as seen from JavaScript.
- getType() - Method in class com.meterware.httpunit.RadioButtonFormControl
- getType() - Method in class com.meterware.httpunit.RadioGroupFormControl
- getType() - Method in class com.meterware.httpunit.ResetButton
- getType() - Method in class com.meterware.httpunit.SubmitButton
- getURI() - Method in class com.meterware.pseudoserver.HttpRequest
-
Returns the URI specified in the message header for this request.
- getURL() - Method in interface com.meterware.httpunit.cookies.CookieSource
-
Returns the URL which invoked this response.
- getURL() - Method in exception class com.meterware.httpunit.RecursiveRedirectionException
-
Returns the URL that caused this exception to be thrown.
- getURL() - Method in class com.meterware.httpunit.WebRequest
-
Returns the final URL associated with this web request.
- getURL() - Method in class com.meterware.httpunit.WebResponse
-
Returns the URL which invoked this response.
- getURL() - Method in class com.meterware.httpunit.WebResponse.Scriptable
- getURLBase() - Method in class com.meterware.httpunit.WebRequest
- getURLString() - Method in class com.meterware.httpunit.WebLink
-
Returns the URL referenced by this link.
- getURLString() - Method in class com.meterware.httpunit.WebRequest
- getUserAgent() - Method in class com.meterware.httpunit.ClientProperties
-
Returns the user agent identification.
- getUserAgent() - Method in class com.meterware.httpunit.WebClient
-
Deprecated.as of 1.4.6. Use ClientProperties#getUserAgent instead.
- getUserResponse(String, String) - Method in class com.meterware.httpunit.DialogAdapter
-
Invoked when the user agent needs to display a generic dialog and obtain a user response.
- getUserResponse(String, String) - Method in interface com.meterware.httpunit.DialogResponder
-
Invoked when the user agent needs to display a generic dialog and obtain a user response.
- getUserResponse(String, String) - Method in class com.meterware.httpunit.WebResponse.Scriptable
- getValidContentTypes() - Static method in class com.meterware.httpunit.WebResponse
-
allow access to the valid content Types
- getValue() - Method in class com.meterware.httpunit.Button
-
Returns the value associated with this button.
- getValue() - Method in class com.meterware.httpunit.cookies.Cookie
-
Returns the value associated with this cookie.
- getValue() - Method in interface com.meterware.httpunit.scripting.SelectionOption
- getValueAttribute() - Method in class com.meterware.httpunit.RadioButtonFormControl
- getValueAttribute() - Method in class com.meterware.httpunit.FormControl
-
Returns the value of this control in the form.
- getValues() - Method in class com.meterware.httpunit.RadioButtonFormControl
-
Returns the current value(s) associated with this control.
- getValues() - Method in class com.meterware.httpunit.Button
- getValues() - Method in class com.meterware.httpunit.FormControl
-
Returns the current value(s) associated with this control.
- getValues() - Method in class com.meterware.httpunit.RadioGroupFormControl
-
get the values for the buttons
- getValues() - Method in class com.meterware.httpunit.SubmitButton
-
Returns the current value(s) associated with this control.
- getVirtualServerName() - Method in class com.meterware.servletunit.ServletUnitServletContext
- getWaitThreshhold() - Static method in class com.meterware.pseudoserver.PseudoServer
-
Returns the number of server sockets that must have been allocated and not returned before waiting for one to be returned.
- getWidth() - Method in class com.meterware.httpunit.WebApplet
-
Returns the width of the panel in which the applet will be drawn.
H
- handleEvent(String) - Method in class com.meterware.httpunit.BlockElement
- handleEvent(String) - Method in class com.meterware.httpunit.Button
- handleEvent(String) - Method in class com.meterware.httpunit.FormControl
- handleEvent(String) - Method in class com.meterware.httpunit.RadioButtonFormControl
- handleEvent(String) - Method in class com.meterware.httpunit.RadioGroupFormControl
- handleEvent(String) - Method in class com.meterware.httpunit.ResetButton
- handleEvent(String) - Method in class com.meterware.httpunit.SubmitButton
- handleEvent(String) - Method in class com.meterware.httpunit.TableRow
- handleEvent(String) - Method in class com.meterware.httpunit.WebApplet
- handleEvent(String) - Method in class com.meterware.httpunit.WebList
- handleEvent(String) - Method in class com.meterware.httpunit.WebTable
- handleEvent(String) - Method in class com.meterware.httpunit.FormControl.Scriptable
- handleEvent(String) - Method in class com.meterware.httpunit.WebForm.Scriptable
- handleEvent(String) - Method in class com.meterware.httpunit.WebImage.Scriptable
- handleEvent(String) - Method in class com.meterware.httpunit.WebLink.Scriptable
- handleEvent(String) - Method in class com.meterware.httpunit.scripting.ScriptableDelegate
-
Executes the event Handler script for the specified event (such as onchange, onmousedown, onclick, onmouseup) if it is defined.
- handleEvent(String) - Method in interface com.meterware.httpunit.scripting.ScriptingEventHandler
-
handle the event with the given name by getting the attribute and then executing the eventScript for it
- handleEvent(String) - Method in class com.meterware.httpunit.WebRequestSource
- handleException(Throwable) - Static method in class com.meterware.httpunit.HttpUnitUtils
-
handle Exceptions and thowables
- hasFrame(String) - Method in class com.meterware.httpunit.WebWindow
-
Returns true if the specified frame name is defined in this window.
- hashCode() - Method in class com.meterware.httpunit.BlockElement
- hashCode() - Method in class com.meterware.httpunit.cookies.Cookie
- hashCode() - Method in class com.meterware.httpunit.SubmitButton
- hasParameterNamed(String) - Method in class com.meterware.httpunit.WebForm
-
Returns true if a parameter with given name exists in this form.
- hasParameterStartingWithPrefix(String) - Method in class com.meterware.httpunit.WebForm
-
Returns true if a parameter starting with a given name exists,
- HeaderDictionary() - Constructor for class com.meterware.httpunit.WebClient.HeaderDictionary
- HeaderOnlyWebRequest - Class in com.meterware.httpunit
-
A web request which has no information in its message body.
- HeaderOnlyWebRequest(WebResponse, Element, URL, String, String) - Constructor for class com.meterware.httpunit.HeaderOnlyWebRequest
- HeaderOnlyWebRequest(String) - Constructor for class com.meterware.httpunit.HeaderOnlyWebRequest
- HeaderOnlyWebRequest(URL, String) - Constructor for class com.meterware.httpunit.HeaderOnlyWebRequest
- HeaderOnlyWebRequest(URL, String, FrameSelector, String) - Constructor for class com.meterware.httpunit.HeaderOnlyWebRequest
- HeaderOnlyWebRequest(URL, String, String) - Constructor for class com.meterware.httpunit.HeaderOnlyWebRequest
- HeadMethodWebRequest - Class in com.meterware.httpunit
-
A web request using the HEAD method.
- HeadMethodWebRequest(String) - Constructor for class com.meterware.httpunit.HeadMethodWebRequest
-
Creates a new head request from a complete URL string.
- HeadMethodWebRequest(URL, String) - Constructor for class com.meterware.httpunit.HeadMethodWebRequest
-
Creates a new head request using a relative URL and base.
- HIDDEN_TYPE - Static variable in class com.meterware.httpunit.FormControl
- HTMLElement - Interface in com.meterware.httpunit
-
An interface which defines the common properties for an HTML element, which can correspond to any HTML tag.
- HTMLElementPredicate - Interface in com.meterware.httpunit
-
An interface which can be used to define matching criteria for an HTML element.
- HtmlErrorListener - Interface in com.meterware.httpunit
-
Deprecated.as of 1.5.2, use HTMLParserListener
- HTMLPage - Class in com.meterware.httpunit
-
This class represents an HTML page returned from a request.
- HTMLPage.Scriptable - Class in com.meterware.httpunit
-
scriptable for HTML Page
- HTMLParser - Interface in com.meterware.httpunit.parsing
-
A front end to a DOM parser that can handle HTML.
- HTMLParserFactory - Class in com.meterware.httpunit.parsing
-
Factory for creating HTML parsers.
- HTMLParserFactory() - Constructor for class com.meterware.httpunit.parsing.HTMLParserFactory
- HTMLParserListener - Interface in com.meterware.httpunit.parsing
-
A listener for messages from the HTMLParser.
- HTMLSegment - Interface in com.meterware.httpunit
-
Represents the parse tree for a segment of HTML.
- HttpException - Exception Class in com.meterware.httpunit
-
This exception is thrown when an Http error (response code 4xx or 5xx) is detected.
- HttpException(int) - Constructor for exception class com.meterware.httpunit.HttpException
-
throw a http Exception with the given responseCode
- HttpException(int, String, URL) - Constructor for exception class com.meterware.httpunit.HttpException
-
throw a http Exception with the given responseCode and Message and base url
- HttpException(int, String, URL, Throwable) - Constructor for exception class com.meterware.httpunit.HttpException
-
throw a http Exception with the given responseCode and Message, base url and cause
- HttpException(int, Throwable) - Constructor for exception class com.meterware.httpunit.HttpException
-
throw a http Exception with the given responseCode and cause
- HttpHeader - Class in com.meterware.httpunit
- HttpHeader(String) - Constructor for class com.meterware.httpunit.HttpHeader
- HttpHeader(String, String) - Constructor for class com.meterware.httpunit.HttpHeader
- HttpInternalErrorException - Exception Class in com.meterware.httpunit
-
This exception is thrown when an internal error is found on the server.
- HttpInternalErrorException(URL) - Constructor for exception class com.meterware.httpunit.HttpInternalErrorException
-
construct an internal http error form an url
- HttpInternalErrorException(URL, Throwable) - Constructor for exception class com.meterware.httpunit.HttpInternalErrorException
-
construct an internal HTTP Error from a URL and a throwable
- HttpNotFoundException - Exception Class in com.meterware.httpunit
-
This exception is thrown when the desired URL is not found.
- HttpNotFoundException(String, URL) - Constructor for exception class com.meterware.httpunit.HttpNotFoundException
-
construct a HttpNotFoundException (404 Error)
- HttpNotFoundException(URL, Throwable) - Constructor for exception class com.meterware.httpunit.HttpNotFoundException
-
construct a HttpNotFoundException (404 Error)
- HttpRequest - Class in com.meterware.pseudoserver
-
Represents a single HTTP request, extracted from the input stream.
- HttpsProtocolSupport - Class in com.meterware.httpunit
-
Encapsulates support for the HTTPS protocol.
- HttpsProtocolSupport() - Constructor for class com.meterware.httpunit.HttpsProtocolSupport
- HttpUnitOptions - Class in com.meterware.httpunit
-
A collection of global options to control HttpUnit's behavior.
- HttpUnitOptions() - Constructor for class com.meterware.httpunit.HttpUnitOptions
- HttpUnitUtils - Class in com.meterware.httpunit
-
Utility code shared by httpunit and servletunit.
- HttpUnitUtils() - Constructor for class com.meterware.httpunit.HttpUnitUtils
- HttpUserAgentTest - Class in com.meterware.pseudoserver
-
A base class for test cases that use the pseudo server.
- HttpUserAgentTest(String) - Constructor for class com.meterware.pseudoserver.HttpUserAgentTest
I
- IBMJSSE_PROVIDER_CLASS - Static variable in class com.meterware.httpunit.HttpsProtocolSupport
- IBMSSL_PROTOCOL_HANDLER - Static variable in class com.meterware.httpunit.HttpsProtocolSupport
- IdentifiedDelegate - Interface in com.meterware.httpunit.scripting
- IllegalRequestParameterException - Exception Class in com.meterware.httpunit
-
This exception is thrown on an attempt to set a form parameter in a way not possible from a browser.
- IllegalRequestParameterException() - Constructor for exception class com.meterware.httpunit.IllegalRequestParameterException
- IMAGE_BUTTON_TYPE - Static variable in class com.meterware.httpunit.FormControl
- initialize(String, String, boolean, boolean) - Method in interface com.meterware.httpunit.scripting.SelectionOption
- Input - Interface in com.meterware.httpunit.scripting
-
An interface for scriptable delegates which represent form controls.
- InputStreamMessageBody(InputStream, String) - Constructor for class com.meterware.httpunit.MessageBodyWebRequest.InputStreamMessageBody
- Installation - Search tag in package com.meterware.httpunit
- Section
- InvocationContext - Interface in com.meterware.servletunit
-
An interface which represents the invocation of a servlet.
- InvocationContextFactory - Interface in com.meterware.servletunit
-
An interface for an object which acts as a factory of InvocationContexts
- isAcceptCookies() - Method in class com.meterware.httpunit.ClientProperties
-
Returns true if the client should accept and transmit cookies.
- isAcceptCookies() - Static method in class com.meterware.httpunit.HttpUnitOptions
-
Deprecated.as of 1.5.3, use ClientProperties#isAcceptCookies();
- isAcceptGzip() - Method in class com.meterware.httpunit.ClientProperties
-
Returns true if the client will accept GZIP encoding of responses.
- isAcceptGzip() - Static method in class com.meterware.httpunit.HttpUnitOptions
-
Deprecated.as of 1.5.3, use ClientProperties#isAcceptGzip();
- isAllowUnnamedImageButton() - Static method in class com.meterware.httpunit.SubmitButton
- isAutoRedirect() - Method in class com.meterware.httpunit.ClientProperties
-
Returns true if the client should automatically follow page redirect requests (status 3xx).
- isAutoRefresh() - Method in class com.meterware.httpunit.ClientProperties
-
Returns true if the client should automatically follow page refresh requests.
- isCheckContentLength() - Static method in class com.meterware.httpunit.HttpUnitOptions
-
Returns true if HttpUnit will throw an exception when a message is only partially received.
- isClosed() - Method in class com.meterware.httpunit.WebWindow
-
Returns true if this window has been closed.
- isDefaultSelected() - Method in interface com.meterware.httpunit.scripting.SelectionOption
- isDisabled() - Method in class com.meterware.httpunit.Button
-
Returns true if this button is disabled, meaning that it cannot be clicked.
- isDisabled() - Method in class com.meterware.httpunit.FormControl
-
Returns true if this control is disabled, meaning that it will not send a value to the server as part of a request.
- isDisabledParameter(String) - Method in class com.meterware.httpunit.WebForm
-
Returns true if the named parameter is disabled.
- isDomainMatchingStrict() - Static method in class com.meterware.httpunit.cookies.CookieProperties
-
Returns true (the default) if cookies should be rejected if they specify a domain which is not a suffix of the host domain or does not contain all of the dots in that host domain name (see RFC2965).
- isEclipse() - Static method in class com.meterware.httpunit.HttpUnitUtils
-
are we running in the Eclipse IDE?
- isEnabled() - Method in interface com.meterware.httpunit.scripting.ScriptingEngineFactory
-
Returns true if this engine is enabled.
- isEXCEPTION_DEBUG() - Static method in class com.meterware.httpunit.HttpUnitUtils
- isExclusive() - Method in class com.meterware.httpunit.RadioButtonFormControl
-
Returns true if only one control of this kind can have a value.
- isExpired() - Method in class com.meterware.httpunit.cookies.Cookie
-
check whether the cookie is expired
- isFake() - Method in class com.meterware.httpunit.SubmitButton
-
getter for the fake flag Returns true for synthetic submit buttons, created by HttpUnit in forms that contain no submit buttons, or used during
WebForm.submitNoButton()
call. - isFileParameter(String) - Method in class com.meterware.httpunit.WebForm
-
Returns true if the named parameter accepts files for upload.
- isFileParameter(String) - Method in class com.meterware.httpunit.WebRequest
-
Returns true if the specified parameter is a file field.
- isFilterActive() - Method in interface com.meterware.servletunit.InvocationContext
-
Returns true if the current context is a filter, rather than a servlet.
- isHidden() - Method in class com.meterware.httpunit.FormControl
-
Returns true if this control is hidden.
- isHiddenParameter() - Method in class com.meterware.httpunit.FormParameter
- isHiddenParameter(String) - Method in class com.meterware.httpunit.WebForm
-
Returns true if the named parameter is hidden.
- isHTML() - Method in class com.meterware.httpunit.WebResponse
-
Returns true if the response is HTML.
- isIframeSupported() - Method in class com.meterware.httpunit.ClientProperties
- isImageButton() - Method in class com.meterware.httpunit.SubmitButton
-
Returns true if this submit button is an image map.
- isLoggingHttpHeaders() - Static method in class com.meterware.httpunit.HttpUnitOptions
-
Returns true if HTTP headers are to be dumped to system output.
- isMimeEncoded() - Method in class com.meterware.httpunit.MessageBodyWebRequest
- isMimeEncoded() - Method in class com.meterware.httpunit.WebRequest
-
Returns true if this request is to be MIME-encoded.
- isMultiValued() - Method in class com.meterware.httpunit.FormControl
-
Returns true if a single control can have multiple values.
- isMultiValuedParameter(String) - Method in class com.meterware.httpunit.WebForm
-
Returns true if the named parameter accepts multiple values.
- isNodeAttributePresent(Node, String) - Static method in class com.meterware.httpunit.NodeUtils
-
check whether the given Attribute in the Node is Present
- isParserWarningsEnabled() - Static method in class com.meterware.httpunit.parsing.HTMLParserFactory
-
Returns true if parser warnings are enabled.
- isPathMatchingStrict() - Static method in class com.meterware.httpunit.cookies.CookieProperties
-
Returns true (the default) if cookies should be rejected if they specify a path which is not a prefix of the request path (see RFC2965).
- isPostIncludesCharset() - Static method in class com.meterware.httpunit.HttpUnitOptions
-
Returns true if POST requests should include the character set in the content-type header.
- isPreserveTagCase() - Static method in class com.meterware.httpunit.parsing.HTMLParserFactory
-
Returns true if the current parser will preserve the case of HTML tags and attributes.
- isReadOnly() - Method in class com.meterware.httpunit.FormControl
-
Returns true if this control is read-only.
- isReadOnlyParameter(String) - Method in class com.meterware.httpunit.WebForm
-
Returns true if the named parameter is read-only.
- isReturnHTMLDocument() - Static method in class com.meterware.httpunit.parsing.HTMLParserFactory
-
Returns true if the current parser will return an HTMLDocument object rather than a Document object.
- isScriptingEnabled() - Static method in class com.meterware.httpunit.HttpUnitOptions
- isSelected() - Method in interface com.meterware.httpunit.scripting.SelectionOption
- isSendReferer() - Method in class com.meterware.httpunit.ClientProperties
- isSubmitAsMime() - Method in class com.meterware.httpunit.WebForm
-
Returns true if this form is to be submitted using mime encoding (the default is URL encoding).
- isSupportedAttribute(String) - Method in class com.meterware.httpunit.BlockElement
-
Returns true if this element may have an attribute with the specified name.
- isSupportedAttribute(String) - Method in interface com.meterware.httpunit.HTMLElement
-
Returns true if this element may have an attribute with the specified name.
- isSupportedAttribute(String) - Method in class com.meterware.httpunit.Button
- isSupportedAttribute(String) - Method in class com.meterware.httpunit.FormControl
- isSupportedAttribute(String) - Method in class com.meterware.httpunit.RadioButtonFormControl
- isSupportedAttribute(String) - Method in class com.meterware.httpunit.RadioGroupFormControl
- isSupportedAttribute(String) - Method in class com.meterware.httpunit.ResetButton
- isSupportedAttribute(String) - Method in class com.meterware.httpunit.SubmitButton
- isSupportedAttribute(String) - Method in class com.meterware.httpunit.TableRow
- isSupportedAttribute(String) - Method in class com.meterware.httpunit.WebApplet
- isSupportedAttribute(String) - Method in class com.meterware.httpunit.WebList
- isSupportedAttribute(String) - Method in class com.meterware.httpunit.WebTable
- isSupportedAttribute(String) - Method in class com.meterware.httpunit.WebRequestSource
- isTextParameter(String) - Method in class com.meterware.httpunit.WebForm
-
Returns true if the named parameter accepts free-form text.
- isThrowExceptionsOnError() - Method in interface com.meterware.httpunit.scripting.ScriptingEngineFactory
-
Returns true if script errors cause exceptions to be thrown.
- isValidImageButton() - Method in class com.meterware.httpunit.SubmitButton
-
return whether this is a validImageButton
- isValueRequired() - Method in class com.meterware.httpunit.RadioButtonFormControl
- isWebLink(Node) - Static method in class com.meterware.httpunit.ParsedHTML
-
check whether the given node is a Web link by checking that the node is of type "A"
J
- JASPER_DESCRIPTOR - Static variable in class com.meterware.servletunit.ServletRunner
- JasperJSPServletDescriptor() - Constructor for class com.meterware.servletunit.ServletRunner.JasperJSPServletDescriptor
- JSPServletDescriptor - Interface in com.meterware.servletunit
-
Describes a servlet used to handle JSPs.
- JUnitServlet - Class in com.meterware.servletunit
-
A servlet which can run unit tests inside a servlet context.
- JUnitServlet() - Constructor for class com.meterware.servletunit.JUnitServlet
- JUnitServlet(InvocationContextFactory) - Constructor for class com.meterware.servletunit.JUnitServlet
L
- load() - Method in class com.meterware.httpunit.WebResponse.Scriptable
- load(WebResponse) - Method in interface com.meterware.httpunit.scripting.ScriptingEngineFactory
-
Runs the 'onload' event (if any) for the specified HTML web response.
- loadDestinationParameters() - Method in class com.meterware.httpunit.WebRequestSource
-
Extracts any parameters specified as part of the destination URL, calling addPresetParameter for each one in the order in which they are found.
- loadResponseText() - Method in class com.meterware.httpunit.WebResponse
- log(Exception, String) - Method in class com.meterware.servletunit.ServletUnitServletContext
-
Deprecated.use log( String, Throwable )
- log(String) - Method in class com.meterware.servletunit.ServletUnitServletContext
-
Writes the specified message to a servlet log file, usually an event log.
- log(String, Throwable) - Method in class com.meterware.servletunit.ServletUnitServletContext
-
Writes an explanatory message and a stack trace for a given Throwable exception to the servlet log file.
M
- mapToClasspath(String) - Method in class com.meterware.pseudoserver.HttpUserAgentTest
- mapToClasspath(String) - Method in class com.meterware.pseudoserver.PseudoServer
- MATCH_CLASS - Static variable in class com.meterware.httpunit.TextBlock
-
Predicate to match part or all of a block's class attribute.
- MATCH_CONTAINED_TEXT - Static variable in class com.meterware.httpunit.WebLink
-
Predicate to match part or all of a link's contained text.
- MATCH_FIRST_NONBLANK_CELL - Static variable in class com.meterware.httpunit.WebTable
-
Predicate to match the complete text of a table's first non-blank cell.
- MATCH_FIRST_NONBLANK_CELL_PREFIX - Static variable in class com.meterware.httpunit.WebTable
-
Predicate to match a prefix of a table's first non-blank cell.
- MATCH_ID - Static variable in class com.meterware.httpunit.WebLink
-
Predicate to match a link's ID.
- MATCH_ID - Static variable in class com.meterware.httpunit.WebTable
-
Predicate to match a table's ID.
- MATCH_NAME - Static variable in class com.meterware.httpunit.WebForm
-
Predicate to match a link's name.
- MATCH_NAME - Static variable in class com.meterware.httpunit.WebLink
-
Predicate to match a link's name.
- MATCH_SUMMARY - Static variable in class com.meterware.httpunit.WebTable
-
Predicate to match a table's summary attribute.
- MATCH_TAG - Static variable in class com.meterware.httpunit.TextBlock
-
Predicate to match the tag associated with a block (case insensitive).
- MATCH_TEXT - Static variable in class com.meterware.httpunit.WebLink
-
Predicate to match a link's text exactly.
- MATCH_URL_STRING - Static variable in class com.meterware.httpunit.WebLink
-
Predicate to match part or all of a link's URL string.
- matchesCriteria(Object, Object) - Method in interface com.meterware.httpunit.HTMLElementPredicate
- mayBeSentTo(URL) - Method in class com.meterware.httpunit.cookies.Cookie
-
may this cookie be sent to the given url?
- maySelectFile(String) - Method in class com.meterware.httpunit.PostMethodWebRequest
-
Returns true if selectFile may be called with this parameter.
- maySelectFile(String) - Method in class com.meterware.httpunit.WebRequest
-
Returns true if selectFile may be called with this parameter.
- MessageBodyWebRequest - Class in com.meterware.httpunit
-
A web request which contains a non-empty message body.
- MessageBodyWebRequest(WebForm) - Constructor for class com.meterware.httpunit.MessageBodyWebRequest
-
Constructs a web request for a form submitted via script.
- MessageBodyWebRequest(WebForm, ParameterHolder, SubmitButton, int, int) - Constructor for class com.meterware.httpunit.MessageBodyWebRequest
-
Constructs a web request for a form submitted via a button.
- MessageBodyWebRequest(String, boolean) - Constructor for class com.meterware.httpunit.MessageBodyWebRequest
-
Constructs a web request using a specific absolute url string.
- MessageBodyWebRequest(String, MessageBody) - Constructor for class com.meterware.httpunit.MessageBodyWebRequest
-
Constructs a web request using a specific absolute url string.
- MessageBodyWebRequest(URL, String, String, boolean) - Constructor for class com.meterware.httpunit.MessageBodyWebRequest
-
Constructs a web request with a specific target.
- MessageBodyWebRequest.InputStreamMessageBody - Class in com.meterware.httpunit
-
A method request message body read directly from an input stream.
- method - Variable in class com.meterware.httpunit.WebRequest
-
the HTTP method defined for this request e.g.
- mouseOver() - Method in class com.meterware.httpunit.WebLink
-
Simulates moving the mouse over the link.
- MULTIPLE_TYPE - Static variable in class com.meterware.httpunit.FormControl
N
- NamedDelegate - Interface in com.meterware.httpunit.scripting
- newClient() - Method in class com.meterware.servletunit.ServletRunner
-
Creates and returns a new web client that communicates with this servlet runner.
- newClient() - Method in class com.meterware.servletunit.ServletTestCase
-
Returns a client object which can access the servlet context in which this test is running.
- newClient(InvocationContextFactory) - Static method in class com.meterware.servletunit.ServletUnitClient
-
Creates and returns a new servlet unit client instance.
- newDelegate(String) - Static method in class com.meterware.httpunit.WebResponse
- newInvocation(WebRequest) - Method in class com.meterware.servletunit.ServletUnitClient
-
Creates and returns a new invocation context to test calling of servlet methods.
- newInvocation(ServletUnitClient, FrameSelector, WebRequest, Dictionary, byte[]) - Method in interface com.meterware.servletunit.InvocationContextFactory
-
Creates and returns a new invocation context to test calling of servlet methods.
- newInvocation(String) - Method in class com.meterware.servletunit.ServletUnitClient
-
Creates and returns a new invocation context from a GET request.
- newParser() - Static method in class com.meterware.httpunit.HttpUnitUtils
-
creates a parser using JAXP API.
- newResponse(WebRequest, FrameSelector) - Method in class com.meterware.httpunit.WebClient
-
Creates a web response object which represents the response to the specified web request.
- newResponse(WebRequest, FrameSelector) - Method in class com.meterware.httpunit.WebConversation
-
Creates a web response object which represents the response to the specified web request.
- newResponse(WebRequest, FrameSelector) - Method in class com.meterware.servletunit.ServletUnitClient
-
Creates a web response object which represents the response to the specified web request.
- newResponse(URLConnection) - Static method in class com.meterware.httpunit.WebResponse
-
Returns a web response built from a URL connection.
- newScriptable() - Method in class com.meterware.httpunit.BlockElement
- newScriptable() - Method in class com.meterware.httpunit.RadioButtonFormControl
- newScriptable() - Method in class com.meterware.httpunit.Button
- newScriptable() - Method in class com.meterware.httpunit.FormControl
-
Creates and returns a scriptable object for this control.
- newScriptable() - Method in interface com.meterware.httpunit.HTMLElement
- newScriptable() - Method in class com.meterware.httpunit.TableRow
- newScriptable() - Method in class com.meterware.httpunit.WebApplet
- newScriptable() - Method in class com.meterware.httpunit.WebForm
- newScriptable() - Method in class com.meterware.httpunit.WebImage
- newScriptable() - Method in class com.meterware.httpunit.WebLink
- newScriptable() - Method in class com.meterware.httpunit.WebList
- newScriptable() - Method in class com.meterware.httpunit.WebTable
- newScriptingEngine(ScriptableDelegate) - Method in interface com.meterware.httpunit.scripting.ScriptingEngine
-
Returns a new scripting engine for the specified delegate.
- newUnvalidatedRequest() - Method in class com.meterware.httpunit.WebForm
-
Creates and returns a web request based on the current state of this form.
- newUnvalidatedRequest(SubmitButton) - Method in class com.meterware.httpunit.WebForm
-
Creates and returns a web request which includes the specified button.
- newUnvalidatedRequest(SubmitButton, int, int) - Method in class com.meterware.httpunit.WebForm
-
Creates and returns a web request which includes the specified button and position.
- NodeUtils - Class in com.meterware.httpunit
-
Some common utilities for manipulating DOM nodes.
- NodeUtils() - Constructor for class com.meterware.httpunit.NodeUtils
- NULL_SCRIPT_ENGINE - Static variable in class com.meterware.httpunit.scripting.ScriptableDelegate
-
a dummy ScriptingEngine implementation
O
- open(String, String, String, boolean) - Method in class com.meterware.httpunit.WebResponse.Scriptable
- openNewWindow(String, String) - Method in class com.meterware.httpunit.WebResponse
-
open a a new Window with the given name and relative URL
- ORDERED_LIST - Static variable in class com.meterware.httpunit.WebList
-
Indicator of an ordered list (HTML tag <ol>)
- ORIGINAL_SCRIPTING_ENGINE_FACTORY - Static variable in class com.meterware.httpunit.HttpUnitOptions
P
- parse(InputStream) - Static method in class com.meterware.httpunit.HttpUnitUtils
-
parse the given inputStream with a new Parser
- parse(String, URL) - Method in class com.meterware.httpunit.HTMLPage
-
parse the given test with the given URL
- parse(URL, String, DocumentAdapter) - Method in interface com.meterware.httpunit.parsing.HTMLParser
-
Parses the specified text string as a Document, registering it in the HTMLPage.
- parse(InputSource) - Static method in class com.meterware.httpunit.HttpUnitUtils
-
parse the given inputSource with a new Parser
- parseContentTypeHeader(String) - Static method in class com.meterware.httpunit.HttpUnitUtils
-
Returns the content type and encoding as a pair of strings.
- ParsedHTML - Class in com.meterware.httpunit
- parseISToString(InputStream) - Static method in class com.meterware.httpunit.HttpUnitUtils
-
parse an InputStream to a string (for debugging)
- PASSWORD_TYPE - Static variable in class com.meterware.httpunit.FormControl
- PATH_NOT_PREFIX - Static variable in interface com.meterware.httpunit.cookies.CookieListener
-
Indicates that the source path does not begin with the path attribute.
- popNextAlert() - Method in class com.meterware.httpunit.WebClient
-
Returns the next javascript alert and removes it from the queue.
- popRequest() - Method in interface com.meterware.servletunit.InvocationContext
-
Removes the top request dispatcher or filter from this context.
- positionParameterName(String) - Method in class com.meterware.httpunit.SubmitButton
-
return the name of the positionParameter for this button (if this is an image Button)
- PostMethodWebRequest - Class in com.meterware.httpunit
-
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.
- PostMethodWebRequest(String, boolean) - Constructor for class com.meterware.httpunit.PostMethodWebRequest
-
Constructs a web request using a specific absolute url string, with optional mime encoding.
- PostMethodWebRequest(String, InputStream, String) - Constructor for class com.meterware.httpunit.PostMethodWebRequest
-
Constructs a web request using a specific absolute url string and input stream.
- PostMethodWebRequest(URL, String, String) - Constructor for class com.meterware.httpunit.PostMethodWebRequest
-
Constructs a web request with a specific target.
- PostMethodWebRequest(URL, String, String, boolean) - Constructor for class com.meterware.httpunit.PostMethodWebRequest
-
Constructs a web request with a specific target, with optional mime encoding.
- prompt(String, String) - Method in class com.meterware.httpunit.WebResponse
- PseudoServer - Class in com.meterware.pseudoserver
-
A basic simulated web-server for testing user agents without a web server.
- PseudoServer() - Constructor for class com.meterware.pseudoserver.PseudoServer
- PseudoServer(int) - Constructor for class com.meterware.pseudoserver.PseudoServer
- PseudoServlet - Class in com.meterware.pseudoserver
-
A basic simulated servlet for testing the HttpUnit library.
- PseudoServlet() - Constructor for class com.meterware.pseudoserver.PseudoServlet
- purgeEmptyCells() - Method in class com.meterware.httpunit.WebTable
-
Removes all rows and all columns from this table which have no visible text in them.
- pushFilter(ServletRequest, ServletResponse) - Method in interface com.meterware.servletunit.InvocationContext
-
Pushes the current filter onto the execution stack and switches to the next filter or the selected servlet.
- pushForwardRequest(RequestDispatcher, HttpServletRequest, HttpServletResponse) - Method in interface com.meterware.servletunit.InvocationContext
-
Adds a request dispatcher to this context to simulate a forward request.
- pushIncludeRequest(RequestDispatcher, HttpServletRequest, HttpServletResponse) - Method in interface com.meterware.servletunit.InvocationContext
-
Adds a request dispatcher to this context to simulate an include request.
- put(int, SelectionOption) - Method in interface com.meterware.httpunit.scripting.SelectionOptions
-
Specify the specified option
- put(Object, Object) - Method in class com.meterware.httpunit.WebClient.HeaderDictionary
- putCookie(String, String) - Method in class com.meterware.httpunit.cookies.CookieJar
-
Defines a cookie to be sent to the server on every request.
- putCookie(String, String) - Method in class com.meterware.httpunit.WebClient
-
Defines a cookie to be sent to the server on every request.
- PutMethodWebRequest - Class in com.meterware.httpunit
-
A web request using the PUT protocol.
- PutMethodWebRequest(String, InputStream, String) - Constructor for class com.meterware.httpunit.PutMethodWebRequest
-
Constructs a web request using a specific absolute url string and input stream.
- putSingleUseCookie(String, String, String, String) - Method in class com.meterware.httpunit.cookies.CookieJar
-
Define a non-global cookie.
R
- RADIO_BUTTON_TYPE - Static variable in class com.meterware.httpunit.FormControl
- RadioButtonFormControl - Class in com.meterware.httpunit
- RadioButtonFormControl(WebForm, HTMLInputElementImpl) - Constructor for class com.meterware.httpunit.RadioButtonFormControl
- RadioGroupFormControl - Class in com.meterware.httpunit
-
Radio button control
- RadioGroupFormControl(WebForm) - Constructor for class com.meterware.httpunit.RadioGroupFormControl
-
construct Radiobuttons for a form
- recordParameters(ParameterProcessor) - Method in class com.meterware.httpunit.WebImage
-
Iterates through the parameters in this holder, recording them in the supplied parameter processor.
- recordParameters(ParameterProcessor) - Method in class com.meterware.httpunit.WebLink
-
Iterates through the parameters in this holder, recording them in the supplied parameter processor.
- recordParameters(ParameterProcessor) - Method in class com.meterware.httpunit.WebForm
-
Iterates through the parameters in this holder, recording them in the supplied parameter processor.
- RecursiveRedirectionException - Exception Class in com.meterware.httpunit
-
Class used to indicate when a request to a resource resulted in an HTTP redirect response that lead to a recursive loop of redirections
- RecursiveRedirectionException(URL, String) - Constructor for exception class com.meterware.httpunit.RecursiveRedirectionException
-
Create a new
RecursiveRedirectionException
with the specified URL and detail message. - RecursiveRedirectionException(URL, String, Throwable) - Constructor for exception class com.meterware.httpunit.RecursiveRedirectionException
-
Create a new
RecursiveRedirectionException
with the specified URL, detail message and cause. - RecursiveRedirectionException(URL, Throwable) - Constructor for exception class com.meterware.httpunit.RecursiveRedirectionException
-
Create a new
RecursiveRedirectionException
with the specified URL and cause. - registerServlet(String, String) - Method in class com.meterware.servletunit.ServletRunner
-
Registers a servlet class to be run.
- registerServlet(String, String, Hashtable) - Method in class com.meterware.servletunit.ServletRunner
-
Registers a servlet class to be run, specifying initialization parameters.
- rememberEnableState() - Method in class com.meterware.httpunit.Button
-
remember wether the button was enabled
- removeAttribute(String) - Method in class com.meterware.httpunit.BlockElement
-
remove the attribute with the given name
- removeAttribute(String) - Method in interface com.meterware.httpunit.HTMLElement
-
Remove the attribute of this element with the specified name.
- removeAttribute(String) - Method in class com.meterware.httpunit.Button
-
remove the Attribute with the given name - by delegating to NodeUtils
- removeAttribute(String) - Method in class com.meterware.httpunit.FormControl
-
remove the Attribute with the given name - by delegating to NodeUtils
- removeAttribute(String) - Method in class com.meterware.httpunit.RadioButtonFormControl
-
remove the Attribute with the given name - by delegating to NodeUtils
- removeAttribute(String) - Method in class com.meterware.httpunit.RadioGroupFormControl
-
remove the Attribute with the given name - by delegating to NodeUtils
- removeAttribute(String) - Method in class com.meterware.httpunit.ResetButton
-
remove the Attribute with the given name - by delegating to NodeUtils
- removeAttribute(String) - Method in class com.meterware.httpunit.SubmitButton
-
remove the Attribute with the given name - by delegating to NodeUtils
- removeAttribute(String) - Method in class com.meterware.httpunit.TableRow
-
remove the Attribute with the given name - by delegating to NodeUtils
- removeAttribute(String) - Method in class com.meterware.httpunit.WebApplet
-
remove the Attribute with the given name - by delegating to NodeUtils
- removeAttribute(String) - Method in class com.meterware.httpunit.WebList
-
remove the Attribute with the given name - by delegating to NodeUtils
- removeAttribute(String) - Method in class com.meterware.httpunit.WebTable
-
remove the Attribute with the given name - by delegating to NodeUtils
- removeAttribute(String) - Method in class com.meterware.httpunit.FormControl.Scriptable
-
remove the given attribute
- removeAttribute(String) - Method in class com.meterware.httpunit.WebForm.Scriptable
-
remove the given attribute
- removeAttribute(String) - Method in class com.meterware.httpunit.WebImage.Scriptable
-
remove the given attribute
- removeAttribute(String) - Method in class com.meterware.httpunit.WebLink.Scriptable
-
remove the given attribute
- removeAttribute(String) - Method in interface com.meterware.httpunit.scripting.Input
-
remove the given attribute
- removeAttribute(String) - Method in class com.meterware.httpunit.WebRequestSource
-
remove the given attribute
- removeAttribute(String) - Method in class com.meterware.servletunit.ServletUnitServletContext
- removeClientListener(WebClientListener) - Method in class com.meterware.httpunit.WebClient
-
Removes a listener to watch for requests and responses.
- removeHtmlErrorListener(HTMLParserListener) - Static method in class com.meterware.httpunit.HttpUnitOptions
-
Deprecated.as of 1.5.2, use HTMLParserfactory#removeHTMLParserListener
- removeHTMLParserListener(HTMLParserListener) - Static method in class com.meterware.httpunit.parsing.HTMLParserFactory
-
Remove an HTML Parser listener.
- removeParameter(String) - Method in class com.meterware.httpunit.WebForm
-
Removes a parameter name from this collection.
- removeParameter(String) - Method in class com.meterware.httpunit.WebRequest
-
Removes a parameter from this web request.
- removeWindowListener(WebWindowListener) - Method in class com.meterware.httpunit.WebClient
-
Removes a listener to watch for window openings and closings.
- replaceText(String, String) - Method in class com.meterware.httpunit.HTMLPage.Scriptable
- replaceText(String, String) - Method in class com.meterware.httpunit.WebResponse
- reportCookieRejected(int, String, String) - Static method in class com.meterware.httpunit.cookies.CookieProperties
- requestSent(WebClient, WebRequest) - Method in interface com.meterware.httpunit.WebClientListener
-
Invoked when the web client sends a request.
- reset() - Static method in class com.meterware.httpunit.cookies.CookieProperties
- reset() - Method in class com.meterware.httpunit.FormControl
-
Resets this control to its initial value.
- reset() - Static method in class com.meterware.httpunit.HttpUnitOptions
-
Resets all options to their default values.
- reset() - Static method in class com.meterware.httpunit.parsing.HTMLParserFactory
-
Resets all settings to their default values.
- reset() - Method in class com.meterware.httpunit.RadioGroupFormControl
- reset() - Method in class com.meterware.httpunit.WebForm
-
Resets all parameters to their initial values.
- reset() - Method in class com.meterware.httpunit.WebForm.Scriptable
- RESET_BUTTON_TYPE - Static variable in class com.meterware.httpunit.FormControl
- ResetButton - Class in com.meterware.httpunit
-
Represents a form 'reset' button.
- resetDefaultCharacterSet() - Static method in class com.meterware.httpunit.HttpUnitOptions
-
Resets the default character set to the HTTP default encoding.
- resetDefaultContentType() - Static method in class com.meterware.httpunit.HttpUnitOptions
-
Resets the default content type to plain text.
- responseReceived(WebClient, WebResponse) - Method in interface com.meterware.httpunit.WebClientListener
-
Invoked when the web client receives a response.
- runScript(String, String) - Method in interface com.meterware.httpunit.parsing.ScriptHandler
- runScript(String, String) - Method in class com.meterware.httpunit.scripting.ScriptableDelegate
-
Executes the specified script, returning any intended replacement text.
- runScript(String, String) - Method in interface com.meterware.httpunit.scripting.ScriptingHandler
S
- Scriptable() - Constructor for class com.meterware.httpunit.FormControl.Scriptable
-
construct a Scriptable
- Scriptable() - Constructor for class com.meterware.httpunit.WebImage.Scriptable
- Scriptable() - Constructor for class com.meterware.httpunit.WebLink.Scriptable
- Scriptable() - Constructor for class com.meterware.httpunit.WebResponse.Scriptable
- ScriptableDelegate - Class in com.meterware.httpunit.scripting
-
An interface for objects which will be accessible via scripting.
- ScriptableDelegate() - Constructor for class com.meterware.httpunit.scripting.ScriptableDelegate
- ScriptException - Exception Class in com.meterware.httpunit
-
An exception thrown when there is a problem running a script.
- ScriptException(String) - Constructor for exception class com.meterware.httpunit.ScriptException
- ScriptHandler - Interface in com.meterware.httpunit.parsing
- ScriptingEngine - Interface in com.meterware.httpunit.scripting
- ScriptingEngineFactory - Interface in com.meterware.httpunit.scripting
- ScriptingEventHandler - Interface in com.meterware.httpunit.scripting
-
interface for every object that may have excutable events and their scripts attached
- ScriptingHandler - Interface in com.meterware.httpunit.scripting
- selectFile(String, File) - Method in class com.meterware.httpunit.WebRequest
-
Sets the file for a parameter upload in a web request.
- selectFile(String, File, String) - Method in class com.meterware.httpunit.WebRequest
-
Sets the file for a parameter upload in a web request.
- selectFile(String, String, InputStream, String) - Method in class com.meterware.httpunit.WebRequest
-
Sets the file for a parameter upload in a web request.
- SelectionOption - Interface in com.meterware.httpunit.scripting
- SelectionOptions - Interface in com.meterware.httpunit.scripting
-
Represents an array of Options
- sendOnChangeEvent() - Method in class com.meterware.httpunit.FormControl.Scriptable
-
allow firing a sendOnChangeEvent
- sendOnChangeEvent() - Method in class com.meterware.httpunit.FormControl
-
Deprecated.since 1.7 use doOnChangeEvent instead
- sendOnChangeEvent() - Method in interface com.meterware.httpunit.scripting.Input
-
fire a on change event
- sendOnClickEvent() - Method in class com.meterware.httpunit.FormControl
-
Deprecated.since 1.7 use doOnClickEvent instead
- sendOnMouseDownEvent() - Method in class com.meterware.httpunit.FormControl
-
Deprecated.since 1.7 use doOnMouseDownEvent instead
- sendOnMouseUpEvent() - Method in class com.meterware.httpunit.FormControl
-
Deprecated.since 1.7 use doOnMouseUpEvent instead
- sendRequest(WebRequest) - Method in class com.meterware.httpunit.WebClient
-
Submits a web request and returns a response.
- sendRequest(WebRequest) - Method in class com.meterware.httpunit.WebWindow
-
Submits a web request and returns a response.
- service() - Method in interface com.meterware.servletunit.InvocationContext
-
Invokes the current servlet or filter.
- ServletRunner - Class in com.meterware.servletunit
-
This class acts as a test environment for servlets.
- ServletRunner() - Constructor for class com.meterware.servletunit.ServletRunner
-
Default constructor, which defines no servlets.
- ServletRunner(File) - Constructor for class com.meterware.servletunit.ServletRunner
-
Constructor which expects a File object representing the web.xml for the application.
- ServletRunner(File, String) - Constructor for class com.meterware.servletunit.ServletRunner
-
Constructor which expects a File object representing the web.xml for the application and a context path under which to mount it.
- ServletRunner(InputStream) - Constructor for class com.meterware.servletunit.ServletRunner
-
Constructor which expects an input stream containing the web.xml for the application.
- ServletRunner(InputStream, String) - Constructor for class com.meterware.servletunit.ServletRunner
-
Constructor which expects an input stream containing the web.xml for the application.
- ServletRunner(String) - Constructor for class com.meterware.servletunit.ServletRunner
-
Deprecated.as of 1.6, use
ServletRunner(File)
- ServletRunner(String, String) - Constructor for class com.meterware.servletunit.ServletRunner
-
Deprecated.as of 1.6, use
ServletRunner(File,String)
- ServletRunner(String, EntityResolver) - Constructor for class com.meterware.servletunit.ServletRunner
-
constructor with entity Resolver as asked for in Bug report 1222269 by jim - jafergus
- ServletRunner.JasperJSPServletDescriptor - Class in com.meterware.servletunit
- ServletTestCase - Class in com.meterware.servletunit
-
A base class for test cases to be run via
JUnitServlet
. - ServletTestCase(String) - Constructor for class com.meterware.servletunit.ServletTestCase
- ServletUnitClient - Class in com.meterware.servletunit
-
A client for use with the servlet runner class, allowing the testing of servlets without an actual servlet container.
- ServletUnitServletContext - Class in com.meterware.servletunit
-
This class is a private implementation of the ServletContext class.
- set(String, Object) - Method in class com.meterware.httpunit.FormControl.Scriptable
-
set the given property to the given value
- set(String, Object) - Method in class com.meterware.httpunit.HTMLPage.Scriptable
-
Sets the value of the named property.
- set(String, Object) - Method in interface com.meterware.httpunit.scripting.Input
-
set the given property to the given value
- set(String, Object) - Method in class com.meterware.httpunit.scripting.ScriptableDelegate
-
Sets the value of the named property.
- set(String, Object) - Method in class com.meterware.httpunit.WebForm.Scriptable
-
Sets the value of the named property.
- set(String, Object) - Method in class com.meterware.httpunit.WebImage.Scriptable
- set(String, Object) - Method in class com.meterware.httpunit.WebLink.Scriptable
- set(String, Object) - Method in class com.meterware.httpunit.WebResponse.Scriptable
-
Sets the value of the named property.
- set_connectTimeout(int) - Method in class com.meterware.httpunit.WebConversation
-
set the connectionTimout -1 means it is not set (the default)
- set_readTimeout(int) - Method in class com.meterware.httpunit.WebConversation
- setAcceptCookies(boolean) - Method in class com.meterware.httpunit.ClientProperties
-
Specifies whether the client should accept and send cookies.
- setAcceptCookies(boolean) - Static method in class com.meterware.httpunit.HttpUnitOptions
-
Deprecated.as of 1.5.3, use ClientProperties#setAcceptCookies();
- setAcceptGzip(boolean) - Method in class com.meterware.httpunit.ClientProperties
-
Specifies whether the client will accept GZIP encoded responses.
- setAcceptGzip(boolean) - Static method in class com.meterware.httpunit.HttpUnitOptions
-
Deprecated.as of 1.5.3, use ClientProperties#setAcceptGzip();
- setAction(String) - Method in interface com.meterware.httpunit.scripting.FormScriptable
-
set the action
- setAction(String) - Method in class com.meterware.httpunit.WebForm.Scriptable
- setAllowUnnamedImageButton(boolean) - Static method in class com.meterware.httpunit.SubmitButton
- setApplicationCodeName(String) - Method in class com.meterware.httpunit.ClientProperties
- setApplicationID(String, String, String) - Method in class com.meterware.httpunit.ClientProperties
-
Specifies the ID information for a client.
- setApplicationName(String) - Method in class com.meterware.httpunit.ClientProperties
- setApplicationVersion(String) - Method in class com.meterware.httpunit.ClientProperties
- setAttribute(String, Object) - Method in class com.meterware.httpunit.BlockElement
-
set the attribute with the given name to the given value
- setAttribute(String, Object) - Method in class com.meterware.httpunit.FormControl.Scriptable
-
set the given attribute to the given value
- setAttribute(String, Object) - Method in interface com.meterware.httpunit.HTMLElement
-
Set the value of the attribute of this element with the specified name.
- setAttribute(String, Object) - Method in class com.meterware.httpunit.Button
-
set the Attribute with the given name - by delegating to NodeUtils
- setAttribute(String, Object) - Method in class com.meterware.httpunit.FormControl
-
set the Attribute with the given name - by delegating to NodeUtils
- setAttribute(String, Object) - Method in class com.meterware.httpunit.RadioButtonFormControl
-
set the Attribute with the given name - by delegating to NodeUtils
- setAttribute(String, Object) - Method in class com.meterware.httpunit.RadioGroupFormControl
-
set the Attribute with the given name - by delegating to NodeUtils
- setAttribute(String, Object) - Method in class com.meterware.httpunit.ResetButton
-
set the Attribute with the given name - by delegating to NodeUtils
- setAttribute(String, Object) - Method in class com.meterware.httpunit.SubmitButton
-
set the Attribute with the given name - by delegating to NodeUtils
- setAttribute(String, Object) - Method in class com.meterware.httpunit.TableRow
-
set the Attribute with the given name - by delegating to NodeUtils
- setAttribute(String, Object) - Method in class com.meterware.httpunit.WebApplet
-
set the Attribute with the given name - by delegating to NodeUtils
- setAttribute(String, Object) - Method in class com.meterware.httpunit.WebList
-
set the Attribute with the given name - by delegating to NodeUtils
- setAttribute(String, Object) - Method in class com.meterware.httpunit.WebTable
-
set the Attribute with the given name - by delegating to NodeUtils
- setAttribute(String, Object) - Method in class com.meterware.httpunit.WebForm.Scriptable
-
set the attribute with the given attribute name to the given value
- setAttribute(String, Object) - Method in class com.meterware.httpunit.WebImage.Scriptable
-
set the attribute with the given attribute name to the given value
- setAttribute(String, Object) - Method in class com.meterware.httpunit.WebLink.Scriptable
-
set the attribute with the given attribute name to the given value
- setAttribute(String, Object) - Method in interface com.meterware.httpunit.scripting.Input
-
set the given attribute to the given value
- setAttribute(String, Object) - Method in class com.meterware.httpunit.WebRequestSource
-
set the attribute with the given name to the given value
- setAttribute(String, Object) - Method in class com.meterware.servletunit.ServletUnitServletContext
- setAuthentication(String, String, String) - Method in class com.meterware.httpunit.WebClient
-
Specifies a username and password for on-demand authentication.
- setAuthorization(String, String) - Method in class com.meterware.httpunit.WebClient
-
Deprecated.as of 1.7. Use #setAuthentication for more accurate emulation of browser behavior.
- setAutoRedirect(boolean) - Method in class com.meterware.httpunit.ClientProperties
-
Determines whether the client should automatically follow page redirect requests (status 3xx).
- setAutoRedirect(boolean) - Static method in class com.meterware.httpunit.HttpUnitOptions
-
Deprecated.as of 1.5.3, use ClientProperties#setAutoRedirect();
- setAutoRefresh(boolean) - Method in class com.meterware.httpunit.ClientProperties
-
Specifies whether the client should automatically follow page refresh requests.
- setAutoRefresh(boolean) - Static method in class com.meterware.httpunit.HttpUnitOptions
-
Deprecated.as of 1.5.3, use ClientProperties#setAutoRefresh();
- setAvailableScreenSize(int, int) - Method in class com.meterware.httpunit.ClientProperties
-
A shortcut for setting both availableScreenWidth and availableScreenHeight at one time.
- setAvailableScreenWidth(int) - Method in class com.meterware.httpunit.ClientProperties
- setAvailHeight(int) - Method in class com.meterware.httpunit.ClientProperties
- setCharacterSet(String) - Method in class com.meterware.pseudoserver.WebResource
- setCharacterSet(String, String) - Method in class com.meterware.pseudoserver.PseudoServer
-
Specifies the character set encoding for a resource.
- setCheckbox(String, boolean) - Method in class com.meterware.httpunit.WebForm
-
Sets the value of the specified checkbox parameter.
- setCheckbox(String, String, boolean) - Method in class com.meterware.httpunit.WebForm
-
Sets the value of the specified checkbox parameter.
- setCheckContentLength(boolean) - Static method in class com.meterware.httpunit.HttpUnitOptions
-
Specifies whether HttpUnit should throw an exception when the content length of a message does not match its actual received length.
- setChecked(boolean) - Method in class com.meterware.httpunit.RadioButtonFormControl
- setContentTypeHeader(String) - Method in class com.meterware.httpunit.WebResponse
-
Overwrites the current value (if any) of the content type header.
- setContextParameter(String, Object) - Method in class com.meterware.servletunit.ServletRunner
-
Deprecated.- test case for this function deactivated wf 2007-12-30
- setCookie(String, String) - Method in class com.meterware.httpunit.HTMLPage.Scriptable
- setDebug(boolean) - Method in class com.meterware.pseudoserver.PseudoServer
- setDefaultCharacterSet(String) - Static method in class com.meterware.httpunit.HttpUnitOptions
-
Sets the default character set for pages which do not specify one and for requests created without HTML sources.
- setDefaultContentType(String) - Static method in class com.meterware.httpunit.HttpUnitOptions
-
Sets the default content type for pages which do not specify one.
- setDestination(String) - Method in class com.meterware.httpunit.WebImage
- setDestination(String) - Method in class com.meterware.httpunit.WebLink
- setDestination(String) - Method in class com.meterware.httpunit.WebRequestSource
- setDialogResponder(DialogResponder) - Method in class com.meterware.httpunit.WebClient
-
Specifies the object which will respond to all dialogs.
- setDnsListener(DNSListener) - Method in class com.meterware.httpunit.ClientProperties
-
Specifies a listener for DNS requests from the client.
- setDocument(HTMLDocument) - Method in interface com.meterware.httpunit.parsing.DocumentAdapter
-
Records the root (Document) node.
- setDomainMatchingStrict(boolean) - Static method in class com.meterware.httpunit.cookies.CookieProperties
-
Specifies whether strict domain name matching must be followed.
- setErrorResource(String, int, String) - Method in class com.meterware.pseudoserver.PseudoServer
-
Defines a resource which will result in an error message.
- setEXCEPTION_DEBUG(boolean) - Static method in class com.meterware.httpunit.HttpUnitUtils
- setExceptionsThrownOnErrorStatus(boolean) - Static method in class com.meterware.httpunit.HttpUnitOptions
-
If true, WebClient.getResponse throws an exception when it receives an error status.
- setExceptionsThrownOnErrorStatus(boolean) - Method in class com.meterware.httpunit.WebClient
-
Specifies whether an exception will be thrown when an error status (4xx or 5xx) is detected on a response.
- setExceptionsThrownOnScriptError(boolean) - Static method in class com.meterware.httpunit.HttpUnitOptions
-
Determines whether script errors result in exceptions or warning messages.
- setForceLowerCase(boolean) - Static method in class com.meterware.httpunit.parsing.HTMLParserFactory
-
Specifies whether the parser should force the case of HTML tags and attributes to lower case.
- setForceUpperCase(boolean) - Static method in class com.meterware.httpunit.parsing.HTMLParserFactory
-
Specifies whether the parser should force the case of HTML tags and attributes to be upper case.
- setHeaderField(String, String) - Method in class com.meterware.httpunit.WebClient
-
Sets the value for a header field to be sent with all requests.
- setHeaderField(String, String) - Method in class com.meterware.httpunit.WebRequest
-
Sets the value of a header to be sent with this request.
- setHTMLParser(HTMLParser) - Static method in class com.meterware.httpunit.parsing.HTMLParserFactory
-
Specifies the parser to use.
- setIframeSupported(boolean) - Method in class com.meterware.httpunit.ClientProperties
- setImageButtonClickPosition(int, int) - Method in class com.meterware.httpunit.WebRequest
-
Specifies the click position for the submit button.
- setImagesTreatedAsAltText(boolean) - Static method in class com.meterware.httpunit.HttpUnitOptions
-
If true, tells HttpUnit to treat images with alt attributes as though they were the text value of that attribute in all searches and displays.
- setInitParameter(String, String) - Method in class com.meterware.servletunit.ServletUnitServletContext
- setJavaScriptOptimizationLevel(int) - Static method in class com.meterware.httpunit.HttpUnitOptions
-
setter for Java Script optimization level
- setLength(int) - Method in interface com.meterware.httpunit.scripting.SelectionOptions
-
Sets a new length to this array
- setLocation(String) - Method in class com.meterware.httpunit.WebResponse.Scriptable
- setLoggingHttpHeaders(boolean) - Static method in class com.meterware.httpunit.HttpUnitOptions
-
If true, tells HttpUnit to log HTTP headers to system output.
- setLogStream(PrintStream) - Method in class com.meterware.servletunit.ServletUnitServletContext
-
Allows the test to determine where the log messages should be written.
- setMainWindow(WebWindow) - Method in class com.meterware.httpunit.WebClient
- setMatchesIgnoreCase(boolean) - Static method in class com.meterware.httpunit.HttpUnitOptions
-
If true, text matches in methods such as
HTMLSegment.getLinkWith(java.lang.String)
are case insensitive. - setMaxProtocolLevel(int, int) - Method in class com.meterware.pseudoserver.PseudoServer
- setMethod(String) - Method in class com.meterware.httpunit.HeaderOnlyWebRequest
- setOverrideContextType(String) - Method in class com.meterware.httpunit.ClientProperties
-
All responses to this client will use the specified content type rather than the one specified by the server.
- setParameter(String, UploadFileSpec[]) - Method in class com.meterware.httpunit.WebForm
-
Sets the multiple values of a file upload parameter in a web request.
- setParameter(String, UploadFileSpec[]) - Method in class com.meterware.httpunit.WebRequest
-
Sets the multiple values of a file upload parameter in a web request.
- setParameter(String, File) - Method in class com.meterware.httpunit.WebForm
-
Sets the single value of a file upload parameter in this form.
- setParameter(String, String) - Method in class com.meterware.httpunit.WebForm
-
Sets the value of a parameter in this form.
- 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.WebForm
-
Sets the multiple values of a parameter in this form.
- setParameter(String, String[]) - Method in class com.meterware.httpunit.WebRequest
-
Sets the multiple values of a parameter in a web request.
- setParameterValue(String, String) - Method in interface com.meterware.httpunit.scripting.FormScriptable
-
set the value of a parameter
- setParameterValue(String, String) - Method in class com.meterware.httpunit.WebForm.Scriptable
- setParameterValuesValidated(boolean) - Static method in class com.meterware.httpunit.HttpUnitOptions
-
Deprecated.as of 1.6, use WebForm#newUnvalidatedRequest() to obtain a request without parameter validation.
- setParserWarningsEnabled(boolean) - Static method in class com.meterware.httpunit.HttpUnitOptions
-
Deprecated.as of 1.5.2, use HTMLParserFactory#setParserWarningsEnabled
- setParserWarningsEnabled(boolean) - Static method in class com.meterware.httpunit.parsing.HTMLParserFactory
-
If true, tells the parser to display warning messages.
- setPathMatchingStrict(boolean) - Static method in class com.meterware.httpunit.cookies.CookieProperties
-
Specifies whether strict path name matching must be followed.
- setPlatform(String) - Method in class com.meterware.httpunit.ClientProperties
- setPostIncludesCharset(boolean) - Static method in class com.meterware.httpunit.HttpUnitOptions
-
Determines whether a normal POST request will include the character set in the content-type header.
- setPreserveTagCase(boolean) - Static method in class com.meterware.httpunit.parsing.HTMLParserFactory
-
Specifies whether the parser should preserve the case of HTML tags and attributes.
- setProxyServer(String, int) - Method in class com.meterware.httpunit.WebClient
-
Specifies a proxy server to use for requests from this client.
- setProxyServer(String, int) - Method in class com.meterware.httpunit.WebConversation
-
set the proxy server to the given proxyHost with the given proxy Port
- setProxyServer(String, int) - Method in class com.meterware.servletunit.ServletUnitClient
-
Specifies a proxy server to use for requests from this client.
- setProxyServer(String, int, String, String) - Method in class com.meterware.httpunit.WebClient
-
Specifies a proxy server to use, along with a user and password for authentication.
- setRedirectDelay(int) - Static method in class com.meterware.httpunit.HttpUnitOptions
-
Sets the delay, in milliseconds, before a redirect request is issued.
- setResource(String, byte[], String) - Method in class com.meterware.pseudoserver.PseudoServer
-
Defines the contents of an expected resource.
- setResource(String, PseudoServlet) - Method in class com.meterware.pseudoserver.PseudoServer
-
Defines the contents of an expected resource.
- setResource(String, String) - Method in class com.meterware.pseudoserver.PseudoServer
-
Defines the contents of an expected resource.
- setResource(String, String, String) - Method in class com.meterware.pseudoserver.PseudoServer
-
Defines the contents of an expected resource.
- setResourceCharSet(String, String, boolean) - Method in class com.meterware.pseudoserver.HttpUserAgentTest
- setReturnHTMLDocument(boolean) - Static method in class com.meterware.httpunit.parsing.HTMLParserFactory
-
Specifies whether the parser should return an HTMLDocument object rather than a Document object.
- setScriptEngine(ScriptingEngine) - Method in class com.meterware.httpunit.scripting.ScriptableDelegate
-
Specifies the scripting engine to be used.
- setScriptEngineClassName(String) - Static method in class com.meterware.httpunit.HttpUnitOptions
- setScriptingEnabled(boolean) - Static method in class com.meterware.httpunit.HttpUnitOptions
-
change the scriptingEnabled flag
- setScriptingHandler(ScriptingHandler) - Method in class com.meterware.httpunit.WebResponse
- setSelected(boolean) - Method in interface com.meterware.httpunit.scripting.SelectionOption
- setSendCharacterSet(boolean) - Method in class com.meterware.pseudoserver.WebResource
- setSendCharacterSet(String, boolean) - Method in class com.meterware.pseudoserver.PseudoServer
-
Enables the sending of the character set in the content-type header.
- setSendReferer(boolean) - Method in class com.meterware.httpunit.ClientProperties
-
set whether Referer information should be stripped
- setServerDebug(boolean) - Method in class com.meterware.pseudoserver.HttpUserAgentTest
- setSessionTrackingModes(Set<SessionTrackingMode>) - Method in class com.meterware.servletunit.ServletUnitServletContext
- setSocketReleaseWaitTime(int) - Static method in class com.meterware.pseudoserver.PseudoServer
-
Returns the amount of time the pseudo server will wait for a server socket to be released (in msec) before allocating a new one.
- setState(boolean) - Method in class com.meterware.httpunit.FormControl
-
Sets the state of this boolean control.
- setTargetAttribute(String) - Method in class com.meterware.httpunit.WebRequestSource
- setText(String) - Method in interface com.meterware.httpunit.scripting.SelectionOption
- setThrowExceptionsOnError(boolean) - Method in interface com.meterware.httpunit.scripting.ScriptingEngineFactory
-
Determines whether script errors result in exceptions or warning messages.
- setUp() - Method in class com.meterware.pseudoserver.HttpUserAgentTest
- setUserAgent(String) - Method in class com.meterware.httpunit.ClientProperties
- setUserAgent(String) - Method in class com.meterware.httpunit.WebClient
-
Deprecated.as of 1.4.6. Use ClientProperties#setUserAgent instead.
- setValidContentTypes(String[]) - Static method in class com.meterware.httpunit.WebResponse
-
allow modification of the valid content Types use with care
- setValue(boolean) - Method in class com.meterware.httpunit.FormParameter
- setValue(String) - Method in class com.meterware.httpunit.cookies.Cookie
-
Sets the value associated with this cookie.
- setValue(String) - Method in interface com.meterware.httpunit.scripting.SelectionOption
- setValue(String, boolean) - Method in class com.meterware.httpunit.FormParameter
- setValueAttribute(String) - Method in class com.meterware.httpunit.RadioButtonFormControl
- setValueAttribute(String) - Method in class com.meterware.httpunit.FormControl
-
Sets the value of this control in the form.
- setWaitThreshhold(int) - Static method in class com.meterware.pseudoserver.PseudoServer
-
Specifies the number of server sockets that must have been allocated and not returned before waiting for one to be returned.
- shutDown() - Method in class com.meterware.pseudoserver.PseudoServer
- shutDown() - Method in class com.meterware.servletunit.ServletRunner
-
Shuts down the servlet container, returning any resources held by it.
- SINGLE_TYPE - Static variable in class com.meterware.httpunit.FormControl
- stripQuotes(String) - Static method in class com.meterware.httpunit.HttpUnitUtils
-
strip the quotes from a value
- submit() - Method in class com.meterware.httpunit.WebForm.Scriptable
- submit() - Method in class com.meterware.httpunit.WebForm
-
Submits this form using the web client from which it was originally obtained.
- submit(SubmitButton) - Method in class com.meterware.httpunit.WebForm
-
Submits this form using the web client from which it was originally obtained.
- submit(SubmitButton, int, int) - Method in class com.meterware.httpunit.WebForm
-
Submits this form using the web client from which it was originally obtained.
- SUBMIT_BUTTON_TYPE - Static variable in class com.meterware.httpunit.FormControl
- SubmitButton - Class in com.meterware.httpunit
-
This class represents a submit button in an HTML form.
- submitNoButton() - Method in class com.meterware.httpunit.WebForm
-
Submits this form using the web client from which it was originally obtained, ignoring any buttons defined for the form.
- submitRequest(HTMLElementImpl, String, String, String, MessageBody) - Method in class com.meterware.httpunit.WebResponse
- submitRequest(WebRequest) - Method in class com.meterware.httpunit.WebRequestSource
-
Submits a request to the web client from which this request source was originally obtained.
- submitRequest(String, WebRequest) - Method in class com.meterware.httpunit.WebForm
- submitRequest(String, WebRequest) - Method in class com.meterware.httpunit.WebRequestSource
-
submit the given event for the given request
- SunJSSE_PROVIDER_CLASS - Static variable in class com.meterware.httpunit.HttpsProtocolSupport
- SunJSSE_PROVIDER_CLASS2 - Static variable in class com.meterware.httpunit.HttpsProtocolSupport
- SunSSL_PROTOCOL_HANDLER - Static variable in class com.meterware.httpunit.HttpsProtocolSupport
- supportAttribute(String) - Method in class com.meterware.httpunit.Button
- supportAttribute(String) - Method in class com.meterware.httpunit.FormControl
- supportAttribute(String) - Method in class com.meterware.httpunit.RadioButtonFormControl
- supportAttribute(String) - Method in class com.meterware.httpunit.RadioGroupFormControl
- supportAttribute(String) - Method in class com.meterware.httpunit.ResetButton
- supportAttribute(String) - Method in class com.meterware.httpunit.SubmitButton
- supportAttribute(String) - Method in class com.meterware.httpunit.TableRow
- supportAttribute(String) - Method in class com.meterware.httpunit.WebApplet
- supportAttribute(String) - Method in class com.meterware.httpunit.WebList
- supportAttribute(String) - Method in class com.meterware.httpunit.WebTable
- supportsForceTagCase() - Method in interface com.meterware.httpunit.parsing.HTMLParser
-
Returns true if this parser supports forcing the upper/lower case of tag and attribute names.
- supportsParserWarnings() - Method in interface com.meterware.httpunit.parsing.HTMLParser
-
Returns true if this parser can display parser warnings.
- supportsPreserveTagCase() - Method in interface com.meterware.httpunit.parsing.HTMLParser
-
Returns true if this parser supports preservation of the case of tag and attribute names.
- supportsReturnHTMLDocument() - Method in interface com.meterware.httpunit.parsing.HTMLParser
-
Returns true if this parser can return an HTMLDocument object.
- supportsScriptLanguage(String) - Method in interface com.meterware.httpunit.parsing.ScriptHandler
- supportsScriptLanguage(String) - Method in class com.meterware.httpunit.scripting.ScriptableDelegate
- supportsScriptLanguage(String) - Method in interface com.meterware.httpunit.scripting.ScriptingHandler
- suppressAutomaticContentTypeHeader() - Method in class com.meterware.pseudoserver.WebResource
- suppressAutomaticLengthHeader() - Method in class com.meterware.pseudoserver.WebResource
T
- TableCell - Class in com.meterware.httpunit
-
A single cell in an HTML table.
- TableRow - Class in com.meterware.httpunit
- tearDown() - Method in class com.meterware.pseudoserver.HttpUserAgentTest
- TEXT_TYPE - Static variable in class com.meterware.httpunit.FormControl
- TEXTAREA_TYPE - Static variable in class com.meterware.httpunit.FormControl
- TextBlock - Class in com.meterware.httpunit
-
A class which represents a block of text in a web page.
- TextBlock(WebResponse, FrameSelector, URL, String, Node, String) - Constructor for class com.meterware.httpunit.TextBlock
- throwDisabledException() - Method in class com.meterware.httpunit.Button
-
throw an exception that I'm disbled
- throwDisabledException() - Method in class com.meterware.httpunit.SubmitButton
- toggle() - Method in class com.meterware.httpunit.FormControl
-
Toggles the value of this control.
- toggleCheckbox() - Method in class com.meterware.httpunit.FormParameter
- toggleCheckbox(String) - Method in class com.meterware.httpunit.FormParameter
- toggleCheckbox(String) - Method in class com.meterware.httpunit.WebForm
-
Toggles the value of the specified checkbox parameter.
- toggleCheckbox(String, String) - Method in class com.meterware.httpunit.WebForm
-
Toggles the value of the specified checkbox parameter.
- TOP_FRAME - Static variable in class com.meterware.httpunit.FrameSelector
- toString() - Method in class com.meterware.httpunit.FrameSelector
- toString() - Method in class com.meterware.httpunit.HttpHeader
- toString() - Method in class com.meterware.httpunit.ParsedHTML
- toString() - Method in class com.meterware.httpunit.SubmitButton
- toString() - Method in class com.meterware.httpunit.WebRequest
- toString() - Method in class com.meterware.httpunit.WebResponse
- toString() - Method in class com.meterware.httpunit.WebTable
- toString() - Method in class com.meterware.pseudoserver.HttpRequest
- toString() - Method in class com.meterware.pseudoserver.WebResource
U
- UNDEFINED_TYPE - Static variable in class com.meterware.httpunit.FormControl
- UnsupportedActionException - Exception Class in com.meterware.httpunit
-
An exception thrown when an action URL is not supported.
- UnsupportedActionException(String) - Constructor for exception class com.meterware.httpunit.UnsupportedActionException
- updateCookies(CookieJar) - Method in class com.meterware.httpunit.cookies.CookieJar
-
Updates the cookies maintained in this cookie jar with those in another cookie jar.
- updateMainWindow(FrameSelector, WebResponse) - Method in class com.meterware.httpunit.WebClient
-
Updates this web client based on a received response.
- useIBM() - Static method in class com.meterware.httpunit.HttpsProtocolSupport
-
use the IBM WebShpere handlers
- useJTidyParser() - Static method in class com.meterware.httpunit.parsing.HTMLParserFactory
-
Selects the JTidy parser, if present.
- useNekoHTMLParser() - Static method in class com.meterware.httpunit.parsing.HTMLParserFactory
-
Selects the NekoHTML parser, if present.
- useProvider(String, String) - Static method in class com.meterware.httpunit.HttpsProtocolSupport
-
use the given SSL providers - reset the one used so far
V
- verifyButtonEnabled() - Method in class com.meterware.httpunit.Button
-
verifyButtonEnabled
W
- warning(URL, String, int, int) - Method in interface com.meterware.httpunit.parsing.HTMLParserListener
-
Invoked when the parser wishes to report a warning.
- WebApplet - Class in com.meterware.httpunit
-
This class represents the embedding of an applet in a web page.
- WebApplet(WebResponse, HTMLAppletElement, String) - Constructor for class com.meterware.httpunit.WebApplet
- WebClient - Class in com.meterware.httpunit
-
The context for a series of web requests.
- WebClient() - Constructor for class com.meterware.httpunit.WebClient
- WebClient.HeaderDictionary - Class in com.meterware.httpunit
- WebClientListener - Interface in com.meterware.httpunit
-
A listener for messages sent and received by a web client.
- WebConversation - Class in com.meterware.httpunit
-
The context for a series of HTTP requests.
- WebConversation() - Constructor for class com.meterware.httpunit.WebConversation
-
Creates a new web conversation.
- WebForm - Class in com.meterware.httpunit
-
This class represents a form in an HTML page.
- WebForm.Scriptable - Class in com.meterware.httpunit
- WebImage - Class in com.meterware.httpunit
-
Represents an image in an HTML document.
- WebImage.Scriptable - Class in com.meterware.httpunit
- WebLink - Class in com.meterware.httpunit
-
This class represents a link in an HTML page.
- WebLink.Scriptable - Class in com.meterware.httpunit
- WebList - Class in com.meterware.httpunit
-
Represents an HTML list.
- WebList(WebResponse, FrameSelector, URL, String, Element, String) - Constructor for class com.meterware.httpunit.WebList
- WebRequest - Class in com.meterware.httpunit
-
A request sent to a web server.
- WebRequest(WebForm, ParameterHolder, SubmitButton, int, int) - Constructor for class com.meterware.httpunit.WebRequest
-
Constructs a web request from a form.
- WebRequest(WebRequest, String, String) - Constructor for class com.meterware.httpunit.WebRequest
-
Constructs a web request using a base request and a relative URL string.
- WebRequest(WebRequestSource, ParameterHolder) - Constructor for class com.meterware.httpunit.WebRequest
- WebRequest(WebResponse, Element, URL, String, String) - Constructor for class com.meterware.httpunit.WebRequest
-
Constructs a web request using a base URL, a relative URL string, and a target.
- 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(URL, String, FrameSelector, String) - Constructor for class com.meterware.httpunit.WebRequest
-
Constructs a web request using a base URL, a relative URL string, and a target.
- WebRequest(URL, String, String) - Constructor for class com.meterware.httpunit.WebRequest
-
Constructs a web request using a base URL, a relative URL string, and a target.
- WebRequestSource - Class in com.meterware.httpunit
-
Base class for objects which can be clicked to generate new web requests.
- WebResource - Class in com.meterware.pseudoserver
-
A resource to be returned from the simulated server.
- WebResource(byte[], String) - Constructor for class com.meterware.pseudoserver.WebResource
- WebResource(byte[], String, int) - Constructor for class com.meterware.pseudoserver.WebResource
- WebResource(InputStream, String, int) - Constructor for class com.meterware.pseudoserver.WebResource
- WebResource(String) - Constructor for class com.meterware.pseudoserver.WebResource
- WebResource(String, int) - Constructor for class com.meterware.pseudoserver.WebResource
- WebResource(String, String) - Constructor for class com.meterware.pseudoserver.WebResource
- WebResource(String, String, int) - Constructor for class com.meterware.pseudoserver.WebResource
- WebResponse - Class in com.meterware.httpunit
-
A response to a web request from a web server.
- WebResponse(WebClient, FrameSelector, URL) - Constructor for class com.meterware.httpunit.WebResponse
-
Constructs a response object.
- WebResponse(WebClient, FrameSelector, URL, String) - Constructor for class com.meterware.httpunit.WebResponse
-
Constructs a response object.
- WebResponse.Scriptable - Class in com.meterware.httpunit
- WebTable - Class in com.meterware.httpunit
-
This class represents a table in an HTML page.
- WebWindow - Class in com.meterware.httpunit
-
A window managed by a
WebClient
. - WebWindowListener - Interface in com.meterware.httpunit
-
A listener for web window openings and closings.
- windowClosed(WebClient, WebWindow) - Method in interface com.meterware.httpunit.WebWindowListener
-
Invoked when the web client closes a window.
- windowOpened(WebClient, WebWindow) - Method in interface com.meterware.httpunit.WebWindowListener
-
Invoked when the web client opens a new window.
- WITH_ID - Static variable in class com.meterware.httpunit.Button
- WITH_LABEL - Static variable in class com.meterware.httpunit.Button
- writeMessageBody(WebRequest, OutputStream) - Method in class com.meterware.httpunit.WebClient
-
Writes the message body for the request.
- writeMessageBody(OutputStream) - Method in class com.meterware.httpunit.MessageBodyWebRequest
- writeMessageBody(OutputStream) - Method in class com.meterware.httpunit.WebRequest
-
Writes the contents of the message body to the specified stream.
- writeTo(OutputStream, ParameterCollection) - Method in class com.meterware.httpunit.MessageBodyWebRequest.InputStreamMessageBody
-
Transmits the body of this request as a sequence of bytes.
_
- _body - Variable in class com.meterware.httpunit.MessageBodyWebRequest
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form