A B C D E F G H I K L M N O P Q R S T U V W 

A

add(URI, HttpCookie) - 类 中的方法cn.hutool.http.cookie.ThreadLocalCookieStore
 
addHeaders(Map<String, String>) - 类 中的方法cn.hutool.http.HttpBase
新增请求头
不覆盖原有请求头
AMP - 类 中的静态变量cn.hutool.http.HtmlUtil
 
AndroidSupportSSLFactory - cn.hutool.http.ssl中的类
兼容android低版本SSL连接 咱在测试HttpUrlConnection的时候 发现一部分手机无法连接[GithubPage] 最后发现原来是某些SSL协议没有开启
AndroidSupportSSLFactory() - 类 的构造器cn.hutool.http.ssl.AndroidSupportSSLFactory
 
APOS - 类 中的静态变量cn.hutool.http.HtmlUtil
 

B

basicAuth(String, String) - 类 中的方法cn.hutool.http.HttpRequest
简单验证
body(String) - 类 中的方法cn.hutool.http.HttpRequest
设置内容主体
body(String, String) - 类 中的方法cn.hutool.http.HttpRequest
设置内容主体
请求体body参数支持两种类型: 1.
body(JSON) - 类 中的方法cn.hutool.http.HttpRequest
设置JSON内容主体
设置默认的Content-Type为 application/json 需在此方法调用前使用charset方法设置编码,否则使用默认编码UTF-8
body(byte[]) - 类 中的方法cn.hutool.http.HttpRequest
设置主体字节码
需在此方法调用前使用charset方法设置编码,否则使用默认编码UTF-8
body() - 类 中的方法cn.hutool.http.HttpResponse
获取响应主体
bodyBytes - 类 中的变量cn.hutool.http.HttpBase
存储主体
bodyBytes() - 类 中的方法cn.hutool.http.HttpResponse
获取响应流字节码
此方法会转为同步模式
bodyStream() - 类 中的方法cn.hutool.http.HttpResponse
获得服务区响应流
异步模式下获取Http原生流,同步模式下获取获取到的在内存中的副本
如果想在同步模式下获取流,请先调用HttpResponse.sync()方法强制同步
流获取后处理完毕需关闭此类
browers - 类 中的静态变量cn.hutool.http.useragent.Browser
支持的浏览器类型
Browser - cn.hutool.http.useragent中的类
浏览器对象
Browser(String, String, String) - 类 的构造器cn.hutool.http.useragent.Browser
构造
build(String, Charset) - 枚举 中的静态方法cn.hutool.http.ContentType
输出Content-Type字符串,附带编码信息
build() - 类 中的方法cn.hutool.http.ssl.SSLSocketFactoryBuilder
构建SSLSocketFactory

C

charset - 类 中的变量cn.hutool.http.HttpBase
编码
charset() - 类 中的方法cn.hutool.http.HttpBase
返回字符集
charset(String) - 类 中的方法cn.hutool.http.HttpBase
设置字符集
charset(Charset) - 类 中的方法cn.hutool.http.HttpBase
设置字符集
CHARSET_PATTERN - 类 中的静态变量cn.hutool.http.HttpUtil
正则:Content-Type中的编码信息
checkClientTrusted(X509Certificate[], String) - 类 中的方法cn.hutool.http.ssl.DefaultTrustManager
 
checkServerTrusted(X509Certificate[], String) - 类 中的方法cn.hutool.http.ssl.DefaultTrustManager
 
chr(int) - 类 中的静态方法cn.hutool.http.HTMLFilter
 
cleanHtmlTag(String) - 类 中的静态方法cn.hutool.http.HtmlUtil
清除所有HTML标签
close() - 类 中的方法cn.hutool.http.HttpResponse
 
closeCookie() - 类 中的静态方法cn.hutool.http.HttpRequest
关闭Cookie
cn.hutool.http - 程序包 cn.hutool.http
Hutool-http针对JDK的HttpUrlConnection做一层封装,简化了HTTPS请求、文件上传、Cookie记忆等操作,使Http请求变得无比简单。
cn.hutool.http.cookie - 程序包 cn.hutool.http.cookie
自定义Cookie
cn.hutool.http.ssl - 程序包 cn.hutool.http.ssl
SSL封装
cn.hutool.http.useragent - 程序包 cn.hutool.http.useragent
User-Agent解析
cn.hutool.http.webservice - 程序包 cn.hutool.http.webservice
Webservice客户端封装实现
connect() - 类 中的方法cn.hutool.http.HttpConnection
连接
contentEncoding() - 类 中的方法cn.hutool.http.HttpResponse
获取内容编码
contentLength() - 类 中的方法cn.hutool.http.HttpRequest
获取内容长度
contentLength(int) - 类 中的方法cn.hutool.http.HttpRequest
设置内容长度
ContentType - cn.hutool.http中的枚举
常用Content-Type类型枚举
contentType(String) - 类 中的方法cn.hutool.http.HttpRequest
设置contentType
cookie(HttpCookie...) - 类 中的方法cn.hutool.http.HttpRequest
设置Cookie
自定义Cookie后会覆盖Hutool的默认Cookie行为
cookie(String) - 类 中的方法cn.hutool.http.HttpRequest
设置Cookie
自定义Cookie后会覆盖Hutool的默认Cookie行为
cookieManager - 类 中的静态变量cn.hutool.http.HttpRequest
Cookie管理
create(String, Proxy) - 类 中的静态方法cn.hutool.http.HttpConnection
创建HttpConnection
create(URL, Proxy) - 类 中的静态方法cn.hutool.http.HttpConnection
创建HttpConnection
create() - 类 中的静态方法cn.hutool.http.ssl.SSLSocketFactoryBuilder
创建 SSLSocketFactoryBuilder
create(String) - 类 中的静态方法cn.hutool.http.webservice.SoapClient
创建SOAP客户端,默认使用soap1.1版本协议
create(String, SoapProtocol) - 类 中的静态方法cn.hutool.http.webservice.SoapClient
创建SOAP客户端
create(String, SoapProtocol, String) - 类 中的静态方法cn.hutool.http.webservice.SoapClient
创建SOAP客户端
createClient(String) - 类 中的静态方法cn.hutool.http.webservice.SoapUtil
创建SOAP客户端,默认使用soap1.1版本协议
createClient(String, SoapProtocol) - 类 中的静态方法cn.hutool.http.webservice.SoapUtil
创建SOAP客户端
createClient(String, SoapProtocol, String) - 类 中的静态方法cn.hutool.http.webservice.SoapUtil
创建SOAP客户端
createGet(String) - 类 中的静态方法cn.hutool.http.HttpUtil
创建Http GET请求对象
createPost(String) - 类 中的静态方法cn.hutool.http.HttpUtil
创建Http POST请求对象
createRequest(Method, String) - 类 中的静态方法cn.hutool.http.HttpUtil
创建Http请求对象
createSocket() - 类 中的方法cn.hutool.http.ssl.CustomProtocolsSSLFactory
 
createSocket(Socket, String, int, boolean) - 类 中的方法cn.hutool.http.ssl.CustomProtocolsSSLFactory
 
createSocket(String, int) - 类 中的方法cn.hutool.http.ssl.CustomProtocolsSSLFactory
 
createSocket(String, int, InetAddress, int) - 类 中的方法cn.hutool.http.ssl.CustomProtocolsSSLFactory
 
