Class MessageAdapter

java.lang.Object
com.google.gson.TypeAdapter<Message>
com.alibaba.dashscope.legacy_2x.common.MessageAdapter

@Deprecated public class MessageAdapter extends com.google.gson.TypeAdapter<Message>
Deprecated.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Deprecated.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    read(com.google.gson.stream.JsonReader in)
    Deprecated.
     
    void
    write(com.google.gson.stream.JsonWriter out, Message value)
    Deprecated.
     

    Methods inherited from class com.google.gson.TypeAdapter

    fromJson, fromJson, fromJsonTree, nullSafe, toJson, toJson, toJsonTree

    Methods inherited from class java.lang.Object

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

    • MessageAdapter

      public MessageAdapter()
      Deprecated.
  • Method Details

    • write

      public void write(com.google.gson.stream.JsonWriter out, Message value) throws IOException
      Deprecated.
      Specified by:
      write in class com.google.gson.TypeAdapter<Message>
      Throws:
      IOException
    • read

      public Message read(com.google.gson.stream.JsonReader in) throws IOException
      Deprecated.
      Specified by:
      read in class com.google.gson.TypeAdapter<Message>
      Throws:
      IOException