public class PutMethodWebRequest extends MessageBodyWebRequest
MessageBodyWebRequest.InputStreamMessageBody_bodymethod| Constructor and Description |
|---|
PutMethodWebRequest(String url,
InputStream source,
String contentType)
Constructs a web request using a specific absolute url string and input stream.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getMethod()
Returns 'PUT' to indicate the method.
|
completeRequest, getContentType, getMessageBody, isMimeEncoded, writeMessageBodygetCharacterSet, getHeaders, getParameter, getParameterHolder, getParameterValues, getQueryString, getRequestParameterNames, getTarget, getURL, getURLBase, getURLString, isFileParameter, maySelectFile, removeParameter, selectFile, selectFile, selectFile, setHeaderField, setImageButtonClickPosition, setParameter, setParameter, setParameter, toStringpublic PutMethodWebRequest(String url, InputStream source, 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 String getMethod()
getMethod in class WebRequestCopyright © 2012. All Rights Reserved.