接口的使用
com.dtflys.forest.http.ForestHeader
使用ForestHeader的程序包
-
com.dtflys.forest.http中ForestHeader的使用
类型参数类型为ForestHeader的com.dtflys.forest.http中的类修饰符和类型类说明classForest 请求中的 Cookie 头classForest 响应中的 Set-Cookie 头classclass修饰符和类型方法说明根据请求头名称获取请求头对象根据请求头名称获取该代理的请求头信息根据请求头名称获取该请求的请求头信息根据响应头名称获取单个请求响应头根据请求头名称获取该请求的请求头信息返回变量类型为ForestHeader的类型的com.dtflys.forest.http中的方法修饰符和类型方法说明ForestHeaderMap.getHeaders(String name) 根据请求头名称获取请求头对象列表ForestResponse.getHeaders(String name) 根据响应头名称获取请求响应头列表ForestHeaderMap.headerIterator()获取本请求头集合的迭代器对象参数类型为ForestHeader的com.dtflys.forest.http中的方法类型变量类型为ForestHeader的com.dtflys.forest.http中的构造器参数