com.holonplatform.json.jackson.spring.internal

## Class JacksonRestTemplateUtils

- java.lang.Object
- - com.holonplatform.json.jackson.spring.internal.JacksonRestTemplateUtils

- All Implemented Interfaces:
    Serializable

      public final class JacksonRestTemplateUtils
      extends Object
      implements Serializable

  Utility class to manage Jackson `RestTemplate` configuration.
  Since:
    5.1.0
  See Also:
    Serialized Form

- - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static Optional<org.springframework.http.converter.json.AbstractJackson2HttpMessageConverter>` | `getJacksonConverter(org.springframework.web.client.RestTemplate restTemplate)` Get a registered AbstractJackson2HttpMessageConverter from RestTemplate

    - ### Methods inherited from class java.lang.Object

      `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Method Detail

    - #### getJacksonConverter

          public static Optional<org.springframework.http.converter.json.AbstractJackson2HttpMessageConverter> getJacksonConverter(org.springframework.web.client.RestTemplate restTemplate)

      Get a registered AbstractJackson2HttpMessageConverter from RestTemplate
      Parameters:
        `restTemplate` - RestTemplate
      Returns:
        Optional AbstractJackson2HttpMessageConverter, empty if not registered

Copyright © 2019 The Holon Platform. All rights reserved.