Package com.oorian.apis
Class RawDataPutRequest
java.lang.Object
com.oorian.apis.ApiHttpRequest
com.oorian.apis.RawDataRequest
com.oorian.apis.RawDataPutRequest
An HTTP PUT request that sends raw string data in the request body.
-
Field Summary
Fields inherited from class com.oorian.apis.ApiHttpRequest
DELETE, GET, POST, PUT -
Constructor Summary
ConstructorsConstructorDescriptionRawDataPutRequest(String url) Creates a new raw data PUT request for the specified URL.RawDataPutRequest(String url, String contentType) Creates a new raw data PUT request for the specified URL with a content type. -
Method Summary
Methods inherited from class com.oorian.apis.RawDataRequest
getData, setDataMethods inherited from class com.oorian.apis.ApiHttpRequest
addHeader, addHeaders, getCharset, getHeaders, getResponse, getUrl, getUrlConnection, send, send, setCharset, setConnectTimeout, setContentType, setReadTimeout, setUrl
-
Constructor Details
-
RawDataPutRequest
Creates a new raw data PUT request for the specified URL.- Parameters:
url- the target URL.
-
RawDataPutRequest
Creates a new raw data PUT request for the specified URL with a content type.- Parameters:
url- the target URL.contentType- the Content-Type header value.
-