createSocket(InetAddress, int) - 类 中的方法cn.hutool.http.ssl.CustomProtocolsSSLFactory
 
createSocket(InetAddress, int, InetAddress, int) - 类 中的方法cn.hutool.http.ssl.CustomProtocolsSSLFactory
 
CustomProtocolsSSLFactory - cn.hutool.http.ssl中的类
自定义支持协议类型的SSLSocketFactory
CustomProtocolsSSLFactory(String...) - 类 的构造器cn.hutool.http.ssl.CustomProtocolsSSLFactory
构造

D

decodeParamMap(String, String) - 类 中的静态方法cn.hutool.http.HttpUtil
将URL参数解析为Map(也可以解析Post中的键值对参数)
decodeParams(String, String) - 类 中的静态方法cn.hutool.http.HttpUtil
将URL参数解析为Map(也可以解析Post中的键值对参数)
DefaultTrustManager - cn.hutool.http.ssl中的类
证书管理
DefaultTrustManager() - 类 的构造器cn.hutool.http.ssl.DefaultTrustManager
 
delete(String) - 类 中的静态方法cn.hutool.http.HttpRequest
DELETE请求
desktopPlatforms - 类 中的静态变量cn.hutool.http.useragent.Platform
支持的桌面平台类型
disableCache() - 类 中的方法cn.hutool.http.HttpConnection
关闭缓存
disableCache() - 类 中的方法cn.hutool.http.HttpRequest
禁用缓存
disableCookie() - 类 中的方法cn.hutool.http.HttpRequest
禁用默认Cookie行为,此方法调用后会将Cookie置为空。
disconnect() - 类 中的方法cn.hutool.http.HttpConnection
断开连接
download(String, OutputStream, boolean) - 类 中的静态方法cn.hutool.http.HttpUtil
下载远程文件
download(String, OutputStream, boolean, StreamProgress) - 类 中的静态方法cn.hutool.http.HttpUtil
下载远程文件
downloadFile(String, String) - 类 中的静态方法cn.hutool.http.HttpUtil
下载远程文件
downloadFile(String, File) - 类 中的静态方法cn.hutool.http.HttpUtil
下载远程文件
downloadFile(String, File, int) - 类 中的静态方法cn.hutool.http.HttpUtil
下载远程文件
downloadFile(String, File, StreamProgress) - 类 中的静态方法cn.hutool.http.HttpUtil
下载远程文件
downloadFile(String, File, int, StreamProgress) - 类 中的静态方法cn.hutool.http.HttpUtil
下载远程文件
downloadString(String, String) - 类 中的静态方法cn.hutool.http.HttpUtil
下载远程文本
downloadString(String, Charset) - 类 中的静态方法cn.hutool.http.HttpUtil
下载远程文本
downloadString(String, Charset, StreamProgress) - 类 中的静态方法cn.hutool.http.HttpUtil
下载远程文本

E

enableDefaultCookie() - 类 中的方法cn.hutool.http.HttpRequest
打开默认的Cookie行为(自动回填服务器传回的Cookie)
encodeParams(String, Charset) - 类 中的静态方法cn.hutool.http.HttpUtil
对URL参数做编码,只编码键和值
提供的值可以是url附带参数,但是不能只是url
Engine - cn.hutool.http.useragent中的类
引擎对象
Engine(String, String) - 类 的构造器cn.hutool.http.useragent.Engine
构造
engines - 类 中的静态变量cn.hutool.http.useragent.Engine
支持的引擎类型
equals(Object) - 类 中的方法cn.hutool.http.useragent.UserAgentInfo
 
escape(String) - 类 中的静态方法cn.hutool.http.HtmlUtil
转义文本中的HTML字符为安全的字符,以下字符被转义: ' 替换为 &#039; (&apos; doesn't work in HTML4) " 替换为 &quot; & 替换为 &amp; < 替换为 &lt; > 替换为 &gt;
execute() - 类 中的方法cn.hutool.http.HttpRequest
执行Reuqest请求
execute(boolean) - 类 中的方法cn.hutool.http.HttpRequest
执行Reuqest请求
executeAsync() - 类 中的方法cn.hutool.http.HttpRequest
异步请求
异步请求后获取的HttpResponse 为异步模式,此时此对象持有Http链接(http链接并不会关闭),直调用获取内容方法为止

F

fileForm() - 类 中的方法cn.hutool.http.HttpRequest
获取文件表单数据
filter(String) - 类 中的方法cn.hutool.http.HTMLFilter
given a user submitted input String, filter out any invalid or restricted html.
filter(String) - 类 中的静态方法cn.hutool.http.HtmlUtil
过滤HTML文本,防止XSS攻击
form(String, Object) - 类 中的方法cn.hutool.http.HttpRequest
设置表单数据
form(String, Object, Object...) - 类 中的方法cn.hutool.http.HttpRequest
设置表单数据
form(Map<String, Object>) - 类 中的方法cn.hutool.http.HttpRequest
设置map类型表单数据
form(String, File...) - 类 中的方法cn.hutool.http.HttpRequest
文件表单项
一旦有文件加入,表单变为multipart/form-data
form(String, File) - 类 中的方法cn.hutool.http.HttpRequest
文件表单项
一旦有文件加入,表单变为multipart/form-data
form(String, File, String) - 类 中的方法cn.hutool.http.HttpRequest
文件表单项
一旦有文件加入,表单变为multipart/form-data
form(String, byte[], String) - 类 中的方法cn.hutool.http.HttpRequest
文件byte[]表单项
一旦有文件加入,表单变为multipart/form-data
form(String, Resource) - 类 中的方法cn.hutool.http.HttpRequest
文件表单项
一旦有文件加入,表单变为multipart/form-data
form() - 类 中的方法cn.hutool.http.HttpRequest
获取表单数据

G

get(String) - 枚举 中的静态方法cn.hutool.http.ContentType
从请求参数的body中判断请求的Content-Type类型,支持的类型有: 1. application/json 1. application/xml
get(URI) - 类 中的方法cn.hutool.http.cookie.ThreadLocalCookieStore
 
get(String) - 类 中的静态方法cn.hutool.http.HttpRequest
GET请求
get(String, Charset) - 类 中的静态方法cn.hutool.http.HttpUtil
发送get请求
get(String) - 类 中的静态方法cn.hutool.http.HttpUtil
发送get请求
get(String, int) - 类 中的静态方法cn.hutool.http.HttpUtil
发送get请求
get(String, Map<String, Object>) - 类 中的静态方法cn.hutool.http.HttpUtil
发送get请求
get(String, Map<String, Object>, int) - 类 中的静态方法cn.hutool.http.HttpUtil
发送get请求
getAcceptedIssuers() - 类 中的方法cn.hutool.http.ssl.DefaultTrustManager
 
getBrowser() - 类 中的方法cn.hutool.http.useragent.UserAgent
获取浏览器类型
getCharset() - 类 中的方法cn.hutool.http.HttpConnection
获取字符集编码
从Http连接的头信息中获得字符集
从ContentType中获取
getCharset(HttpURLConnection) - 类 中的静态方法cn.hutool.http.HttpUtil
从Http连接的头信息中获得字符集
从ContentType中获取
getCharsetName() - 类 中的方法cn.hutool.http.HttpConnection
获得字符集编码
从Http连接的头信息中获得字符集
从ContentType中获取
getConnection() - 类 中的方法cn.hutool.http.HttpRequest
getContentTypeByRequestBody(String) - 类 中的静态方法cn.hutool.http.HttpUtil
从请求参数的body中判断请求的Content-Type类型,支持的类型有: 1. application/json 1. application/xml
getCookie(String) - 类 中的方法cn.hutool.http.HttpResponse
获取Cookie
getCookieManager() - 类 中的静态方法cn.hutool.http.HttpRequest
获取Cookie管理器,用于自定义Cookie管理
getCookies() - 类 中的方法cn.hutool.http.cookie.ThreadLocalCookieStore
 
