A B C D E F G H I N O P R S T U W 

A

AbstractGenericSerializerFactory - com.alipay.hessian.generic.io中的类
 
AbstractGenericSerializerFactory() - 类 的构造器com.alipay.hessian.generic.io.AbstractGenericSerializerFactory
 
addCustomConverter(CustomConverter) - 类 中的静态方法com.alipay.hessian.generic.util.GenericUtils
增加自定义 CustomConverter
addFilter(ClassNameFilter) - 类 中的方法com.alipay.hessian.ClassNameResolver
增加类名过滤器
addGenericFactory(AbstractGenericSerializerFactory) - 类 中的方法com.alipay.hessian.generic.io.GenericSerializerFactory
Adds a factory.
ARRAY_PREFIX - 类 中的静态变量com.alipay.hessian.generic.io.GenericDeserializer
 
arrayFilter(Class) - 类 中的静态方法com.alipay.hessian.generic.util.ClassFilter
检测数组类型是否在过滤列表
arrayFilter(String) - 类 中的静态方法com.alipay.hessian.generic.util.ClassFilter
检测数组类型是否在过滤列表

B

blackPrefixList - 类 中的变量com.alipay.hessian.NameBlackListFilter
黑名单 包名前缀
buildCache(int) - 类 中的方法com.alipay.hessian.NameBlackListFilter
初始化缓存
buildDefault() - 类 中的静态方法com.alipay.hessian.ClassNameResolverBuilder
Build default ClassNameResolver

C

CLASS_NAME - 类 中的静态变量com.alipay.hessian.generic.util.ClassFilter
 
ClassFilter - com.alipay.hessian.generic.util中的类
 
ClassFilter() - 类 的构造器com.alipay.hessian.generic.util.ClassFilter
 
ClassNameFilter - com.alipay.hessian中的接口
类名过滤器
ClassNameResolver - com.alipay.hessian中的类
类名处理器,包含一组类名过滤器
ClassNameResolver() - 类 的构造器com.alipay.hessian.ClassNameResolver
 
ClassNameResolverBuilder - com.alipay.hessian中的类
类名处理器的构造器
ClassNameResolverBuilder() - 类 的构造器com.alipay.hessian.ClassNameResolverBuilder
 
com.alipay.hessian - 程序包 com.alipay.hessian
 
com.alipay.hessian.generic.exception - 程序包 com.alipay.hessian.generic.exception
 
com.alipay.hessian.generic.io - 程序包 com.alipay.hessian.generic.io
 
com.alipay.hessian.generic.model - 程序包 com.alipay.hessian.generic.model
 
com.alipay.hessian.generic.util - 程序包 com.alipay.hessian.generic.util
 
com.alipay.hessian.internal - 程序包 com.alipay.hessian.internal
 
compareTo(GenericObject) - 类 中的方法com.alipay.hessian.generic.model.GenericObject
 
ConvertException - com.alipay.hessian.generic.exception中的异常错误
转换异常
ConvertException(String) - 异常错误 的构造器com.alipay.hessian.generic.exception.ConvertException
 
ConvertException(Throwable) - 异常错误 的构造器com.alipay.hessian.generic.exception.ConvertException
 
ConvertException(String, Throwable) - 异常错误 的构造器com.alipay.hessian.generic.exception.ConvertException
 
convertToGenericObject(Class, Object) - 接口 中的方法com.alipay.hessian.generic.util.CustomConverter
普通对象转泛化对象
convertToGenericObject(Object) - 类 中的静态方法com.alipay.hessian.generic.util.GenericUtils
将对象转换为GenericObject
convertToObject(Class, GenericObject) - 接口 中的方法com.alipay.hessian.generic.util.CustomConverter
泛化对象转普通对象
convertToObject(Object) - 类 中的静态方法com.alipay.hessian.generic.util.GenericUtils
将 GenericObject 转换为具体对象
CustomConverter - com.alipay.hessian.generic.util中的接口
Created by zhanggeng on 2017/7/28.

