Package 

Interface TextMediaTypeDecoder

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

    
    public interface TextMediaTypeDecoder
     implements MediaTypeDecoder
                        

    Common interface for decoders that support decoding from text 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(String data, KType type) Decodes text 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(String data, KType type)

        Decodes text into a specific Java/Kotlin type.

        Parameters:
        data - Text data.
        type - Target Java/Kotlin type.