枚举的使用
com.dtflys.forest.http.ForestRequestType
使用ForestRequestType的程序包
-
com.dtflys.forest.http中ForestRequestType的使用
修饰符和类型方法说明static ForestRequestType根据请求类型名称(HTTP方法名称)找到对应的Forest请求类型枚举ForestRequest.getType()获取请求类型ForestRequest.type()获取请求类型static ForestRequestType返回带有指定名称的该类型的枚举常量。static ForestRequestType[]ForestRequestType.values()按照声明该枚举类型的常量的顺序, 返回一个包含这些常量的数组。返回变量类型为ForestRequestType的类型的com.dtflys.forest.http中的方法参数类型为ForestRequestType的com.dtflys.forest.http中的方法修饰符和类型方法说明ForestRequest.setType(ForestRequestType type) 设置请求类型ForestRequest.type(ForestRequestType type) 设置请求类型