getCookies() - 类 中的方法cn.hutool.http.HttpResponse
获取Cookie
getCookieStore() - 类 中的方法cn.hutool.http.cookie.ThreadLocalCookieStore
获取本线程下的CookieStore
getCookieStr() - 类 中的方法cn.hutool.http.HttpResponse
获取本次请求服务器返回的Cookie信息
getCookieValue(String) - 类 中的方法cn.hutool.http.HttpResponse
获取Cookie值
getDefaultCipherSuites() - 类 中的方法cn.hutool.http.ssl.CustomProtocolsSSLFactory
 
getEngine() - 类 中的方法cn.hutool.http.useragent.UserAgent
获取引擎类型
getEngineVersion() - 类 中的方法cn.hutool.http.useragent.UserAgent
获取引擎版本
getErrorStream() - 类 中的方法cn.hutool.http.HttpConnection
当返回错误代码时,获得错误内容流
getHttpURLConnection() - 类 中的方法cn.hutool.http.HttpConnection
获取HttpURLConnection对象
getInputStream() - 类 中的方法cn.hutool.http.HttpConnection
获得输入流对象
输入流对象用于读取数据
getMessage() - 类 中的方法cn.hutool.http.webservice.SoapClient
获取SOAP消息对象 SOAPMessage
getMethod() - 类 中的方法cn.hutool.http.HttpConnection
获取请求方法,GET/POST
getMethod() - 类 中的方法cn.hutool.http.HttpRequest
获取Http请求方法
getMethodEle() - 类 中的方法cn.hutool.http.webservice.SoapClient
获取方法节点
用于创建子节点等操作
getMimeType(String) - 类 中的静态方法cn.hutool.http.HttpUtil
根据文件扩展名获得MimeType
getMsgStr(boolean) - 类 中的方法cn.hutool.http.webservice.SoapClient
获取SOAP请求消息
getName() - 类 中的方法cn.hutool.http.useragent.UserAgentInfo
获取信息名称
getOs() - 类 中的方法cn.hutool.http.useragent.UserAgent
获取系统类型
getOutputStream() - 类 中的方法cn.hutool.http.HttpConnection
获取输出流对象 输出流对象用于发送数据
getPattern() - 类 中的方法cn.hutool.http.useragent.UserAgentInfo
获取匹配模式
getPlatform() - 类 中的方法cn.hutool.http.useragent.UserAgent
获取平台类型
getProxy() - 类 中的方法cn.hutool.http.HttpConnection
获得代理
getStatus() - 类 中的方法cn.hutool.http.HttpResponse
获取状态码
getString(InputStream, Charset, boolean) - 类 中的静态方法cn.hutool.http.HttpUtil
从流中读取内容
首先尝试使用charset编码读取内容(如果为空默认UTF-8),如果isGetCharsetFromContent为true,则通过正则在正文中获取编码信息,转换为指定编码;
getString(byte[], Charset, boolean) - 类 中的静态方法cn.hutool.http.HttpUtil
从流中读取内容
首先尝试使用charset编码读取内容(如果为空默认UTF-8),如果isGetCharsetFromContent为true,则通过正则在正文中获取编码信息,转换为指定编码;
getSupportedCipherSuites() - 类 中的方法cn.hutool.http.ssl.CustomProtocolsSSLFactory
 
getURIs() - 类 中的方法cn.hutool.http.cookie.ThreadLocalCookieStore
 
getUrl() - 类 中的方法cn.hutool.http.HttpConnection
获取请求URL
getUrl() - 类 中的方法cn.hutool.http.HttpRequest
获取请求URL
getValue() - 枚举 中的方法cn.hutool.http.webservice.SoapProtocol
获取版本值信息
getVersion(String) - 类 中的方法cn.hutool.http.useragent.Browser
获取浏览器版本
getVersion() - 类 中的方法cn.hutool.http.useragent.UserAgent
获取浏览器版本
GlobalHeaders - cn.hutool.http中的枚举
全局头部信息
所有Http请求将共用此全局头部信息,除非在HttpRequest中自定义头部信息覆盖之
GT - 类 中的静态变量cn.hutool.http.HtmlUtil
 

H

hashCode() - 类 中的方法cn.hutool.http.useragent.UserAgentInfo
 
head(String) - 类 中的静态方法cn.hutool.http.HttpRequest
HEAD请求
header(String) - 枚举 中的方法cn.hutool.http.GlobalHeaders
根据name获取头信息
header(Header) - 枚举 中的方法cn.hutool.http.GlobalHeaders
根据name获取头信息
header(String, String, boolean) - 枚举 中的方法cn.hutool.http.GlobalHeaders
设置一个header
如果覆盖模式,则替换之前的值,否则加入到值列表中
header(Header, String, boolean) - 枚举 中的方法cn.hutool.http.GlobalHeaders
设置一个header
如果覆盖模式,则替换之前的值,否则加入到值列表中
header(Header, String) - 枚举 中的方法cn.hutool.http.GlobalHeaders
设置一个header
覆盖模式,则替换之前的值
header(String, String) - 枚举 中的方法cn.hutool.http.GlobalHeaders
设置一个header
覆盖模式,则替换之前的值
header(Map<String, List<String>>) - 枚举 中的方法cn.hutool.http.GlobalHeaders
设置请求头
不覆盖原有请求头
Header - cn.hutool.http中的枚举
Http 头域
header(String) - 类 中的方法cn.hutool.http.HttpBase
根据name获取头信息
根据RFC2616规范,header的name不区分大小写
header(Header) - 类 中的方法cn.hutool.http.HttpBase
根据name获取头信息
header(String, String, boolean) - 类 中的方法cn.hutool.http.HttpBase
设置一个header
如果覆盖模式,则替换之前的值,否则加入到值列表中
header(Header, String, boolean) - 类 中的方法cn.hutool.http.HttpBase
设置一个header
如果覆盖模式,则替换之前的值,否则加入到值列表中
header(Header, String) - 类 中的方法cn.hutool.http.HttpBase
设置一个header
覆盖模式,则替换之前的值
header(String, String) - 类 中的方法cn.hutool.http.HttpBase
设置一个header
覆盖模式,则替换之前的值
header(Map<String, List<String>>) - 类 中的方法cn.hutool.http.HttpBase
设置请求头
不覆盖原有请求头
header(Map<String, List<String>>, boolean) - 类 中的方法cn.hutool.http.HttpBase
设置请求头
不覆盖原有请求头
header(String, String, boolean) - 类 中的方法cn.hutool.http.HttpConnection
设置请求头
当请求头存在时,覆盖之
header(Header, String, boolean) - 类 中的方法cn.hutool.http.HttpConnection
设置请求头
当请求头存在时,覆盖之
header(Map<String, List<String>>, boolean) - 类 中的方法cn.hutool.http.HttpConnection
设置请求头
不覆盖原有请求头
header(String) - 类 中的方法cn.hutool.http.HttpConnection
获取Http请求头
header(Header) - 类 中的方法cn.hutool.http.HttpConnection
获取Http请求头
headerList(String) - 枚举 中的方法cn.hutool.http.GlobalHeaders
根据name获取头信息列表
headerList(String) - 类 中的方法cn.hutool.http.HttpBase
根据name获取头信息列表
headers - 枚举 中的变量cn.hutool.http.GlobalHeaders
存储头信息
headers() - 枚举 中的方法cn.hutool.http.GlobalHeaders
获取headers
headers - 类 中的变量cn.hutool.http.HttpBase
存储头信息
headers() - 类 中的方法cn.hutool.http.HttpBase
获取headers
headers() - 类 中的方法cn.hutool.http.HttpConnection
获取所有Http请求头
HTMLFilter - cn.hutool.http中的类
HTML filtering utility for protecting against XSS (Cross Site Scripting).
HTMLFilter() - 类 的构造器cn.hutool.http.HTMLFilter
Default constructor.
HTMLFilter(boolean) - 类 的构造器cn.hutool.http.HTMLFilter
Set debug flag to true.
HTMLFilter(Map<String, Object>) - 类 的构造器cn.hutool.http.HTMLFilter
Map-parameter configurable constructor.
htmlSpecialChars(String) - 类 中的静态方法cn.hutool.http.HTMLFilter
 
