Interface ObjectDecoder<T>

  • All Known Subinterfaces:
    ObjectCodec<T>
    All Known Implementing Classes:
    GsonObjectCodec

    public interface ObjectDecoder<T>
    Read the HTTP request body data to a Java object.
    • Method Detail

      • decode

        T decode​(java.io.InputStream stream)
          throws java.lang.Exception
        Throws:
        java.lang.Exception
      • decode

        T decode​(byte[] data)
          throws java.lang.Exception
        Throws:
        java.lang.Exception