D

decodeObjectAndDate(String) - 类 中的静态方法com.alipay.hessian.generic.util.ClassFilter
对于java.lang.Object/java.util.Date对象, hessian序列化的时候写入类型是object/date,此处进行解析
doWriteObject(GenericObject, AbstractHessianOutput) - 类 中的方法com.alipay.hessian.generic.io.GenericObjectSerializer
 

E

encodeObjectAndDate(String) - 类 中的静态方法com.alipay.hessian.generic.util.ClassFilter
对于java.lang.Object/java.util.Date对象, hessian序列化时需要写入object/date,此处进行转换
equals(Object) - 类 中的方法com.alipay.hessian.generic.model.GenericObject
 

F

filter(String) - 类 中的静态方法com.alipay.hessian.generic.util.ClassFilter
在反序列化类时, 会调用此方法检测是否是jdk类型, 一共包含两个维度, 一个从包名检测, 一个从指定的特殊类型中查找
filterExcludeClass(String) - 类 中的静态方法com.alipay.hessian.generic.util.ClassFilter
在反序列化类时, 会调用此方法检测是否是jdk类型, 一共包含两个维度, 一个从包名检测, 一个从指定的特殊类型中查找 需要注意的是java.lang.Class排除在过滤列表之外

G

GenericArray - com.alipay.hessian.generic.model中的类
 
GenericArray(String) - 类 的构造器com.alipay.hessian.generic.model.GenericArray
 
GenericArraySerializer - com.alipay.hessian.generic.io中的类
 
GenericClass - com.alipay.hessian.generic.model中的类
Class 类型的泛化类
GenericClass(String) - 类 的构造器com.alipay.hessian.generic.model.GenericClass
 
GenericClassDeserializer - com.alipay.hessian.generic.io中的类
 
GenericClassSerializer - com.alipay.hessian.generic.io中的类
 
GenericCollection - com.alipay.hessian.generic.model中的类
Collection的包装类 由于Hessian对Collection接口的特殊处理, 用户自定义的Collection都需要此类包装
GenericCollection(String) - 类 的构造器com.alipay.hessian.generic.model.GenericCollection
 
GenericCollectionSerializer - com.alipay.hessian.generic.io中的类
 
GenericDeserializer - com.alipay.hessian.generic.io中的类
此类用于反序列化GenericObject/GenericMap/GenericCollection Collection对象或者数组对象反序列化会调用readList/readLengthList方法,根据type类型返回GenericCollection/GenericArray Map对象反序列化会调用readMap方法,返回结果为GenericMap Object对象反序列会调用readObject方法,返回结果为GenericObject
GenericDeserializer(String) - 类 的构造器com.alipay.hessian.generic.io.GenericDeserializer
 
GenericMap - com.alipay.hessian.generic.model中的类
Map的包装类 由于Hessian对Map接口的特殊处理, 用户自定义的Map都需要此类包装
GenericMap(String) - 类 的构造器com.alipay.hessian.generic.model.GenericMap
 
GenericMapSerializer - com.alipay.hessian.generic.io中的类
 
GenericObject - com.alipay.hessian.generic.model中的类
此类用于表示泛化类型.
GenericObject(String) - 类 的构造器com.alipay.hessian.generic.model.GenericObject
 
GenericObjectSerializer - com.alipay.hessian.generic.io中的类
 
GenericSerializerFactory - com.alipay.hessian.generic.io中的类
 
GenericSerializerFactory() - 类 的构造器com.alipay.hessian.generic.io.GenericSerializerFactory
 
GenericUtils - com.alipay.hessian.generic.util中的类
 
GenericUtils() - 类 的构造器com.alipay.hessian.generic.util.GenericUtils
 
get(int) - 类 中的方法com.alipay.hessian.generic.model.GenericArray
 
getClazzName() - 类 中的方法com.alipay.hessian.generic.model.GenericClass
 
