## Uses of Interface
com.holonplatform.http.rest.RequestEntity

- Packages that use RequestEntity
  Package | Description
  --- | ---
  com.holonplatform.async.http |
  com.holonplatform.async.http.internal |
  com.holonplatform.http.rest |

- - ### Uses of RequestEntity in com.holonplatform.async.http

    Methods in com.holonplatform.async.http with parameters of type RequestEntity
    Modifier and Type | Method and Description
    --- | ---
    `<T,R> CompletionStage<ResponseEntity<T>>` | AsyncRestClient.AsyncInvocation.`invoke(HttpMethod method, RequestEntity<R> requestEntity, ResponseType<T> responseType)` Invoke the request and asynchronously receive a response back.
    `<T,R> CompletionStage<Optional<T>>` | AsyncRestClient.AsyncInvocation.`invokeForEntity(HttpMethod method, RequestEntity<R> requestEntity, ResponseType<T> responseType)` Invoke the request and asynchronously receive back the response content entity.
    `<T,R> CompletionStage<ResponseEntity<T>>` | AsyncRestClient.AsyncInvocation.`invokeForSuccess(HttpMethod method, RequestEntity<R> requestEntity, ResponseType<T> responseType)` Invoke the request and asynchronously receive a response back only if the response has a success (`2xx`) status code.
    `default CompletionStage<ResponseEntity<Void>>` | AsyncRestClient.AsyncInvocation.`patch(RequestEntity<?> entity)` Invoke the request using `PATCH` method with given `entity` request payload and asynchronously receive a response back.
    `default <T> CompletionStage<ResponseEntity<T>>` | AsyncRestClient.AsyncInvocation.`patch(RequestEntity<?> entity, Class<T> responseType)` Invoke the request using `PATCH` method with given `entity` request payload and asynchronously receive a response back.
    `default <T> CompletionStage<ResponseEntity<T>>` | AsyncRestClient.AsyncInvocation.`patch(RequestEntity<?> entity, ResponseType<T> responseType)` Invoke the request using `PATCH` method with given `entity` request payload and asynchronously receive a response back.
    `default <T> CompletionStage<Optional<T>>` | AsyncRestClient.AsyncInvocation.`patchForEntity(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> CompletionStage<Optional<T>>` | AsyncRestClient.AsyncInvocation.`patchForEntity(RequestEntity<?> entity, ResponseType<T> responseType)` Invoke the request using `PATCH` method with given `entity` request payload and asynchronously receive the response entity payload back.
    `default CompletionStage<ResponseEntity<Void>>` | AsyncRestClient.AsyncInvocation.`post(RequestEntity<?> entity)` Invoke the request using `POST` method with given `entity` request payload and asynchronously receive a response back.
    `default <T> CompletionStage<ResponseEntity<T>>` | AsyncRestClient.AsyncInvocation.`post(RequestEntity<?> entity, Class<T> responseType)` Invoke the request using `POST` method with given `entity` request payload and asynchronously receive a response back.
    `default <T> CompletionStage<ResponseEntity<T>>` | AsyncRestClient.AsyncInvocation.`post(RequestEntity<?> entity, ResponseType<T> responseType)` Invoke the request using `POST` method with given `entity` request payload and asynchronously receive a response back.
    `default <T> CompletionStage<Optional<T>>` | AsyncRestClient.AsyncInvocation.`postForEntity(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> CompletionStage<Optional<T>>` | AsyncRestClient.AsyncInvocation.`postForEntity(RequestEntity<?> entity, ResponseType<T> responseType)` Invoke the request using `POST` method with given `entity` request payload and asynchronously receive the response payload back.
    `default CompletionStage<Optional<URI>>` | AsyncRestClient.AsyncInvocation.`postForLocation(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 CompletionStage<ResponseEntity<Void>>` | AsyncRestClient.AsyncInvocation.`put(RequestEntity<?> entity)` Invoke the request using `PUT` method with given `entity` request payload and asynchronously receive a response back.
    `default <T> CompletionStage<ResponseEntity<T>>` | AsyncRestClient.AsyncInvocation.`put(RequestEntity<?> entity, Class<T> responseType)` Invoke the request using `PUT` method with given `entity` request payload and asynchronously receive a response back.
    `default <T> CompletionStage<ResponseEntity<T>>` | AsyncRestClient.AsyncInvocation.`put(RequestEntity<?> entity, ResponseType<T> responseType)` Invoke the request using `PUT` method with given `entity` request payload and asynchronously receive a response back.
    `default <T> CompletionStage<Optional<T>>` | AsyncRestClient.AsyncInvocation.`putForEntity(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> CompletionStage<Optional<T>>` | AsyncRestClient.AsyncInvocation.`putForEntity(RequestEntity<?> entity, ResponseType<T> responseType)` Invoke the request using `PUT` method with given `entity` request entity payload and asynchronously receive the response payload back.

  - ### Uses of RequestEntity in com.holonplatform.async.http.internal

    Methods in com.holonplatform.async.http.internal with parameters of type RequestEntity
    Modifier and Type | Method and Description
    --- | ---
    `<T,R> CompletionStage<ResponseEntity<T>>` | AsyncInvoker.`invoke(AsyncRestClient.AsyncRequestDefinition requestDefinition, HttpMethod method, RequestEntity<R> requestEntity, ResponseType<T> responseType, boolean onlySuccessfulStatusCode)` Invoke a request asynchronously using current given `request` definition.
    `<T,R> CompletionStage<ResponseEntity<T>>` | DefaultAsyncRequestDefinition.`invoke(HttpMethod method, RequestEntity<R> requestEntity, ResponseType<T> responseType)`
    `<T,R> CompletionStage<Optional<T>>` | DefaultAsyncRequestDefinition.`invokeForEntity(HttpMethod method, RequestEntity<R> requestEntity, ResponseType<T> responseType)`
    `<T,R> CompletionStage<ResponseEntity<T>>` | DefaultAsyncRequestDefinition.`invokeForSuccess(HttpMethod method, RequestEntity<R> requestEntity, ResponseType<T> responseType)`

  - ### Uses of RequestEntity in com.holonplatform.http.rest

    Fields in com.holonplatform.http.rest declared as RequestEntity
    Modifier and Type | Field and Description
    --- | ---
    `static RequestEntity<Void>` | RequestEntity.`EMPTY` Empty request entity (with no payload and media type)

    Methods in com.holonplatform.http.rest that return RequestEntity
    Modifier and Type | Method and Description
    --- | ---
    `static <T> RequestEntity<T>` | RequestEntity.`build(String mediaType, T payload)` Build a RequestEntity.
    `static RequestEntity<Map<String,List<String>>>` | RequestEntity.`form(Map<String,List<String>> formData)` Build a `MediaType.APPLICATION_FORM_URLENCODED` entity
    `static <T> RequestEntity<T>` | RequestEntity.`json(T payload)` Build a `MediaType.APPLICATION_JSON` entity.
    `static <T> RequestEntity<T>` | RequestEntity.`text(T payload)` Build a `MediaType.TEXT_PLAIN` entity.
    `static <T> RequestEntity<T>` | RequestEntity.`xml(T payload)` Build a `MediaType.APPLICATION_XML` entity.

    Methods in com.holonplatform.http.rest with parameters of type RequestEntity
    Modifier and Type | Method and Description
    --- | ---
    `<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> RE` | RestClientOperations.InvocationOperations.`invoke(HttpMethod method, RequestEntity<R> requestEntity, ResponseType<T> responseType)` Invoke the request and receive a response back.
    `<T,R> Optional<T>` | RestClient.Invocation.`invokeForEntity(HttpMethod method, RequestEntity<R> requestEntity, ResponseType<T> responseType)` Invoke the request and receive back the response content entity.
    `<T,R> RP` | RestClientOperations.InvocationOperations.`invokeForEntity(HttpMethod method, RequestEntity<R> requestEntity, ResponseType<T> responseType)` Invoke the request and receive back the response content entity.
    `<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.
    `<T,R> RE` | RestClientOperations.InvocationOperations.`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.`patch(RequestEntity<?> entity)` Invoke the request using `PATCH` method with given `entity` request payload and receive a response back.
    `RE` | RestClientOperations.InvocationOperations.`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.
    `<T> RE` | RestClientOperations.InvocationOperations.`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.
    `<T> RE` | RestClientOperations.InvocationOperations.`patch(RequestEntity<?> entity, ResponseType<T> responseType)` Invoke the request using `PATCH` method with given `entity` request payload and receive a response back.
    `default <T> Optional<T>` | RestClient.Invocation.`patchForEntity(RequestEntity<?> entity, Class<T> responseType)` Invoke the request using `PATCH` method with given `entity` request payload and receive the response entity payload back.
    `<T> RP` | RestClientOperations.InvocationOperations.`patchForEntity(RequestEntity<?> entity, Class<T> responseType)` Invoke the request using `PATCH` method with given `entity` request payload and receive the response entity payload back.
    `default <T> Optional<T>` | RestClient.Invocation.`patchForEntity(RequestEntity<?> entity, ResponseType<T> responseType)` Invoke the request using `PATCH` method with given `entity` request payload and receive the response entity payload back.
    `<T> RP` | RestClientOperations.InvocationOperations.`patchForEntity(RequestEntity<?> entity, ResponseType<T> responseType)` Invoke the request using `PATCH` method with given `entity` request payload and receive the response entity payload 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.
    `RE` | RestClientOperations.InvocationOperations.`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.
    `<T> RE` | RestClientOperations.InvocationOperations.`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.
    `<T> RE` | RestClientOperations.InvocationOperations.`post(RequestEntity<?> entity, ResponseType<T> responseType)` Invoke the request using `POST` method with given `entity` request payload and receive a response back.
    `default <T> Optional<T>` | RestClient.Invocation.`postForEntity(RequestEntity<?> entity, Class<T> responseType)` Invoke the request using `POST` method with given `entity` request payload and receive the response payload back.
    `<T> RP` | RestClientOperations.InvocationOperations.`postForEntity(RequestEntity<?> entity, Class<T> responseType)` Invoke the request using `POST` method with given `entity` request payload and receive the response payload back.
    `default <T> Optional<T>` | RestClient.Invocation.`postForEntity(RequestEntity<?> entity, ResponseType<T> responseType)` Invoke the request using `POST` method with given `entity` request payload and receive the response payload back.
    `<T> RP` | RestClientOperations.InvocationOperations.`postForEntity(RequestEntity<?> entity, ResponseType<T> responseType)` Invoke the request using `POST` method with given `entity` request payload and receive the response payload back.
    `default Optional<URI>` | RestClient.Invocation.`postForLocation(RequestEntity<?> entity)` Invoke the request using `POST` method with given `entity` request payload and receive the value of the `LOCATION` header back, if present.
    `RU` | RestClientOperations.InvocationOperations.`postForLocation(RequestEntity<?> entity)` Invoke the request using `POST` method with given `entity` request payload and receive the value of the `LOCATION` header back, if present.
    `default ResponseEntity<Void>` | RestClient.Invocation.`put(RequestEntity<?> entity)` Invoke the request using `PUT` method with given `entity` request payload and receive a response back.
    `RE` | RestClientOperations.InvocationOperations.`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.
    `<T> RE` | RestClientOperations.InvocationOperations.`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.
    `<T> RE` | RestClientOperations.InvocationOperations.`put(RequestEntity<?> entity, ResponseType<T> responseType)` Invoke the request using `PUT` method with given `entity` request payload and receive a response back.
    `default <T> Optional<T>` | RestClient.Invocation.`putForEntity(RequestEntity<?> entity, Class<T> responseType)` Invoke the request using `PUT` method with given `entity` request payload and receive the response entity payload back.
    `<T> RP` | RestClientOperations.InvocationOperations.`putForEntity(RequestEntity<?> entity, Class<T> responseType)` Invoke the request using `PUT` method with given `entity` request payload and receive the response entity payload back.
    `default <T> Optional<T>` | RestClient.Invocation.`putForEntity(RequestEntity<?> entity, ResponseType<T> responseType)` Invoke the request using `PUT` method with given `entity` request entity payload and receive the response payload back.
    `<T> RP` | RestClientOperations.InvocationOperations.`putForEntity(RequestEntity<?> entity, ResponseType<T> responseType)` Invoke the request using `PUT` method with given `entity` request entity payload and receive the response payload back.

Copyright © 2019 The Holon Platform. All rights reserved.