类 HibernateProxyTypeAdapter

java.lang.Object
com.google.gson.TypeAdapter<org.hibernate.proxy.HibernateProxy>
plus.hiver.common.utils.HibernateProxyTypeAdapter

public class HibernateProxyTypeAdapter extends com.google.gson.TypeAdapter<org.hibernate.proxy.HibernateProxy>
代理对象实例化 工具类 代理对象:我这么理解,就是一个java类中引用到了其他的类,导致无法解析该被代理的类 所以用这个类来帮助进行解析

尊重知识产权,CV 请保留版权,海文科技 https://hiver.cc 出品,不允许非法使用,后果自负

作者:
Yazhi Li
  • 字段概要

    字段
    修饰符和类型
    字段
    说明
    static final com.google.gson.TypeAdapterFactory
     
  • 方法概要

    修饰符和类型
    方法
    说明
    org.hibernate.proxy.HibernateProxy
    read(com.google.gson.stream.JsonReader in)
     
    void
    write(com.google.gson.stream.JsonWriter out, org.hibernate.proxy.HibernateProxy value)
     

    从类继承的方法 com.google.gson.TypeAdapter

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

    从类继承的方法 java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 字段详细资料

    • FACTORY

      public static final com.google.gson.TypeAdapterFactory FACTORY
  • 方法详细资料

    • read

      public org.hibernate.proxy.HibernateProxy read(com.google.gson.stream.JsonReader in) throws IOException
      指定者:
      read 在类中 com.google.gson.TypeAdapter<org.hibernate.proxy.HibernateProxy>
      抛出:
      IOException
    • write

      public void write(com.google.gson.stream.JsonWriter out, org.hibernate.proxy.HibernateProxy value) throws IOException
      指定者:
      write 在类中 com.google.gson.TypeAdapter<org.hibernate.proxy.HibernateProxy>
      抛出:
      IOException