Modifier and Type | Method and Description |
---|---|
ForestConverter |
ForestConfiguration.getConverter(ForestDataType dataType)
根据请求响应数据类型获取数据转换器
|
Modifier and Type | Method and Description |
---|---|
Map<ForestDataType,ForestConverter> |
ForestConfiguration.getConverterMap()
获取全局数据转换器表
|
Modifier and Type | Method and Description |
---|---|
ForestConfiguration |
ForestConfiguration.setConverterMap(Map<ForestDataType,ForestConverter> converterMap)
设置全局数据转换器表
|
Modifier and Type | Class and Description |
---|---|
class |
DefaultAutoConverter |
Modifier and Type | Class and Description |
---|---|
class |
DefaultBinaryConverter
默认的二进制数据转换器
|
Modifier and Type | Interface and Description |
---|---|
interface |
ForestJsonConverter
Forest的JSON数据转换接口
|
Modifier and Type | Class and Description |
---|---|
class |
ForestFastjsonConverter
使用Fastjson实现的消息转换实现类
|
class |
ForestGsonConverter
使用Gson实现的消息转换实现类
|
class |
ForestJacksonConverter
使用Jackson实现的消息转折实现类
|
Modifier and Type | Method and Description |
---|---|
ForestConverter |
ForestFastjsonConverter.setDateFormat(String format) |
ForestConverter |
ForestJacksonConverter.setDateFormat(String dateFormat) |
ForestConverter |
ForestGsonConverter.setDateFormat(String dateFormat) |
ForestConverter |
ForestJsonConverter.setDateFormat(String format)
设置日期格式
|
Modifier and Type | Class and Description |
---|---|
class |
DefaultTextConverter |
Modifier and Type | Interface and Description |
---|---|
interface |
ForestXmlConverter
Xml消息转化接口
|
Modifier and Type | Class and Description |
---|---|
class |
ForestJaxbConverter
基于JAXB实现的XML转换器
|
Modifier and Type | Method and Description |
---|---|
ForestConverter |
ForestRequest.getDecoder()
获取反序列化器
|
Modifier and Type | Method and Description |
---|---|
ForestRequest |
ForestRequest.setDecoder(ForestConverter decoder)
设置反序列化器
|
Copyright © 2020. All rights reserved.