| 程序包 | 说明 |
|---|---|
| org.dromara.hutool.http.client |
HTTP请求客户端封装,请求过程如下:
Server
^ |
| v
Request Response
^ |
| v
ClientEngine
|
| org.dromara.hutool.http.proxy |
HTTP代理相关封装
|
| 限定符和类型 | 方法和说明 |
|---|---|
HttpProxy |
ClientConfig.getProxy()
获取代理
|
| 限定符和类型 | 方法和说明 |
|---|---|
ClientConfig |
ClientConfig.setProxy(HttpProxy proxy)
设置代理
|
| 限定符和类型 | 方法和说明 |
|---|---|
HttpProxy |
HttpProxy.setAuth(PasswordAuthentication auth)
设置代理验证信息
|
HttpProxy |
HttpProxy.setAuth(String user,
char[] pass)
设置代理验证信息
|
Copyright © 2023. All rights reserved.