com.meterware.httpunit
public class PostMethodWebRequest extends MessageBodyWebRequest
Constructor Summary | |
---|---|
PostMethodWebRequest(String urlString)
Constructs a web request using a specific absolute url string.
| |
PostMethodWebRequest(String urlString, InputStream source, String contentType)
Constructs a web request using a specific absolute url string and input stream. | |
PostMethodWebRequest(URL urlBase, String urlString, String target)
Constructs a web request with a specific target.
|
Method Summary | |
---|---|
protected MessageBody | getMessageBody() |
String | getMethod()
Returns the HTTP method defined for this request.
|
String | getQueryString()
Returns the query string defined for this request.
|
protected boolean | maySelectFile(String parameterName)
Returns true if selectFile may be called with this parameter. |
void | setMimeEncoded(boolean mimeEncoded)
Selects whether MIME-encoding will be used for this request. |
Parameters: urlString the URL to which the request should be issued source an input stream which will provide the body of this request contentType the MIME content type of the body, including any character set