| Package | Description | 
|---|---|
| com.ibm.watson.developer_cloud.http | 
 This package contains interfaces, enumerations and implementations to work with HTTP requests and responses. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
RequestBuilder | 
RequestBuilder.body(okhttp3.RequestBody body)
Sets the body. 
 | 
RequestBuilder | 
RequestBuilder.bodyContent(String content,
           String contentType)
Sets the string content to the request (used with POST/PUT). 
 | 
RequestBuilder | 
RequestBuilder.bodyJson(com.google.gson.JsonObject json)
Adds a JSON content to the request (used with POST/PUT). 
 | 
static RequestBuilder | 
RequestBuilder.delete(String url)
The DELETE method requests that the origin server delete the resource identified by the Request-URI. 
 | 
RequestBuilder | 
RequestBuilder.form(Object... args)
Adds form parameters. 
 | 
static RequestBuilder | 
RequestBuilder.get(String url)
The GET method means retrieve whatever information (in the form of an entity) is identified by the Request-URI. 
 | 
RequestBuilder | 
RequestBuilder.header(Object... args)
Adds header parameters. 
 | 
static RequestBuilder | 
RequestBuilder.post(String url)
The POST request method is designed to request that a web server accept the data enclosed in the request message's
 body for storage. 
 | 
static RequestBuilder | 
RequestBuilder.put(String url)
The PUT method requests that the enclosed entity be stored under the supplied Request-URI. 
 | 
RequestBuilder | 
RequestBuilder.query(Object... args)
Adds query parameters. 
 | 
Copyright © 2015–2016 IBM Watson. All rights reserved.