getCollection() - 类 中的方法com.alipay.hessian.generic.model.GenericCollection
 
getComponentType() - 类 中的方法com.alipay.hessian.generic.model.GenericArray
 
getDefaultSerializer(Class) - 类 中的方法com.alipay.hessian.generic.io.GenericSerializerFactory
重写此方法主要是为了保证类不实现Serializable接口也可序列化
getDeserializer(String) - 类 中的方法com.alipay.hessian.generic.io.AbstractGenericSerializerFactory
Returns the deserializer for type.
getDeserializer(String) - 类 中的方法com.alipay.hessian.generic.io.GenericSerializerFactory
 
getField(String) - 类 中的方法com.alipay.hessian.generic.model.GenericObject
 
getFieldNames() - 类 中的方法com.alipay.hessian.generic.model.GenericObject
 
getFields() - 类 中的方法com.alipay.hessian.generic.model.GenericObject
 
getInstance() - 类 中的静态方法com.alipay.hessian.generic.io.GenericArraySerializer
 
getInstance() - 类 中的静态方法com.alipay.hessian.generic.io.GenericClassDeserializer
 
getInstance() - 类 中的静态方法com.alipay.hessian.generic.io.GenericClassSerializer
 
getInstance() - 类 中的静态方法com.alipay.hessian.generic.io.GenericCollectionSerializer
 
getInstance() - 类 中的静态方法com.alipay.hessian.generic.io.GenericMapSerializer
 
getInstance() - 类 中的静态方法com.alipay.hessian.generic.io.GenericObjectSerializer
 
getLength() - 类 中的方法com.alipay.hessian.generic.model.GenericArray
 
getMap() - 类 中的方法com.alipay.hessian.generic.model.GenericMap
 
getObjects() - 类 中的方法com.alipay.hessian.generic.model.GenericArray
 
getSerializer(Class) - 类 中的方法com.alipay.hessian.generic.io.GenericSerializerFactory
 
getType() - 类 中的方法com.alipay.hessian.generic.model.GenericArray
 
getType() - 类 中的方法com.alipay.hessian.generic.model.GenericCollection
 
getType() - 类 中的方法com.alipay.hessian.generic.model.GenericMap
 
getType() - 类 中的方法com.alipay.hessian.generic.model.GenericObject
 

H

hasField(String) - 类 中的方法com.alipay.hessian.generic.model.GenericObject
 
hashCode() - 类 中的方法com.alipay.hessian.generic.model.GenericObject
 

I

interestClass() - 接口 中的方法com.alipay.hessian.generic.util.CustomConverter
关注的类名
InternalNameBlackListFilter - com.alipay.hessian.internal中的类
内置黑名单列表过滤器
InternalNameBlackListFilter() - 类 的构造器com.alipay.hessian.internal.InternalNameBlackListFilter
构造函数
InternalNameBlackListFilter(int) - 类 的构造器com.alipay.hessian.internal.InternalNameBlackListFilter
构造函数指定缓存大小

N

NameBlackListFilter - com.alipay.hessian中的类
名字黑名单过滤器
NameBlackListFilter(List<String>) - 类 的构造器com.alipay.hessian.NameBlackListFilter
指定黑名单前缀
NameBlackListFilter(List<String>, int) - 类 的构造器com.alipay.hessian.NameBlackListFilter
指定黑名单前缀和缓存大小
nameFilter(String) - 类 中的静态方法com.alipay.hessian.generic.util.ClassFilter
在反序列化数组时,会调用此方法检测是否是jdk类型, 包含一个维度, 从指定的特殊类型中查找 不从包名检测的原因是, 数组类型是jdk类型, 但是存放的内容可能是子类, 子类反序列化为GenericObject无法放入数组 NAME_FILTER没有这个问题的原因是, 除了object和date外, 这几个类为final类,无法继承 type为date或者object时,返回false
NameMappingFilter - com.alipay.hessian中的类
名字映射过滤器,某些情况下,需要将OldClass序列化的类,用NewClass去解析
NameMappingFilter() - 类 的构造器com.alipay.hessian.NameMappingFilter
 

