Package | Description |
---|---|
org.dromara.hutool.http.client |
HTTP请求客户端封装,请求过程如下:
Server
^ |
| v
Request Response
^ |
| v
ClientEngine
|
org.dromara.hutool.http.proxy |
HTTP代理相关封装
|
Modifier and Type | Method and Description |
---|---|
ProxyInfo |
ClientConfig.getProxy()
获取代理
|
Modifier and Type | Method and Description |
---|---|
ClientConfig |
ClientConfig.setProxy(ProxyInfo proxy)
设置代理
|
Modifier and Type | Method and Description |
---|---|
ProxyInfo |
ProxyInfo.setAuth(PasswordAuthentication auth)
设置代理验证信息
|
ProxyInfo |
ProxyInfo.setAuth(String user,
char[] pass)
设置代理验证信息
|
ProxyInfo |
ProxyInfo.setProxySelector(ProxySelector proxySelector)
设置代理选择器
|
Copyright © 2025. All rights reserved.