类的使用
com.dtflys.forest.http.ForestURL
使用ForestURL的程序包
-
com.dtflys.forest.http中ForestURL的使用
修饰符和类型方法说明ForestURLBuilder.build()进行构造,产生Forest URL对象ForestURL.checkAndComplete()ForestURL.mergeAddress()ForestURL.mergeURLWith(ForestURL url) 合并两个URLForestURL.setAddress(ForestAddress address) 修改地址信息 (强制修改)ForestURL.setAddress(ForestAddress address, boolean forced) 修改地址信息ForestURL.setBaseAddress(ForestAddress baseAddress) 设置基础地址信息ForestURL.setBasePath(String basePath) 设置URL根路径 (强制修改)ForestURL.setBasePath(String basePath, boolean forced) 设置URL根路径ForestURL.setBaseURL(ForestURL baseURL) 设置基地址URL设置URL路径ForestURL.setPort(int port) ForestURL.setUserInfo(String userInfo) ForestProxy.url()ForestRequest.url()获取请求URLForestResponse.url()获取响应请求的URLHasURL.url()参数类型为ForestURL的com.dtflys.forest.http中的方法修饰符和类型方法说明boolean匹配URLForestURL.mergeURLWith(ForestURL url) 合并两个URLForestURL.setBaseURL(ForestURL baseURL) 设置基地址URL设置请求URL -
com.dtflys.forest.mapping中ForestURL的使用