Package com.oorian.apis
Class RawDataPostRequest
java.lang.Object
com.oorian.apis.ApiHttpRequest
com.oorian.apis.RawDataRequest
com.oorian.apis.RawDataPostRequest
An HTTP POST 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
ConstructorsConstructorDescriptionRawDataPostRequest(String url) Creates a new raw data POST request for the specified URL.RawDataPostRequest(String url, String contentType) Creates a new raw data POST 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
-
RawDataPostRequest
Creates a new raw data POST request for the specified URL.- Parameters:
url- the target URL.
-
RawDataPostRequest
Creates a new raw data POST request for the specified URL with a content type.- Parameters:
url- the target URL.contentType- the Content-Type header value.
-