Package | Description |
---|---|
org.dromara.hutool.http |
Hutool-http针对JDK的HttpUrlConnection做一层封装,简化了HTTPS请求、文件上传、Cookie记忆等操作,使Http请求变得无比简单。
|
org.dromara.hutool.http.client |
HTTP请求客户端封装,请求过程如下:
Server
^ |
| v
Request Response
^ |
| v
ClientEngine
|
org.dromara.hutool.http.client.engine |
Http客户端引擎实现
|
org.dromara.hutool.http.client.engine.httpclient4 |
Apache HttpClient 4.x实现
文档见:https://hc.apache.org/httpcomponents-client-4.5.x/index.html |
org.dromara.hutool.http.client.engine.httpclient5 |
Apache HttpClient 5.1.x实现
文档见:https://hc.apache.org/httpcomponents-client-5.1.x/index.html |
org.dromara.hutool.http.client.engine.jdk |
基于JDK的HttpUrlConnection封装的HTTP客户端
|
org.dromara.hutool.http.server.engine |
HTTP服务器引擎包
|
Class and Description |
---|
GlobalCompressStreamRegister
全局响应内容压缩解压器注册中心
通过注册指定Accept-Encoding的流,来包装响应内容流,从而支持特殊压缩算法 |
GlobalHeaders
全局头部信息
所有Http请求将共用此全局头部信息 |
Class and Description |
---|
HttpException
HTTP异常
|
Class and Description |
---|
HttpException
HTTP异常
|
Class and Description |
---|
HttpException
HTTP异常
|
Class and Description |
---|
HttpException
HTTP异常
|
Class and Description |
---|
HttpException
HTTP异常
|
Class and Description |
---|
HttpException
HTTP异常
|
Copyright © 2025. All rights reserved.