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

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

- - ### 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> 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> 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> 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 © 2017 The Holon Platform. All rights reserved.