HtmlUtil - cn.hutool.http中的类
HTML工具类
HtmlUtil() - 类 的构造器cn.hutool.http.HtmlUtil
 
HTTP_1_0 - 类 中的静态变量cn.hutool.http.HttpBase
HTTP/1.0
HTTP_1_1 - 类 中的静态变量cn.hutool.http.HttpBase
HTTP/1.1
HTTP_ACCEPTED - 类 中的静态变量cn.hutool.http.HttpStatus
HTTP Status-Code 202: Accepted.
HTTP_ACCEPTED - 接口 中的静态变量cn.hutool.http.Status
HTTP Status-Code 202: Accepted.
HTTP_BAD_GATEWAY - 类 中的静态变量cn.hutool.http.HttpStatus
HTTP Status-Code 502: Bad Gateway.
HTTP_BAD_GATEWAY - 接口 中的静态变量cn.hutool.http.Status
HTTP Status-Code 502: Bad Gateway.
HTTP_BAD_METHOD - 类 中的静态变量cn.hutool.http.HttpStatus
HTTP Status-Code 405: Method Not Allowed.
HTTP_BAD_METHOD - 接口 中的静态变量cn.hutool.http.Status
HTTP Status-Code 405: Method Not Allowed.
HTTP_BAD_REQUEST - 类 中的静态变量cn.hutool.http.HttpStatus
HTTP Status-Code 400: Bad Request.
HTTP_BAD_REQUEST - 接口 中的静态变量cn.hutool.http.Status
HTTP Status-Code 400: Bad Request.
HTTP_CLIENT_TIMEOUT - 类 中的静态变量cn.hutool.http.HttpStatus
HTTP Status-Code 408: Request Time-Out.
HTTP_CLIENT_TIMEOUT - 接口 中的静态变量cn.hutool.http.Status
HTTP Status-Code 408: Request Time-Out.
HTTP_CONFLICT - 类 中的静态变量cn.hutool.http.HttpStatus
HTTP Status-Code 409: Conflict.
HTTP_CONFLICT - 接口 中的静态变量cn.hutool.http.Status
HTTP Status-Code 409: Conflict.
HTTP_CREATED - 类 中的静态变量cn.hutool.http.HttpStatus
HTTP Status-Code 201: Created.
HTTP_CREATED - 接口 中的静态变量cn.hutool.http.Status
HTTP Status-Code 201: Created.
HTTP_ENTITY_TOO_LARGE - 类 中的静态变量cn.hutool.http.HttpStatus
HTTP Status-Code 413: Request Entity Too Large.
HTTP_ENTITY_TOO_LARGE - 接口 中的静态变量cn.hutool.http.Status
HTTP Status-Code 413: Request Entity Too Large.
HTTP_FORBIDDEN - 类 中的静态变量cn.hutool.http.HttpStatus
HTTP Status-Code 403: Forbidden.
HTTP_FORBIDDEN - 接口 中的静态变量cn.hutool.http.Status
HTTP Status-Code 403: Forbidden.
HTTP_GATEWAY_TIMEOUT - 类 中的静态变量cn.hutool.http.HttpStatus
HTTP Status-Code 504: Gateway Timeout.
HTTP_GATEWAY_TIMEOUT - 接口 中的静态变量cn.hutool.http.Status
HTTP Status-Code 504: Gateway Timeout.
HTTP_GONE - 类 中的静态变量cn.hutool.http.HttpStatus
HTTP Status-Code 410: Gone.
HTTP_GONE - 接口 中的静态变量cn.hutool.http.Status
HTTP Status-Code 410: Gone.
HTTP_INTERNAL_ERROR - 类 中的静态变量cn.hutool.http.HttpStatus
HTTP Status-Code 500: Internal Server Error.
HTTP_INTERNAL_ERROR - 接口 中的静态变量cn.hutool.http.Status
HTTP Status-Code 500: Internal Server Error.
HTTP_LENGTH_REQUIRED - 类 中的静态变量cn.hutool.http.HttpStatus
HTTP Status-Code 411: Length Required.
HTTP_LENGTH_REQUIRED - 接口 中的静态变量cn.hutool.http.Status
HTTP Status-Code 411: Length Required.
HTTP_MOVED_PERM - 类 中的静态变量cn.hutool.http.HttpStatus
HTTP Status-Code 301: Moved Permanently.
HTTP_MOVED_PERM - 接口 中的静态变量cn.hutool.http.Status
HTTP Status-Code 301: Moved Permanently.
HTTP_MOVED_TEMP - 类 中的静态变量cn.hutool.http.HttpStatus
HTTP Status-Code 302: Temporary Redirect.
HTTP_MOVED_TEMP - 接口 中的静态变量cn.hutool.http.Status
HTTP Status-Code 302: Temporary Redirect.
HTTP_MULT_CHOICE - 类 中的静态变量cn.hutool.http.HttpStatus
HTTP Status-Code 300: Multiple Choices.
HTTP_MULT_CHOICE - 接口 中的静态变量cn.hutool.http.Status
HTTP Status-Code 300: Multiple Choices.
HTTP_NO_CONTENT - 类 中的静态变量cn.hutool.http.HttpStatus
HTTP Status-Code 204: No Content.
HTTP_NO_CONTENT - 接口 中的静态变量cn.hutool.http.Status
HTTP Status-Code 204: No Content.
HTTP_NOT_ACCEPTABLE - 类 中的静态变量cn.hutool.http.HttpStatus
HTTP Status-Code 406: Not Acceptable.
HTTP_NOT_ACCEPTABLE - 接口 中的静态变量cn.hutool.http.Status
HTTP Status-Code 406: Not Acceptable.
HTTP_NOT_AUTHORITATIVE - 类 中的静态变量cn.hutool.http.HttpStatus
HTTP Status-Code 203: Non-Authoritative Information.
HTTP_NOT_AUTHORITATIVE - 接口 中的静态变量cn.hutool.http.Status
HTTP Status-Code 203: Non-Authoritative Information.
HTTP_NOT_FOUND - 类 中的静态变量cn.hutool.http.HttpStatus
HTTP Status-Code 404: Not Found.
HTTP_NOT_FOUND - 接口 中的静态变量cn.hutool.http.Status
HTTP Status-Code 404: Not Found.
HTTP_NOT_IMPLEMENTED - 类 中的静态变量cn.hutool.http.HttpStatus
HTTP Status-Code 501: Not Implemented.
HTTP_NOT_IMPLEMENTED - 接口 中的静态变量cn.hutool.http.Status
HTTP Status-Code 501: Not Implemented.
HTTP_NOT_MODIFIED - 类 中的静态变量cn.hutool.http.HttpStatus
HTTP Status-Code 304: Not Modified.
HTTP_NOT_MODIFIED - 接口 中的静态变量cn.hutool.http.Status
HTTP Status-Code 304: Not Modified.
HTTP_OK - 类 中的静态变量cn.hutool.http.HttpStatus
HTTP Status-Code 200: OK.
HTTP_OK - 接口 中的静态变量cn.hutool.http.Status
HTTP Status-Code 200: OK.
HTTP_PARTIAL - 类 中的静态变量cn.hutool.http.HttpStatus
HTTP Status-Code 206: Partial Content.
HTTP_PARTIAL - 接口 中的静态变量cn.hutool.http.Status
HTTP Status-Code 206: Partial Content.
HTTP_PAYMENT_REQUIRED - 类 中的静态变量cn.hutool.http.HttpStatus
HTTP Status-Code 402: Payment Required.
HTTP_PAYMENT_REQUIRED - 接口 中的静态变量cn.hutool.http.Status
HTTP Status-Code 402: Payment Required.
HTTP_PRECON_FAILED - 类 中的静态变量cn.hutool.http.HttpStatus
HTTP Status-Code 412: Precondition Failed.
HTTP_PRECON_FAILED - 接口 中的静态变量cn.hutool.http.Status
HTTP Status-Code 412: Precondition Failed.
HTTP_PROXY_AUTH - 类 中的静态变量cn.hutool.http.HttpStatus
HTTP Status-Code 407: Proxy Authentication Required.
HTTP_PROXY_AUTH - 接口 中的静态变量cn.hutool.http.Status
HTTP Status-Code 407: Proxy Authentication Required.
HTTP_REQ_TOO_LONG - 类 中的静态变量cn.hutool.http.HttpStatus
HTTP Status-Code 414: Request-URI Too Large.
HTTP_REQ_TOO_LONG - 接口 中的静态变量cn.hutool.http.Status
HTTP Status-Code 414: Request-URI Too Large.
HTTP_RESET - 类 中的静态变量cn.hutool.http.HttpStatus
HTTP Status-Code 205: Reset Content.
HTTP_RESET - 接口 中的静态变量cn.hutool.http.Status
HTTP Status-Code 205: Reset Content.
HTTP_SEE_OTHER - 类 中的静态变量cn.hutool.http.HttpStatus
HTTP Status-Code 303: See Other.
HTTP_SEE_OTHER - 接口 中的静态变量cn.hutool.http.Status
HTTP Status-Code 303: See Other.
HTTP_UNAUTHORIZED - 类 中的静态变量cn.hutool.http.HttpStatus
HTTP Status-Code 401: Unauthorized.
HTTP_UNAUTHORIZED - 接口 中的静态变量cn.hutool.http.Status
HTTP Status-Code 401: Unauthorized.
HTTP_UNAVAILABLE - 类 中的静态变量cn.hutool.http.HttpStatus
HTTP Status-Code 503: Service Unavailable.
HTTP_UNAVAILABLE - 接口 中的静态变量cn.hutool.http.Status
HTTP Status-Code 503: Service Unavailable.
HTTP_UNSUPPORTED_TYPE - 类 中的静态变量cn.hutool.http.HttpStatus
HTTP Status-Code 415: Unsupported Media Type.
HTTP_UNSUPPORTED_TYPE - 接口 中的静态变量cn.hutool.http.Status
HTTP Status-Code 415: Unsupported Media Type.
HTTP_USE_PROXY - 类 中的静态变量cn.hutool.http.HttpStatus
HTTP Status-Code 305: Use Proxy.
HTTP_USE_PROXY - 接口 中的静态变量cn.hutool.http.Status
HTTP Status-Code 305: Use Proxy.
HTTP_VERSION - 类 中的静态变量cn.hutool.http.HttpStatus
HTTP Status-Code 505: HTTP Version Not Supported.
HTTP_VERSION - 接口 中的静态变量cn.hutool.http.Status
HTTP Status-Code 505: HTTP Version Not Supported.
HttpBase<T> - cn.hutool.http中的类
http基类
HttpBase() - 类 的构造器cn.hutool.http.HttpBase
 
