Package 

Interface StructuredMediaTypeDecoder

  • All Implemented Interfaces:
    io.outfoxx.sunday.mediatypes.codecs.MediaTypeDecoder

    
    public interface StructuredMediaTypeDecoder
     implements MediaTypeDecoder
                        

    Common interface for decoders that support decoding from structured maps in addition to binary data.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract <T extends Any> T decode(Map<String, Object> data, KType type) Decodes a structured Map into a specific Java/Kotlin type.
      • Methods inherited from class io.outfoxx.sunday.mediatypes.codecs.MediaTypeDecoder

        decode
      • Methods inherited from class kotlin.Any

        equals, hashCode, toString
      • Methods inherited from class java.lang.Object

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

    • Method Detail

      • decode

         abstract <T extends Any> T decode(Map<String, Object> data, KType type)

        Decodes a structured Map into a specific Java/Kotlin type.

        Parameters:
        data - Structured map to decode.
        type - Target Java/Kotlin type.