public static interface ReactiveRestClient.ReactiveInvocation extends com.holonplatform.http.rest.RestClientOperations.InvocationOperations<reactor.core.publisher.Mono<?>,reactor.core.publisher.Mono<?>,reactor.core.publisher.Mono<InputStream>,reactor.core.publisher.Flux<?>,reactor.core.publisher.Mono<URI>>
| Modifier and Type | Method and Description |
|---|---|
default reactor.core.publisher.Mono<ReactiveResponseEntity<Void>> |
delete()
Invoke the request using
DELETE method and asynchronously receive a response back. |
default <T> reactor.core.publisher.Mono<ReactiveResponseEntity<T>> |
delete(Class<T> responseType)
Invoke the request asynchronously using the
DELETE method and receive a response back. |
default <T> reactor.core.publisher.Mono<ReactiveResponseEntity<T>> |
delete(com.holonplatform.http.rest.ResponseType<T> responseType)
Invoke the request using
DELETE method and asynchronously receive a response back. |
default <T> reactor.core.publisher.Mono<T> |
deleteForEntity(Class<T> responseType)
Invoke the request using
DELETE method and asynchronously receive the response entity payload
back. |
default <T> reactor.core.publisher.Mono<T> |
deleteForEntity(com.holonplatform.http.rest.ResponseType<T> responseType)
Invoke the request using
DELETE method and asynchronously receive the response entity payload of
given generic type back. |
default reactor.core.publisher.Mono<Void> |
deleteOrFail()
Invoke the request asynchronously using the
DELETE method. |
default <T> reactor.core.publisher.Mono<ReactiveResponseEntity<T>> |
get(Class<T> responseType)
Invoke the request using
GET method and asynchronously receive a response back. |
default <T> reactor.core.publisher.Mono<ReactiveResponseEntity<T>> |
get(com.holonplatform.http.rest.ResponseType<T> responseType)
Invoke the request using
GET method and asynchronously receive a response back. |
default <T> reactor.core.publisher.Flux<T> |
getAsList(Class<T> responseType)
Convenience method to invoke the request using
GET method and asynchronously receive a response
entity payload of List type back. |
default <T> reactor.core.publisher.Mono<T> |
getForEntity(Class<T> responseType)
Invoke the request using
GET method and asynchronously receive the response entity payload back. |
default <T> reactor.core.publisher.Mono<T> |
getForEntity(com.holonplatform.http.rest.ResponseType<T> responseType)
Invoke the request using
GET method and asynchronously receive the response entity payload of
given generic type back. |
default reactor.core.publisher.Mono<InputStream> |
getForStream()
Invoke the request using
GET method and asynchronously receive the response entity
InputStream back. |
default reactor.core.publisher.Mono<ReactiveResponseEntity<Void>> |
head()
Invoke the request using
HEAD method and asynchronously receive a response back. |
<T,R> reactor.core.publisher.Mono<ReactiveResponseEntity<T>> |
invoke(com.holonplatform.http.HttpMethod method,
com.holonplatform.http.rest.RequestEntity<R> requestEntity,
com.holonplatform.http.rest.ResponseType<T> responseType)
Invoke the request and asynchronously receive a response back.
|
<T,R> reactor.core.publisher.Mono<T> |
invokeForEntity(com.holonplatform.http.HttpMethod method,
com.holonplatform.http.rest.RequestEntity<R> requestEntity,
com.holonplatform.http.rest.ResponseType<T> responseType)
Invoke the request and asynchronously receive back the response content entity.
|
<T,R> reactor.core.publisher.Flux<T> |
invokeForFlux(com.holonplatform.http.HttpMethod method,
com.holonplatform.http.rest.RequestEntity<R> requestEntity,
Class<T> responseElementType)
Invoke the request and asynchronously receive back the response as a
Flux of response entity
elements. |
<R> reactor.core.publisher.Mono<InputStream> |
invokeForStream(com.holonplatform.http.HttpMethod method,
com.holonplatform.http.rest.RequestEntity<R> requestEntity)
Invoke the request and asynchronously receive back the response as a raw
InputStream. |
<T,R> reactor.core.publisher.Mono<ReactiveResponseEntity<T>> |
invokeForSuccess(com.holonplatform.http.HttpMethod method,
com.holonplatform.http.rest.RequestEntity<R> requestEntity,
com.holonplatform.http.rest.ResponseType<T> responseType)
Invoke the request and asynchronously receive a response back only if the response has a success
(
2xx) status code. |
default reactor.core.publisher.Mono<ReactiveResponseEntity<Void>> |
options()
Invoke the request using
OPTIONS method and asynchronously receive a response back. |
default <T> reactor.core.publisher.Mono<ReactiveResponseEntity<T>> |
options(Class<T> responseType)
Invoke the request using
OPTIONS method and asynchronously receive a response back. |
default <T> reactor.core.publisher.Mono<ReactiveResponseEntity<T>> |
options(com.holonplatform.http.rest.ResponseType<T> responseType)
Invoke the request using
OPTIONS method and asynchronously receive a response back. |
default <T> reactor.core.publisher.Mono<T> |
optionsForEntity(Class<T> responseType)
Invoke the request using
OPTIONS method and asynchronously receive the response entity payload
back. |
default <T> reactor.core.publisher.Mono<T> |
optionsForEntity(com.holonplatform.http.rest.ResponseType<T> responseType)
Invoke the request using
OPTIONS method and asynchronously receive the response entity payload
of given generic type back. |
default reactor.core.publisher.Mono<ReactiveResponseEntity<Void>> |
patch(com.holonplatform.http.rest.RequestEntity<?> entity)
Invoke the request using
PATCH method with given entity request payload and
asynchronously receive a response back. |
default <T> reactor.core.publisher.Mono<ReactiveResponseEntity<T>> |
patch(com.holonplatform.http.rest.RequestEntity<?> entity,
Class<T> responseType)
Invoke the request using
PATCH method with given entity request payload and
asynchronously receive a response back. |
default <T> reactor.core.publisher.Mono<ReactiveResponseEntity<T>> |
patch(com.holonplatform.http.rest.RequestEntity<?> entity,
com.holonplatform.http.rest.ResponseType<T> responseType)
Invoke the request using
PATCH method with given entity request payload and
asynchronously receive a response back. |
default <T> reactor.core.publisher.Mono<T> |
patchForEntity(com.holonplatform.http.rest.RequestEntity<?> entity,
Class<T> responseType)
Invoke the request using
PATCH method with given entity request payload and
asynchronously receive the response entity payload back. |
default <T> reactor.core.publisher.Mono<T> |
patchForEntity(com.holonplatform.http.rest.RequestEntity<?> entity,
com.holonplatform.http.rest.ResponseType<T> responseType)
Invoke the request using
PATCH method with given entity request payload and
asynchronously receive the response entity payload back. |
default reactor.core.publisher.Mono<ReactiveResponseEntity<Void>> |
post(com.holonplatform.http.rest.RequestEntity<?> entity)
Invoke the request using
POST method with given entity request payload and
asynchronously receive a response back. |
default <T> reactor.core.publisher.Mono<ReactiveResponseEntity<T>> |
post(com.holonplatform.http.rest.RequestEntity<?> entity,
Class<T> responseType)
Invoke the request using
POST method with given entity request payload and
asynchronously receive a response back. |
default <T> reactor.core.publisher.Mono<ReactiveResponseEntity<T>> |
post(com.holonplatform.http.rest.RequestEntity<?> entity,
com.holonplatform.http.rest.ResponseType<T> responseType)
Invoke the request using
POST method with given entity request payload and
asynchronously receive a response back. |
default <T> reactor.core.publisher.Mono<T> |
postForEntity(com.holonplatform.http.rest.RequestEntity<?> entity,
Class<T> responseType)
Invoke the request using
POST method with given entity request payload and
asynchronously receive the response payload back. |
default <T> reactor.core.publisher.Mono<T> |
postForEntity(com.holonplatform.http.rest.RequestEntity<?> entity,
com.holonplatform.http.rest.ResponseType<T> responseType)
Invoke the request using
POST method with given entity request payload and
asynchronously receive the response payload back. |
default reactor.core.publisher.Mono<URI> |
postForLocation(com.holonplatform.http.rest.RequestEntity<?> entity)
Invoke the request using
POST method with given entity request payload and
asynchronously receive the value of the LOCATION header back, if present. |
default reactor.core.publisher.Mono<ReactiveResponseEntity<Void>> |
put(com.holonplatform.http.rest.RequestEntity<?> entity)
Invoke the request using
PUT method with given entity request payload and
asynchronously receive a response back. |
default <T> reactor.core.publisher.Mono<ReactiveResponseEntity<T>> |
put(com.holonplatform.http.rest.RequestEntity<?> entity,
Class<T> responseType)
Invoke the request using
PUT method with given entity request payload and
asynchronously receive a response back. |
default <T> reactor.core.publisher.Mono<ReactiveResponseEntity<T>> |
put(com.holonplatform.http.rest.RequestEntity<?> entity,
com.holonplatform.http.rest.ResponseType<T> responseType)
Invoke the request using
PUT method with given entity request payload and
asynchronously receive a response back. |
default <T> reactor.core.publisher.Mono<T> |
putForEntity(com.holonplatform.http.rest.RequestEntity<?> entity,
Class<T> responseType)
Invoke the request using
PUT method with given entity request payload and
asynchronously receive the response entity payload back. |
default <T> reactor.core.publisher.Mono<T> |
putForEntity(com.holonplatform.http.rest.RequestEntity<?> entity,
com.holonplatform.http.rest.ResponseType<T> responseType)
Invoke the request using
PUT method with given entity request entity payload and
asynchronously receive the response payload back. |
default reactor.core.publisher.Mono<ReactiveResponseEntity<Void>> |
trace()
Invoke the request using
TRACE method and asynchronously receive a response back. |
default <T> reactor.core.publisher.Mono<ReactiveResponseEntity<T>> |
trace(Class<T> responseType)
Invoke the request using
TRACE method and asynchronously receive a response back. |
default <T> reactor.core.publisher.Mono<ReactiveResponseEntity<T>> |
trace(com.holonplatform.http.rest.ResponseType<T> responseType)
Invoke the request using
TRACE method and asynchronously receive a response back. |
default <T> reactor.core.publisher.Mono<T> |
traceForEntity(Class<T> responseType)
Invoke the request using
TRACE method and asynchronously receive the response entity payload
back. |
default <T> reactor.core.publisher.Mono<T> |
traceForEntity(com.holonplatform.http.rest.ResponseType<T> responseType)
Invoke the request using
TRACE method and asynchronously receive the response entity payload of
given generic type back. |
<T,R> reactor.core.publisher.Mono<ReactiveResponseEntity<T>> invoke(com.holonplatform.http.HttpMethod method, com.holonplatform.http.rest.RequestEntity<R> requestEntity, com.holonplatform.http.rest.ResponseType<T> responseType)
The response payload is processed and possibly converted by concrete client implementation.
invoke in interface com.holonplatform.http.rest.RestClientOperations.InvocationOperations<reactor.core.publisher.Mono<?>,reactor.core.publisher.Mono<?>,reactor.core.publisher.Mono<InputStream>,reactor.core.publisher.Flux<?>,reactor.core.publisher.Mono<URI>>T - Response typeR - Request entity typemethod - Request methodrequestEntity - Request entityresponseType - Expected response payload typeMono to handle the ReactiveResponseEntity object as the result of the request
invocationcom.holonplatform.http.exceptions.HttpClientInvocationException - Internal invocation failure (for example, an I/O error on communication
channel or expected and actual payload type mismatch)<T,R> reactor.core.publisher.Mono<ReactiveResponseEntity<T>> invokeForSuccess(com.holonplatform.http.HttpMethod method, com.holonplatform.http.rest.RequestEntity<R> requestEntity, com.holonplatform.http.rest.ResponseType<T> responseType)
2xx) status code.invokeForSuccess in interface com.holonplatform.http.rest.RestClientOperations.InvocationOperations<reactor.core.publisher.Mono<?>,reactor.core.publisher.Mono<?>,reactor.core.publisher.Mono<InputStream>,reactor.core.publisher.Flux<?>,reactor.core.publisher.Mono<URI>>T - Response typeR - Request entity typemethod - Request methodrequestEntity - Request entityresponseType - Expected response payload typeMono to handle the ReactiveResponseEntity object as a result of the request
invocationcom.holonplatform.http.exceptions.HttpClientInvocationException - Internal invocation failure (for example, an I/O error on communication
channel or expected and actual payload type mismatch)com.holonplatform.http.exceptions.UnsuccessfulResponseException - In case the status code of the response returned by the server is not a
successful type status code, i.e. it is not a 2xx status code<T,R> reactor.core.publisher.Mono<T> invokeForEntity(com.holonplatform.http.HttpMethod method,
com.holonplatform.http.rest.RequestEntity<R> requestEntity,
com.holonplatform.http.rest.ResponseType<T> responseType)
invokeForEntity in interface com.holonplatform.http.rest.RestClientOperations.InvocationOperations<reactor.core.publisher.Mono<?>,reactor.core.publisher.Mono<?>,reactor.core.publisher.Mono<InputStream>,reactor.core.publisher.Flux<?>,reactor.core.publisher.Mono<URI>>T - Response typeR - Request entity typemethod - Request methodrequestEntity - Request entityresponseType - Expected response payload typeMono to handle the response payload of expected type as the result of the request
invocation, or an empty Optional if not present (empty response entity)com.holonplatform.http.exceptions.HttpClientInvocationException - Internal invocation failure (for example, an I/O error on communication
channel or expected and actual payload type mismatch)com.holonplatform.http.exceptions.UnsuccessfulResponseException - In case the status code of the response returned by the server is not a
successful type status code, i.e. it is not a 2xx status code<T,R> reactor.core.publisher.Flux<T> invokeForFlux(com.holonplatform.http.HttpMethod method,
com.holonplatform.http.rest.RequestEntity<R> requestEntity,
Class<T> responseElementType)
Flux of response entity
elements.T - Response typeR - Request entity typemethod - Request methodrequestEntity - Request entityresponseElementType - Expected response entity elements typeFlux to handle the response payload elementscom.holonplatform.http.exceptions.HttpClientInvocationException - Internal invocation failure (for example, an I/O error on communication
channel or expected and actual payload type mismatch)com.holonplatform.http.exceptions.UnsuccessfulResponseException - In case the status code of the response returned by the server is not a
successful type status code, i.e. it is not a 2xx status code<R> reactor.core.publisher.Mono<InputStream> invokeForStream(com.holonplatform.http.HttpMethod method, com.holonplatform.http.rest.RequestEntity<R> requestEntity)
InputStream.R - Request entity typemethod - Request methodrequestEntity - Request entityMono to handle the response payload stream * @throws HttpClientInvocationException Internal
invocation failure (for example, an I/O error on communication channel or expected and actual payload
type mismatch)com.holonplatform.http.exceptions.UnsuccessfulResponseException - In case the status code of the response returned by the server is not a
successful type status code, i.e. it is not a 2xx status codedefault <T> reactor.core.publisher.Mono<ReactiveResponseEntity<T>> get(Class<T> responseType)
GET method and asynchronously receive a response back.get in interface com.holonplatform.http.rest.RestClientOperations.InvocationOperations<reactor.core.publisher.Mono<?>,reactor.core.publisher.Mono<?>,reactor.core.publisher.Mono<InputStream>,reactor.core.publisher.Flux<?>,reactor.core.publisher.Mono<URI>>T - Response typeresponseType - Expected response payload typeMono to handle the ReactiveResponseEntity object as a result of the request
invocationcom.holonplatform.http.exceptions.HttpClientInvocationException - Internal invocation failure (for example, an I/O error on communication
channel or expected and actual payload type mismatch)default <T> reactor.core.publisher.Mono<ReactiveResponseEntity<T>> get(com.holonplatform.http.rest.ResponseType<T> responseType)
GET method and asynchronously receive a response back.get in interface com.holonplatform.http.rest.RestClientOperations.InvocationOperations<reactor.core.publisher.Mono<?>,reactor.core.publisher.Mono<?>,reactor.core.publisher.Mono<InputStream>,reactor.core.publisher.Flux<?>,reactor.core.publisher.Mono<URI>>T - Response typeresponseType - Expected response payload typeMono to handle the ReactiveResponseEntity object as a result of the request
invocationcom.holonplatform.http.exceptions.HttpClientInvocationException - Internal invocation failure (for example, an I/O error on communication
channel or expected and actual payload type mismatch)default <T> reactor.core.publisher.Mono<T> getForEntity(Class<T> responseType)
GET method and asynchronously receive the response entity payload back.getForEntity in interface com.holonplatform.http.rest.RestClientOperations.InvocationOperations<reactor.core.publisher.Mono<?>,reactor.core.publisher.Mono<?>,reactor.core.publisher.Mono<InputStream>,reactor.core.publisher.Flux<?>,reactor.core.publisher.Mono<URI>>T - Response entity typeresponseType - Expected response payload typeMono to handle the response payload of expected type as the result of the request
invocation, or an empty Optional if not present (empty response entity)com.holonplatform.http.exceptions.HttpClientInvocationException - Internal invocation failure (for example, an I/O error on communication
channel or expected and actual payload type mismatch)com.holonplatform.http.exceptions.UnsuccessfulResponseException - In case the status code of the response returned by the server is not a
successful type status code, i.e. it is not a 2xx status codedefault <T> reactor.core.publisher.Mono<T> getForEntity(com.holonplatform.http.rest.ResponseType<T> responseType)
GET method and asynchronously receive the response entity payload of
given generic type back.getForEntity in interface com.holonplatform.http.rest.RestClientOperations.InvocationOperations<reactor.core.publisher.Mono<?>,reactor.core.publisher.Mono<?>,reactor.core.publisher.Mono<InputStream>,reactor.core.publisher.Flux<?>,reactor.core.publisher.Mono<URI>>T - Response entity typeresponseType - Response payload generic type representationMono to handle the response payload of expected type as the result of the request
invocation, or an empty Optional if not present (empty response entity)com.holonplatform.http.exceptions.HttpClientInvocationException - Internal invocation failure (for example, an I/O error on communication
channel or expected and actual payload type mismatch)com.holonplatform.http.exceptions.UnsuccessfulResponseException - In case the status code of the response returned by the server is not a
successful type status code, i.e. it is not a 2xx status codedefault reactor.core.publisher.Mono<InputStream> getForStream()
GET method and asynchronously receive the response entity
InputStream back.getForStream in interface com.holonplatform.http.rest.RestClientOperations.InvocationOperations<reactor.core.publisher.Mono<?>,reactor.core.publisher.Mono<?>,reactor.core.publisher.Mono<InputStream>,reactor.core.publisher.Flux<?>,reactor.core.publisher.Mono<URI>>Mono to handle the response payload InputStream, or an empty stream for empty
responsescom.holonplatform.http.exceptions.HttpClientInvocationException - Internal invocation failure (for example, an I/O error on communication
channel or expected and actual payload type mismatch)com.holonplatform.http.exceptions.UnsuccessfulResponseException - In case the status code of the response returned by the server is not a
successful type status code, i.e. it is not a 2xx status codedefault <T> reactor.core.publisher.Flux<T> getAsList(Class<T> responseType)
GET method and asynchronously receive a response
entity payload of List type back.getAsList in interface com.holonplatform.http.rest.RestClientOperations.InvocationOperations<reactor.core.publisher.Mono<?>,reactor.core.publisher.Mono<?>,reactor.core.publisher.Mono<InputStream>,reactor.core.publisher.Flux<?>,reactor.core.publisher.Mono<URI>>T - Response entity typeresponseType - Expected List response typeFlux to handle the response payload of expected type as the result of the request
invocation, or an empty flux if not presentcom.holonplatform.http.exceptions.HttpClientInvocationException - Internal invocation failure (for example, an I/O error on communication
channel or expected and actual payload type mismatch)com.holonplatform.http.exceptions.UnsuccessfulResponseException - In case the status code of the response returned by the server is not a
successful type status code, i.e. it is not a 2xx status codedefault reactor.core.publisher.Mono<ReactiveResponseEntity<Void>> post(com.holonplatform.http.rest.RequestEntity<?> entity)
POST method with given entity request payload and
asynchronously receive a response back.
The response type is conventionally of Void type, because no response paylod is expected from this
invocation. Refer to the other post methods to obtain a response payload.
post in interface com.holonplatform.http.rest.RestClientOperations.InvocationOperations<reactor.core.publisher.Mono<?>,reactor.core.publisher.Mono<?>,reactor.core.publisher.Mono<InputStream>,reactor.core.publisher.Flux<?>,reactor.core.publisher.Mono<URI>>entity - Request payloadMono to handle the ReactiveResponseEntity object as a result of the request
invocationcom.holonplatform.http.exceptions.HttpClientInvocationException - Internal invocation failure (for example, an I/O error on communication
channel or expected and actual payload type mismatch)default <T> reactor.core.publisher.Mono<ReactiveResponseEntity<T>> post(com.holonplatform.http.rest.RequestEntity<?> entity, Class<T> responseType)
POST method with given entity request payload and
asynchronously receive a response back.post in interface com.holonplatform.http.rest.RestClientOperations.InvocationOperations<reactor.core.publisher.Mono<?>,reactor.core.publisher.Mono<?>,reactor.core.publisher.Mono<InputStream>,reactor.core.publisher.Flux<?>,reactor.core.publisher.Mono<URI>>T - Response typeentity - Request payloadresponseType - Expected response payload typeMono to handle the ReactiveResponseEntity object as a result of the request
invocationcom.holonplatform.http.exceptions.HttpClientInvocationException - Internal invocation failure (for example, an I/O error on communication
channel or expected and actual payload type mismatch)default <T> reactor.core.publisher.Mono<ReactiveResponseEntity<T>> post(com.holonplatform.http.rest.RequestEntity<?> entity, com.holonplatform.http.rest.ResponseType<T> responseType)
POST method with given entity request payload and
asynchronously receive a response back.post in interface com.holonplatform.http.rest.RestClientOperations.InvocationOperations<reactor.core.publisher.Mono<?>,reactor.core.publisher.Mono<?>,reactor.core.publisher.Mono<InputStream>,reactor.core.publisher.Flux<?>,reactor.core.publisher.Mono<URI>>T - Response typeentity - Request payloadresponseType - Expected response payload typeMono to handle the ReactiveResponseEntity object as a result of the request
invocationcom.holonplatform.http.exceptions.HttpClientInvocationException - Internal invocation failure (for example, an I/O error on communication
channel or expected and actual payload type mismatch)default <T> reactor.core.publisher.Mono<T> postForEntity(com.holonplatform.http.rest.RequestEntity<?> entity,
Class<T> responseType)
POST method with given entity request payload and
asynchronously receive the response payload back.postForEntity in interface com.holonplatform.http.rest.RestClientOperations.InvocationOperations<reactor.core.publisher.Mono<?>,reactor.core.publisher.Mono<?>,reactor.core.publisher.Mono<InputStream>,reactor.core.publisher.Flux<?>,reactor.core.publisher.Mono<URI>>T - Response typeentity - Request payloadresponseType - Expected response payload typeMono to handle the response payload of expected type as the result of the request
invocation, or an empty Optional if not present (empty response entity)com.holonplatform.http.exceptions.HttpClientInvocationException - Internal invocation failure (for example, an I/O error on communication
channel or expected and actual payload type mismatch)com.holonplatform.http.exceptions.UnsuccessfulResponseException - In case the status code of the response returned by the server is not a
successful type status code, i.e. it is not a 2xx status codedefault <T> reactor.core.publisher.Mono<T> postForEntity(com.holonplatform.http.rest.RequestEntity<?> entity,
com.holonplatform.http.rest.ResponseType<T> responseType)
POST method with given entity request payload and
asynchronously receive the response payload back.postForEntity in interface com.holonplatform.http.rest.RestClientOperations.InvocationOperations<reactor.core.publisher.Mono<?>,reactor.core.publisher.Mono<?>,reactor.core.publisher.Mono<InputStream>,reactor.core.publisher.Flux<?>,reactor.core.publisher.Mono<URI>>T - Response typeentity - Request payloadresponseType - Expected response payload typeMono to handle the response payload of expected type as the result of the request
invocation, or an empty Optional if not present (empty response entity)com.holonplatform.http.exceptions.HttpClientInvocationException - Internal invocation failure (for example, an I/O error on communication
channel or expected and actual payload type mismatch)com.holonplatform.http.exceptions.UnsuccessfulResponseException - In case the status code of the response returned by the server is not a
successful type status code, i.e. it is not a 2xx status codedefault reactor.core.publisher.Mono<URI> postForLocation(com.holonplatform.http.rest.RequestEntity<?> entity)
POST method with given entity request payload and
asynchronously receive the value of the LOCATION header back, if present.postForLocation in interface com.holonplatform.http.rest.RestClientOperations.InvocationOperations<reactor.core.publisher.Mono<?>,reactor.core.publisher.Mono<?>,reactor.core.publisher.Mono<InputStream>,reactor.core.publisher.Flux<?>,reactor.core.publisher.Mono<URI>>entity - Request payloadMono to handle the value of the LOCATION header back, if presentcom.holonplatform.http.exceptions.HttpClientInvocationException - Internal invocation failure (for example, an I/O error on communication
channel or expected and actual payload type mismatch)com.holonplatform.http.exceptions.UnsuccessfulResponseException - In case the status code of the response returned by the server is not a
successful type status code, i.e. it is not a 2xx status codedefault reactor.core.publisher.Mono<ReactiveResponseEntity<Void>> put(com.holonplatform.http.rest.RequestEntity<?> entity)
PUT method with given entity request payload and
asynchronously receive a response back.
The response type is conventionally of Void type, because no response paylod is expected from this
invocation. Refer to the other post methods to obtain a response payload.
put in interface com.holonplatform.http.rest.RestClientOperations.InvocationOperations<reactor.core.publisher.Mono<?>,reactor.core.publisher.Mono<?>,reactor.core.publisher.Mono<InputStream>,reactor.core.publisher.Flux<?>,reactor.core.publisher.Mono<URI>>entity - Request payloadMono to handle the ReactiveResponseEntity object as a result of the request
invocationcom.holonplatform.http.exceptions.HttpClientInvocationException - Internal invocation failure (for example, an I/O error on communication
channel or expected and actual payload type mismatch)default <T> reactor.core.publisher.Mono<ReactiveResponseEntity<T>> put(com.holonplatform.http.rest.RequestEntity<?> entity, Class<T> responseType)
PUT method with given entity request payload and
asynchronously receive a response back.put in interface com.holonplatform.http.rest.RestClientOperations.InvocationOperations<reactor.core.publisher.Mono<?>,reactor.core.publisher.Mono<?>,reactor.core.publisher.Mono<InputStream>,reactor.core.publisher.Flux<?>,reactor.core.publisher.Mono<URI>>T - Response typeentity - Request payloadresponseType - Expected response payload typeMono to handle the ReactiveResponseEntity object as a result of the request
invocationcom.holonplatform.http.exceptions.HttpClientInvocationException - Internal invocation failure (for example, an I/O error on communication
channel or expected and actual payload type mismatch)default <T> reactor.core.publisher.Mono<ReactiveResponseEntity<T>> put(com.holonplatform.http.rest.RequestEntity<?> entity, com.holonplatform.http.rest.ResponseType<T> responseType)
PUT method with given entity request payload and
asynchronously receive a response back.put in interface com.holonplatform.http.rest.RestClientOperations.InvocationOperations<reactor.core.publisher.Mono<?>,reactor.core.publisher.Mono<?>,reactor.core.publisher.Mono<InputStream>,reactor.core.publisher.Flux<?>,reactor.core.publisher.Mono<URI>>T - Response typeentity - Request payloadresponseType - Expected response payload typeMono to handle the ReactiveResponseEntity object as a result of the request
invocationcom.holonplatform.http.exceptions.HttpClientInvocationException - Internal invocation failure (for example, an I/O error on communication
channel or expected and actual payload type mismatch)default <T> reactor.core.publisher.Mono<T> putForEntity(com.holonplatform.http.rest.RequestEntity<?> entity,
Class<T> responseType)
PUT method with given entity request payload and
asynchronously receive the response entity payload back.putForEntity in interface com.holonplatform.http.rest.RestClientOperations.InvocationOperations<reactor.core.publisher.Mono<?>,reactor.core.publisher.Mono<?>,reactor.core.publisher.Mono<InputStream>,reactor.core.publisher.Flux<?>,reactor.core.publisher.Mono<URI>>T - Response entity typeentity - Request payloadresponseType - Expected response payload typeMono to handle the response payload of expected type as the result of the request
invocation, or an empty Optional if not present (empty response entity)com.holonplatform.http.exceptions.HttpClientInvocationException - Internal invocation failure (for example, an I/O error on communication
channel or expected and actual payload type mismatch)com.holonplatform.http.exceptions.UnsuccessfulResponseException - In case the status code of the response returned by the server is not a
successful type status code, i.e. it is not a 2xx status codedefault <T> reactor.core.publisher.Mono<T> putForEntity(com.holonplatform.http.rest.RequestEntity<?> entity,
com.holonplatform.http.rest.ResponseType<T> responseType)
PUT method with given entity request entity payload and
asynchronously receive the response payload back.putForEntity in interface com.holonplatform.http.rest.RestClientOperations.InvocationOperations<reactor.core.publisher.Mono<?>,reactor.core.publisher.Mono<?>,reactor.core.publisher.Mono<InputStream>,reactor.core.publisher.Flux<?>,reactor.core.publisher.Mono<URI>>T - Response entity typeentity - Request payloadresponseType - Expected response payload typeMono to handle the response payload of expected type as the result of the request
invocation, or an empty Optional if not present (empty response entity)com.holonplatform.http.exceptions.HttpClientInvocationException - Internal invocation failure (for example, an I/O error on communication
channel or expected and actual payload type mismatch)com.holonplatform.http.exceptions.UnsuccessfulResponseException - In case the status code of the response returned by the server is not a
successful type status code, i.e. it is not a 2xx status codedefault reactor.core.publisher.Mono<ReactiveResponseEntity<Void>> patch(com.holonplatform.http.rest.RequestEntity<?> entity)
PATCH method with given entity request payload and
asynchronously receive a response back.
The response type is conventionally of Void type, because no response paylod is expected from this
invocation. Refer to the other post methods to obtain a response payload.
patch in interface com.holonplatform.http.rest.RestClientOperations.InvocationOperations<reactor.core.publisher.Mono<?>,reactor.core.publisher.Mono<?>,reactor.core.publisher.Mono<InputStream>,reactor.core.publisher.Flux<?>,reactor.core.publisher.Mono<URI>>entity - Request payloadMono to handle the ReactiveResponseEntity object as a result of the request
invocationcom.holonplatform.http.exceptions.HttpClientInvocationException - Internal invocation failure (for example, an I/O error on communication
channel or expected and actual payload type mismatch)default <T> reactor.core.publisher.Mono<ReactiveResponseEntity<T>> patch(com.holonplatform.http.rest.RequestEntity<?> entity, Class<T> responseType)
PATCH method with given entity request payload and
asynchronously receive a response back.patch in interface com.holonplatform.http.rest.RestClientOperations.InvocationOperations<reactor.core.publisher.Mono<?>,reactor.core.publisher.Mono<?>,reactor.core.publisher.Mono<InputStream>,reactor.core.publisher.Flux<?>,reactor.core.publisher.Mono<URI>>T - Response typeentity - Request payloadresponseType - Expected response payload typeMono to handle the ReactiveResponseEntity object as a result of the request
invocationcom.holonplatform.http.exceptions.HttpClientInvocationException - Internal invocation failure (for example, an I/O error on communication
channel or expected and actual payload type mismatch)com.holonplatform.http.exceptions.UnsuccessfulResponseException - In case the status code of the response returned by the server is not a
successful type status code, i.e. it is not a 2xx status codedefault <T> reactor.core.publisher.Mono<ReactiveResponseEntity<T>> patch(com.holonplatform.http.rest.RequestEntity<?> entity, com.holonplatform.http.rest.ResponseType<T> responseType)
PATCH method with given entity request payload and
asynchronously receive a response back.patch in interface com.holonplatform.http.rest.RestClientOperations.InvocationOperations<reactor.core.publisher.Mono<?>,reactor.core.publisher.Mono<?>,reactor.core.publisher.Mono<InputStream>,reactor.core.publisher.Flux<?>,reactor.core.publisher.Mono<URI>>T - Response typeentity - Request payloadresponseType - Expected response payload typeMono to handle the ReactiveResponseEntity object as a result of the request
invocationcom.holonplatform.http.exceptions.HttpClientInvocationException - Internal invocation failure (for example, an I/O error on communication
channel or expected and actual payload type mismatch)com.holonplatform.http.exceptions.UnsuccessfulResponseException - In case the status code of the response returned by the server is not a
successful type status code, i.e. it is not a 2xx status codedefault <T> reactor.core.publisher.Mono<T> patchForEntity(com.holonplatform.http.rest.RequestEntity<?> entity,
Class<T> responseType)
PATCH method with given entity request payload and
asynchronously receive the response entity payload back.patchForEntity in interface com.holonplatform.http.rest.RestClientOperations.InvocationOperations<reactor.core.publisher.Mono<?>,reactor.core.publisher.Mono<?>,reactor.core.publisher.Mono<InputStream>,reactor.core.publisher.Flux<?>,reactor.core.publisher.Mono<URI>>T - Response entity typeentity - Request payloadresponseType - Expected response payload typeMono to handle the response payload of expected type as the result of the request
invocation, or an empty Optional if not present (empty response entity)com.holonplatform.http.exceptions.HttpClientInvocationException - Internal invocation failure (for example, an I/O error on communication
channel or expected and actual payload type mismatch)com.holonplatform.http.exceptions.UnsuccessfulResponseException - In case the status code of the response returned by the server is not a
successful type status code, i.e. it is not a 2xx status codedefault <T> reactor.core.publisher.Mono<T> patchForEntity(com.holonplatform.http.rest.RequestEntity<?> entity,
com.holonplatform.http.rest.ResponseType<T> responseType)
PATCH method with given entity request payload and
asynchronously receive the response entity payload back.patchForEntity in interface com.holonplatform.http.rest.RestClientOperations.InvocationOperations<reactor.core.publisher.Mono<?>,reactor.core.publisher.Mono<?>,reactor.core.publisher.Mono<InputStream>,reactor.core.publisher.Flux<?>,reactor.core.publisher.Mono<URI>>T - Response entity typeentity - Request payloadresponseType - Expected response payload typeMono to handle the response payload of expected type as the result of the request
invocation, or an empty Optional if not present (empty response entity)com.holonplatform.http.exceptions.HttpClientInvocationException - Internal invocation failure (for example, an I/O error on communication
channel or expected and actual payload type mismatch)com.holonplatform.http.exceptions.UnsuccessfulResponseException - In case the status code of the response returned by the server is not a
successful type status code, i.e. it is not a 2xx status codedefault reactor.core.publisher.Mono<ReactiveResponseEntity<Void>> delete()
DELETE method and asynchronously receive a response back.
The response type is conventionally of Void type, because no response paylod is expected from this
invocation. Refer to the other post methods to obtain a response payload.
delete in interface com.holonplatform.http.rest.RestClientOperations.InvocationOperations<reactor.core.publisher.Mono<?>,reactor.core.publisher.Mono<?>,reactor.core.publisher.Mono<InputStream>,reactor.core.publisher.Flux<?>,reactor.core.publisher.Mono<URI>>Mono to handle the ReactiveResponseEntity object as a result of the request
invocationcom.holonplatform.http.exceptions.HttpClientInvocationException - Internal invocation failure (for example, an I/O error on communication
channel)default reactor.core.publisher.Mono<Void> deleteOrFail()
DELETE method. If the returned response is not a
success response (i.e. with a 2xx status code), a UnsuccessfulResponseException
is thrown.Mono to handle the responsecom.holonplatform.http.exceptions.HttpClientInvocationException - Internal invocation failure (for example, an I/O error on communication
channel)com.holonplatform.http.exceptions.UnsuccessfulResponseException - In case the status code of the response returned by the server is not a
successful type status code, i.e. it is not a 2xx status codedefault <T> reactor.core.publisher.Mono<ReactiveResponseEntity<T>> delete(Class<T> responseType)
DELETE method and receive a response back.delete in interface com.holonplatform.http.rest.RestClientOperations.InvocationOperations<reactor.core.publisher.Mono<?>,reactor.core.publisher.Mono<?>,reactor.core.publisher.Mono<InputStream>,reactor.core.publisher.Flux<?>,reactor.core.publisher.Mono<URI>>T - Response typeresponseType - Expected response payload typeMono to handle the ReactiveResponseEntity object as a result of the request
invocationcom.holonplatform.http.exceptions.HttpClientInvocationException - Internal invocation failure (for example, an I/O error on communication
channel or expected and actual payload type mismatch)default <T> reactor.core.publisher.Mono<ReactiveResponseEntity<T>> delete(com.holonplatform.http.rest.ResponseType<T> responseType)
DELETE method and asynchronously receive a response back.delete in interface com.holonplatform.http.rest.RestClientOperations.InvocationOperations<reactor.core.publisher.Mono<?>,reactor.core.publisher.Mono<?>,reactor.core.publisher.Mono<InputStream>,reactor.core.publisher.Flux<?>,reactor.core.publisher.Mono<URI>>T - Response typeresponseType - Response payload generic type representationMono to handle the ReactiveResponseEntity object as a result of the request
invocationcom.holonplatform.http.exceptions.HttpClientInvocationException - Internal invocation failure (for example, an I/O error on communication
channel or expected and actual payload type mismatch)default <T> reactor.core.publisher.Mono<T> deleteForEntity(Class<T> responseType)
DELETE method and asynchronously receive the response entity payload
back.deleteForEntity in interface com.holonplatform.http.rest.RestClientOperations.InvocationOperations<reactor.core.publisher.Mono<?>,reactor.core.publisher.Mono<?>,reactor.core.publisher.Mono<InputStream>,reactor.core.publisher.Flux<?>,reactor.core.publisher.Mono<URI>>T - Response entity typeresponseType - Expected response payload typeMono to handle the response payload of expected type as the result of the request
invocation, or an empty Optional if not present (empty response entity)com.holonplatform.http.exceptions.HttpClientInvocationException - Internal invocation failure (for example, an I/O error on communication
channel or expected and actual payload type mismatch)com.holonplatform.http.exceptions.UnsuccessfulResponseException - In case the status code of the response returned by the server is not a
successful type status code, i.e. it is not a 2xx status codedefault <T> reactor.core.publisher.Mono<T> deleteForEntity(com.holonplatform.http.rest.ResponseType<T> responseType)
DELETE method and asynchronously receive the response entity payload of
given generic type back.deleteForEntity in interface com.holonplatform.http.rest.RestClientOperations.InvocationOperations<reactor.core.publisher.Mono<?>,reactor.core.publisher.Mono<?>,reactor.core.publisher.Mono<InputStream>,reactor.core.publisher.Flux<?>,reactor.core.publisher.Mono<URI>>T - Response entity typeresponseType - Response payload generic type representationMono to handle the response payload of expected type as the result of the request
invocation, or an empty Optional if not present (empty response entity)com.holonplatform.http.exceptions.HttpClientInvocationException - Internal invocation failure (for example, an I/O error on communication
channel or expected and actual payload type mismatch)com.holonplatform.http.exceptions.UnsuccessfulResponseException - In case the status code of the response returned by the server is not a
successful type status code, i.e. it is not a 2xx status codedefault reactor.core.publisher.Mono<ReactiveResponseEntity<Void>> options()
OPTIONS method and asynchronously receive a response back.
The response type is conventionally of Void type, because no response paylod is expected from this
invocation. Refer to the other post methods to obtain a response payload.
options in interface com.holonplatform.http.rest.RestClientOperations.InvocationOperations<reactor.core.publisher.Mono<?>,reactor.core.publisher.Mono<?>,reactor.core.publisher.Mono<InputStream>,reactor.core.publisher.Flux<?>,reactor.core.publisher.Mono<URI>>Mono to handle the ReactiveResponseEntity object as a result of the request
invocationcom.holonplatform.http.exceptions.HttpClientInvocationException - Internal invocation failure (for example, an I/O error on communication
channel)default <T> reactor.core.publisher.Mono<ReactiveResponseEntity<T>> options(Class<T> responseType)
OPTIONS method and asynchronously receive a response back.options in interface com.holonplatform.http.rest.RestClientOperations.InvocationOperations<reactor.core.publisher.Mono<?>,reactor.core.publisher.Mono<?>,reactor.core.publisher.Mono<InputStream>,reactor.core.publisher.Flux<?>,reactor.core.publisher.Mono<URI>>T - Response typeresponseType - Expected response payload typeMono to handle the ReactiveResponseEntity object as a result of the request
invocationcom.holonplatform.http.exceptions.HttpClientInvocationException - Internal invocation failure (for example, an I/O error on communication
channel or expected and actual payload type mismatch)default <T> reactor.core.publisher.Mono<ReactiveResponseEntity<T>> options(com.holonplatform.http.rest.ResponseType<T> responseType)
OPTIONS method and asynchronously receive a response back.options in interface com.holonplatform.http.rest.RestClientOperations.InvocationOperations<reactor.core.publisher.Mono<?>,reactor.core.publisher.Mono<?>,reactor.core.publisher.Mono<InputStream>,reactor.core.publisher.Flux<?>,reactor.core.publisher.Mono<URI>>T - Response typeresponseType - Response payload generic type representationMono to handle the ReactiveResponseEntity object as a result of the request
invocationcom.holonplatform.http.exceptions.HttpClientInvocationException - Internal invocation failure (for example, an I/O error on communication
channel or expected and actual payload type mismatch)default <T> reactor.core.publisher.Mono<T> optionsForEntity(Class<T> responseType)
OPTIONS method and asynchronously receive the response entity payload
back.optionsForEntity in interface com.holonplatform.http.rest.RestClientOperations.InvocationOperations<reactor.core.publisher.Mono<?>,reactor.core.publisher.Mono<?>,reactor.core.publisher.Mono<InputStream>,reactor.core.publisher.Flux<?>,reactor.core.publisher.Mono<URI>>T - Response entity typeresponseType - Expected response payload typeMono to handle the response payload of expected type as the result of the request
invocation, or an empty Optional if not present (empty response entity)com.holonplatform.http.exceptions.HttpClientInvocationException - Internal invocation failure (for example, an I/O error on communication
channel or expected and actual payload type mismatch)com.holonplatform.http.exceptions.UnsuccessfulResponseException - In case the status code of the response returned by the server is not a
successful type status code, i.e. it is not a 2xx status codedefault <T> reactor.core.publisher.Mono<T> optionsForEntity(com.holonplatform.http.rest.ResponseType<T> responseType)
OPTIONS method and asynchronously receive the response entity payload
of given generic type back.optionsForEntity in interface com.holonplatform.http.rest.RestClientOperations.InvocationOperations<reactor.core.publisher.Mono<?>,reactor.core.publisher.Mono<?>,reactor.core.publisher.Mono<InputStream>,reactor.core.publisher.Flux<?>,reactor.core.publisher.Mono<URI>>T - Response entity typeresponseType - Response payload generic type representationMono to handle the response payload of expected type as the result of the request
invocation, or an empty Optional if not present (empty response entity)com.holonplatform.http.exceptions.HttpClientInvocationException - Internal invocation failure (for example, an I/O error on communication
channel or expected and actual payload type mismatch)com.holonplatform.http.exceptions.UnsuccessfulResponseException - In case the status code of the response returned by the server is not a
successful type status code, i.e. it is not a 2xx status codedefault reactor.core.publisher.Mono<ReactiveResponseEntity<Void>> trace()
TRACE method and asynchronously receive a response back.
The response type is conventionally of Void type, because no response paylod is expected from this
invocation. Refer to the other post methods to obtain a response payload.
trace in interface com.holonplatform.http.rest.RestClientOperations.InvocationOperations<reactor.core.publisher.Mono<?>,reactor.core.publisher.Mono<?>,reactor.core.publisher.Mono<InputStream>,reactor.core.publisher.Flux<?>,reactor.core.publisher.Mono<URI>>Mono to handle the ReactiveResponseEntity object as a result of the request
invocationcom.holonplatform.http.exceptions.HttpClientInvocationException - Internal invocation failure (for example, an I/O error on communication
channel or expected and actual payload type mismatch)default <T> reactor.core.publisher.Mono<ReactiveResponseEntity<T>> trace(Class<T> responseType)
TRACE method and asynchronously receive a response back.trace in interface com.holonplatform.http.rest.RestClientOperations.InvocationOperations<reactor.core.publisher.Mono<?>,reactor.core.publisher.Mono<?>,reactor.core.publisher.Mono<InputStream>,reactor.core.publisher.Flux<?>,reactor.core.publisher.Mono<URI>>T - Response typeresponseType - Expected response payload typeMono to handle the ReactiveResponseEntity object as a result of the request
invocationcom.holonplatform.http.exceptions.HttpClientInvocationException - Internal invocation failure (for example, an I/O error on communication
channel or expected and actual payload type mismatch)default <T> reactor.core.publisher.Mono<ReactiveResponseEntity<T>> trace(com.holonplatform.http.rest.ResponseType<T> responseType)
TRACE method and asynchronously receive a response back.trace in interface com.holonplatform.http.rest.RestClientOperations.InvocationOperations<reactor.core.publisher.Mono<?>,reactor.core.publisher.Mono<?>,reactor.core.publisher.Mono<InputStream>,reactor.core.publisher.Flux<?>,reactor.core.publisher.Mono<URI>>T - Response typeresponseType - Response payload generic type representationMono to handle the ReactiveResponseEntity object as a result of the request
invocationcom.holonplatform.http.exceptions.HttpClientInvocationException - Internal invocation failure (for example, an I/O error on communication
channel or expected and actual payload type mismatch)default <T> reactor.core.publisher.Mono<T> traceForEntity(Class<T> responseType)
TRACE method and asynchronously receive the response entity payload
back.traceForEntity in interface com.holonplatform.http.rest.RestClientOperations.InvocationOperations<reactor.core.publisher.Mono<?>,reactor.core.publisher.Mono<?>,reactor.core.publisher.Mono<InputStream>,reactor.core.publisher.Flux<?>,reactor.core.publisher.Mono<URI>>T - Response entity typeresponseType - Expected response payload typeMono to handle the response payload of expected type as the result of the request
invocation, or an empty Optional if not present (empty response entity)com.holonplatform.http.exceptions.HttpClientInvocationException - Internal invocation failure (for example, an I/O error on communication
channel or expected and actual payload type mismatch)com.holonplatform.http.exceptions.UnsuccessfulResponseException - In case the status code of the response returned by the server is not a
successful type status code, i.e. it is not a 2xx status codedefault <T> reactor.core.publisher.Mono<T> traceForEntity(com.holonplatform.http.rest.ResponseType<T> responseType)
TRACE method and asynchronously receive the response entity payload of
given generic type back.traceForEntity in interface com.holonplatform.http.rest.RestClientOperations.InvocationOperations<reactor.core.publisher.Mono<?>,reactor.core.publisher.Mono<?>,reactor.core.publisher.Mono<InputStream>,reactor.core.publisher.Flux<?>,reactor.core.publisher.Mono<URI>>T - Response entity typeresponseType - Response payload generic type representationMono to handle the response payload of expected type as the result of the request
invocation, or an empty Optional if not present (empty response entity)com.holonplatform.http.exceptions.HttpClientInvocationException - Internal invocation failure (for example, an I/O error on communication
channel or expected and actual payload type mismatch)com.holonplatform.http.exceptions.UnsuccessfulResponseException - In case the status code of the response returned by the server is not a
successful type status code, i.e. it is not a 2xx status codedefault reactor.core.publisher.Mono<ReactiveResponseEntity<Void>> head()
HEAD method and asynchronously receive a response back.head in interface com.holonplatform.http.rest.RestClientOperations.InvocationOperations<reactor.core.publisher.Mono<?>,reactor.core.publisher.Mono<?>,reactor.core.publisher.Mono<InputStream>,reactor.core.publisher.Flux<?>,reactor.core.publisher.Mono<URI>>Mono to handle the ReactiveResponseEntity object as a result of the request
invocationcom.holonplatform.http.exceptions.HttpClientInvocationException - Internal invocation failure (for example, an I/O error on communication
channel or expected and actual payload type mismatch)Copyright © 2019 The Holon Platform. All rights reserved.