Skip navigation links

hutool-http 6.0.0-M20 API

Packages 
Package Description
org.dromara.hutool.http
Hutool-http针对JDK的HttpUrlConnection做一层封装,简化了HTTPS请求、文件上传、Cookie记忆等操作,使Http请求变得无比简单。
org.dromara.hutool.http.auth
提供HTTP认证相关封装
org.dromara.hutool.http.client
HTTP请求客户端封装,请求过程如下: Server ^ | | v Request Response ^ | | v ClientEngine
org.dromara.hutool.http.client.body
请求体封装实现
org.dromara.hutool.http.client.cookie
自定义Cookie
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.client.engine.okhttp
OKHttp3封装
文档见:https://square.github.io/okhttp/
org.dromara.hutool.http.html
HTML相关工具封装
org.dromara.hutool.http.meta
Http元数据信息,包括Header枚举、状态码、Http方法、枚举Content-Type等
org.dromara.hutool.http.multipart
文件上传封装
org.dromara.hutool.http.proxy
HTTP代理相关封装
org.dromara.hutool.http.server
Http服务器封装
org.dromara.hutool.http.server.engine
HTTP服务器引擎包
org.dromara.hutool.http.server.engine.jetty
Jetty9引擎实现
org.dromara.hutool.http.server.engine.smart
smart-http-server服务器引擎实现
见:https://smartboot.tech/smart-http/
org.dromara.hutool.http.server.engine.sun
HttpServer引擎实现包
org.dromara.hutool.http.server.engine.sun.filter
Filter 实现包装
org.dromara.hutool.http.server.engine.tomcat
Tomcat引擎实现
org.dromara.hutool.http.server.engine.undertow
Undertow引擎实现
org.dromara.hutool.http.server.handler
HTTP服务器请求和响应处理器的统一封装
org.dromara.hutool.http.server.servlet
Servlet封装,包括Servlet参数获取、文件上传、Response写出等,入口为ServletUtil
org.dromara.hutool.http.ssl
SSL封装
org.dromara.hutool.http.useragent
User-Agent解析
org.dromara.hutool.http.webservice
Webservice客户端封装实现
Skip navigation links

Copyright © 2025. All rights reserved.