O

order() - 接口 中的方法com.alipay.hessian.ClassNameFilter
排序,从小到大排序,越小越前面
order() - 类 中的方法com.alipay.hessian.NameBlackListFilter
 
order() - 类 中的方法com.alipay.hessian.NameMappingFilter
 

P

putField(String, Object) - 类 中的方法com.alipay.hessian.generic.model.GenericObject
 

R

readLengthList(AbstractHessianInput, int) - 类 中的方法com.alipay.hessian.generic.io.GenericDeserializer
当读取list时会调用此方法
readList(AbstractHessianInput, int) - 类 中的方法com.alipay.hessian.generic.io.GenericDeserializer
当读取list时会调用此方法
readMap(AbstractHessianInput) - 类 中的方法com.alipay.hessian.generic.io.GenericDeserializer
当读取map时会调用此方法
readObject(AbstractHessianInput, String[]) - 类 中的方法com.alipay.hessian.generic.io.GenericClassDeserializer
当读取Object时会调用此方法, Object类型包括Enum与AliEnum
readObject(AbstractHessianInput, String[]) - 类 中的方法com.alipay.hessian.generic.io.GenericDeserializer
当读取Object时会调用此方法, Object类型包括Enum与AliEnum
registerMapping(String, String) - 类 中的方法com.alipay.hessian.NameMappingFilter
Register mapping.
removeCustomConverter(CustomConverter) - 类 中的静态方法com.alipay.hessian.generic.util.GenericUtils
删除自定义 CustomConverter
removeFilter(ClassNameFilter) - 类 中的方法com.alipay.hessian.ClassNameResolver
删除类名过滤器
resolve(String) - 接口 中的方法com.alipay.hessian.ClassNameFilter
决定类名,例如进行过滤,转换,等等。
resolve(String) - 类 中的方法com.alipay.hessian.ClassNameResolver
决定类名
resolve(String) - 类 中的方法com.alipay.hessian.NameBlackListFilter
 
resolve(String) - 类 中的方法com.alipay.hessian.NameMappingFilter
 
resultOfInBlackList - 类 中的变量com.alipay.hessian.NameBlackListFilter
类名是否在黑名单中结果缓存。

S

setClazzName(String) - 类 中的方法com.alipay.hessian.generic.model.GenericClass
 
setCollection(Collection) - 类 中的方法com.alipay.hessian.generic.model.GenericCollection
 
setMap(Map) - 类 中的方法com.alipay.hessian.generic.model.GenericMap
 
setObjects(Object[]) - 类 中的方法com.alipay.hessian.generic.model.GenericArray
 
setType(String) - 类 中的方法com.alipay.hessian.generic.model.GenericCollection
 

T

toString() - 类 中的方法com.alipay.hessian.generic.model.GenericObject
 
toString(Set<Object>) - 类 中的方法com.alipay.hessian.generic.model.GenericObject
 

U

unregisterMapping(String) - 类 中的方法com.alipay.hessian.NameMappingFilter
Unregister mapping.

W

writeObject(Object, AbstractHessianOutput) - 类 中的方法com.alipay.hessian.generic.io.GenericArraySerializer
 
writeObject(Object, AbstractHessianOutput) - 类 中的方法com.alipay.hessian.generic.io.GenericClassSerializer
 
writeObject(Object, AbstractHessianOutput) - 类 中的方法com.alipay.hessian.generic.io.GenericCollectionSerializer
 
writeObject(Object, AbstractHessianOutput) - 类 中的方法com.alipay.hessian.generic.io.GenericMapSerializer
 
writeObject(Object, AbstractHessianOutput) - 类 中的方法com.alipay.hessian.generic.io.GenericObjectSerializer
 
A B C D E F G H I N O P R S T U W 

Copyright © 2008–2019 Ant Financial. All rights reserved.