Class RestTemplateProvider

java.lang.Object
com.jumio.sdk.util.RestTemplateProvider

public class RestTemplateProvider extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static org.springframework.web.client.RestTemplate
    initializeRestTemplateWith(org.springframework.http.client.ClientHttpRequestFactory clientHttpRequestFactory, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
     
    static org.springframework.web.client.RestTemplate
    mockRestTemplate(org.springframework.http.client.ClientHttpRequestFactory clientHttpRequestFactory, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • RestTemplateProvider

      public RestTemplateProvider()
  • Method Details

    • initializeRestTemplateWith

      public static org.springframework.web.client.RestTemplate initializeRestTemplateWith(@Nullable org.springframework.http.client.ClientHttpRequestFactory clientHttpRequestFactory, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
    • mockRestTemplate

      public static org.springframework.web.client.RestTemplate mockRestTemplate(@Nullable org.springframework.http.client.ClientHttpRequestFactory clientHttpRequestFactory, com.fasterxml.jackson.databind.ObjectMapper objectMapper)