public class HttpBodyRequest extends HttpRequest
| Constructor and Description |
|---|
HttpBodyRequest(HttpMethod _method,
String _queryUrl,
Map<String,String> _headers,
String _body)
Create a request with explicit body
|
HttpBodyRequest(HttpMethod _method,
String _queryUrl,
Map<String,String> _headers,
String _body,
String _username,
String _password)
Create a request with explicit body
|
| Modifier and Type | Method and Description |
|---|---|
String |
getBody()
Body for the http request
|
getHeaders, getHttpMethod, getParameters, getPassword, getQueryUrl, getUsernamepublic HttpBodyRequest(HttpMethod _method, String _queryUrl, Map<String,String> _headers, String _body)
_method - The HTTP method to use. Can be PUT, POST, DELETE and PATCH_queryUrl - The http url to create the HTTP Request. Expect a fully qualified absolute Url_headers - The key-value map of all http headers to be sent_body - The object to be sent as body after serializationpublic HttpBodyRequest(HttpMethod _method, String _queryUrl, Map<String,String> _headers, String _body, String _username, String _password)
_method - The HTTP method to use. Can be PUT, POST, DELETE and PATCH_queryUrl - The http url to create the HTTP Request. Expect a fully qualified absolute Url_headers - The key-value map of all http headers to be sent_body - The object to be sent as body after serialization_username - Username for basic authentication_password - Password for basic authenticationpublic String getBody()
Copyright © 2017. All rights reserved.