HttpConnection - cn.hutool.http中的类
http连接对象,对HttpURLConnection的包装
HttpConnection(URL, Proxy) - 类 的构造器cn.hutool.http.HttpConnection
构造HttpConnection
HttpException - cn.hutool.http中的异常错误
HTTP异常
HttpException(Throwable) - 异常错误 的构造器cn.hutool.http.HttpException
 
HttpException(String) - 异常错误 的构造器cn.hutool.http.HttpException
 
HttpException(String, Object...) - 异常错误 的构造器cn.hutool.http.HttpException
 
HttpException(String, Throwable) - 异常错误 的构造器cn.hutool.http.HttpException
 
HttpException(Throwable, String, Object...) - 异常错误 的构造器cn.hutool.http.HttpException
 
HttpRequest - cn.hutool.http中的类
http请求类
Http请求类用于构建Http请求并同步获取结果,此类通过CookieManager持有域名对应的Cookie值,再次请求时会自动附带Cookie信息
HttpRequest(String) - 类 的构造器cn.hutool.http.HttpRequest
构造
HttpResponse - cn.hutool.http中的类
Http响应类
非线程安全对象
HttpResponse(HttpConnection, Charset, boolean, boolean) - 类 的构造器cn.hutool.http.HttpResponse
构造
HttpStatus - cn.hutool.http中的类
HTTP状态码
HttpStatus() - 类 的构造器cn.hutool.http.HttpStatus
 
HttpUtil - cn.hutool.http中的类
Http请求工具类
HttpUtil() - 类 的构造器cn.hutool.http.HttpUtil
 
httpVersion - 类 中的变量cn.hutool.http.HttpBase
http版本
httpVersion() - 类 中的方法cn.hutool.http.HttpBase
返回http版本
httpVersion(String) - 类 中的方法cn.hutool.http.HttpBase
设置http版本

I

init(SoapProtocol) - 类 中的方法cn.hutool.http.webservice.SoapClient
初始化
initConn() - 类 中的方法cn.hutool.http.HttpConnection
初始化连接相关信息
isAlwaysMakeTags() - 类 中的方法cn.hutool.http.HTMLFilter
 
isDefault(String) - 枚举 中的静态方法cn.hutool.http.ContentType
是否为默认Content-Type,默认包括null和application/x-www-form-urlencoded
isDeflate() - 类 中的方法cn.hutool.http.HttpResponse
是否为zlib(Defalte)压缩过的内容
isFormUrlEncoed(String) - 枚举 中的静态方法cn.hutool.http.ContentType
是否为application/x-www-form-urlencoded
isGzip() - 类 中的方法cn.hutool.http.HttpResponse
是否为gzip压缩过的内容
isHttps(String) - 类 中的静态方法cn.hutool.http.HttpUtil
检测是否https
isKeepAlive() - 类 中的方法cn.hutool.http.HttpRequest
 
