Package | Description |
---|---|
com.dtflys.forest.config | |
com.dtflys.forest.http | |
com.dtflys.forest.utils |
Modifier and Type | Method and Description |
---|---|
Map<ForestDataType,ForestConverter> |
ForestConfiguration.getConverterMap()
获取全局数据转换器表
|
Modifier and Type | Method and Description |
---|---|
ForestConverter |
ForestConfiguration.getConverter(ForestDataType dataType)
根据请求响应数据类型获取数据转换器
|
Modifier and Type | Method and Description |
---|---|
ForestConfiguration |
ForestConfiguration.setConverterMap(Map<ForestDataType,ForestConverter> converterMap)
设置全局数据转换器表
|
Modifier and Type | Method and Description |
---|---|
ForestDataType |
ForestRequest.getDataType() |
Modifier and Type | Method and Description |
---|---|
ForestRequest |
ForestRequest.setDataType(ForestDataType dataType) |
Modifier and Type | Field and Description |
---|---|
static ForestDataType |
ForestDataType.AUTO
数据类型: 自动类型
|
static ForestDataType |
ForestDataType.BINARY
数据类型: 二进制类型
|
static ForestDataType |
ForestDataType.JSON
数据类型: JSON类型
|
static ForestDataType |
ForestDataType.TEXT
数据类型: 文本类型
|
static ForestDataType |
ForestDataType.XML
数据类型: XML类型
|
Modifier and Type | Field and Description |
---|---|
static Map<String,ForestDataType> |
ForestDataType.DATA_TYPES
数据类型表
|
Modifier and Type | Method and Description |
---|---|
static ForestDataType |
ForestDataType.createDataType(String name)
创建新的数据类型
|
static ForestDataType |
ForestDataType.findByName(String name)
Find data type object by data type name
|
static ForestDataType |
ForestDataType.findOrCreateDataType(String name)
Find or create a data type
|
Copyright © 2020. All rights reserved.