public class PutMethodWebRequest extends MessageBodyWebRequest
MessageBodyWebRequest.InputStreamMessageBody
_body
method
Constructor | Description |
---|---|
PutMethodWebRequest(java.lang.String url,
java.io.InputStream source,
java.lang.String contentType) |
Constructs a web request using a specific absolute url string and input stream.
|
Modifier and Type | Method | Description |
---|---|---|
java.lang.String |
getMethod() |
Returns 'PUT' to indicate the method.
|
completeRequest, getContentType, getMessageBody, isMimeEncoded, writeMessageBody
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getCharacterSet, getHeaders, getParameter, getParameterHolder, getParameterValues, getQueryString, getRequestParameterNames, getTarget, getURL, getURLBase, getURLString, isFileParameter, maySelectFile, removeParameter, selectFile, selectFile, selectFile, setHeaderField, setImageButtonClickPosition, setParameter, setParameter, setParameter, toString
public PutMethodWebRequest(java.lang.String url, java.io.InputStream source, java.lang.String contentType)
url
- the URL to which the request should be issuedsource
- an input stream which will provide the body of this requestcontentType
- the MIME content type of the body, including any character setpublic java.lang.String getMethod()
getMethod
in class WebRequest