| java.lang.Object com.meterware.httpunit.WebRequest com.meterware.httpunit.MessageBodyWebRequest
All known Subclasses: com.meterware.httpunit.PutMethodWebRequest, com.meterware.httpunit.PostMethodWebRequest,
MessageBodyWebRequest | abstract public class MessageBodyWebRequest extends WebRequest (Code) | | A web request which contains a non-empty message body. Note that such requests
must use the http or https protocols.
|
Inner Class :public static class InputStreamMessageBody extends MessageBody | |
MessageBodyWebRequest | protected MessageBodyWebRequest(String urlString)(Code) | | Constructs a web request using a specific absolute url string.
|
MessageBodyWebRequest | protected MessageBodyWebRequest(URL urlBase, String urlString, String target)(Code) | | Constructs a web request with a specific target.
|
MessageBodyWebRequest | protected MessageBodyWebRequest(WebForm sourceForm, SubmitButton button, int x, int y)(Code) | | Constructs a web request for a form submitted via a button.
|
MessageBodyWebRequest | protected MessageBodyWebRequest(WebForm sourceForm, ParameterHolder parameterHolder, SubmitButton button, int x, int y)(Code) | | Constructs a web request for a form submitted via a button.
since: 1.6 |
MessageBodyWebRequest | protected MessageBodyWebRequest(WebForm sourceForm)(Code) | | Constructs a web request for a form submitted via script.
|
completeRequest | protected void completeRequest(URLConnection connection) throws IOException(Code) | | Performs any additional processing necessary to complete the request.
|
getMessageBody | abstract protected MessageBody getMessageBody()(Code) | | Subclasses must override this method to provide a message body for the
request.
|
Methods inherited from com.meterware.httpunit.WebRequest | protected void completeRequest(URLConnection connection) throws IOException(Code)(Java Doc) final protected String getCharacterSet()(Code)(Java Doc) protected String getContentType()(Code)(Java Doc) Hashtable getHeaderDictionary()(Code)(Java Doc) public Dictionary getHeaders()(Code)(Java Doc) abstract public String getMethod()(Code)(Java Doc) public String getParameter(String name)(Code)(Java Doc) final protected ParameterHolder getParameterHolder()(Code)(Java Doc) public String[] getParameterValues(String name)(Code)(Java Doc) public String getQueryString()(Code)(Java Doc) String getReferer()(Code)(Java Doc) public String[] getRequestParameterNames()(Code)(Java Doc) FrameSelector getSourceFrame()(Code)(Java Doc) public String getTarget()(Code)(Java Doc) public URL getURL() throws MalformedURLException(Code)(Java Doc) final protected URL getURLBase()(Code)(Java Doc) protected String getURLString()(Code)(Java Doc) WebRequestSource getWebRequestSource()(Code)(Java Doc) public boolean isFileParameter(String name)(Code)(Java Doc) protected boolean isMimeEncoded()(Code)(Java Doc) protected boolean maySelectFile(String parameterName)(Code)(Java Doc) static ParameterHolder newParameterHolder(WebRequestSource requestSource)(Code)(Java Doc) public void removeParameter(String name)(Code)(Java Doc) public void selectFile(String parameterName, File file)(Code)(Java Doc) public void selectFile(String parameterName, File file, String contentType)(Code)(Java Doc) public void selectFile(String parameterName, String fileName, InputStream inputStream, String contentType)(Code)(Java Doc) public void setHeaderField(String headerName, String headerValue)(Code)(Java Doc) public void setImageButtonClickPosition(int x, int y) throws IllegalRequestParameterException(Code)(Java Doc) protected void setMimeEncoded(boolean mimeEncoded)(Code)(Java Doc) public void setParameter(String name, String value)(Code)(Java Doc) public void setParameter(String name, String[] values)(Code)(Java Doc) public void setParameter(String parameterName, UploadFileSpec[] files)(Code)(Java Doc) public String toString()(Code)(Java Doc) protected void writeMessageBody(OutputStream stream) throws IOException(Code)(Java Doc)
|
|
|