Class JacksonHttpServerRequestMapper<T>

java.lang.Object
ru.tinkoff.kora.json.jackson.module.http.server.JacksonHttpServerRequestMapper<T>
All Implemented Interfaces:
ru.tinkoff.kora.common.Mapping.MappingFunction, ru.tinkoff.kora.http.server.common.handler.HttpServerRequestMapper<T>

public final class JacksonHttpServerRequestMapper<T> extends Object implements ru.tinkoff.kora.http.server.common.handler.HttpServerRequestMapper<T>
  • Constructor Details

    • JacksonHttpServerRequestMapper

      public JacksonHttpServerRequestMapper(com.fasterxml.jackson.databind.ObjectMapper objectMapper, Type type)
  • Method Details

    • apply

      public T apply(ru.tinkoff.kora.http.server.common.HttpServerRequest request) throws IOException
      Specified by:
      apply in interface ru.tinkoff.kora.http.server.common.handler.HttpServerRequestMapper<T>
      Throws:
      IOException