com.meterware.httpunit
public class PutMethodWebRequest extends MessageBodyWebRequest
Constructor Summary | |
---|---|
PutMethodWebRequest(String url, InputStream source, String contentType)
Constructs a web request using a specific absolute url string and input stream. |
Method Summary | |
---|---|
protected MessageBody | getMessageBody()
Returns a message body based on the input stream.
|
String | getMethod()
Returns 'PUT' to indicate the method.
|
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