public class PutMethodWebRequest extends MessageBodyWebRequest
MessageBodyWebRequest.InputStreamMessageBody_bodymethod| 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, writeMessageBodyclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetCharacterSet, getHeaders, getParameter, getParameterHolder, getParameterValues, getQueryString, getRequestParameterNames, getTarget, getURL, getURLBase, getURLString, isFileParameter, maySelectFile, removeParameter, selectFile, selectFile, selectFile, setHeaderField, setImageButtonClickPosition, setParameter, setParameter, setParameter, toStringpublic 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