## Uses of Class
com.holonplatform.http.HttpMethod

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

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

    Methods in com.holonplatform.async.http with parameters of type HttpMethod
    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.

  - ### Uses of HttpMethod in com.holonplatform.http

    Methods in com.holonplatform.http that return HttpMethod
    Modifier and Type | Method and Description
    --- | ---
    `static HttpMethod` | HttpMethod.`from(String methodName)` Get HttpMethod enum constant matching given `methodName` name
    `HttpMethod` | HttpRequest.`getMethod()` Get the request method
    `static HttpMethod` | HttpMethod.`valueOf(String name)` Returns the enum constant of this type with the specified name.
    `static HttpMethod[]` | HttpMethod.`values()` Returns an array containing the constants of this enum type, in the order they are declared.

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

    Methods in com.holonplatform.http.rest with parameters of type HttpMethod
    Modifier and Type | Method and Description
    --- | ---
    `<T,R> RE` | RestClientOperations.InvocationOperations.`invoke(HttpMethod method, RequestEntity<R> requestEntity, ResponseType<T> responseType)` Invoke the request 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> RP` | RestClientOperations.InvocationOperations.`invokeForEntity(HttpMethod method, RequestEntity<R> requestEntity, ResponseType<T> responseType)` Invoke the request and receive back the response content entity.
    `<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> 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.
    `<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.

Copyright © 2019 The Holon Platform. All rights reserved.