| Package | Description |
|---|---|
| com.holonplatform.http.exceptions | |
| com.holonplatform.http.rest |
| Modifier and Type | Method and Description |
|---|---|
ResponseEntity<?> |
UnsuccessfulResponseException.getResponse()
Get the response entity associated with to exception.
|
| Constructor and Description |
|---|
UnsuccessfulResponseException(ResponseEntity<?> response)
Constructor
|
UnsuccessfulResponseException(ResponseEntity<?> response,
String message)
Constructor with error message
|
| Modifier and Type | Method and Description |
|---|---|
default ResponseEntity<Void> |
RestClient.Invocation.delete()
Invoke the request using
DELETE method and receive a response back. |
default <T> ResponseEntity<T> |
RestClient.Invocation.delete(Class<T> responseType)
Invoke the request using
DELETE method and receive a response back. |
default <T> ResponseEntity<T> |
RestClient.Invocation.delete(ResponseType<T> responseType)
Invoke the request using
DELETE method and receive a response back. |
default <T> ResponseEntity<T> |
RestClient.Invocation.get(Class<T> responseType)
Invoke the request using
GET method and receive a response back. |
default <T> ResponseEntity<T> |
RestClient.Invocation.get(ResponseType<T> responseType)
Invoke the request using
GET method and receive a response back. |
default ResponseEntity<Void> |
RestClient.Invocation.head()
Invoke the request using
HEAD method and receive a response back. |
<T,R> ResponseEntity<T> |
RestClient.Invocation.invoke(HttpMethod method,
RequestEntity<R> requestEntity,
ResponseType<T> responseType)
Invoke the request and receive a response back.
|
<T,R> ResponseEntity<T> |
RestClient.Invoker.invoke(RestClient.RequestDefinition requestDefinition,
HttpMethod method,
RequestEntity<R> requestEntity,
ResponseType<T> responseType,
boolean onlySuccessfulStatusCode)
Invoke request using current given
request definition. |
<T,R> ResponseEntity<T> |
RestClient.Invocation.invokeForSuccess(HttpMethod method,
RequestEntity<R> requestEntity,
ResponseType<T> responseType)
Invoke the request and receive a response back only if the response has a success (
2xx)
status code. |
default ResponseEntity<Void> |
RestClient.Invocation.options()
Invoke the request using
OPTIONS method and receive a response back. |
default <T> ResponseEntity<T> |
RestClient.Invocation.options(Class<T> responseType)
Invoke the request using
OPTIONS method and receive a response back. |
default <T> ResponseEntity<T> |
RestClient.Invocation.options(ResponseType<T> responseType)
Invoke the request using
OPTIONS method and receive a response back. |
default ResponseEntity<Void> |
RestClient.Invocation.patch(RequestEntity<?> entity)
Invoke the request using
PATCH method with given entity request payload and receive
a response back. |
default <T> ResponseEntity<T> |
RestClient.Invocation.patch(RequestEntity<?> entity,
Class<T> responseType)
Invoke the request using
PATCH method with given entity request payload and receive
a response back. |
default <T> ResponseEntity<T> |
RestClient.Invocation.patch(RequestEntity<?> entity,
ResponseType<T> responseType)
Invoke the request using
PATCH method with given entity request payload and receive
a response back. |
default ResponseEntity<Void> |
RestClient.Invocation.post(RequestEntity<?> entity)
Invoke the request using
POST method with given entity request payload and receive
a response back. |
default <T> ResponseEntity<T> |
RestClient.Invocation.post(RequestEntity<?> entity,
Class<T> responseType)
Invoke the request using
POST method with given entity request payload and receive
a response back. |
default <T> ResponseEntity<T> |
RestClient.Invocation.post(RequestEntity<?> entity,
ResponseType<T> responseType)
Invoke the request using
POST method with given entity request payload and receive
a response back. |
default ResponseEntity<Void> |
RestClient.Invocation.put(RequestEntity<?> entity)
Invoke the request using
PUT method with given entity request payload and receive a
response back. |
default <T> ResponseEntity<T> |
RestClient.Invocation.put(RequestEntity<?> entity,
Class<T> responseType)
Invoke the request using
PUT method with given entity request payload and receive a
response back. |
default <T> ResponseEntity<T> |
RestClient.Invocation.put(RequestEntity<?> entity,
ResponseType<T> responseType)
Invoke the request using
PUT method with given entity request payload and receive a
response back. |
default ResponseEntity<Void> |
RestClient.Invocation.trace()
Invoke the request using
TRACE method and receive a response back. |
default <T> ResponseEntity<T> |
RestClient.Invocation.trace(Class<T> responseType)
Invoke the request using
TRACE method and receive a response back. |
default <T> ResponseEntity<T> |
RestClient.Invocation.trace(ResponseType<T> responseType)
Invoke the request using
TRACE method and receive a response back. |
Copyright © 2017 The Holon Platform. All rights reserved.