类的使用
com.dtflys.forest.utils.ForestDataType
使用ForestDataType的程序包
程序包
说明
-
com.dtflys.forest.backend中ForestDataType的使用
-
com.dtflys.forest.config中ForestDataType的使用
返回变量类型为ForestDataType的类型的com.dtflys.forest.config中的方法参数类型为ForestDataType的com.dtflys.forest.config中的方法类型变量类型为ForestDataType的com.dtflys.forest.config中的方法参数修饰符和类型方法说明ForestConfiguration.setConverterMap(Map<ForestDataType, ForestConverter> converterMap) 设置全局数据转换器表ForestConfiguration.setToMergeConverterMap(Map<ForestDataType, ForestConverter> converterMap) 设置合并全局数据转换器表,但不会覆盖整个转换器表 -
com.dtflys.forest.converter中ForestDataType的使用
-
com.dtflys.forest.converter.auto中ForestDataType的使用
-
com.dtflys.forest.converter.binary中ForestDataType的使用
-
com.dtflys.forest.converter.form中ForestDataType的使用
-
com.dtflys.forest.converter.json中ForestDataType的使用
修饰符和类型方法说明ForestFastjson2Converter.getDataType()ForestFastjsonConverter.getDataType()ForestGsonConverter.getDataType()ForestJacksonConverter.getDataType() -
com.dtflys.forest.converter.protobuf中ForestDataType的使用
-
com.dtflys.forest.converter.text中ForestDataType的使用
-
com.dtflys.forest.http中ForestDataType的使用
修饰符和类型方法说明ForestRequest.bodyType()获取请求体类型ForestBody.getBodyType()ForestRequest.getBodyType()获取请求体类型ForestRequest.getDataType()ForestBody.getDefaultBodyType()abstract ForestDataTypeForestRequestBody.getDefaultBodyType()参数类型为ForestDataType的com.dtflys.forest.http中的方法修饰符和类型方法说明ForestRequest.bodyType(ForestDataType bodyType) 设置请求体类型byte[]ForestBody.encode(ForestDataType type) byte[]ForestBody.encode(ForestDataType type, ConvertOptions options) byte[]ForestBody.encode(ForestDataType type, Charset charset) byte[]ForestBody.encode(ForestDataType type, Charset charset, ConvertOptions options) ForestBody.encodeToString(ForestDataType type) ForestBody.encodeToString(ForestDataType type, ConvertOptions options) ForestBody.encodeToString(ForestDataType type, Charset charset) ForestBody.encodeToString(ForestDataType type, Charset charset, ConvertOptions options) voidForestBody.setBodyType(ForestDataType bodyType) ForestRequest.setBodyType(ForestDataType bodyType) 设置请求体类型ForestRequest.setDataType(ForestDataType dataType) -
com.dtflys.forest.http.body中ForestDataType的使用
修饰符和类型方法说明ByteArrayRequestBody.getDefaultBodyType()FileRequestBody.getDefaultBodyType()InputStreamRequestBody.getDefaultBodyType()MultipartRequestBody.getDefaultBodyType()NameValueRequestBody.getDefaultBodyType()ObjectRequestBody.getDefaultBodyType()StringRequestBody.getDefaultBodyType() -
com.dtflys.forest.reflection中ForestDataType的使用
-
com.dtflys.forest.utils中ForestDataType的使用
修饰符和类型字段说明static final ForestDataTypeForestDataType.AUTO数据类型: 自动类型static final ForestDataTypeForestDataType.BINARY数据类型: 二进制类型static final ForestDataTypeForestDataType.FORM数据类型: 表单类型static final ForestDataTypeForestDataType.JSON数据类型: JSON类型static final ForestDataTypeForestDataType.MULTIPART数据类型: 文件类型static final ForestDataTypeForestDataType.PROTOBUF数据类型: Protobuf类型static final ForestDataTypeForestDataType.TEXT数据类型: 文本类型static final ForestDataTypeForestDataType.XML数据类型: XML类型类型参数类型为ForestDataType的com.dtflys.forest.utils中的字段修饰符和类型方法说明static ForestDataTypeForestDataType.createDataType(String name, Boolean hasNameValue) 创建新的数据类型static ForestDataTypeForestDataType.findByName(String name) Find data type object by data type namestatic ForestDataTypeForestDataType.findOrCreateDataType(String name) Find or create a data type