isMatch(String) - 类 中的方法cn.hutool.http.useragent.UserAgentInfo
指定内容中是否包含匹配此信息的内容
isMobile() - 类 中的方法cn.hutool.http.useragent.Browser
是否移动浏览器
isMobile() - 类 中的方法cn.hutool.http.useragent.Platform
是否为移动平台
isMobile() - 类 中的方法cn.hutool.http.useragent.UserAgent
是否为移动平台
isOk() - 类 中的方法cn.hutool.http.HttpResponse
请求是否成功,判断依据为:状态码范围在200~299内。
isStripComments() - 类 中的方法cn.hutool.http.HTMLFilter
 
isUnknown() - 类 中的方法cn.hutool.http.useragent.UserAgentInfo
是否为Unknown

K

keepAlive(boolean) - 类 中的方法cn.hutool.http.HttpRequest
设置是否为长连接

L

LT - 类 中的静态变量cn.hutool.http.HtmlUtil
 

M

META_CHARSET_PATTERN - 类 中的静态变量cn.hutool.http.HttpUtil
正则:匹配meta标签的编码信息
method(Method) - 类 中的方法cn.hutool.http.HttpRequest
设置请求方法
Method - cn.hutool.http中的枚举
Http方法枚举
mobilePlatforms - 类 中的静态变量cn.hutool.http.useragent.Platform
支持的移动平台类型

N

NameUnknown - 类 中的静态变量cn.hutool.http.useragent.UserAgentInfo
 
NBSP - 类 中的静态变量cn.hutool.http.HtmlUtil
 
normalizeParams(String, Charset) - 类 中的静态方法cn.hutool.http.HttpUtil
标准化参数字符串,即URL中?

O

options(String) - 类 中的静态方法cn.hutool.http.HttpRequest
OPTIONS请求
OS - cn.hutool.http.useragent中的类
系统对象
OS(String, String) - 类 的构造器cn.hutool.http.useragent.OS
构造
oses - 类 中的静态变量cn.hutool.http.useragent.OS
支持的引擎类型
Other_Version - 类 中的静态变量cn.hutool.http.useragent.Browser
其它版本

P

parse(String) - 类 中的静态方法cn.hutool.http.useragent.UserAgentParser
解析User-Agent
parse(String) - 类 中的静态方法cn.hutool.http.useragent.UserAgentUtil
解析User-Agent
patch(String) - 类 中的静态方法cn.hutool.http.HttpRequest
PATCH请求
Platform - cn.hutool.http.useragent中的类
平台对象
Platform(String, String) - 类 的构造器cn.hutool.http.useragent.Platform
构造
platforms - 类 中的静态变量cn.hutool.http.useragent.Platform
支持的平台类型
post(String) - 类 中的静态方法cn.hutool.http.HttpRequest
POST请求
post(String, Map<String, Object>) - 类 中的静态方法cn.hutool.http.HttpUtil
发送post请求
post(String, Map<String, Object>, int) - 类 中的静态方法cn.hutool.http.HttpUtil
发送post请求
post(String, String) - 类 中的静态方法cn.hutool.http.HttpUtil
发送post请求
请求体body参数支持两种类型: 1.
post(String, String, int) - 类 中的静态方法cn.hutool.http.HttpUtil
发送post请求
请求体body参数支持两种类型: 1.
put(String) - 类 中的静态方法cn.hutool.http.HttpRequest
PUT请求
putDefault(boolean) - 枚举 中的方法cn.hutool.http.GlobalHeaders
加入默认的头部信息

Q

QUOTE - 类 中的静态变量cn.hutool.http.HtmlUtil
 

R

RE_HTML_MARK - 类 中的静态变量cn.hutool.http.HtmlUtil
 
RE_SCRIPT - 类 中的静态变量cn.hutool.http.HtmlUtil
 
remove(URI, HttpCookie) - 类 中的方法cn.hutool.http.cookie.ThreadLocalCookieStore
 
removeAll() - 类 中的方法cn.hutool.http.cookie.ThreadLocalCookieStore
 
removeAllHtmlAttr(String, String...) - 类 中的静态方法cn.hutool.http.HtmlUtil
去除指定标签的所有属性
removeCurrent() - 类 中的方法cn.hutool.http.cookie.ThreadLocalCookieStore
移除当前线程的Cookie
removeHeader(String) - 枚举 中的方法cn.hutool.http.GlobalHeaders
移除一个头信息
removeHeader(Header) - 枚举 中的方法cn.hutool.http.GlobalHeaders
移除一个头信息
removeHeader(String) - 类 中的方法cn.hutool.http.HttpBase
移除一个头信息
removeHeader(Header) - 类 中的方法cn.hutool.http.HttpBase
移除一个头信息
removeHtmlAttr(String, String...) - 类 中的静态方法cn.hutool.http.HtmlUtil
去除HTML标签中的属性
removeHtmlTag(String, String...) - 类 中的静态方法cn.hutool.http.HtmlUtil
清除指定HTML标签和被标签包围的内容
不区分大小写
removeHtmlTag(String, boolean, String...) - 类 中的静态方法cn.hutool.http.HtmlUtil
清除指定HTML标签
不区分大小写
responseCode() - 类 中的方法cn.hutool.http.HttpConnection
获取响应码

S

