| Package | Description |
|---|---|
| com.urswolfer.gerrit.client.rest | |
| com.urswolfer.gerrit.client.rest.http |
| Modifier and Type | Method and Description |
|---|---|
static RestClient.HttpVerb |
RestClient.HttpVerb.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RestClient.HttpVerb[] |
RestClient.HttpVerb.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
org.apache.http.HttpResponse |
RestClient.request(String path,
String requestBody,
RestClient.HttpVerb verb,
org.apache.http.Header... headers)
Executes a HTTP request and returns plain response.
|
com.google.gson.JsonElement |
RestClient.requestJson(String path,
String requestBody,
RestClient.HttpVerb verb)
Executes a request and returns a JSON response.
|
org.apache.http.HttpResponse |
RestClient.requestRest(String path,
String requestBody,
RestClient.HttpVerb verb)
Executes a request with Accept-header set to "application/json" and returns plain response.
|
| Modifier and Type | Method and Description |
|---|---|
org.apache.http.HttpResponse |
GerritRestClient.request(String path,
String requestBody,
RestClient.HttpVerb verb,
org.apache.http.Header... headers) |
com.google.gson.JsonElement |
GerritRestClient.requestJson(String path,
String requestBody,
RestClient.HttpVerb verb) |
org.apache.http.HttpResponse |
GerritRestClient.requestRest(String path,
String requestBody,
RestClient.HttpVerb verb) |
Copyright © 2018. All rights reserved.