Interface EntityMapper.EntityDeserializer<T>

Type Parameters:
T - Object type
Enclosing class:
EntityMapper
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface EntityMapper.EntityDeserializer<T>
Deserializer for HTTP response bodies
  • Method Summary

    Modifier and Type
    Method
    Description
    deserialize​(@Nullable ContentType contentType, @org.jetbrains.annotations.NotNull byte[] input)
    Deserialize the input byte array into an object.
  • Method Details

    • deserialize

      @NotNull T deserialize(@Nullable @Nullable ContentType contentType, @NotNull @org.jetbrains.annotations.NotNull byte[] input)
      Deserialize the input byte array into an object.
      Parameters:
      contentType - Optional content type, if supplied by the server
      input - Input that should be de-serialized
      Returns:
      De-serialized input