send() - 类 中的方法cn.hutool.http.webservice.SoapClient
执行Webservice请求,既发送SOAP内容
send(boolean) - 类 中的方法cn.hutool.http.webservice.SoapClient
执行Webservice请求,既发送SOAP内容
sendForMessage() - 类 中的方法cn.hutool.http.webservice.SoapClient
执行Webservice请求,既发送SOAP内容
setBrowser(Browser) - 类 中的方法cn.hutool.http.useragent.UserAgent
设置浏览器类型
setCharset(Charset) - 类 中的方法cn.hutool.http.webservice.SoapClient
设置编码
setChunkedStreamingMode(int) - 类 中的方法cn.hutool.http.HttpConnection
采用流方式上传数据,无需本地缓存数据。
setConnectionAndReadTimeout(int) - 类 中的方法cn.hutool.http.HttpConnection
设置连接和读取的超时时间
setConnectionTimeout(int) - 类 中的方法cn.hutool.http.HttpRequest
设置连接超时,单位:毫秒
setConnectTimeout(int) - 类 中的方法cn.hutool.http.HttpConnection
设置连接超时
setCookie(String) - 类 中的方法cn.hutool.http.HttpConnection
设置Cookie
setEncodeUrlParams(boolean) - 类 中的方法cn.hutool.http.HttpRequest
是否对URL中的参数进行编码
setEngine(Engine) - 类 中的方法cn.hutool.http.useragent.UserAgent
设置引擎类型
setEngineVersion(String) - 类 中的方法cn.hutool.http.useragent.UserAgent
设置引擎版本
setFollowRedirects(boolean) - 类 中的方法cn.hutool.http.HttpRequest
设置是否打开重定向,如果打开默认重定向次数为2
此方法效果与HttpRequest.setMaxRedirectCount(int) 一致
setHeader(QName) - 类 中的方法cn.hutool.http.webservice.SoapClient
设置头信息
setHeader(QName, String, String, Boolean, Boolean) - 类 中的方法cn.hutool.http.webservice.SoapClient
设置头信息
setHostnameVerifier(HostnameVerifier) - 类 中的方法cn.hutool.http.HttpRequest
设置域名验证器
只针对HTTPS请求,如果不设置,不做验证,所有域名被信任
setHttpsInfo(HostnameVerifier, SSLSocketFactory) - 类 中的方法cn.hutool.http.HttpConnection
设置https请求参数
有些时候htts请求会出现com.sun.net.ssl.internal.www.protocol.https.HttpsURLConnectionOldImpl的实现,此为sun内部api,按照普通http请求处理
setInstanceFollowRedirects(boolean) - 类 中的方法cn.hutool.http.HttpConnection
设置自动HTTP 30X跳转
setKeyManagers(KeyManager...) - 类 中的方法cn.hutool.http.ssl.SSLSocketFactoryBuilder
设置 JSSE key managers
setMaxRedirectCount(int) - 类 中的方法cn.hutool.http.HttpRequest
设置最大重定向次数
如果次数小于1则表示不重定向,大于等于1表示打开重定向
setMethod(Method) - 类 中的方法cn.hutool.http.HttpConnection
设置请求方法
setMethod(Method) - 类 中的方法cn.hutool.http.HttpRequest
设置请求方法
setMethod(Name, Map<String, Object>, boolean) - 类 中的方法cn.hutool.http.webservice.SoapClient
设置请求方法
setMethod(QName, Map<String, Object>, boolean) - 类 中的方法cn.hutool.http.webservice.SoapClient
设置请求方法
setMethod(String) - 类 中的方法cn.hutool.http.webservice.SoapClient
设置请求方法
方法名自动识别前缀,前缀和方法名使用“:”分隔
当识别到前缀后,自动添加xmlns属性,关联到默认的namespaceURI
setMethod(String, String) - 类 中的方法cn.hutool.http.webservice.SoapClient
设置请求方法
方法名自动识别前缀,前缀和方法名使用“:”分隔
当识别到前缀后,自动添加xmlns属性,关联到传入的namespaceURI
setMethod(QName) - 类 中的方法cn.hutool.http.webservice.SoapClient
设置请求方法
setMobile(boolean) - 类 中的方法cn.hutool.http.useragent.UserAgent
设置是否为移动平台
setOs(OS) - 类 中的方法cn.hutool.http.useragent.UserAgent
设置系统类型
setParam(String, Object) - 类 中的方法cn.hutool.http.webservice.SoapClient
设置方法参数,使用方法的前缀
setParam(String, Object, boolean) - 类 中的方法cn.hutool.http.webservice.SoapClient
设置方法参数
setParams(Map<String, Object>) - 类 中的方法cn.hutool.http.webservice.SoapClient
批量设置参数,使用方法的前缀
setParams(Map<String, Object>, boolean) - 类 中的方法cn.hutool.http.webservice.SoapClient
批量设置参数
setPlatform(Platform) - 类 中的方法cn.hutool.http.useragent.UserAgent
设置平台类型
setProtocol(String) - 类 中的方法cn.hutool.http.ssl.SSLSocketFactoryBuilder
设置协议
setProxy(Proxy) - 类 中的方法cn.hutool.http.HttpRequest
设置代理
setReadTimeout(int) - 类 中的方法cn.hutool.http.HttpConnection
设置读取超时
setReadTimeout(int) - 类 中的方法cn.hutool.http.HttpRequest
设置连接超时,单位:毫秒
setRest(boolean) - 类 中的方法cn.hutool.http.HttpRequest
设置是否rest模式
setSecureRandom(SecureRandom) - 类 中的方法cn.hutool.http.ssl.SSLSocketFactoryBuilder
设置 SecureRandom
setSSLProtocol(String) - 类 中的方法cn.hutool.http.HttpRequest
设置HTTPS安全连接协议,只针对HTTPS请求,可以使用的协议包括:
1.
setSSLSocketFactory(SSLSocketFactory) - 类 中的方法cn.hutool.http.HttpRequest
设置SSLSocketFactory
只针对HTTPS请求,如果不设置,使用默认的SSLSocketFactory
默认SSLSocketFactory为:SSLSocketFactoryBuilder.create().build();
setTrustManagers(TrustManager...) - 类 中的方法cn.hutool.http.ssl.SSLSocketFactoryBuilder
设置信任信息
setUrl(String) - 类 中的方法cn.hutool.http.HttpRequest
设置URL
setUrl(String) - 类 中的方法cn.hutool.http.webservice.SoapClient
设置Webservice请求地址
setUrlHandler(URLStreamHandler) - 类 中的方法cn.hutool.http.HttpRequest
设置URLStreamHandler 部分环境下需要单独设置此项,例如当 WebLogic Server 实例充当 SSL 客户端角色(它会尝试通过 SSL 连接到其他服务器或应用程序)时,
它会验证 SSL 服务器在数字证书中返回的主机名是否与用于连接 SSL 服务器的 URL 主机名相匹配。
setVersion(String) - 类 中的方法cn.hutool.http.useragent.UserAgent
设置浏览器版本
SoapClient - cn.hutool.http.webservice中的类
SOAP客户端
SoapClient(String) - 类 的构造器cn.hutool.http.webservice.SoapClient
构造,默认使用soap1.1版本协议
SoapClient(String, SoapProtocol) - 类 的构造器cn.hutool.http.webservice.SoapClient
构造
SoapClient(String, SoapProtocol, String) - 类 的构造器cn.hutool.http.webservice.SoapClient
构造
SoapProtocol - cn.hutool.http.webservice中的枚举
SOAP协议版本枚举
SoapRuntimeException - cn.hutool.http.webservice中的异常错误
SOAP异常
SoapRuntimeException(Throwable) - 异常错误 的构造器cn.hutool.http.webservice.SoapRuntimeException
 
SoapRuntimeException(String) - 异常错误 的构造器cn.hutool.http.webservice.SoapRuntimeException
 
SoapRuntimeException(String, Object...) - 异常错误 的构造器cn.hutool.http.webservice.SoapRuntimeException
 
SoapRuntimeException(String, Throwable) - 异常错误 的构造器cn.hutool.http.webservice.SoapRuntimeException
 
SoapRuntimeException(Throwable, String, Object...) - 异常错误 的构造器cn.hutool.http.webservice.SoapRuntimeException
 
SoapUtil - cn.hutool.http.webservice中的类
SOAP相关工具类
SoapUtil() - 类 的构造器cn.hutool.http.webservice.SoapUtil
 
SSL - 类 中的静态变量cn.hutool.http.ssl.SSLSocketFactoryBuilder
Supports some version of SSL; may support other versions
SSLSocketFactoryBuilder - cn.hutool.http.ssl中的类
SSLSocketFactory构建器
SSLSocketFactoryBuilder() - 类 的构造器cn.hutool.http.ssl.SSLSocketFactoryBuilder
 
SSLv2 - 类 中的静态变量cn.hutool.http.ssl.SSLSocketFactoryBuilder
Supports SSL version 2 or later; may support other versions
SSLv3 - 类 中的静态变量cn.hutool.http.ssl.SSLSocketFactoryBuilder
Supports SSL version 3; may support other versions
Status - cn.hutool.http中的接口
返回状态码
sync() - 类 中的方法cn.hutool.http.HttpResponse
同步
如果为异步状态,则暂时不读取服务器中响应的内容,而是持有Http链接的InputStream

