Package | Description |
---|---|
net.gdface.thrift |
Modifier and Type | Class and Description |
---|---|
class |
Swift2ThriftyExceptionTransformer<L extends java.lang.Exception,R extends ThriftDecorator<? extends java.lang.Exception>>
有
ThriftStruct 注释的异常类型之间的转换 |
class |
ThriftDecoratorTransformer<L,R extends ThriftDecorator<L>>
提供装饰对象
ThriftDecorator 和被装饰对象之间的类型转换 |
class |
ThriftExceptionTransformer<L extends java.lang.Exception,R extends ThriftDecorator<? extends java.lang.Exception>>
有
ThriftStruct 注释的异常类型之间的转换 |
class |
TypeTransformer.ThriftClientTypeTransformer<L,M extends ThriftDecorator<L>,R>
原始类型和thrift client 类型之间的转换器,需要2将完成转换,如果
L->M->R |
Modifier and Type | Method and Description |
---|---|
static <T,D extends ThriftDecorator<T>> |
ThriftUtils.getDecoratorType(java.lang.Class<T> clazz)
返回
clazz 对应的装饰类 |
static <L,M extends ThriftDecorator<L>,R> |
ThriftUtils.getMiddleClass(java.lang.Class<L> left,
java.lang.Class<R> right)
返回
left & right 之间的decorator类型 |
static <L,M extends ThriftDecorator<L>,R> |
ThriftUtils.getMiddleClassChecked(java.lang.Class<L> left,
java.lang.Class<R> right) |
Modifier and Type | Method and Description |
---|---|
static <T> java.lang.Class<? extends ThriftDecorator<T>> |
ThriftUtils.getDecoratorType(java.lang.reflect.Type type) |
Copyright © 2019. All rights reserved.