| java.lang.Object com.meterware.httpunit.ParameterHolder
All known Subclasses: com.meterware.httpunit.WebRequestSource, com.meterware.httpunit.UncheckedParameterHolder,
ParameterHolder | abstract class ParameterHolder (Code) | | This abstract class is extended by classes which hold parameters for web requests. Note that it is an abstract class
rather than an interface in order to keep its methods package-local.
author: Russell Gold |
getCharacterSet | String getCharacterSet()(Code) | | Returns the character set encoding for the request.
|
getParameterNames | abstract String[] getParameterNames()(Code) | | Returns an array of all parameter names in this collection.
|
getParameterValues | abstract String[] getParameterValues(String name)(Code) | | Returns the multiple default values of the named parameter.
|
isFileParameter | boolean isFileParameter(String name)(Code) | | Returns true if the specified name is that of a file parameter. The default implementation returns false.
|
isSubmitAsMime | abstract boolean isSubmitAsMime()(Code) | | |
recordParameters | abstract void recordParameters(ParameterProcessor processor) throws IOException(Code) | | Iterates through the parameters in this holder, recording them in the supplied parameter processor.
|
recordPredefinedParameters | abstract void recordPredefinedParameters(ParameterProcessor processor) throws IOException(Code) | | Iterates through the fixed, predefined parameters in this holder, recording them in the supplied parameter processor.\
These parameters always go on the URL, no matter what encoding method is used.
|
removeParameter | abstract void removeParameter(String name)(Code) | | Removes a parameter name from this collection.
|
selectImageButtonPosition | void selectImageButtonPosition(SubmitButton imageButton, int x, int y)(Code) | | Specifies the position at which an image button (if any) was clicked. This default implementation does nothing.
|
setParameter | abstract void setParameter(String name, String value)(Code) | | Sets the value of a parameter in a web request.
|
setParameter | abstract void setParameter(String name, String[] values)(Code) | | Sets the multiple values of a parameter in a web request.
|
setParameter | abstract void setParameter(String name, UploadFileSpec[] files)(Code) | | Sets the multiple values of a file upload parameter in a web request.
|
setSubmitAsMime | abstract void setSubmitAsMime(boolean mimeEncoded)(Code) | | |
|
|