枚举的使用
com.dtflys.forest.http.ForestProtocol
使用ForestProtocol的程序包
-
com.dtflys.forest.http中ForestProtocol的使用
修饰符和类型方法说明ForestRequest.getProtocol()获取请求协议static ForestProtocol返回带有指定名称的该类型的枚举常量。static ForestProtocol[]ForestProtocol.values()按照声明该枚举类型的常量的顺序, 返回一个包含这些常量的数组。参数类型为ForestProtocol的com.dtflys.forest.http中的方法