RequestBuilder |
RequestBuilder.body(okhttp3.RequestBody body) |
Sets the body.
|
RequestBuilder |
RequestBuilder.bodyContent(java.io.InputStream stream,
java.lang.String contentType) |
Sets the file content (InputStream) to the request (used with POST/PUT).
|
RequestBuilder |
RequestBuilder.bodyContent(java.lang.String contentType,
java.lang.Object jsonContent,
java.lang.Object jsonPatchContent,
java.io.InputStream nonJsonContent) |
Sets the request body content from one of three different sources.
|
RequestBuilder |
RequestBuilder.bodyContent(java.lang.String contentType,
java.lang.Object jsonContent,
java.lang.Object jsonPatchContent,
java.lang.String nonJsonContent) |
Sets the request body content from one of three different sources.
|
RequestBuilder |
RequestBuilder.bodyContent(java.lang.String content,
java.lang.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).
|
RequestBuilder |
RequestBuilder.bodyJson(com.google.gson.JsonObject json,
java.lang.String mediaType) |
Adds a JSON content to the request (used with POST/PUT/PATCH).
|
static RequestBuilder |
RequestBuilder.delete(okhttp3.HttpUrl url) |
The DELETE method requests that the origin server delete the resource identified by the Request-URI.
|
RequestBuilder |
RequestBuilder.form(java.lang.Object... args) |
Adds form parameters.
|
static RequestBuilder |
RequestBuilder.get(okhttp3.HttpUrl url) |
The GET method means retrieve whatever information (in the form of an entity) is identified by the Request-URI.
|
static RequestBuilder |
RequestBuilder.head(okhttp3.HttpUrl url) |
The HEAD method means retrieve the headers for the resource identified by the Request-URI.
|
RequestBuilder |
RequestBuilder.header(java.lang.Object... args) |
Adds header parameters.
|
static RequestBuilder |
RequestBuilder.patch(okhttp3.HttpUrl url) |
The PUT method requests that the enclosed entity be stored under the supplied Request-URI.
|
static RequestBuilder |
RequestBuilder.post(okhttp3.HttpUrl 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(okhttp3.HttpUrl url) |
The PUT method requests that the enclosed entity be stored under the supplied Request-URI.
|
RequestBuilder |
RequestBuilder.query(java.lang.Object... args) |
Adds query parameters.
|