Class JacksonHttpClientResponseMapper<T>

java.lang.Object
ru.tinkoff.kora.json.jackson.module.http.client.JacksonHttpClientResponseMapper<T>
All Implemented Interfaces:
ru.tinkoff.kora.common.Mapping.MappingFunction, ru.tinkoff.kora.http.client.common.response.HttpClientResponseMapper<T>

public class JacksonHttpClientResponseMapper<T> extends Object implements ru.tinkoff.kora.http.client.common.response.HttpClientResponseMapper<T>
  • Constructor Details

    • JacksonHttpClientResponseMapper

      public JacksonHttpClientResponseMapper(com.fasterxml.jackson.databind.ObjectMapper objectMapper, com.fasterxml.jackson.core.type.TypeReference<T> type)
    • JacksonHttpClientResponseMapper

      public JacksonHttpClientResponseMapper(com.fasterxml.jackson.databind.ObjectMapper objectMapper, ru.tinkoff.kora.application.graph.TypeRef<T> type)
  • Method Details

    • apply

      public T apply(ru.tinkoff.kora.http.client.common.response.HttpClientResponse response)
      Specified by:
      apply in interface ru.tinkoff.kora.http.client.common.response.HttpClientResponseMapper<T>