T

ThreadLocalCookieStore - cn.hutool.http.cookie中的类
线程隔离的Cookie存储。
ThreadLocalCookieStore() - 类 的构造器cn.hutool.http.cookie.ThreadLocalCookieStore
 
timeout(int) - 类 中的方法cn.hutool.http.HttpRequest
设置超时,单位:毫秒
超时包括: 1.
TIMEOUT_DEFAULT - 类 中的静态变量cn.hutool.http.HttpRequest
默认超时时长,-1表示默认超时时长
TLS - 类 中的静态变量cn.hutool.http.ssl.SSLSocketFactoryBuilder
Supports some version of TLS; may support other versions
TLSv1 - 类 中的静态变量cn.hutool.http.ssl.SSLSocketFactoryBuilder
Supports RFC 2246: TLS version 1.0 ; may support other versions
TLSv11 - 类 中的静态变量cn.hutool.http.ssl.SSLSocketFactoryBuilder
Supports RFC 4346: TLS version 1.1 ; may support other versions
TLSv12 - 类 中的静态变量cn.hutool.http.ssl.SSLSocketFactoryBuilder
Supports RFC 5246: TLS version 1.2 ; may support other versions
toParams(Map<String, ?>) - 类 中的静态方法cn.hutool.http.HttpUtil
将Map形式的Form表单数据转换为Url参数形式,不做编码
toParams(Map<String, Object>, String) - 类 中的静态方法cn.hutool.http.HttpUtil
将Map形式的Form表单数据转换为Url参数形式
编码键和值对
toParams(Map<String, ?>, Charset) - 类 中的静态方法cn.hutool.http.HttpUtil
将Map形式的Form表单数据转换为Url参数形式
paramMap中如果key为空(null和"")会被忽略,如果value为null,会被做为空白符("")
会自动url编码键和值 key1=v1&key2=&key3=v3
toString() - 枚举 中的方法cn.hutool.http.ContentType
 
toString(Charset) - 枚举 中的方法cn.hutool.http.ContentType
输出Content-Type字符串,附带编码信息
toString() - 枚举 中的方法cn.hutool.http.Header
 
toString() - 类 中的方法cn.hutool.http.HttpBase
 
toString() - 类 中的方法cn.hutool.http.HttpConnection
 
toString() - 类 中的方法cn.hutool.http.HttpResponse
 
toString() - 类 中的方法cn.hutool.http.useragent.UserAgentInfo
 
toString(SOAPMessage, boolean) - 类 中的静态方法cn.hutool.http.webservice.SoapUtil
SOAPMessage 转为字符串
toString(SOAPMessage, boolean, Charset) - 类 中的静态方法cn.hutool.http.webservice.SoapUtil
SOAPMessage 转为字符串
trace(String) - 类 中的静态方法cn.hutool.http.HttpRequest
TRACE请求
TrustAnyHostnameVerifier - cn.hutool.http.ssl中的类
https 域名校验
TrustAnyHostnameVerifier() - 类 的构造器cn.hutool.http.ssl.TrustAnyHostnameVerifier
 

U

unescape(String) - 类 中的静态方法cn.hutool.http.HtmlUtil
还原被转义的HTML特殊字符
Unknown - 类 中的静态变量cn.hutool.http.useragent.Browser
未知
Unknown - 类 中的静态变量cn.hutool.http.useragent.Engine
未知
Unknown - 类 中的静态变量cn.hutool.http.useragent.OS
未知
Unknown - 类 中的静态变量cn.hutool.http.useragent.Platform
未知
unwrapHtmlTag(String, String...) - 类 中的静态方法cn.hutool.http.HtmlUtil
清除指定HTML标签,不包括内容
不区分大小写
urlWithForm(String, Map<String, Object>, Charset, boolean) - 类 中的静态方法cn.hutool.http.HttpUtil
将表单数据加到URL中(用于GET表单提交)
表单的键值对会被url编码,但是url中原参数不会被编码
urlWithForm(String, String, Charset, boolean) - 类 中的静态方法cn.hutool.http.HttpUtil
将表单数据字符串加到URL中(用于GET表单提交)
UserAgent - cn.hutool.http.useragent中的类
User-Agent信息对象
UserAgent() - 类 的构造器cn.hutool.http.useragent.UserAgent
 
UserAgentInfo - cn.hutool.http.useragent中的类
User-agent信息
UserAgentInfo(String, String) - 类 的构造器cn.hutool.http.useragent.UserAgentInfo
构造
UserAgentInfo(String, Pattern) - 类 的构造器cn.hutool.http.useragent.UserAgentInfo
构造
UserAgentParser - cn.hutool.http.useragent中的类
User-Agent解析器
UserAgentParser() - 类 的构造器cn.hutool.http.useragent.UserAgentParser
 
UserAgentUtil - cn.hutool.http.useragent中的类
User-Agent工具类
UserAgentUtil() - 类 的构造器cn.hutool.http.useragent.UserAgentUtil
 

V

valueOf(String) - 枚举 中的静态方法cn.hutool.http.ContentType
返回带有指定名称的该类型的枚举常量。
valueOf(String) - 枚举 中的静态方法cn.hutool.http.GlobalHeaders
返回带有指定名称的该类型的枚举常量。
valueOf(String) - 枚举 中的静态方法cn.hutool.http.Header
返回带有指定名称的该类型的枚举常量。
valueOf(String) - 枚举 中的静态方法cn.hutool.http.Method
返回带有指定名称的该类型的枚举常量。
valueOf(String) - 枚举 中的静态方法cn.hutool.http.webservice.SoapProtocol
返回带有指定名称的该类型的枚举常量。
values() - 枚举 中的静态方法cn.hutool.http.ContentType
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
values() - 枚举 中的静态方法cn.hutool.http.GlobalHeaders
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
values() - 枚举 中的静态方法cn.hutool.http.Header
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
values() - 枚举 中的静态方法cn.hutool.http.Method
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
values() - 枚举 中的静态方法cn.hutool.http.webservice.SoapProtocol
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
verify(String, SSLSession) - 类 中的方法cn.hutool.http.ssl.TrustAnyHostnameVerifier
 

W

write(OutputStream) - 类 中的方法cn.hutool.http.webservice.SoapClient
将SOAP消息的XML内容输出到流
writeBody(OutputStream, boolean, StreamProgress) - 类 中的方法cn.hutool.http.HttpResponse
将响应内容写出到OutputStream
异步模式下直接读取Http流写出,同步模式下将存储在内存中的响应内容写出
写出后会关闭Http流(异步模式)
writeBody(File, StreamProgress) - 类 中的方法cn.hutool.http.HttpResponse
将响应内容写出到文件
异步模式下直接读取Http流写出,同步模式下将存储在内存中的响应内容写出
写出后会关闭Http流(异步模式)
writeBody(File) - 类 中的方法cn.hutool.http.HttpResponse
将响应内容写出到文件
异步模式下直接读取Http流写出,同步模式下将存储在内存中的响应内容写出
写出后会关闭Http流(异步模式)
writeBody(String) - 类 中的方法cn.hutool.http.HttpResponse
将响应内容写出到文件
异步模式下直接读取Http流写出,同步模式下将存储在内存中的响应内容写出
写出后会关闭Http流(异步模式)
A B C D E F G H I K L M N O P Q R S T U V W 

Copyright © 2019. All rights reserved.