类的使用
com.dtflys.forest.http.ForestProxy
使用ForestProxy的程序包
-
com.dtflys.forest.callback中ForestProxy的使用
-
com.dtflys.forest.http中ForestProxy的使用
修饰符和类型方法说明ForestProxy.addHeader(RequestNameValue nameValue) 添加请求头到该代理中添加请求头到该代理中ForestProxy.addHeaders(List<RequestNameValue> nameValues) 批量添加请求头到该代理中ForestRequest.getProxy()获取正向代理static ForestProxy获取代理密码ForestProxy.setCharset(String charset) ForestProxy.setPassword(String password) 设置代理密码ForestProxy.setUsername(String username) 设置代理用户名static ForestProxystatic ForestProxy设置代理用户名参数类型为ForestProxy的com.dtflys.forest.http中的方法修饰符和类型方法说明ForestRequest.proxy(ForestProxy proxy) 设置正向代理ForestRequest.setProxy(ForestProxy proxy) 设置正向代理