Index

A B C D E F G H I J K L M N O P Q R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

A

abort() - Method in interface org.miaixz.bus.http.cache.CacheRequest
终止这个缓存
abort() - Method in class org.miaixz.bus.http.cache.DiskLruCache.Editor
中止这个编辑。
abortUnlessCommitted() - Method in class org.miaixz.bus.http.cache.DiskLruCache.Editor
 
acceptHeader(String) - Static method in class org.miaixz.bus.http.socket.WebSocketProtocol
 
ack(Stomp.Message) - Method in class org.miaixz.bus.http.Stomp
确认收到消息
ACK - Static variable in class org.miaixz.bus.http.Builder
ACK 命令
ACK - Static variable in class org.miaixz.bus.http.Stomp.Header
确认模式头部
add(String) - Method in class org.miaixz.bus.http.Headers.Builder
添加头部行
add(String, String) - Method in class org.miaixz.bus.http.bodys.FormBody.Builder
添加表单字段
add(String, String) - Method in class org.miaixz.bus.http.Headers.Builder
添加验证后的头部
add(String, String...) - Method in class org.miaixz.bus.http.secure.CertificatePinner.Builder
用于pattern 的证书
add(String, Instant) - Method in class org.miaixz.bus.http.Headers.Builder
添加 Instant 头部
add(String, Date) - Method in class org.miaixz.bus.http.Headers.Builder
添加日期头部
addAll(Headers) - Method in class org.miaixz.bus.http.Headers.Builder
添加所有头部
addBodyPara(String, Object) - Method in class org.miaixz.bus.http.plugin.httpv.CoverHttp
Body参数:放在Body里的参数
addBodyPara(Map<String, ?>) - Method in class org.miaixz.bus.http.plugin.httpv.CoverHttp
Body参数:放在Body里的参数
addCustomBrowser(String, String, String) - Static method in class org.miaixz.bus.http.metric.anget.Browser
添加自定义的浏览器类型
addDoneBytes(long) - Method in class org.miaixz.bus.http.plugin.httpv.Progress
 
addEncoded(String, String) - Method in class org.miaixz.bus.http.bodys.FormBody.Builder
添加已编码的表单字段
addEncoded(String, String) - Method in class org.miaixz.bus.http.plugin.httpz.RequestBuilder
 
addEncoded(Map<String, String>) - Method in class org.miaixz.bus.http.plugin.httpz.RequestBuilder
 
addEncodedPathSegment(String) - Method in class org.miaixz.bus.http.UnoUrl.Builder
添加编码后的路径段
addEncodedPathSegments(String) - Method in class org.miaixz.bus.http.UnoUrl.Builder
添加编码后的路径段列表
addEncodedQueryParameter(String, String) - Method in class org.miaixz.bus.http.UnoUrl.Builder
添加编码后的查询参数
addFile(String, String, byte[]) - Method in class org.miaixz.bus.http.plugin.httpz.PostBuilder
 
addFile(String, String, byte[]) - Method in class org.miaixz.bus.http.plugin.httpz.PutBuilder
 
addFile(String, String, byte[], String) - Method in class org.miaixz.bus.http.plugin.httpz.PostBuilder
 
addFile(String, String, byte[], String) - Method in class org.miaixz.bus.http.plugin.httpz.PutBuilder
 
addFile(String, String, File) - Method in class org.miaixz.bus.http.plugin.httpz.PostBuilder
 
addFile(String, String, File) - Method in class org.miaixz.bus.http.plugin.httpz.PutBuilder
 
addFile(String, String, InputStream) - Method in class org.miaixz.bus.http.plugin.httpz.PostBuilder
 
addFile(String, String, String) - Method in class org.miaixz.bus.http.plugin.httpz.PostBuilder
 
addFile(String, String, String) - Method in class org.miaixz.bus.http.plugin.httpz.PutBuilder
 
addFile(String, String, String, String) - Method in class org.miaixz.bus.http.plugin.httpz.PostBuilder
 
addFile(String, String, String, String) - Method in class org.miaixz.bus.http.plugin.httpz.PutBuilder
 
addFilePara(String, File) - Method in class org.miaixz.bus.http.plugin.httpv.CoverHttp
添加文件参数
addFilePara(String, String) - Method in class org.miaixz.bus.http.plugin.httpv.CoverHttp
添加文件参数
addFilePara(String, String, byte[]) - Method in class org.miaixz.bus.http.plugin.httpv.CoverHttp
添加文件参数
addFilePara(String, String, String, byte[]) - Method in class org.miaixz.bus.http.plugin.httpv.CoverHttp
添加文件参数
addFormDataPart(String, String) - Method in class org.miaixz.bus.http.bodys.MultipartBody.Builder
添加表单数据部分
addFormDataPart(String, String, RequestBody) - Method in class org.miaixz.bus.http.bodys.MultipartBody.Builder
添加表单数据部分(带文件名)
addHeader(String, String) - Method in class org.miaixz.bus.http.plugin.httpv.CoverHttp
添加请求头
addHeader(String, String) - Method in class org.miaixz.bus.http.plugin.httpz.RequestBuilder
 
addHeader(String, String) - Method in class org.miaixz.bus.http.Request.Builder
添加指定名称和值的头部,保留现有同名头部。
addHeader(String, String) - Method in class org.miaixz.bus.http.Response.Builder
添加指定名称和值的头部,保留现有同名头部。
addHeader(Map<String, String>) - Method in class org.miaixz.bus.http.plugin.httpv.CoverHttp
添加请求头
addHeader(Map<String, String>) - Method in class org.miaixz.bus.http.plugin.httpz.RequestBuilder
 
addInterceptor(Interceptor) - Method in class org.miaixz.bus.http.Httpd.Builder
添加拦截器。
addInterceptor(Interceptor) - Method in class org.miaixz.bus.http.plugin.httpz.HttpBuilder
 
addLenient(String) - Method in class org.miaixz.bus.http.Headers.Builder
添加未验证的头部行
addLenient(Headers.Builder, String) - Method in class org.miaixz.bus.http.metric.Internal
 
addLenient(Headers.Builder, String, String) - Method in class org.miaixz.bus.http.metric.Internal
 
addMsgConvertor(Convertor) - Method in class org.miaixz.bus.http.Httpv.Builder
 
addNetworkInterceptor(Interceptor) - Method in class org.miaixz.bus.http.Httpd.Builder
添加网络拦截器。
addNetworkInterceptor(Interceptor) - Method in class org.miaixz.bus.http.plugin.httpz.HttpBuilder
 
addOs(String, String, String) - Static method in class org.miaixz.bus.http.metric.anget.NOS
添加自定义的系统类型
addParam(Object) - Method in class org.miaixz.bus.http.plugin.httpz.RequestBuilder
 
addParam(String, String) - Method in class org.miaixz.bus.http.plugin.httpz.RequestBuilder
 
addParam(Map<String, String>) - Method in class org.miaixz.bus.http.plugin.httpz.RequestBuilder
 
addPart(MultipartBody.Part) - Method in class org.miaixz.bus.http.bodys.MultipartBody.Builder
添加部分
addPart(RequestBody) - Method in class org.miaixz.bus.http.bodys.MultipartBody.Builder
添加部分(无头部)
addPart(Headers, RequestBody) - Method in class org.miaixz.bus.http.bodys.MultipartBody.Builder
添加部分
addPathPara(String, Object) - Method in class org.miaixz.bus.http.plugin.httpv.CoverHttp
路径参数:替换URL里的{name}
addPathPara(Map<String, ?>) - Method in class org.miaixz.bus.http.plugin.httpv.CoverHttp
路径参数:替换URL里的{name}
addPathSegment(String) - Method in class org.miaixz.bus.http.UnoUrl.Builder
添加路径段
addPathSegments(String) - Method in class org.miaixz.bus.http.UnoUrl.Builder
添加路径段列表
addPreprocessor(Preprocessor) - Method in class org.miaixz.bus.http.Httpv.Builder
添加可并行处理请求任务的预处理器
addQueryParameter(String, String) - Method in class org.miaixz.bus.http.UnoUrl.Builder
添加查询参数
address() - Method in class org.miaixz.bus.http.Route
获取目标服务器的地址配置。
Address - Class in org.miaixz.bus.http
到源服务器的连接规范
Address(String, int, DnsX, SocketFactory, SSLSocketFactory, HostnameVerifier, CertificatePinner, Authenticator, Proxy, List<Protocol>, List<ConnectionSuite>, ProxySelector) - Constructor for class org.miaixz.bus.http.Address
构造函数,初始化 Address 实例
addSerialPreprocessor(Preprocessor) - Method in class org.miaixz.bus.http.Httpv.Builder
添加预处理器
addSOAPHeader(String) - Method in class org.miaixz.bus.http.plugin.soap.SoapBuilder
增加SOAP头信息,方法返回SOAPHeaderElement可以设置具体属性和子节点
addSOAPHeader(String, String) - Method in class org.miaixz.bus.http.plugin.soap.SoapBuilder
增加SOAP头信息,方法返回SOAPHeaderElement可以设置具体属性和子节点
addSOAPHeader(QName) - Method in class org.miaixz.bus.http.plugin.soap.SoapBuilder
增加SOAP头信息,方法返回SOAPHeaderElement可以设置具体属性和子节点
addSOAPHeader(QName, String, String, Boolean, Boolean) - Method in class org.miaixz.bus.http.plugin.soap.SoapBuilder
增加SOAP头信息,方法返回SOAPHeaderElement可以设置具体属性和子节点
addSuppressedIfPossible(Throwable, Throwable) - Static method in class org.miaixz.bus.http.Builder
添加抑制的异常
addTagTask(String, Cancelable, CoverHttp<?>) - Method in class org.miaixz.bus.http.Httpv
 
addUnsafeNonAscii(String, String) - Method in class org.miaixz.bus.http.Headers.Builder
添加非 ASCII 头部
addUrlPara(String, Object) - Method in class org.miaixz.bus.http.plugin.httpv.CoverHttp
URL参数:拼接在URL后的参数
addUrlPara(Map<String, ?>) - Method in class org.miaixz.bus.http.plugin.httpv.CoverHttp
URL参数:拼接在URL后的参数
afterHandshake(SSLSocket) - Method in class org.miaixz.bus.http.accord.platform.Platform
afterProcess() - Method in class org.miaixz.bus.http.Httpv.SerialPreprocessor
 
ALL_DEVICE - Static variable in class org.miaixz.bus.http.metric.anget.Device
支持的平台类型
allEnabledCipherSuites() - Method in class org.miaixz.bus.http.accord.ConnectionSuite.Builder
 
allEnabledTlsVersions() - Method in class org.miaixz.bus.http.accord.ConnectionSuite.Builder
 
alpnProtocolNames(List<Protocol>) - Static method in class org.miaixz.bus.http.accord.platform.Platform
 
ANDROID - Static variable in class org.miaixz.bus.http.metric.anget.Device
android
append(String, Map<String, String>) - Method in class org.miaixz.bus.http.plugin.httpz.DeleteBuilder
将查询参数拼接至 URL。
append(String, Map<String, String>) - Method in class org.miaixz.bus.http.plugin.httpz.GetBuilder
 
append(String, Map<String, String>) - Method in class org.miaixz.bus.http.plugin.httpz.HeadBuilder
将查询参数拼接至 URL。
appendingSink(File) - Method in interface org.miaixz.bus.http.cache.DiskLruCache.DiskFile
Writes to file, appending if data is already present.
apply(SSLSocket, boolean) - Method in class org.miaixz.bus.http.accord.ConnectionSuite
将此规范应用于sslSocket
apply(ConnectionSuite, SSLSocket, boolean) - Method in class org.miaixz.bus.http.metric.Internal
 
apply(Convertor) - Method in interface org.miaixz.bus.http.plugin.httpv.CoverTasks.Executor.ConvertFunc
 
applyAndAckSettings(Http2Settings) - Method in class org.miaixz.bus.http.metric.http.Http2Writer
Applies peerSettings and then sends a settings ACK.
assertNotConflict(boolean) - Method in class org.miaixz.bus.http.plugin.httpv.CoverHttp
 
async(String) - Method in class org.miaixz.bus.http.Httpv
 
Async(Httpv, String) - Constructor for class org.miaixz.bus.http.plugin.httpv.CoverHttp.Async
 
authenticate(Route, Response) - Method in interface org.miaixz.bus.http.secure.Authenticator
该请求包含满足response中的身份验证挑战的凭据。
authenticate(Route, Response) - Method in class org.miaixz.bus.http.secure.NetAuthenticator
 
authenticator() - Method in class org.miaixz.bus.http.Httpd
获取服务器身份验证器。
authenticator() - Method in class org.miaixz.bus.http.plugin.httpx.HttpProxy
 
authenticator(Authenticator) - Method in class org.miaixz.bus.http.Httpd.Builder
设置用于响应来自源服务器的挑战的验证器。
authenticator(Authenticator) - Method in class org.miaixz.bus.http.plugin.httpz.HttpBuilder
 
Authenticator - Interface in org.miaixz.bus.http.secure
在连接到代理服务器之前执行抢占式身份验证, 或者在收到来自源web服务器或代理服务器的挑战后执行被动身份验证.
authParams() - Method in class org.miaixz.bus.http.secure.Challenge
Returns the auth params, including realm and charset if present, but as strings.
AUTO_ACK - Static variable in class org.miaixz.bus.http.Stomp
自动确认模式

B

baseUrl() - Method in class org.miaixz.bus.http.Httpv
 
baseUrl() - Method in class org.miaixz.bus.http.Httpv.Builder
 
baseUrl(String) - Method in class org.miaixz.bus.http.Httpv.Builder
设置 baseUrl
basic(String, String) - Static method in class org.miaixz.bus.http.secure.Credentials
返回基本方案的验证凭据
basic(String, String, Charset) - Static method in class org.miaixz.bus.http.secure.Credentials
 
BasicCertificateChainCleaner - Class in org.miaixz.bus.http.secure
使用一组可信根证书来构建可信链的证书链清理器。
BasicCertificateChainCleaner(TrustRootIndex) - Constructor for class org.miaixz.bus.http.secure.BasicCertificateChainCleaner
 
BasicTrustRootIndex - Class in org.miaixz.bus.http.secure
简单的索引,包含已加载到内存中的受信任根证书
BasicTrustRootIndex(X509Certificate...) - Constructor for class org.miaixz.bus.http.secure.BasicTrustRootIndex
 
bind(Object) - Method in class org.miaixz.bus.http.plugin.httpv.CoverHttp
绑定一个对象
body - Variable in class org.miaixz.bus.http.plugin.httpz.HttpRequest
 
body() - Method in class org.miaixz.bus.http.bodys.MultipartBody.Part
获取部分请求体
body() - Method in interface org.miaixz.bus.http.cache.CacheRequest
 
body() - Method in class org.miaixz.bus.http.Request
获取请求体。
body() - Method in class org.miaixz.bus.http.Response
获取响应体。
body(String) - Method in class org.miaixz.bus.http.plugin.httpz.PostBuilder
 
body(String) - Method in class org.miaixz.bus.http.plugin.httpz.PutBuilder
 
body(ResponseBody) - Method in class org.miaixz.bus.http.Response.Builder
设置响应体。
bodyType() - Method in class org.miaixz.bus.http.Httpv
 
bodyType() - Method in class org.miaixz.bus.http.Httpv.Builder
 
bodyType(String) - Method in class org.miaixz.bus.http.Httpv.Builder
 
bodyType(String) - Method in class org.miaixz.bus.http.plugin.httpv.CoverHttp
 
bomAwareCharset(BufferSource, Charset) - Static method in class org.miaixz.bus.http.Builder
根据 BOM 选择字符集
boundary() - Method in class org.miaixz.bus.http.bodys.MultipartBody
获取分隔符
BridgeInterceptor - Class in org.miaixz.bus.http.metric.http
从应用程序代码连接到网络代码。
BridgeInterceptor(CookieJar) - Constructor for class org.miaixz.bus.http.metric.http.BridgeInterceptor
 
BROWERS - Static variable in class org.miaixz.bus.http.metric.anget.Browser
支持的浏览器类型
Browser - Class in org.miaixz.bus.http.metric.anget
浏览器对象
Browser(String, String, String) - Constructor for class org.miaixz.bus.http.metric.anget.Browser
构造
BROWSER_COMPATIBLE_DATE_FORMAT_STRINGS - Static variable in class org.miaixz.bus.http.Builder
浏览器兼容的日期格式
BROWSER_COMPATIBLE_DATE_FORMATS - Static variable in class org.miaixz.bus.http.Builder
浏览器兼容的日期格式器
build() - Method in class org.miaixz.bus.http.accord.ConnectionSuite.Builder
 
build() - Method in class org.miaixz.bus.http.bodys.FormBody.Builder
构建 FormBody 实例
build() - Method in class org.miaixz.bus.http.bodys.MultipartBody.Builder
构建 MultipartBody 实例
build() - Method in class org.miaixz.bus.http.cache.CacheControl.Builder
 
build() - Method in class org.miaixz.bus.http.Cookie.Builder
构建 Cookie 实例
build() - Method in class org.miaixz.bus.http.Headers.Builder
构建 Headers 实例
build() - Method in class org.miaixz.bus.http.Httpd.Builder
构建 Httpd 实例。
build() - Method in class org.miaixz.bus.http.Httpv.Builder
构建 HTTP 实例
build() - Method in class org.miaixz.bus.http.metric.http.Http2Connection.Builder
 
build() - Method in class org.miaixz.bus.http.plugin.httpz.DeleteBuilder
构建 DELETE 请求的 RequestCall 对象。
build() - Method in class org.miaixz.bus.http.plugin.httpz.GetBuilder
 
build() - Method in class org.miaixz.bus.http.plugin.httpz.HeadBuilder
构建 HEAD 请求的 RequestCall 对象。
build() - Method in class org.miaixz.bus.http.plugin.httpz.HttpBuilder
 
build() - Method in class org.miaixz.bus.http.plugin.httpz.PostBuilder
 
build() - Method in class org.miaixz.bus.http.plugin.httpz.PutBuilder
 
build() - Method in class org.miaixz.bus.http.plugin.httpz.RequestBuilder
 
build() - Method in class org.miaixz.bus.http.Request.Builder
构建 Request 实例。
build() - Method in class org.miaixz.bus.http.Response.Builder
构建 Response 实例。
build() - Method in class org.miaixz.bus.http.secure.CertificatePinner.Builder
 
build() - Method in class org.miaixz.bus.http.UnoUrl.Builder
构建 UnoUrl 实例
build(Httpd) - Method in class org.miaixz.bus.http.plugin.httpz.HttpRequest
 
buildCall(Callback) - Method in class org.miaixz.bus.http.plugin.httpz.RequestCall
 
buildCertificateChainCleaner(SSLSocketFactory) - Method in class org.miaixz.bus.http.accord.platform.Platform
 
buildCertificateChainCleaner(X509TrustManager) - Method in class org.miaixz.bus.http.accord.platform.Platform
 
builder - Variable in class org.miaixz.bus.http.plugin.httpz.HttpRequest
 
builder() - Static method in class org.miaixz.bus.http.Httpv
HTTP 构建器
Builder - Class in org.miaixz.bus.http
HTTP 相关的实用工具类
Builder() - Constructor for class org.miaixz.bus.http.bodys.FormBody.Builder
默认构造函数
Builder() - Constructor for class org.miaixz.bus.http.bodys.MultipartBody.Builder
默认构造函数
Builder() - Constructor for class org.miaixz.bus.http.Builder
构造函数
Builder() - Constructor for class org.miaixz.bus.http.cache.CacheControl.Builder
 
Builder() - Constructor for class org.miaixz.bus.http.Cookie.Builder
 
Builder() - Constructor for class org.miaixz.bus.http.Headers.Builder
 
Builder() - Constructor for class org.miaixz.bus.http.Httpd.Builder
默认构造函数,初始化默认配置。
Builder() - Constructor for class org.miaixz.bus.http.Httpv.Builder
 
Builder() - Constructor for class org.miaixz.bus.http.Request.Builder
默认构造函数,初始化 GET 请求。
Builder() - Constructor for class org.miaixz.bus.http.Response.Builder
默认构造函数,初始化空 Builder。
Builder() - Constructor for class org.miaixz.bus.http.secure.CertificatePinner.Builder
 
Builder() - Constructor for class org.miaixz.bus.http.UnoUrl.Builder
默认构造函数
Builder(boolean) - Constructor for class org.miaixz.bus.http.metric.http.Http2Connection.Builder
 
Builder(String) - Constructor for class org.miaixz.bus.http.bodys.MultipartBody.Builder
构造函数,指定分隔符
Builder(Charset) - Constructor for class org.miaixz.bus.http.bodys.FormBody.Builder
构造函数,指定字符集
Builder(ConnectionSuite) - Constructor for class org.miaixz.bus.http.accord.ConnectionSuite.Builder
 
Builder(Httpv) - Constructor for class org.miaixz.bus.http.Httpv.Builder
 
buildIfSupported() - Static method in class org.miaixz.bus.http.accord.platform.JdkPlatform
 
buildRequest(RequestBody) - Method in class org.miaixz.bus.http.plugin.httpz.DeleteRequest
构建 DELETE 请求对象。
buildRequest(RequestBody) - Method in class org.miaixz.bus.http.plugin.httpz.GetRequest
 
buildRequest(RequestBody) - Method in class org.miaixz.bus.http.plugin.httpz.HeadRequest
构建 HEAD 请求对象。
buildRequest(RequestBody) - Method in class org.miaixz.bus.http.plugin.httpz.HttpRequest
 
buildRequest(RequestBody) - Method in class org.miaixz.bus.http.plugin.httpz.PostRequest
 
buildRequest(RequestBody) - Method in class org.miaixz.bus.http.plugin.httpz.PutRequest
 
buildRequestBody() - Method in class org.miaixz.bus.http.plugin.httpz.DeleteRequest
构建 DELETE 请求的请求体。
buildRequestBody() - Method in class org.miaixz.bus.http.plugin.httpz.GetRequest
 
buildRequestBody() - Method in class org.miaixz.bus.http.plugin.httpz.HeadRequest
构建 HEAD 请求的请求体。
buildRequestBody() - Method in class org.miaixz.bus.http.plugin.httpz.HttpRequest
 
buildRequestBody() - Method in class org.miaixz.bus.http.plugin.httpz.PostRequest
 
buildRequestBody() - Method in class org.miaixz.bus.http.plugin.httpz.PutRequest
 
buildTrustRootIndex(X509TrustManager) - Method in class org.miaixz.bus.http.accord.platform.Platform
 
bus.http - module bus.http
bus.http
byteCount() - Method in class org.miaixz.bus.http.Headers
获取头部编码字节数
bytes() - Method in class org.miaixz.bus.http.bodys.ResponseBody
获取响应内容的字节数组
byteStream() - Method in class org.miaixz.bus.http.bodys.ResponseBody
获取字节流

C

cache() - Method in class org.miaixz.bus.http.Httpd
获取缓存实例。
cache() - Method in interface org.miaixz.bus.http.plugin.httpv.CoverResult.Body
缓存自己,缓存后可 重复使用 toXXX 类方法
cache() - Method in class org.miaixz.bus.http.plugin.httpv.ResultBody
 
cache(Cache) - Method in class org.miaixz.bus.http.Httpd.Builder
设置缓存实例。
cache(Cache) - Method in class org.miaixz.bus.http.plugin.httpz.HttpBuilder
 
Cache - Class in org.miaixz.bus.http.cache
缓存HTTP和HTTPS对文件系统的响应,以便可以重用它们,从而节省时间和带宽.
Cache(File, long) - Constructor for class org.miaixz.bus.http.cache.Cache
directory中创建最多maxSize字节的缓存
Cache(File, long, DiskLruCache.DiskFile) - Constructor for class org.miaixz.bus.http.cache.Cache
 
cacheControl() - Method in class org.miaixz.bus.http.Request
获取缓存控制指令。
cacheControl() - Method in class org.miaixz.bus.http.Response
获取缓存控制指令。
cacheControl(CacheControl) - Method in class org.miaixz.bus.http.Request.Builder
设置缓存控制头部。
CacheControl - Class in org.miaixz.bus.http.cache
缓存控制头,带有来自服务器或客户端的缓存指令。
CacheControl.Builder - Class in org.miaixz.bus.http.cache
构建一个Cache-Control请求头
CacheInterceptor - Class in org.miaixz.bus.http.cache
服务来自缓存的请求并将响应写入缓存。
CacheInterceptor(InternalCache) - Constructor for class org.miaixz.bus.http.cache.CacheInterceptor
 
CacheRequest - Interface in org.miaixz.bus.http.cache
缓存请求信息
cacheResponse - Variable in class org.miaixz.bus.http.cache.CacheStrategy
缓存响应以返回或验证;如果这个调用不使用缓存,则为null
cacheResponse() - Method in class org.miaixz.bus.http.Response
获取缓存响应。
cacheResponse(Response) - Method in class org.miaixz.bus.http.Response.Builder
设置缓存响应。
CacheStrategy - Class in org.miaixz.bus.http.cache
给定一个请求和缓存的响应,这将确定是使用网络、缓存还是两者都使用 选择缓存策略可能会向请求添加条件(比如条件get的“if - modified - since”报头) 或向缓存的响应添加警告(如果缓存的数据可能过时)
CacheStrategy.Factory - Class in org.miaixz.bus.http.cache
 
call() - Method in class org.miaixz.bus.http.metric.http.RealInterceptorChain
 
call() - Method in interface org.miaixz.bus.http.metric.NewChain
实际调用准备执行的请求
Callback<T> - Interface in org.miaixz.bus.http
HTTP 请求的异步回调接口
callbackExecutor(Executor) - Method in class org.miaixz.bus.http.Httpv.Builder
设置回调执行器,例如实现切换线程功能,只对异步请求有效
callEnd(NewCall) - Method in class org.miaixz.bus.http.metric.EventListener
在调用完全结束后立即调用。
callFailed(NewCall, IOException) - Method in class org.miaixz.bus.http.metric.EventListener
永久失败时调用.
CallServerInterceptor - Class in org.miaixz.bus.http.metric.http
这是链中的最后一个拦截器 它对服务器进行网络调用
CallServerInterceptor(boolean) - Constructor for class org.miaixz.bus.http.metric.http.CallServerInterceptor
 
callsPerHost() - Method in class org.miaixz.bus.http.RealCall.AsyncCall
获取主机调用计数
callStart() - Method in class org.miaixz.bus.http.accord.Transmitter
 
callStart(NewCall) - Method in class org.miaixz.bus.http.metric.EventListener
在调用进入队列或由客户端执行时立即调用。
callTimeout(long, TimeUnit) - Method in class org.miaixz.bus.http.Httpd.Builder
设置完成调用的默认超时。
callTimeout(Duration) - Method in class org.miaixz.bus.http.Httpd.Builder
设置完成调用的默认超时。
callTimeoutMillis() - Method in class org.miaixz.bus.http.Httpd
获取调用超时时间(毫秒)。
cancel() - Method in class org.miaixz.bus.http.accord.Exchange
 
cancel() - Method in class org.miaixz.bus.http.accord.RealConnection
 
cancel() - Method in class org.miaixz.bus.http.accord.Transmitter
Immediately closes the socket connection if it's currently held.
cancel() - Method in class org.miaixz.bus.http.metric.http.Http1Codec
 
cancel() - Method in class org.miaixz.bus.http.metric.http.Http2Codec
 
cancel() - Method in interface org.miaixz.bus.http.metric.http.HttpCodec
取消这个流。
cancel() - Method in interface org.miaixz.bus.http.NewCall
如果可能,取消请求。
cancel() - Method in interface org.miaixz.bus.http.plugin.httpv.Cancelable
取消
cancel() - Method in class org.miaixz.bus.http.plugin.httpv.CoverCall
 
cancel() - Method in class org.miaixz.bus.http.plugin.httpv.CoverHttp
 
cancel() - Method in class org.miaixz.bus.http.plugin.httpv.Downloads.Control
取消下载任务
cancel() - Method in class org.miaixz.bus.http.plugin.httpz.RequestCall
 
cancel() - Method in class org.miaixz.bus.http.RealCall
取消请求
cancel() - Method in class org.miaixz.bus.http.socket.RealWebSocket
取消 WebSocket 连接
cancel() - Method in interface org.miaixz.bus.http.socket.WebSocket
立即并强烈地释放这个web套接字持有的资源,丢弃任何排队的消息 如果web套接字已经关闭或取消,则此操作不执行任何操作
cancel(Object) - Static method in class org.miaixz.bus.http.Httpz.Client
取消带有指定标签的请求,使用默认客户端。
cancel(String) - Method in class org.miaixz.bus.http.Httpv
 
cancel(Httpd, Object) - Static method in class org.miaixz.bus.http.Httpz.Client
取消指定客户端中带有特定标签的请求。
CANCEL - Enum constant in enum class org.miaixz.bus.http.metric.http.Http2ErrorCode
 
CANCEL - Static variable in interface org.miaixz.bus.http.metric.http.PushObserver
 
Cancelable - Interface in org.miaixz.bus.http.plugin.httpv
 
cancelAll() - Method in class org.miaixz.bus.http.Httpv
 
cancelAll() - Static method in class org.miaixz.bus.http.Httpz.Client
取消所有正在排队或运行的请求,使用默认客户端。
cancelAll() - Method in class org.miaixz.bus.http.metric.Dispatcher
取消当前排队或执行的所有调用。
cancelAll(Httpd) - Static method in class org.miaixz.bus.http.Httpz.Client
取消指定客户端的所有正在排队或运行的请求。
CANCELED - Enum constant in enum class org.miaixz.bus.http.plugin.httpv.CoverResult.State
请求被取消
CANCELED - Static variable in class org.miaixz.bus.http.plugin.httpv.CoverCall.Close
 
canonicalize(String, int, int, String, boolean, boolean, boolean, boolean, Charset) - Static method in class org.miaixz.bus.http.UnoUrl
规范化字符串
canonicalize(String, String, boolean, boolean, boolean, boolean) - Static method in class org.miaixz.bus.http.UnoUrl
规范化字符串(默认 UTF-8)
canonicalize(String, String, boolean, boolean, boolean, boolean, Charset) - Static method in class org.miaixz.bus.http.UnoUrl
规范化字符串(默认 UTF-8)
canonicalize(Buffer, String, int, int, String, boolean, boolean, boolean, boolean, Charset) - Static method in class org.miaixz.bus.http.UnoUrl
规范化字符串到缓冲区
canonicalizeHost(String) - Static method in class org.miaixz.bus.http.Builder
规范化主机名
canRetry() - Method in class org.miaixz.bus.http.accord.Transmitter
 
CertificateChainCleaner - Class in org.miaixz.bus.http.secure
从Java在TLS api中构建的原始数组中计算有效的证书链。
CertificateChainCleaner() - Constructor for class org.miaixz.bus.http.secure.CertificateChainCleaner
 
certificatePinner() - Method in class org.miaixz.bus.http.Address
获取证书固定器
certificatePinner() - Method in class org.miaixz.bus.http.Httpd
获取证书固定器。
certificatePinner(CertificatePinner) - Method in class org.miaixz.bus.http.Httpd.Builder
设置限制哪些证书受信任的证书pinner。
certificatePinner(CertificatePinner) - Method in class org.miaixz.bus.http.plugin.httpz.HttpBuilder
 
CertificatePinner - Class in org.miaixz.bus.http.secure
限制哪些证书受信任。
CertificatePinner.Builder - Class in org.miaixz.bus.http.secure
构建已配置的证书
Challenge - Class in org.miaixz.bus.http.secure
RFC 7235兼容的认证
Challenge(String, String) - Constructor for class org.miaixz.bus.http.secure.Challenge
 
Challenge(String, Map<String, String>) - Constructor for class org.miaixz.bus.http.secure.Challenge
 
challenges() - Method in class org.miaixz.bus.http.Response
获取 RFC 7235 认证挑战列表。
charset - Variable in class org.miaixz.bus.http.plugin.httpv.ResultBody
 
charset() - Method in class org.miaixz.bus.http.Httpv.Builder
 
charset() - Method in class org.miaixz.bus.http.Httpv
 
charset() - Method in class org.miaixz.bus.http.secure.Challenge
Returns the charset that should be used to encode the credentials.
charset(Charset) - Method in class org.miaixz.bus.http.Httpv.Builder
 
charset(Charset) - Method in class org.miaixz.bus.http.plugin.httpv.CoverHttp
 
charset(Charset) - Method in class org.miaixz.bus.http.plugin.soap.SoapBuilder
设置编码
charset(Response) - Method in class org.miaixz.bus.http.plugin.httpv.CoverHttp
 
charStream() - Method in class org.miaixz.bus.http.bodys.ResponseBody
获取字符流
check(String, Certificate...) - Method in class org.miaixz.bus.http.secure.CertificatePinner
Deprecated.
check(String, List<Certificate>) - Method in class org.miaixz.bus.http.secure.CertificatePinner
确认hostname所固定的证书中至少有一个位于peerCertificates中。
checkDuration(String, long, TimeUnit) - Static method in class org.miaixz.bus.http.Builder
检查持续时间
checkOffsetAndCount(long, long, long) - Static method in class org.miaixz.bus.http.Builder
检查数组偏移和计数
cipherSuite() - Method in class org.miaixz.bus.http.socket.Handshake
获取密码套件
CipherSuite - Class in org.miaixz.bus.http.secure
并非所有平台都支持所有密码套件。
cipherSuites() - Method in class org.miaixz.bus.http.accord.ConnectionSuite
 
cipherSuites(String...) - Method in class org.miaixz.bus.http.accord.ConnectionSuite.Builder
 
cipherSuites(CipherSuite...) - Method in class org.miaixz.bus.http.accord.ConnectionSuite.Builder
 
clean(List<Certificate>, String) - Method in class org.miaixz.bus.http.secure.BasicCertificateChainCleaner
Returns a cleaned chain for chain.
clean(List<Certificate>, String) - Method in class org.miaixz.bus.http.secure.CertificateChainCleaner
 
clear() - Method in class org.miaixz.bus.http.metric.http.Http2Settings
 
clearHeaders() - Method in class org.miaixz.bus.http.plugin.soap.SoapBuilder
清除所有头信息,包括全局头信息
CLEARTEXT - Static variable in class org.miaixz.bus.http.accord.ConnectionSuite
用于http: url的未加密、未经身份验证的连接
client - Variable in class org.miaixz.bus.http.metric.http.Http2Reader
 
client - Variable in class org.miaixz.bus.http.RealCall
HTTP 客户端
client - Variable in class org.miaixz.bus.http.socket.RealWebSocket.Streams
是否为客户端
Client() - Constructor for class org.miaixz.bus.http.Httpz.Client
默认构造函数,初始化 Httpd 客户端并配置 SSL。
Client(Httpd) - Constructor for class org.miaixz.bus.http.Httpz.Client
使用指定的 Httpd 客户端进行初始化。
Client(Httpv, String) - Constructor for class org.miaixz.bus.http.plugin.httpv.CoverCall.Client
 
CLIENT_ACK - Static variable in class org.miaixz.bus.http.Stomp
客户端确认模式
clone() - Method in interface org.miaixz.bus.http.NewCall
 
clone() - Method in class org.miaixz.bus.http.RealCall
克隆 RealCall 实例
close() - Method in class org.miaixz.bus.http.bodys.ResponseBody
关闭响应体
close() - Method in class org.miaixz.bus.http.cache.Cache
 
close() - Method in class org.miaixz.bus.http.cache.DiskLruCache
Closes this cache.
close() - Method in class org.miaixz.bus.http.cache.DiskLruCache.Snapshot
 
close() - Method in class org.miaixz.bus.http.metric.http.Http2Connection
Closes this connection.
close() - Method in class org.miaixz.bus.http.metric.http.Http2Reader
 
close() - Method in class org.miaixz.bus.http.metric.http.Http2Writer
 
close() - Method in interface org.miaixz.bus.http.plugin.httpv.CoverResult.Body
关闭报文体 未对报文体做任何消费时使用,比如只读取长度
close() - Method in interface org.miaixz.bus.http.plugin.httpv.CoverResult
关闭报文 未对报文体做任何消费时使用,比如只读取报文头
close() - Method in class org.miaixz.bus.http.plugin.httpv.CoverResult.Real
 
close() - Method in class org.miaixz.bus.http.plugin.httpv.ResultBody
 
close() - Method in class org.miaixz.bus.http.Response
关闭响应体。
close(int, String) - Method in class org.miaixz.bus.http.plugin.httpv.CoverCall
 
close(int, String) - Method in class org.miaixz.bus.http.socket.RealWebSocket
关闭 WebSocket 连接
close(int, String) - Method in interface org.miaixz.bus.http.socket.WebSocket
尝试启动此web套接字的正常关闭。
close(Http2ErrorCode, IOException) - Method in class org.miaixz.bus.http.metric.http.Http2Stream
Abnormally terminate this stream.
Close(int, String) - Constructor for class org.miaixz.bus.http.plugin.httpv.CoverCall.Close
 
closeLater(Http2ErrorCode) - Method in class org.miaixz.bus.http.metric.http.Http2Stream
Abnormally terminate this stream.
code - Variable in class org.miaixz.bus.http.metric.http.StatusLine
 
code() - Method in class org.miaixz.bus.http.Response
获取 HTTP 状态码。
code(int) - Method in class org.miaixz.bus.http.Response.Builder
设置 HTTP 状态码。
code(Response.Builder) - Method in class org.miaixz.bus.http.metric.Internal
 
commit() - Method in class org.miaixz.bus.http.cache.DiskLruCache.Editor
Commits this edit so it is visible to readers.
compile(boolean) - Method in class org.miaixz.bus.http.Stomp.Message
编译消息为字符串
completeListener() - Method in class org.miaixz.bus.http.Httpv.Builder
 
completeListener(CoverTasks.Listener<CoverResult.State>) - Method in class org.miaixz.bus.http.Httpv.Builder
设置全局完成监听
COMPRESSION_ERROR - Enum constant in enum class org.miaixz.bus.http.metric.http.Http2ErrorCode
 
concat(String[], String) - Static method in class org.miaixz.bus.http.Builder
拼接字符串到数组
config(Httpd.Builder) - Method in interface org.miaixz.bus.http.Httpv.HttpvConfig
使用 builder 配置 Httpc
config(Httpv.HttpvConfig) - Method in class org.miaixz.bus.http.Httpv.Builder
配置 Httpd
configureSecureSocket(SSLSocket) - Method in class org.miaixz.bus.http.accord.ConnectionSelector
根据SSLSocket 配置连接到指定的主机的信息ConnectionSuite 返回ConnectionSuite,不会返回null
configureSslSocketFactory(SSLSocketFactory) - Method in class org.miaixz.bus.http.accord.platform.Platform
 
configureTlsExtensions(SSLSocket, String, List<Protocol>) - Method in class org.miaixz.bus.http.accord.platform.JdkPlatform
 
configureTlsExtensions(SSLSocket, String, List<Protocol>) - Method in class org.miaixz.bus.http.accord.platform.Platform
sslSocket上为route配置TLS扩展
connect() - Method in class org.miaixz.bus.http.Stomp
连接到 STOMP 服务器
connect(int, int, int, int, boolean, NewCall, EventListener) - Method in class org.miaixz.bus.http.accord.RealConnection
 
connect(List<Stomp.Header>) - Method in class org.miaixz.bus.http.Stomp
使用指定头部连接到 STOMP 服务器
connect(Httpd) - Method in class org.miaixz.bus.http.socket.RealWebSocket
建立 WebSocket 连接
CONNECT - Static variable in class org.miaixz.bus.http.Builder
CONNECT 命令
CONNECT_ERROR - Enum constant in enum class org.miaixz.bus.http.metric.http.Http2ErrorCode
 
connected(Route) - Method in class org.miaixz.bus.http.accord.RouteDatabase
成功连接到route
CONNECTED - Static variable in class org.miaixz.bus.http.Builder
CONNECTED 命令
connectEnd(NewCall, InetSocketAddress, Proxy, Protocol) - Method in class org.miaixz.bus.http.metric.EventListener
在尝试套接字连接后立即调用.
connectFailed(URI, SocketAddress, IOException) - Method in class org.miaixz.bus.http.metric.proxy.NullProxySelector
 
connectFailed(NewCall, InetSocketAddress, Proxy, Protocol, IOException) - Method in class org.miaixz.bus.http.metric.EventListener
连接尝试失败时调用。
connectFailed(Route, IOException) - Method in class org.miaixz.bus.http.accord.RealConnectionPool
Track a bad route in the route database.
ConnectInterceptor - Class in org.miaixz.bus.http.accord
打开到目标服务器的连接并继续到下一个拦截器.
ConnectInterceptor(Httpd) - Constructor for class org.miaixz.bus.http.accord.ConnectInterceptor
 
connection - Variable in class org.miaixz.bus.http.accord.Transmitter
有connectionPool守卫
connection() - Method in class org.miaixz.bus.http.accord.Exchange
 
connection() - Method in class org.miaixz.bus.http.metric.http.Http1Codec
 
connection() - Method in class org.miaixz.bus.http.metric.http.Http2Codec
 
connection() - Method in interface org.miaixz.bus.http.metric.http.HttpCodec
返回携带此编解码器的连接
connection() - Method in class org.miaixz.bus.http.metric.http.RealInterceptorChain
 
connection() - Method in interface org.miaixz.bus.http.metric.NewChain
返回将执行请求的连接。
Connection - Interface in org.miaixz.bus.http.accord
HTTP、HTTPS或HTTPS+HTTP/2连接的套接字和流。
connectionAcquired(NewCall, Connection) - Method in class org.miaixz.bus.http.metric.EventListener
call获取连接后调用.
connectionCount() - Method in class org.miaixz.bus.http.accord.ConnectionPool
返回池中的连接总数。
connectionCount() - Method in class org.miaixz.bus.http.accord.RealConnectionPool
 
connectionFailed(IOException) - Method in class org.miaixz.bus.http.accord.ConnectionSelector
报告连接失败。
connectionPool - Variable in class org.miaixz.bus.http.accord.RealConnection
 
connectionPool() - Method in class org.miaixz.bus.http.Httpd
获取连接池。
connectionPool(ConnectionPool) - Method in class org.miaixz.bus.http.Httpd.Builder
设置用于回收HTTP和HTTPS连接的连接池.
connectionPool(ConnectionPool) - Method in class org.miaixz.bus.http.plugin.httpz.HttpBuilder
 
ConnectionPool - Class in org.miaixz.bus.http.accord
管理HTTP和HTTP/2连接的重用,以减少网络延迟。
ConnectionPool() - Constructor for class org.miaixz.bus.http.accord.ConnectionPool
使用适合于单用户应用程序的调优参数创建新的连接池。
ConnectionPool(int, long, TimeUnit) - Constructor for class org.miaixz.bus.http.accord.ConnectionPool
 
connectionPreface() - Method in class org.miaixz.bus.http.metric.http.Http2Writer
 
connectionReleased(NewCall, Connection) - Method in class org.miaixz.bus.http.metric.EventListener
在为call释放连接后调用.
ConnectionSelector - Class in org.miaixz.bus.http.accord
处理连接规范回退策略:当安全套接字连接由于握手/协议问题而失败时, 可能会使用不同的协议重试连接。
ConnectionSelector(List<ConnectionSuite>) - Constructor for class org.miaixz.bus.http.accord.ConnectionSelector
 
connectionSpecs() - Method in class org.miaixz.bus.http.Address
获取支持的连接套件列表
connectionSpecs() - Method in class org.miaixz.bus.http.Httpd
获取支持的连接套件列表。
connectionSpecs(List<ConnectionSuite>) - Method in class org.miaixz.bus.http.Httpd.Builder
设置支持的连接套件。
connectionSpecs(List<ConnectionSuite>) - Method in class org.miaixz.bus.http.plugin.httpz.HttpBuilder
 
ConnectionSuite - Class in org.miaixz.bus.http.accord
指定HTTP传输通过的套接字连接的配置。
ConnectionSuite.Builder - Class in org.miaixz.bus.http.accord
 
connectSocket(Socket, InetSocketAddress, int) - Method in class org.miaixz.bus.http.accord.platform.Platform
 
connectStart(NewCall, InetSocketAddress, Proxy) - Method in class org.miaixz.bus.http.metric.EventListener
仅在初始化套接字连接之前调用.
connectTimeout(long, TimeUnit) - Method in class org.miaixz.bus.http.Httpd.Builder
设置新连接的默认连接超时。
connectTimeout(long, TimeUnit) - Method in class org.miaixz.bus.http.plugin.httpz.HttpBuilder
 
connectTimeout(Duration) - Method in class org.miaixz.bus.http.Httpd.Builder
设置新连接的默认连接超时。
connectTimeoutMillis() - Method in class org.miaixz.bus.http.Httpd
获取连接超时时间(毫秒)。
connectTimeoutMillis() - Method in class org.miaixz.bus.http.metric.http.RealInterceptorChain
 
connectTimeoutMillis() - Method in interface org.miaixz.bus.http.metric.NewChain
连接超时时间
content - Variable in class org.miaixz.bus.http.plugin.httpz.MultipartFile
文件内容
contentLength(Headers) - Static method in class org.miaixz.bus.http.Headers
获取头部的 Content-Length
contentLength(Response) - Static method in class org.miaixz.bus.http.Headers
获取响应的 Content-Length
continuation - Variable in class org.miaixz.bus.http.metric.http.Http2Reader
 
Control() - Constructor for class org.miaixz.bus.http.plugin.httpv.Downloads.Control
 
Convertor - Interface in org.miaixz.bus.http.plugin.httpv
消息转换器接口
Convertor.FormConvertor - Class in org.miaixz.bus.http.plugin.httpv
表单转换器,可用于自动系列化表单参数
Cookie - Class in org.miaixz.bus.http
HTTP Cookie 处理工具
Cookie.Builder - Class in org.miaixz.bus.http
Cookie 构建器
cookieJar() - Method in class org.miaixz.bus.http.Httpd
获取 Cookie 管理器。
cookieJar(CookieJar) - Method in class org.miaixz.bus.http.Httpd.Builder
设置 Cookie 管理器。
cookieJar(CookieJar) - Method in class org.miaixz.bus.http.plugin.httpz.HttpBuilder
 
CookieJar - Interface in org.miaixz.bus.http.metric
为HTTP cookie提供策略和持久性 作为策略,此接口的实现负责选择接受和拒绝哪些cookie。
COUNT - Static variable in class org.miaixz.bus.http.metric.http.Http2Settings
设置总数
CoverArray - Interface in org.miaixz.bus.http.plugin.httpv
可以是 xml、yml、protobuf 等任何一种格式的数据
CoverCall - Class in org.miaixz.bus.http.plugin.httpv
 
CoverCall(CoverTasks.Executor, String) - Constructor for class org.miaixz.bus.http.plugin.httpv.CoverCall
 
CoverCall.Client - Class in org.miaixz.bus.http.plugin.httpv
 
CoverCall.Close - Class in org.miaixz.bus.http.plugin.httpv
 
CoverCall.Listener - Class in org.miaixz.bus.http.plugin.httpv
 
CoverCall.Message - Class in org.miaixz.bus.http.plugin.httpv
 
CoverCall.Register<T> - Interface in org.miaixz.bus.http.plugin.httpv
 
CoverHttp<C> - Class in org.miaixz.bus.http.plugin.httpv
 
CoverHttp(Httpv, String) - Constructor for class org.miaixz.bus.http.plugin.httpv.CoverHttp
 
CoverHttp.Async - Class in org.miaixz.bus.http.plugin.httpv
异步 Http 请求任务
CoverHttp.Sync - Class in org.miaixz.bus.http.plugin.httpv
同步 Http 请求任务
CoverResult - Interface in org.miaixz.bus.http.plugin.httpv
执行结果
CoverResult.Body - Interface in org.miaixz.bus.http.plugin.httpv
HTTP响应报文体
CoverResult.Real - Class in org.miaixz.bus.http.plugin.httpv
 
CoverResult.State - Enum Class in org.miaixz.bus.http.plugin.httpv
 
CoverTasks - Class in org.miaixz.bus.http.plugin.httpv
 
CoverTasks() - Constructor for class org.miaixz.bus.http.plugin.httpv.CoverTasks
 
CoverTasks.Executor - Class in org.miaixz.bus.http.plugin.httpv
 
CoverTasks.Executor.ConvertFunc<T> - Interface in org.miaixz.bus.http.plugin.httpv
 
CoverTasks.Executor.Data<T> - Class in org.miaixz.bus.http.plugin.httpv
 
CoverTasks.Listener<T> - Interface in org.miaixz.bus.http.plugin.httpv
任务监听接口
CoverWapper - Interface in org.miaixz.bus.http.plugin.httpv
可以是 xml、yml、protobuf 等任何一种格式的数据
create(String) - Static method in class org.miaixz.bus.http.SoapX
创建SOAP客户端,默认使用soap1.2版本协议
create(String, Protocol) - Static method in class org.miaixz.bus.http.SoapX
创建SOAP客户端
create(String, Protocol, String) - Static method in class org.miaixz.bus.http.SoapX
创建SOAP客户端
create(MediaType, byte[]) - Static method in class org.miaixz.bus.http.bodys.RequestBody
从字节数组创建请求体
create(MediaType, byte[]) - Static method in class org.miaixz.bus.http.bodys.ResponseBody
从字节数组创建响应体
create(MediaType, byte[], int, int) - Static method in class org.miaixz.bus.http.bodys.RequestBody
从字节数组部分创建请求体
create(MediaType, long, BufferSource) - Static method in class org.miaixz.bus.http.bodys.ResponseBody
从数据源创建响应体
create(MediaType, File) - Static method in class org.miaixz.bus.http.bodys.RequestBody
从文件创建请求体
create(MediaType, String) - Static method in class org.miaixz.bus.http.bodys.RequestBody
从字符串创建请求体
create(MediaType, String) - Static method in class org.miaixz.bus.http.bodys.ResponseBody
从字符串创建响应体
create(MediaType, ByteString) - Static method in class org.miaixz.bus.http.bodys.RequestBody
从 ByteString 创建请求体
create(MediaType, ByteString) - Static method in class org.miaixz.bus.http.bodys.ResponseBody
从 ByteString 创建响应体
create(RequestBody) - Static method in class org.miaixz.bus.http.bodys.MultipartBody.Part
创建 Part 实例(无头部)
create(DiskLruCache.DiskFile, File, int, int, long) - Static method in class org.miaixz.bus.http.cache.DiskLruCache
创建一个驻留在directory中的缓存。
create(Headers, RequestBody) - Static method in class org.miaixz.bus.http.bodys.MultipartBody.Part
创建 Part 实例
create(NewCall) - Method in interface org.miaixz.bus.http.metric.EventListener.Factory
为特定的NewCall创建EventListener的实例。
createFormData(String, String) - Static method in class org.miaixz.bus.http.bodys.MultipartBody.Part
创建表单数据 Part
createFormData(String, String, RequestBody) - Static method in class org.miaixz.bus.http.bodys.MultipartBody.Part
创建表单数据 Part(带文件名)
createRequest(Callback) - Method in class org.miaixz.bus.http.plugin.httpz.HttpRequest
 
createRequestBody(MediaType, InputStream) - Static method in class org.miaixz.bus.http.plugin.httpz.HttpRequest
 
createRequestBody(Request, boolean) - Method in class org.miaixz.bus.http.accord.Exchange
 
createRequestBody(Request, long) - Method in class org.miaixz.bus.http.metric.http.Http1Codec
 
createRequestBody(Request, long) - Method in class org.miaixz.bus.http.metric.http.Http2Codec
 
createRequestBody(Request, long) - Method in interface org.miaixz.bus.http.metric.http.HttpCodec
返回一个可以对请求体进行流处理的输出流.
Credentials - Class in org.miaixz.bus.http.secure
HTTP 授权工厂

D

data - Variable in class org.miaixz.bus.http.plugin.httpv.CoverTasks.Executor.Data
 
data(boolean, int, Buffer, int) - Method in class org.miaixz.bus.http.metric.http.Http2Writer
source.length may be longer than the max length of the variant's data frame.
Data(T, String) - Constructor for class org.miaixz.bus.http.plugin.httpv.CoverTasks.Executor.Data
 
decodeHexDigit(char) - Static method in class org.miaixz.bus.http.Builder
解码十六进制字符
DEFAULT - Static variable in class org.miaixz.bus.http.secure.CertificatePinner
 
DEFAULT_STEP_BYTES - Static variable in class org.miaixz.bus.http.plugin.httpv.Progress
 
defaultPort(String) - Static method in class org.miaixz.bus.http.UnoUrl
获取默认端口号
delegate - Variable in class org.miaixz.bus.http.accord.ConnectionPool
 
delete() - Method in class org.miaixz.bus.http.cache.Cache
关闭缓存并删除其所有存储值。
delete() - Method in class org.miaixz.bus.http.cache.DiskLruCache
Closes the cache and deletes all of its stored values.
delete() - Method in class org.miaixz.bus.http.Httpz.Client
创建 DeleteBuilder 实例,用于构建 DELETE 请求。
delete() - Static method in class org.miaixz.bus.http.Httpz
创建一个新的 DeleteBuilder 实例,用于构建 DELETE 请求。
delete() - Method in class org.miaixz.bus.http.plugin.httpv.CoverHttp.Async
发起 DELETE 请求(Rest:删除资源,幂等)
delete() - Method in class org.miaixz.bus.http.plugin.httpv.CoverHttp.Sync
发起 DELETE 请求(Rest:删除资源,幂等)
delete() - Method in class org.miaixz.bus.http.Request.Builder
设置为 DELETE 请求(无请求体)。
delete(File) - Method in interface org.miaixz.bus.http.cache.DiskLruCache.DiskFile
Deletes file if it exists.
delete(String) - Static method in class org.miaixz.bus.http.Httpx
简单的 DELETE 请求 使用默认编码 UTF-8
delete(String, Map<String, String>) - Static method in class org.miaixz.bus.http.Httpx
带查询参数 DELETE 请求 使用默认编码 UTF-8
delete(String, Map<String, String>, String) - Static method in class org.miaixz.bus.http.Httpx
带查询参数 DELETE 请求 使用自定义编码
delete(String, Map<String, String>, Map<String, String>) - Static method in class org.miaixz.bus.http.Httpx
带查询参数 DELETE 请求 使用默认编码 UTF-8
delete(String, Map<String, String>, Map<String, String>, String) - Static method in class org.miaixz.bus.http.Httpx
带查询参数 DELETE 请求 使用自定义编码
delete(RequestBody) - Method in class org.miaixz.bus.http.Request.Builder
设置为 DELETE 请求(带请求体)。
DeleteBuilder - Class in org.miaixz.bus.http.plugin.httpz
DELETE 请求参数构造器,提供链式调用接口来构建 DELETE 请求。
DeleteBuilder(Httpd) - Constructor for class org.miaixz.bus.http.plugin.httpz.DeleteBuilder
构造函数,初始化 DeleteBuilder。
deleteContents(File) - Method in interface org.miaixz.bus.http.cache.DiskLruCache.DiskFile
Recursively delete the contents of directory.
DeleteRequest - Class in org.miaixz.bus.http.plugin.httpz
DELETE 请求处理类,封装 DELETE 请求的参数和配置。
DeleteRequest(String, Object, Map<String, String>, Map<String, String>, String) - Constructor for class org.miaixz.bus.http.plugin.httpz.DeleteRequest
构造函数,初始化 DELETE 请求的参数。
delimiterOffset(String, int, int, char) - Static method in class org.miaixz.bus.http.Builder
查找单个分隔符位置
delimiterOffset(String, int, int, String) - Static method in class org.miaixz.bus.http.Builder
查找分隔符位置
DESKTOP_DEVICE - Static variable in class org.miaixz.bus.http.metric.anget.Device
支持的桌面平台类型
DESTINATION - Static variable in class org.miaixz.bus.http.Stomp.Header
目标地址头部
detachWithViolence() - Method in class org.miaixz.bus.http.accord.Exchange
Revoke this exchange's access to streams.
Device - Class in org.miaixz.bus.http.metric.anget
设备信息
Device(String, String) - Constructor for class org.miaixz.bus.http.metric.anget.Device
构造
directory() - Method in class org.miaixz.bus.http.cache.Cache
 
discard(Source, int, TimeUnit) - Static method in class org.miaixz.bus.http.Builder
尝试耗尽数据源
DISCARD_STREAM_TIMEOUT_MILLIS - Static variable in interface org.miaixz.bus.http.metric.http.HttpCodec
丢弃输入数据流时要使用的超时。
disconnect() - Method in class org.miaixz.bus.http.Stomp
断开与 STOMP 服务器的连接
DiskLruCache - Class in org.miaixz.bus.http.cache
使用文件系统上有限空间的缓存。
DiskLruCache.DiskFile - Interface in org.miaixz.bus.http.cache
Access to read and write files on a hierarchical data store.
DiskLruCache.Editor - Class in org.miaixz.bus.http.cache
Edits the values for an entry.
DiskLruCache.Snapshot - Class in org.miaixz.bus.http.cache
快照信息
dispatcher() - Method in class org.miaixz.bus.http.Httpd
获取请求调度器。
dispatcher(Dispatcher) - Method in class org.miaixz.bus.http.Httpd.Builder
设置请求调度器。
dispatcher(Dispatcher) - Method in class org.miaixz.bus.http.plugin.httpz.HttpBuilder
 
Dispatcher - Class in org.miaixz.bus.http.metric
关于何时执行异步请求的策略 每个dispatcher使用一个ExecutorService在内部运行调用。
Dispatcher() - Constructor for class org.miaixz.bus.http.metric.Dispatcher
 
Dispatcher(ExecutorService) - Constructor for class org.miaixz.bus.http.metric.Dispatcher
 
DistinguishedNameParser - Class in org.miaixz.bus.http.secure
专有名称(DN)解析器。
dns() - Method in class org.miaixz.bus.http.Address
获取 DNS 解析服务
dns() - Method in class org.miaixz.bus.http.Httpd
获取 DNS 服务。
dns(DnsX) - Method in class org.miaixz.bus.http.Httpd.Builder
设置 DNS 服务。
dns(DnsX) - Method in class org.miaixz.bus.http.plugin.httpz.HttpBuilder
 
dnsEnd(NewCall, String, List<InetAddress>) - Method in class org.miaixz.bus.http.metric.EventListener
在DNS查找后立即调用.
dnsStart(NewCall, String) - Method in class org.miaixz.bus.http.metric.EventListener
仅在DNS查找之前调用。
DnsX - Interface in org.miaixz.bus.http
解析主机名的IP地址的域名服务。
domain() - Method in class org.miaixz.bus.http.Cookie
获取域名
domain(String) - Method in class org.miaixz.bus.http.Cookie.Builder
设置域名(匹配域名及其子域)
doMsgConvert(String, CoverTasks.Executor.ConvertFunc<V>) - Method in class org.miaixz.bus.http.plugin.httpv.CoverTasks.Executor
 
doMsgConvert(CoverTasks.Executor.ConvertFunc<V>) - Method in class org.miaixz.bus.http.plugin.httpv.CoverTasks.Executor
 
doProcess(Preprocessor.PreChain) - Method in class org.miaixz.bus.http.Httpv.SerialPreprocessor
 
doProcess(Preprocessor.PreChain) - Method in interface org.miaixz.bus.http.plugin.httpv.Preprocessor
在HTTP请求开始之前执行
download(CoverHttp<?>, File, InputStream, long) - Method in class org.miaixz.bus.http.plugin.httpv.CoverTasks.Executor
 
DownloadFileProgressResponseBody(ResponseBody, ProgressListener) - Constructor for class org.miaixz.bus.http.plugin.httpz.FileInterceptor.DownloadFileProgressResponseBody
 
downloadListener() - Method in class org.miaixz.bus.http.Httpv.Builder
 
downloadListener(Downloads.Listener) - Method in class org.miaixz.bus.http.Httpv.Builder
设置下载监听器
Downloads - Class in org.miaixz.bus.http.plugin.httpv
文件下载
Downloads(File, InputStream, CoverTasks.Executor, long) - Constructor for class org.miaixz.bus.http.plugin.httpv.Downloads
 
Downloads.Control - Class in org.miaixz.bus.http.plugin.httpv
 
Downloads.Failure - Class in org.miaixz.bus.http.plugin.httpv
 
Downloads.Listener - Interface in org.miaixz.bus.http.plugin.httpv
下载监听接口

E

edit() - Method in class org.miaixz.bus.http.cache.DiskLruCache.Snapshot
Returns an editor for this snapshot's entry, or null if either the entry has changed since this snapshot was created or if another edit is in progress.
edit(String) - Method in class org.miaixz.bus.http.cache.DiskLruCache
返回名为key的条目的编辑器,如果另一个编辑正在进行,则返回null
EMPTY_HEADERS - Static variable in class org.miaixz.bus.http.Builder
空头部
EMPTY_RESPONSE - Static variable in class org.miaixz.bus.http.Builder
空响应体
encoded - Variable in class org.miaixz.bus.http.plugin.httpz.RequestBuilder
 
encodedFragment() - Method in class org.miaixz.bus.http.UnoUrl
获取编码后的片段 http://host/null http://host/#"" http://host/#abc"abc" http://host/#abc|def"abc|def"
encodedFragment(String) - Method in class org.miaixz.bus.http.UnoUrl.Builder
设置编码后的片段
encodedName(int) - Method in class org.miaixz.bus.http.bodys.FormBody
获取指定索引的编码字段名称
encodedParams - Variable in class org.miaixz.bus.http.plugin.httpz.HttpRequest
 
encodedPassword() - Method in class org.miaixz.bus.http.UnoUrl
获取编码后的密码 http://host/"" http://username@host/"" http://username:password@host/"password" http://a%20b:c%20d@host/"c%20d"
encodedPassword(String) - Method in class org.miaixz.bus.http.UnoUrl.Builder
设置编码后的密码
encodedPath() - Method in class org.miaixz.bus.http.UnoUrl
获取编码后的路径 http://host// http://host/a/b/c"/a/b/c" http://host/a/b%20c/d"/a/b%20c/d"
encodedPath(String) - Method in class org.miaixz.bus.http.UnoUrl.Builder
设置编码后的路径
encodedPathSegments() - Method in class org.miaixz.bus.http.UnoUrl
获取编码后的路径段列表 http://host/[""] http://host/a/b/c["a", "b", "c"] http://host/a/b%20c/d["a", "b%20c", "d"]
encodedQuery() - Method in class org.miaixz.bus.http.UnoUrl
获取编码后的查询字符串 http://host/null http://host/?"" http://host/?a=apple&k=key+lime "a=apple&k=key+lime" http://host/?a=apple&a=apricot"a=apple&a=apricot" http://host/?a=apple&b"a=apple&b"
encodedQuery(String) - Method in class org.miaixz.bus.http.UnoUrl.Builder
设置编码后的查询字符串
encodedUsername() - Method in class org.miaixz.bus.http.UnoUrl
获取编码后的用户名
encodedUsername(String) - Method in class org.miaixz.bus.http.UnoUrl.Builder
设置编码后的用户名
encodedValue(int) - Method in class org.miaixz.bus.http.bodys.FormBody
获取指定索引的编码字段值
Engine - Class in org.miaixz.bus.http.metric.anget
浏览器解析引擎
Engine(String, String) - Constructor for class org.miaixz.bus.http.metric.anget.Engine
构造
ENGINES - Static variable in class org.miaixz.bus.http.metric.anget.Engine
支持的引擎类型
ENHANCE_YOUR_CALM - Enum constant in enum class org.miaixz.bus.http.metric.http.Http2ErrorCode
 
enqueue(Callback) - Method in interface org.miaixz.bus.http.NewCall
调度将在将来某个时候执行的请求 dispatcher定义请求将在何时运行: 通常是立即运行, 除非当前正在执行其他几个请求 该客户端稍后将使用HTTP响应或失败异常回调responseCallback
enqueue(Callback) - Method in class org.miaixz.bus.http.RealCall
异步执行请求
enqueue(RealCall.AsyncCall) - Method in class org.miaixz.bus.http.metric.Dispatcher
 
enqueueTrailers(Headers) - Method in class org.miaixz.bus.http.metric.http.Http2Stream
 
equals(Object) - Method in class org.miaixz.bus.http.accord.ConnectionSuite
 
equals(Object) - Method in class org.miaixz.bus.http.Address
比较两个 Address 对象是否相等
equals(Object) - Method in class org.miaixz.bus.http.Cookie
比较两个 Cookie 是否相等
equals(Object) - Method in class org.miaixz.bus.http.Headers
比较两个 Headers 对象是否相等
equals(Object) - Method in class org.miaixz.bus.http.metric.anget.UserAgent
 
equals(Object) - Method in class org.miaixz.bus.http.metric.http.Http2Header
 
equals(Object) - Method in class org.miaixz.bus.http.Route
比较两个 Route 对象是否相等。
equals(Object) - Method in class org.miaixz.bus.http.secure.BasicCertificateChainCleaner
 
equals(Object) - Method in class org.miaixz.bus.http.secure.BasicTrustRootIndex
 
equals(Object) - Method in class org.miaixz.bus.http.secure.CertificatePinner
 
equals(Object) - Method in class org.miaixz.bus.http.secure.Challenge
 
equals(Object) - Method in class org.miaixz.bus.http.socket.Handshake
比较两个 Handshake 对象是否相等
equals(Object) - Method in class org.miaixz.bus.http.UnoUrl
比较两个 UnoUrl 对象是否相等
equalsNonHost(Address, Address) - Method in class org.miaixz.bus.http.metric.Internal
 
ERROR - Static variable in class org.miaixz.bus.http.Builder
ERROR 命令
errorCode - Variable in exception class org.miaixz.bus.http.metric.http.StreamException
 
errorMsgs - Static variable in class org.miaixz.bus.http.plugin.httpz.HttpzState
 
eventListener(EventListener) - Method in class org.miaixz.bus.http.Httpd.Builder
设置事件监听器。
EventListener - Class in org.miaixz.bus.http.metric
用于度量事件的侦听器。
EventListener() - Constructor for class org.miaixz.bus.http.metric.EventListener
 
EventListener.Factory - Interface in org.miaixz.bus.http.metric
 
eventListenerFactory() - Method in class org.miaixz.bus.http.Httpd
获取事件监听器工厂。
eventListenerFactory(EventListener.Factory) - Method in class org.miaixz.bus.http.Httpd.Builder
设置事件监听器工厂。
evictAll() - Method in class org.miaixz.bus.http.accord.ConnectionPool
关闭并删除池中的所有空闲连接.
evictAll() - Method in class org.miaixz.bus.http.accord.RealConnectionPool
 
evictAll() - Method in class org.miaixz.bus.http.cache.Cache
删除缓存中存储的所有值。
evictAll() - Method in class org.miaixz.bus.http.cache.DiskLruCache
Deletes all stored values from the cache.
exception(CoverResult.State, IOException) - Method in class org.miaixz.bus.http.plugin.httpv.CoverResult.Real
 
EXCEPTION - Enum constant in enum class org.miaixz.bus.http.plugin.httpv.CoverResult.State
执行异常
EXCEPTION - Static variable in class org.miaixz.bus.http.plugin.httpv.CoverCall.Close
 
exceptionListener() - Method in class org.miaixz.bus.http.Httpv.Builder
 
exceptionListener(CoverTasks.Listener<IOException>) - Method in class org.miaixz.bus.http.Httpv.Builder
设置全局异常监听
exchange() - Method in class org.miaixz.bus.http.metric.http.RealInterceptorChain
 
exchange(Response) - Method in class org.miaixz.bus.http.metric.Internal
 
Exchange - Class in org.miaixz.bus.http.accord
Transmits a single HTTP request and a response pair.
Exchange(Transmitter, NewCall, EventListener, ExchangeFinder, HttpCodec) - Constructor for class org.miaixz.bus.http.accord.Exchange
 
exchangeDoneDueToException() - Method in class org.miaixz.bus.http.accord.Transmitter
 
execute() - Method in class org.miaixz.bus.http.metric.NamedRunnable
 
execute() - Method in interface org.miaixz.bus.http.NewCall
立即调用请求,并阻塞,直到可以处理响应或出现错误.
execute() - Method in class org.miaixz.bus.http.plugin.httpz.RequestCall
 
execute() - Method in class org.miaixz.bus.http.RealCall.AsyncCall
执行异步调用
execute() - Method in class org.miaixz.bus.http.RealCall
同步执行请求
execute(Runnable, boolean) - Method in class org.miaixz.bus.http.plugin.httpv.CoverTasks.Executor
 
executeAsync(Callback) - Method in class org.miaixz.bus.http.plugin.httpz.RequestCall
 
executed - Variable in class org.miaixz.bus.http.RealCall
是否已执行
executed(RealCall) - Method in class org.miaixz.bus.http.metric.Dispatcher
Used by Call#execute to signal it is in-flight.
executeOn(ExecutorService) - Method in class org.miaixz.bus.http.RealCall.AsyncCall
在执行器服务上执行异步调用
executeOnComplete(CoverHttp<?>, Callback<CoverResult.State>, CoverResult.State, boolean) - Method in class org.miaixz.bus.http.plugin.httpv.CoverTasks.Executor
 
executeOnException(CoverHttp<?>, Callback<IOException>, IOException, boolean) - Method in class org.miaixz.bus.http.plugin.httpv.CoverTasks.Executor
 
executeOnResponse(CoverHttp<?>, Callback<CoverResult>, CoverResult, boolean) - Method in class org.miaixz.bus.http.plugin.httpv.CoverTasks.Executor
 
executor - Variable in class org.miaixz.bus.http.plugin.httpv.ResultBody
 
executor() - Method in class org.miaixz.bus.http.Httpv
 
Executor(Executor, Executor, Downloads.Listener, CoverTasks.Listener<CoverResult>, CoverTasks.Listener<IOException>, CoverTasks.Listener<CoverResult.State>, Convertor[]) - Constructor for class org.miaixz.bus.http.plugin.httpv.CoverTasks.Executor
 
executorService() - Method in class org.miaixz.bus.http.metric.Dispatcher
 
exists(File) - Method in interface org.miaixz.bus.http.cache.DiskLruCache.DiskFile
Returns true if file exists on the file system.
expiresAt() - Method in class org.miaixz.bus.http.Cookie
获取过期时间
expiresAt(long) - Method in class org.miaixz.bus.http.Cookie.Builder
设置过期时间

F

factory(EventListener) - Static method in class org.miaixz.bus.http.metric.EventListener
 
Factory(long, Request, Response) - Constructor for class org.miaixz.bus.http.cache.CacheStrategy.Factory
 
failed(Route) - Method in class org.miaixz.bus.http.accord.RouteDatabase
记录连接到route的失败
failWebSocket(Exception, Response) - Method in class org.miaixz.bus.http.socket.RealWebSocket
处理 WebSocket 失败
file - Variable in class org.miaixz.bus.http.plugin.httpz.MultipartFile
文件主体
FileCallback - Class in org.miaixz.bus.http.plugin.httpz
文件-异步回调
FileCallback() - Constructor for class org.miaixz.bus.http.plugin.httpz.FileCallback
 
FileCallback(String) - Constructor for class org.miaixz.bus.http.plugin.httpz.FileCallback
 
FileInterceptor - Class in org.miaixz.bus.http.plugin.httpz
请求参数-文件处理
FileInterceptor() - Constructor for class org.miaixz.bus.http.plugin.httpz.FileInterceptor
 
FileInterceptor.DownloadFileProgressResponseBody - Class in org.miaixz.bus.http.plugin.httpz
 
findByIssuerAndSignature(X509Certificate) - Method in class org.miaixz.bus.http.secure.BasicTrustRootIndex
 
findByIssuerAndSignature(X509Certificate) - Method in interface org.miaixz.bus.http.secure.TrustRootIndex
返回签名为cert的受信任CA证书
findExistingCallWithHost(String) - Method in class org.miaixz.bus.http.metric.Dispatcher
 
findMostSpecific(String) - Method in class org.miaixz.bus.http.secure.DistinguishedNameParser
Parses the DN and returns the most significant attribute value for an attribute type, or null if none found.
finished(Deque<T>, T) - Method in class org.miaixz.bus.http.metric.Dispatcher
 
finished(RealCall) - Method in class org.miaixz.bus.http.metric.Dispatcher
Used by Call#execute to signal completion.
finished(RealCall.AsyncCall) - Method in class org.miaixz.bus.http.metric.Dispatcher
Used by AsyncCall#run to signal completion.
finishRequest() - Method in class org.miaixz.bus.http.accord.Exchange
 
finishRequest() - Method in class org.miaixz.bus.http.metric.http.Http1Codec
 
finishRequest() - Method in class org.miaixz.bus.http.metric.http.Http2Codec
 
finishRequest() - Method in interface org.miaixz.bus.http.metric.http.HttpCodec
将请求刷新到基础套接字,就不会传输更多的字节.
FLOW_CONTROL_ERROR - Enum constant in enum class org.miaixz.bus.http.metric.http.Http2ErrorCode
 
flush() - Method in class org.miaixz.bus.http.cache.Cache
 
flush() - Method in class org.miaixz.bus.http.cache.DiskLruCache
Force buffered operations to the filesystem.
flush() - Method in class org.miaixz.bus.http.metric.http.Http2Connection
 
flush() - Method in class org.miaixz.bus.http.metric.http.Http2Writer
 
flushRequest() - Method in class org.miaixz.bus.http.accord.Exchange
 
flushRequest() - Method in class org.miaixz.bus.http.metric.http.Http1Codec
 
flushRequest() - Method in class org.miaixz.bus.http.metric.http.Http2Codec
 
flushRequest() - Method in interface org.miaixz.bus.http.metric.http.HttpCodec
将请求刷新到基础套接字
followRedirects() - Method in class org.miaixz.bus.http.Httpd
检查是否跟随 HTTP 重定向。
followRedirects(boolean) - Method in class org.miaixz.bus.http.Httpd.Builder
此客户端配置为遵循重定向。
followRedirects(boolean) - Method in class org.miaixz.bus.http.plugin.httpz.HttpBuilder
 
followSslRedirects() - Method in class org.miaixz.bus.http.Httpd
检查是否跟随 SSL 重定向。
followSslRedirects(boolean) - Method in class org.miaixz.bus.http.Httpd.Builder
让这个客户从HTTPS到HTTPS跟踪和从HTTPS到HTTPS.
followSslRedirects(boolean) - Method in class org.miaixz.bus.http.plugin.httpz.HttpBuilder
 
FORCE_CACHE - Static variable in class org.miaixz.bus.http.cache.CacheControl
仅使用缓存的缓存控制请求指令,即使缓存的响应已过期。
FORCE_NETWORK - Static variable in class org.miaixz.bus.http.cache.CacheControl
需要对响应进行网络验证的缓存控制请求指令。
forJavaName(String) - Static method in class org.miaixz.bus.http.secure.CipherSuite
 
forJavaNames(String...) - Static method in class org.miaixz.bus.http.secure.CipherSuite
 
FORM_ENCODE_SET - Static variable in class org.miaixz.bus.http.UnoUrl
表单编码字符集
format(Date) - Static method in class org.miaixz.bus.http.Builder
格式化日期
FormBody - Class in org.miaixz.bus.http.bodys
HTTP 表单请求体
FormBody.Builder - Class in org.miaixz.bus.http.bodys
FormBody 构建器
FormConvertor(Convertor) - Constructor for class org.miaixz.bus.http.plugin.httpv.Convertor.FormConvertor
 
forWebSocket - Variable in class org.miaixz.bus.http.RealCall
是否为 WebSocket 请求
fragment() - Method in class org.miaixz.bus.http.UnoUrl
获取解码后的片段 http://host/null http://host/#"" http://host/#abc"abc" http://host/#abc|def"abc|def"
fragment(String) - Method in class org.miaixz.bus.http.UnoUrl.Builder
设置片段
FRAGMENT_ENCODE_SET - Static variable in class org.miaixz.bus.http.UnoUrl
片段编码字符集
FRAGMENT_ENCODE_SET_URI - Static variable in class org.miaixz.bus.http.UnoUrl
URI 片段编码字符集
frameHeader(int, int, byte, byte) - Method in class org.miaixz.bus.http.metric.http.Http2Writer
 
from(String) - Static method in class org.miaixz.bus.http.Stomp.Message
从字符串解析 STOMP 消息
fromHttp2(int) - Static method in enum class org.miaixz.bus.http.metric.http.Http2ErrorCode
 

G

get() - Static method in class org.miaixz.bus.http.accord.platform.Platform
 
get() - Method in class org.miaixz.bus.http.cache.CacheStrategy.Factory
 
get() - Method in class org.miaixz.bus.http.Httpz.Client
创建 GetBuilder 实例,用于构建 GET 请求。
get() - Static method in class org.miaixz.bus.http.Httpz
创建一个新的 GetBuilder 实例,用于构建 GET 请求。
get() - Static method in class org.miaixz.bus.http.metric.http.Huffman
 
get() - Static method in class org.miaixz.bus.http.metric.suffix.Suffixes
 
get() - Method in class org.miaixz.bus.http.plugin.httpv.CoverHttp.Async
发起 GET 请求(Rest:读取资源,幂等)
get() - Method in class org.miaixz.bus.http.plugin.httpv.CoverHttp.Sync
发起 GET 请求(Rest:获取资源,幂等)
get() - Method in class org.miaixz.bus.http.RealCall.AsyncCall
获取 RealCall 实例
get() - Method in class org.miaixz.bus.http.Request.Builder
设置为 GET 请求。
get(int) - Method in class org.miaixz.bus.http.metric.http.Http2Settings
设置id的值,如果未设置则返回0
get(String) - Method in class org.miaixz.bus.http.cache.DiskLruCache
返回名为key的条目的快照,如果条目不存在,则返回null, 否则当前无法读取。
get(String) - Method in class org.miaixz.bus.http.Headers.Builder
获取指定名称的最后一个头部值
get(String) - Method in class org.miaixz.bus.http.Headers
获取指定名称的最后一个头部值
get(String) - Static method in class org.miaixz.bus.http.Httpx
简单的 GET 请求 使用默认编码 UTF-8
get(String) - Static method in class org.miaixz.bus.http.UnoUrl
构建 UnoUrl 实例
get(String, boolean) - Static method in class org.miaixz.bus.http.Httpx
异步get请求,回调
get(String, String) - Static method in class org.miaixz.bus.http.Httpx
简单的 GET 请求 使用自定义编码
get(String, Map<String, String>) - Static method in class org.miaixz.bus.http.Httpx
带查询参数 GET 请求 使用默认编码 UTF-8
get(String, Map<String, String>, Map<String, String>) - Static method in class org.miaixz.bus.http.Httpx
带查询参数 GET 请求 使用默认编码 UTF-8
get(String, Map<String, String>, Map<String, String>, String) - Static method in class org.miaixz.bus.http.Httpx
带查询参数 GET 请求 使用自定义编码
get(String, Callback) - Static method in class org.miaixz.bus.http.Httpx
异步处理的GET请求,自定义请求类型
get(URI) - Static method in class org.miaixz.bus.http.UnoUrl
从 URI 对象构建 UnoUrl 实例
get(URL) - Static method in class org.miaixz.bus.http.UnoUrl
从 URL 对象构建 UnoUrl 实例
get(X509Certificate...) - Static method in class org.miaixz.bus.http.secure.CertificateChainCleaner
 
get(SSLSession) - Static method in class org.miaixz.bus.http.socket.Handshake
从 SSL 会话创建 Handshake 实例
get(X509TrustManager) - Static method in class org.miaixz.bus.http.secure.CertificateChainCleaner
 
get(TlsVersion, CipherSuite, List<Certificate>, List<Certificate>) - Static method in class org.miaixz.bus.http.socket.Handshake
创建 Handshake 实例
get(Request) - Method in interface org.miaixz.bus.http.cache.InternalCache
 
get(Request, Proxy.Type) - Static method in class org.miaixz.bus.http.metric.http.RequestLine
 
get(Response) - Static method in class org.miaixz.bus.http.metric.http.StatusLine
 
getAll() - Method in class org.miaixz.bus.http.accord.RouteSelector.Selection
 
getArray(int) - Method in interface org.miaixz.bus.http.plugin.httpv.CoverArray
 
getArray(String) - Method in interface org.miaixz.bus.http.plugin.httpv.CoverWapper
 
getBody() - Method in interface org.miaixz.bus.http.plugin.httpv.CoverResult
 
getBody() - Method in class org.miaixz.bus.http.plugin.httpv.CoverResult.Real
 
getBodyType() - Method in class org.miaixz.bus.http.plugin.httpv.CoverHttp
 
getBool(int) - Method in interface org.miaixz.bus.http.plugin.httpv.CoverArray
 
getBool(String) - Method in interface org.miaixz.bus.http.plugin.httpv.CoverWapper
 
getBound() - Method in class org.miaixz.bus.http.plugin.httpv.CoverHttp
获得被绑定的对象
getBuilder() - Method in class org.miaixz.bus.http.plugin.httpz.HttpBuilder
 
GetBuilder - Class in org.miaixz.bus.http.plugin.httpz
GET参数构造器
GetBuilder(Httpd) - Constructor for class org.miaixz.bus.http.plugin.httpz.GetBuilder
 
getClient() - Static method in class org.miaixz.bus.http.Httpz
获取当前使用的客户端实例。
getCode() - Method in class org.miaixz.bus.http.plugin.httpv.CoverCall.Close
 
getCommand() - Method in class org.miaixz.bus.http.Stomp.Message
获取消息命令
getCompleteListener() - Method in class org.miaixz.bus.http.plugin.httpv.CoverTasks.Executor
 
getConnection() - Method in class org.miaixz.bus.http.metric.http.Http2Stream
 
getContentLength() - Method in interface org.miaixz.bus.http.plugin.httpv.CoverResult
获取响应报文体长度(从请求头内提取) 在 HEAD 请求时,该方法返回不为 0,但CoverResult.Body.getLength() 将返回 0
getContentLength() - Method in class org.miaixz.bus.http.plugin.httpv.CoverResult.Real
 
getConvertors() - Method in class org.miaixz.bus.http.plugin.httpv.CoverTasks.Executor
 
getCtrl() - Method in class org.miaixz.bus.http.plugin.httpv.Downloads
获取下载控制器
getDate(String) - Method in class org.miaixz.bus.http.Headers
获取指定名称的日期头部值
getDirectory() - Method in class org.miaixz.bus.http.cache.DiskLruCache
Returns the directory where this cache stores its data.
getDoneBytes() - Method in class org.miaixz.bus.http.plugin.httpv.Downloads.Failure
 
getDoneBytes() - Method in class org.miaixz.bus.http.plugin.httpv.Progress
 
getDouble(int) - Method in interface org.miaixz.bus.http.plugin.httpv.CoverArray
 
getDouble(String) - Method in interface org.miaixz.bus.http.plugin.httpv.CoverWapper
 
getDownloadListener() - Method in class org.miaixz.bus.http.plugin.httpv.CoverTasks.Executor
 
getEffectiveTldPlusOne(String) - Method in class org.miaixz.bus.http.metric.suffix.Suffixes
Returns the effective top-level domain plus one (eTLD+1) by referencing the public suffix list.
getEnablePush(boolean) - Method in class org.miaixz.bus.http.metric.http.Http2Settings
 
getError() - Method in interface org.miaixz.bus.http.plugin.httpv.CoverResult
 
getError() - Method in class org.miaixz.bus.http.plugin.httpv.CoverResult.Real
 
getErrorCode() - Method in class org.miaixz.bus.http.metric.http.Http2Stream
Returns the reason why this stream was closed, or null if it closed normally or has not yet been closed.
getErrorMsgs() - Static method in class org.miaixz.bus.http.plugin.httpz.HttpzState
 
getException() - Method in class org.miaixz.bus.http.plugin.httpv.Downloads.Failure
 
getExceptionListener() - Method in class org.miaixz.bus.http.plugin.httpv.CoverTasks.Executor
 
getExecutor(boolean) - Method in class org.miaixz.bus.http.plugin.httpv.CoverTasks.Executor
 
getFile() - Method in class org.miaixz.bus.http.plugin.httpv.Downloads.Failure
 
getFirstConnectException() - Method in exception class org.miaixz.bus.http.accord.RouteException
 
getFloat(int) - Method in interface org.miaixz.bus.http.plugin.httpv.CoverArray
 
getFloat(String) - Method in interface org.miaixz.bus.http.plugin.httpv.CoverWapper
 
getHeader(String) - Method in interface org.miaixz.bus.http.plugin.httpv.CoverResult
 
getHeader(String) - Method in class org.miaixz.bus.http.plugin.httpv.CoverResult.Real
 
getHeaders() - Method in class org.miaixz.bus.http.plugin.httpv.CoverHttp
获取请求任务的头信息
getHeaders() - Method in interface org.miaixz.bus.http.plugin.httpv.CoverResult
 
getHeaders() - Method in class org.miaixz.bus.http.plugin.httpv.CoverResult.Real
 
getHeaders() - Method in class org.miaixz.bus.http.Stomp.Message
获取消息头部列表
getHeaders(String) - Method in interface org.miaixz.bus.http.plugin.httpv.CoverResult
 
getHeaders(String) - Method in class org.miaixz.bus.http.plugin.httpv.CoverResult.Real
 
getHeaderTableSize() - Method in class org.miaixz.bus.http.metric.http.Http2Settings
 
getHttp() - Method in interface org.miaixz.bus.http.plugin.httpv.Preprocessor.PreChain
 
getHttpd() - Method in class org.miaixz.bus.http.Httpz.Client
获取当前 Httpd 客户端。
getHttpRequest() - Method in class org.miaixz.bus.http.plugin.httpz.RequestCall
 
getId() - Method in class org.miaixz.bus.http.metric.http.Http2Stream
 
getId() - Method in class org.miaixz.bus.http.plugin.httpz.HttpRequest
 
getInitialWindowSize() - Method in class org.miaixz.bus.http.metric.http.Http2Settings
 
getInstant(String) - Method in class org.miaixz.bus.http.Headers
获取指定名称的 Instant 头部值
getInt(int) - Method in interface org.miaixz.bus.http.plugin.httpv.CoverArray
 
getInt(String) - Method in interface org.miaixz.bus.http.plugin.httpv.CoverWapper
 
getIoExecutor() - Method in class org.miaixz.bus.http.plugin.httpv.CoverTasks.Executor
 
getKey() - Method in class org.miaixz.bus.http.Stomp.Header
获取头部键
getLastAccessTime() - Static method in class org.miaixz.bus.http.plugin.httpz.HttpzState
 
getLastConnectException() - Method in exception class org.miaixz.bus.http.accord.RouteException
 
getLength() - Method in interface org.miaixz.bus.http.plugin.httpv.CoverResult.Body
 
getLength() - Method in class org.miaixz.bus.http.plugin.httpv.ResultBody
 
getLength(int) - Method in class org.miaixz.bus.http.cache.DiskLruCache.Snapshot
Returns the byte length of the value for index.
getLong(int) - Method in interface org.miaixz.bus.http.plugin.httpv.CoverArray
 
getLong(String) - Method in interface org.miaixz.bus.http.plugin.httpv.CoverWapper
 
getMainExecutor() - Method in class org.miaixz.bus.http.plugin.httpv.CoverTasks.Executor
 
getMapper(int) - Method in interface org.miaixz.bus.http.plugin.httpv.CoverArray
 
getMaxConcurrentStreams(int) - Method in class org.miaixz.bus.http.metric.http.Http2Settings
 
getMaxFrameSize(int) - Method in class org.miaixz.bus.http.metric.http.Http2Settings
 
getMaxHeaderListSize(int) - Method in class org.miaixz.bus.http.metric.http.Http2Settings
 
getMaxRequests() - Method in class org.miaixz.bus.http.metric.Dispatcher
 
getMaxRequestsPerHost() - Method in class org.miaixz.bus.http.metric.Dispatcher
 
getMaxSize() - Method in class org.miaixz.bus.http.cache.DiskLruCache
Returns the maximum number of bytes that this cache should use to store its data.
getMediaTypes() - Method in class org.miaixz.bus.http.Httpv.Builder
 
getMessage() - Method in class org.miaixz.bus.http.plugin.soap.SoapBuilder
获取SOAP消息对象 SOAPMessage
getMethodEle() - Method in class org.miaixz.bus.http.plugin.soap.SoapBuilder
获取方法节点 用于创建子节点等操作
getNewCall() - Method in class org.miaixz.bus.http.plugin.httpz.RequestCall
 
getPayload() - Method in class org.miaixz.bus.http.Stomp.Message
获取消息内容
getPrefix() - Method in class org.miaixz.bus.http.accord.platform.Platform
自定义头文件中使用的前缀
getRate() - Method in class org.miaixz.bus.http.plugin.httpv.Progress
 
getReason() - Method in class org.miaixz.bus.http.plugin.httpv.CoverCall.Close
 
getReqExceptionCount() - Static method in class org.miaixz.bus.http.plugin.httpz.HttpzState
 
getReqFailureCount() - Static method in class org.miaixz.bus.http.plugin.httpz.HttpzState
 
getReqTotalCount() - Static method in class org.miaixz.bus.http.plugin.httpz.HttpzState
 
getRequest() - Method in class org.miaixz.bus.http.plugin.httpz.RequestCall
 
GetRequest - Class in org.miaixz.bus.http.plugin.httpz
GET请求处理
GetRequest(String, Object, Map<String, String>, Map<String, String>, String) - Constructor for class org.miaixz.bus.http.plugin.httpz.GetRequest
 
GetRequest(String, Object, Map<String, String>, Map<String, String>, Map<String, String>, String) - Constructor for class org.miaixz.bus.http.plugin.httpz.GetRequest
 
getResponse() - Method in class org.miaixz.bus.http.plugin.httpv.CoverResult.Real
 
getResponseListener() - Method in class org.miaixz.bus.http.plugin.httpv.CoverTasks.Executor
 
getResponseWithInterceptorChain() - Method in class org.miaixz.bus.http.RealCall
通过拦截器链获取响应
getResult() - Method in interface org.miaixz.bus.http.plugin.httpv.GiveCall
如果需要,则等待计算完成,然后检索其结果
getSelectedProtocol(SSLSocket) - Method in class org.miaixz.bus.http.accord.platform.JdkPlatform
 
getSelectedProtocol(SSLSocket) - Method in class org.miaixz.bus.http.accord.platform.Platform
返回协商的协议,如果没有协商协议,则返回null
getSink() - Method in class org.miaixz.bus.http.metric.http.Http2Stream
Returns a sink that can be used to write data to the peer.
getSource() - Method in class org.miaixz.bus.http.metric.http.Http2Stream
Returns a source that reads data from the peer.
getSource(int) - Method in class org.miaixz.bus.http.cache.DiskLruCache.Snapshot
Returns the unbuffered stream with the value for index.
getStackTraceForCloseable(String) - Method in class org.miaixz.bus.http.accord.platform.Platform
返回一个对象,该对象持有在执行此方法时创建的堆栈跟踪。
getStartTime() - Static method in class org.miaixz.bus.http.plugin.httpz.HttpzState
 
getState() - Method in interface org.miaixz.bus.http.plugin.httpv.CoverResult
 
getState() - Method in class org.miaixz.bus.http.plugin.httpv.CoverResult.Real
 
getStatus() - Method in interface org.miaixz.bus.http.plugin.httpv.CoverResult
 
getStatus() - Method in class org.miaixz.bus.http.plugin.httpv.CoverResult.Real
 
getString(boolean) - Method in class org.miaixz.bus.http.plugin.soap.SoapBuilder
获取SOAP请求消息
getString(int) - Method in interface org.miaixz.bus.http.plugin.httpv.CoverArray
 
getString(String) - Method in interface org.miaixz.bus.http.plugin.httpv.CoverWapper
 
getTag() - Method in class org.miaixz.bus.http.plugin.httpv.CoverHttp
获取请求任务的标签
getTagTaskCount() - Method in class org.miaixz.bus.http.Httpv
 
getTask() - Method in interface org.miaixz.bus.http.plugin.httpv.Preprocessor.PreChain
 
getTotalBytes() - Method in class org.miaixz.bus.http.plugin.httpv.Progress
 
getType() - Method in interface org.miaixz.bus.http.plugin.httpv.CoverResult.Body
 
getType() - Method in class org.miaixz.bus.http.plugin.httpv.ResultBody
 
getUrl() - Method in class org.miaixz.bus.http.plugin.httpv.CoverHttp
获取请求任务的URL地址
getValue() - Method in class org.miaixz.bus.http.Stomp.Header
获取头部值
getVersion(String) - Method in class org.miaixz.bus.http.metric.anget.Browser
获取浏览器版本
getVersion(String) - Method in class org.miaixz.bus.http.metric.anget.Engine
获取引擎版本
getVersion(String) - Method in class org.miaixz.bus.http.metric.anget.NOS
获取浏览器版本
getWappers(String) - Method in interface org.miaixz.bus.http.plugin.httpv.CoverWapper
 
GiveCall - Interface in org.miaixz.bus.http.plugin.httpv
 
goAway(int, Http2ErrorCode, byte[]) - Method in class org.miaixz.bus.http.metric.http.Http2Writer
告诉对方停止创建流,我们最后处理lastGoodStreamId,如果没有处理流,则为零.
GOOGLE_TV - Static variable in class org.miaixz.bus.http.metric.anget.Device
googletv

H

handshake() - Method in interface org.miaixz.bus.http.accord.Connection
 
handshake() - Method in class org.miaixz.bus.http.accord.RealConnection
 
handshake() - Method in class org.miaixz.bus.http.Response
获取 TLS 握手信息。
handshake(Handshake) - Method in class org.miaixz.bus.http.Response.Builder
设置 TLS 握手信息。
Handshake - Class in org.miaixz.bus.http.socket
TLS 握手记录
HARMONY - Static variable in class org.miaixz.bus.http.metric.anget.Device
harmony
has(String) - Method in interface org.miaixz.bus.http.plugin.httpv.CoverWapper
 
hasBody(Response) - Static method in class org.miaixz.bus.http.Headers
检查响应是否包含消息体
hasExchange() - Method in class org.miaixz.bus.http.accord.Transmitter
 
hashCode() - Method in class org.miaixz.bus.http.accord.ConnectionSuite
 
hashCode() - Method in class org.miaixz.bus.http.Address
计算 Address 对象的哈希码
hashCode() - Method in class org.miaixz.bus.http.Cookie
计算 Cookie 的哈希码
hashCode() - Method in class org.miaixz.bus.http.Headers
计算哈希码
hashCode() - Method in class org.miaixz.bus.http.metric.anget.UserAgent
 
hashCode() - Method in class org.miaixz.bus.http.metric.http.Http2Header
 
hashCode() - Method in class org.miaixz.bus.http.Route
计算 Route 对象的哈希码。
hashCode() - Method in class org.miaixz.bus.http.secure.BasicCertificateChainCleaner
 
hashCode() - Method in class org.miaixz.bus.http.secure.BasicTrustRootIndex
 
hashCode() - Method in class org.miaixz.bus.http.secure.CertificatePinner
 
hashCode() - Method in class org.miaixz.bus.http.secure.Challenge
 
hashCode() - Method in class org.miaixz.bus.http.socket.Handshake
计算 Handshake 对象的哈希码
hashCode() - Method in class org.miaixz.bus.http.UnoUrl
计算 URL 的哈希码
hasNext() - Method in class org.miaixz.bus.http.accord.RouteSelector
如果要尝试另一组路由,则返回true。
hasNext() - Method in class org.miaixz.bus.http.accord.RouteSelector.Selection
 
hasVaryAll(Headers) - Static method in class org.miaixz.bus.http.Headers
检查是否存在 Vary: * 头部
hasVaryAll(Response) - Static method in class org.miaixz.bus.http.Headers
检查是否存在 Vary: * 头部
head() - Method in class org.miaixz.bus.http.Httpz.Client
创建 HeadBuilder 实例,用于构建 HEAD 请求。
head() - Static method in class org.miaixz.bus.http.Httpz
创建一个新的 HeadBuilder 实例,用于构建 HEAD 请求。
head() - Method in class org.miaixz.bus.http.plugin.httpv.CoverHttp.Async
发起 HEAD 请求(Rest:读取资源头信息,幂等)
head() - Method in class org.miaixz.bus.http.plugin.httpv.CoverHttp.Sync
发起 HEAD 请求(Rest:读取资源头信息,幂等)
head() - Method in class org.miaixz.bus.http.Request.Builder
设置为 HEAD 请求。
head(String) - Static method in class org.miaixz.bus.http.Httpx
简单的 HEAD 请求 使用默认编码 UTF-8
head(String, String) - Static method in class org.miaixz.bus.http.Httpx
HEAD 请求 使用自定义编码
head(String, Map<String, String>, String) - Static method in class org.miaixz.bus.http.Httpx
带头部参数 HEAD 请求 使用自定义编码
HeadBuilder - Class in org.miaixz.bus.http.plugin.httpz
HEAD 请求参数构造器,提供链式调用接口来构建 HEAD 请求。
HeadBuilder(Httpd) - Constructor for class org.miaixz.bus.http.plugin.httpz.HeadBuilder
构造函数,初始化 HeadBuilder。
header(String) - Method in class org.miaixz.bus.http.Request
获取指定名称的第一个头部值。
header(String) - Method in class org.miaixz.bus.http.Response
获取指定名称的第一个头部值。
header(String) - Method in class org.miaixz.bus.http.Stomp.Message
获取指定键的头部
header(String, String) - Method in class org.miaixz.bus.http.Request.Builder
设置指定名称的头部值,替换现有同名头部。
header(String, String) - Method in class org.miaixz.bus.http.Response.Builder
设置指定名称的头部值,替换现有同名头部。
header(String, String) - Method in class org.miaixz.bus.http.Response
获取指定名称的第一个头部值,带默认值。
header(String, String, boolean) - Method in class org.miaixz.bus.http.plugin.soap.SoapBuilder
设置一个header 如果覆盖模式,则替换之前的值,否则加入到值列表中
Header(String, String) - Constructor for class org.miaixz.bus.http.Stomp.Header
构造函数,初始化头部
headers - Variable in class org.miaixz.bus.http.plugin.httpz.HttpRequest
 
headers - Variable in class org.miaixz.bus.http.plugin.httpz.RequestBuilder
 
headers() - Method in class org.miaixz.bus.http.bodys.MultipartBody.Part
获取部分头部
headers() - Method in class org.miaixz.bus.http.plugin.httpz.HttpRequest
 
headers() - Method in class org.miaixz.bus.http.plugin.soap.SoapBuilder
获取headers
headers() - Method in class org.miaixz.bus.http.Request
获取所有请求头部。
headers() - Method in class org.miaixz.bus.http.Response
获取所有响应头部。
headers(boolean, int, List<Http2Header>) - Method in class org.miaixz.bus.http.metric.http.Http2Writer
 
headers(String) - Method in class org.miaixz.bus.http.Request
获取指定名称的头部值列表。
headers(String) - Method in class org.miaixz.bus.http.Response
获取指定名称的头部值列表。
headers(Headers) - Method in class org.miaixz.bus.http.Request.Builder
设置所有头部,替换现有头部。
headers(Headers) - Method in class org.miaixz.bus.http.Response.Builder
设置所有头部,替换现有头部。
Headers - Class in org.miaixz.bus.http
HTTP 消息的头部字段
Headers.Builder - Class in org.miaixz.bus.http
Headers 构建器
headerValue(String) - Method in class org.miaixz.bus.http.Stomp.Message
获取指定键的头部值
HeadRequest - Class in org.miaixz.bus.http.plugin.httpz
HEAD 请求处理类,封装 HEAD 请求的参数和配置。
HeadRequest(String, Object, Map<String, String>, Map<String, String>, String) - Constructor for class org.miaixz.bus.http.plugin.httpz.HeadRequest
构造函数,初始化 HEAD 请求的参数。
HEART_BEAT - Static variable in class org.miaixz.bus.http.Stomp.Header
心跳间隔头部
heatbeat(int, int) - Method in class org.miaixz.bus.http.plugin.httpv.CoverCall.Client
设置心跳间隔 覆盖原有的心跳模式,主要区别如下:
hitCount() - Method in class org.miaixz.bus.http.cache.Cache
 
host() - Method in class org.miaixz.bus.http.RealCall.AsyncCall
获取主机名
host() - Method in class org.miaixz.bus.http.UnoUrl
获取主机名 A regular host name, like android.com.
host(String) - Method in class org.miaixz.bus.http.UnoUrl.Builder
设置主机名
hostAddress - Variable in class org.miaixz.bus.http.plugin.httpx.HttpProxy
 
hostHeader(UnoUrl, boolean) - Static method in class org.miaixz.bus.http.Builder
生成主机头部
hostnameVerifier() - Method in class org.miaixz.bus.http.Address
获取主机名验证器
hostnameVerifier() - Method in class org.miaixz.bus.http.Httpd
获取主机名验证器。
hostnameVerifier(HostnameVerifier) - Method in class org.miaixz.bus.http.Httpd.Builder
设置用于确认响应证书适用于HTTPS连接请求的主机名的验证程序.
hostnameVerifier(HostnameVerifier) - Method in class org.miaixz.bus.http.plugin.httpz.HttpBuilder
 
hostOnly() - Method in class org.miaixz.bus.http.Cookie
检查是否仅限主机
hostOnlyDomain(String) - Method in class org.miaixz.bus.http.Cookie.Builder
设置仅限主机的域名
hpackReader - Variable in class org.miaixz.bus.http.metric.http.Http2Reader
 
hpackSize - Variable in class org.miaixz.bus.http.metric.http.Http2Header
 
HTTP_1_1_REQUIRED - Enum constant in enum class org.miaixz.bus.http.metric.http.Http2ErrorCode
 
Http1Codec - Class in org.miaixz.bus.http.metric.http
可以用来发送HTTP/1.1消息的套接字连接。
Http1Codec(Httpd, RealConnection, BufferSource, BufferSink) - Constructor for class org.miaixz.bus.http.metric.http.Http1Codec
 
Http2 - Class in org.miaixz.bus.http.metric.http
 
Http2Codec - Class in org.miaixz.bus.http.metric.http
使用HTTP/2帧对请求和响应进行编码.
Http2Codec(Httpd, RealConnection, NewChain, Http2Connection) - Constructor for class org.miaixz.bus.http.metric.http.Http2Codec
 
Http2Connection - Class in org.miaixz.bus.http.metric.http
到远程对等点的套接字连接。
Http2Connection.Builder - Class in org.miaixz.bus.http.metric.http
 
Http2Connection.Listener - Class in org.miaixz.bus.http.metric.http
Listener of streams and settings initiated by the peer.
Http2ErrorCode - Enum Class in org.miaixz.bus.http.metric.http
错误码信息
Http2Header - Class in org.miaixz.bus.http.metric.http
HTTP header: the name is an ASCII string, but the value can be UTF-8.
Http2Header(String, String) - Constructor for class org.miaixz.bus.http.metric.http.Http2Header
 
Http2Header(ByteString, String) - Constructor for class org.miaixz.bus.http.metric.http.Http2Header
 
Http2Header(ByteString, ByteString) - Constructor for class org.miaixz.bus.http.metric.http.Http2Header
 
http2HeadersList(Request) - Static method in class org.miaixz.bus.http.metric.http.Http2Codec
 
Http2Reader - Class in org.miaixz.bus.http.metric.http
Reads HTTP/2运输框架 此实现假设我们没有向对等端发送增加的frame size设置
Http2Settings - Class in org.miaixz.bus.http.metric.http
设置描述发送对等点的特征,接收对等点使用这些特征 设置的作用域是connection
Http2Settings() - Constructor for class org.miaixz.bus.http.metric.http.Http2Settings
 
Http2Stream - Class in org.miaixz.bus.http.metric.http
逻辑双向流.
Http2Writer - Class in org.miaixz.bus.http.metric.http
编写HTTP/2传输帧.
HttpBuilder - Class in org.miaixz.bus.http.plugin.httpz
请求参数构造器
HttpBuilder() - Constructor for class org.miaixz.bus.http.plugin.httpz.HttpBuilder
 
HttpBuilder(Httpd) - Constructor for class org.miaixz.bus.http.plugin.httpz.HttpBuilder
 
httpCode - Variable in enum class org.miaixz.bus.http.metric.http.Http2ErrorCode
 
HttpCodec - Interface in org.miaixz.bus.http.metric.http
Encode HTTP请求和decode HTTP响应
httpd - Variable in class org.miaixz.bus.http.accord.ConnectInterceptor
 
httpd - Variable in class org.miaixz.bus.http.plugin.httpz.RequestBuilder
 
httpd() - Method in class org.miaixz.bus.http.Httpv.Builder
 
httpd() - Method in class org.miaixz.bus.http.Httpv
 
Httpd - Class in org.miaixz.bus.http
HTTP 请求核心客户端,负责发送 HTTP 请求并读取响应。
Httpd() - Constructor for class org.miaixz.bus.http.Httpd
默认构造函数,使用默认配置创建 Httpd 实例。
Httpd(Httpd.Builder) - Constructor for class org.miaixz.bus.http.Httpd
构造函数,根据提供的 Builder 配置创建 Httpd 实例。
Httpd.Builder - Class in org.miaixz.bus.http
Httpd 配置构建器,用于创建和配置 Httpd 实例。
httpOnly() - Method in class org.miaixz.bus.http.Cookie.Builder
设置仅限 HTTP API
httpOnly() - Method in class org.miaixz.bus.http.Cookie
检查是否仅限 HTTP API
HttpProxy - Class in org.miaixz.bus.http.plugin.httpx
HTTP代理配置
HttpProxy(String, int) - Constructor for class org.miaixz.bus.http.plugin.httpx.HttpProxy
 
HttpProxy(String, int, String, String, Proxy.Type) - Constructor for class org.miaixz.bus.http.plugin.httpx.HttpProxy
 
HttpRequest - Class in org.miaixz.bus.http.plugin.httpz
HTTP请求处理
HttpRequest(String, Object, Map<String, String>, Map<String, String>, List<MultipartFile>, String, MultipartBody, String) - Constructor for class org.miaixz.bus.http.plugin.httpz.HttpRequest
 
HttpRequest(String, Object, Map<String, String>, Map<String, String>, Map<String, String>, List<MultipartFile>, String, MultipartBody, String) - Constructor for class org.miaixz.bus.http.plugin.httpz.HttpRequest
 
httpv - Variable in class org.miaixz.bus.http.plugin.httpv.CoverHttp
 
Httpv - Class in org.miaixz.bus.http
Httpv 客户端接口
Httpv() - Constructor for class org.miaixz.bus.http.Httpv
 
Httpv(Httpv.Builder) - Constructor for class org.miaixz.bus.http.Httpv
 
Httpv.Builder - Class in org.miaixz.bus.http
 
Httpv.HttpvConfig - Interface in org.miaixz.bus.http
Http 配置器
Httpv.SerialPreprocessor - Class in org.miaixz.bus.http
串行预处理器
Httpv.TagTask - Class in org.miaixz.bus.http
 
Httpx - Class in org.miaixz.bus.http
发送HTTP请求辅助类
Httpx() - Constructor for class org.miaixz.bus.http.Httpx
提供返回实例的静态方法
Httpx(int, int, int) - Constructor for class org.miaixz.bus.http.Httpx
构建一个自定义配置的 HTTP Client 类
Httpx(int, int, int, int, int, int, int) - Constructor for class org.miaixz.bus.http.Httpx
构建一个自定义配置的 HTTP Client 类
Httpx(X509TrustManager) - Constructor for class org.miaixz.bus.http.Httpx
提供返回实例的静态方法
Httpx(DnsX, HttpProxy, int, int, int, int, int, int, int) - Constructor for class org.miaixz.bus.http.Httpx
构建一个自定义配置的 HTTP Client 类
Httpx(DnsX, HttpProxy, int, int, int, int, int, int, int, SSLSocketFactory, X509TrustManager, HostnameVerifier) - Constructor for class org.miaixz.bus.http.Httpx
构建一个自定义配置的 HTTP Client 类
Httpz - Class in org.miaixz.bus.http
发送 HTTP 请求的辅助类,提供便捷的链式调用接口来构建和执行 HTTP 请求。
Httpz() - Constructor for class org.miaixz.bus.http.Httpz
 
Httpz.Client - Class in org.miaixz.bus.http
内部客户端类,管理 HTTP 请求的执行和取消。
HttpzState - Class in org.miaixz.bus.http.plugin.httpz
HTTP状态
HttpzState() - Constructor for class org.miaixz.bus.http.plugin.httpz.HttpzState
 
Huffman - Class in org.miaixz.bus.http.metric.http
这个类最初是由以下类组成的Twitter Hpack.

I

id - Variable in class org.miaixz.bus.http.plugin.httpz.HttpRequest
 
id - Variable in class org.miaixz.bus.http.plugin.httpz.RequestBuilder
 
id(String) - Method in class org.miaixz.bus.http.plugin.httpz.RequestBuilder
 
ID - Static variable in class org.miaixz.bus.http.Stomp.Header
订阅 ID 头部
idleConnectionCount() - Method in class org.miaixz.bus.http.accord.ConnectionPool
返回池中空闲连接的数量
idleConnectionCount() - Method in class org.miaixz.bus.http.accord.RealConnectionPool
 
immutable() - Method in class org.miaixz.bus.http.cache.CacheControl.Builder
 
immutable() - Method in class org.miaixz.bus.http.cache.CacheControl
 
immutableList(List<T>) - Static method in class org.miaixz.bus.http.Builder
创建不可修改的列表
immutableList(T...) - Static method in class org.miaixz.bus.http.Builder
创建不可修改的列表
immutableMap(Map<K, V>) - Static method in class org.miaixz.bus.http.Builder
创建不可修改的映射
in - Variable in class org.miaixz.bus.http.plugin.httpz.MultipartFile
文件输入流
INADEQUATE_SECURITY - Enum constant in enum class org.miaixz.bus.http.metric.http.Http2ErrorCode
 
increaseDoneBytes() - Method in class org.miaixz.bus.http.plugin.httpv.Progress
 
indexOf(Comparator<String>, String[], String) - Static method in class org.miaixz.bus.http.Builder
查找字符串在数组中的索引
indexOfControlOrNonAscii(String) - Static method in class org.miaixz.bus.http.Builder
查找控制字符或非 ASCII 字符的索引
init(Protocol) - Method in class org.miaixz.bus.http.plugin.soap.SoapBuilder
初始化
initExchange(Response.Builder, Exchange) - Method in class org.miaixz.bus.http.metric.Internal
 
initialize() - Method in class org.miaixz.bus.http.cache.Cache
始化缓存。
initialize() - Method in class org.miaixz.bus.http.cache.DiskLruCache
 
initReaderAndWriter(String, RealWebSocket.Streams) - Method in class org.miaixz.bus.http.socket.RealWebSocket
初始化帧读取器和写入器
instance - Static variable in class org.miaixz.bus.http.metric.Internal
 
instructions() - Method in interface org.miaixz.bus.http.metric.Interceptor
说明该拦截器实现的作用 方便其他业务场景或者服务使用,例如链路追踪等
intercept(NewChain) - Method in class org.miaixz.bus.http.accord.ConnectInterceptor
 
intercept(NewChain) - Method in class org.miaixz.bus.http.cache.CacheInterceptor
 
intercept(NewChain) - Method in class org.miaixz.bus.http.metric.http.BridgeInterceptor
 
intercept(NewChain) - Method in class org.miaixz.bus.http.metric.http.CallServerInterceptor
 
intercept(NewChain) - Method in class org.miaixz.bus.http.metric.http.RetryAndFollowUp
 
intercept(NewChain) - Method in interface org.miaixz.bus.http.metric.Interceptor
网络请求拦截
intercept(NewChain) - Method in class org.miaixz.bus.http.plugin.httpz.FileInterceptor
 
Interceptor - Interface in org.miaixz.bus.http.metric
观察、修改和潜在的短路请求,并返回相应的响应 通常,拦截器在请求或响应上添加、删除或转换标头
interceptors() - Method in class org.miaixz.bus.http.Httpd.Builder
获取拦截器列表。
interceptors() - Method in class org.miaixz.bus.http.Httpd
获取拦截器列表。
Internal - Class in org.miaixz.bus.http.metric
Escalate internal APIs in http so they can be used from Http's implementation packages.
Internal() - Constructor for class org.miaixz.bus.http.metric.Internal
 
INTERNAL_ERROR - Enum constant in enum class org.miaixz.bus.http.metric.http.Http2ErrorCode
 
internalCache - Variable in class org.miaixz.bus.http.cache.Cache
 
InternalCache - Interface in org.miaixz.bus.http.cache
Http's 的内部缓存接口 应用程序不应该实现这个:而是使用Cache
intersect(Comparator<? super String>, String[], String[]) - Static method in class org.miaixz.bus.http.Builder
获取两个字符串数组的交集
IPAD - Static variable in class org.miaixz.bus.http.metric.anget.Device
ipad
IPHONE - Static variable in class org.miaixz.bus.http.metric.anget.Device
Iphone
IPOD - Static variable in class org.miaixz.bus.http.metric.anget.Device
ipod
isAndroid() - Method in class org.miaixz.bus.http.metric.anget.Device
是否为Android平台,包括Android和Google TV
isCacheable(Response, Request) - Static method in class org.miaixz.bus.http.cache.CacheStrategy
如果response可以存储为以后服务另一个请求,则返回true
isCanceled() - Method in class org.miaixz.bus.http.accord.Transmitter
 
isCanceled() - Method in interface org.miaixz.bus.http.NewCall
是否已经取消会停止
isCanceled() - Method in class org.miaixz.bus.http.plugin.httpv.CoverCall.Close
 
isCanceled() - Method in interface org.miaixz.bus.http.plugin.httpv.GiveCall
 
isCanceled() - Method in class org.miaixz.bus.http.RealCall
检查是否已取消
isCleartextTrafficPermitted(String) - Method in class org.miaixz.bus.http.accord.platform.Platform
 
isClosed() - Method in class org.miaixz.bus.http.cache.Cache
 
isClosed() - Method in class org.miaixz.bus.http.cache.DiskLruCache
Returns true if this cache has been closed.
isClosed() - Method in class org.miaixz.bus.http.metric.http.Http1Codec
Returns true if this connection is closed.
isCompatible(SSLSocket) - Method in class org.miaixz.bus.http.accord.ConnectionSuite
如果当前配置的套接字支持此连接规范,则返回true 为了使套接字兼容,启用的密码套件和协议必须相交 对于密码套件,required cipher suites中至少有一个必须与套接字启用的密码 套件匹配。
isDone() - Method in interface org.miaixz.bus.http.plugin.httpv.GiveCall
 
isDone() - Method in class org.miaixz.bus.http.plugin.httpv.Progress
 
isDuplex() - Method in class org.miaixz.bus.http.accord.Exchange
Returns true if the request body need not complete before the response body starts.
isDuplex() - Method in class org.miaixz.bus.http.bodys.RequestBody
检查是否为双工请求体
isEmpty() - Method in interface org.miaixz.bus.http.plugin.httpv.CoverArray
 
isEmpty() - Method in interface org.miaixz.bus.http.plugin.httpv.CoverWapper
 
isException() - Method in class org.miaixz.bus.http.plugin.httpv.CoverCall.Close
 
isExecuted() - Method in interface org.miaixz.bus.http.NewCall
 
isExecuted() - Method in class org.miaixz.bus.http.RealCall
检查是否已执行
isHarmony() - Method in class org.miaixz.bus.http.metric.anget.Device
是否为Harmony平台
isHealthy(boolean) - Method in class org.miaixz.bus.http.accord.RealConnection
如果此连接准备托管新流,则返回true
isHealthy(long) - Method in class org.miaixz.bus.http.metric.http.Http2Connection
 
isHttps() - Method in class org.miaixz.bus.http.Request
检查请求是否使用 HTTPS 协议。
isHttps() - Method in class org.miaixz.bus.http.UnoUrl
检查是否为 HTTPS 协议
isIos() - Method in class org.miaixz.bus.http.metric.anget.Device
是否为IOS平台,包括IPhone、IPod、IPad
isIPad() - Method in class org.miaixz.bus.http.metric.anget.Device
是否为Iphone或者iPod设备
isIPhoneOrIPod() - Method in class org.miaixz.bus.http.metric.anget.Device
是否为Iphone或者iPod设备
isLocallyInitiated() - Method in class org.miaixz.bus.http.metric.http.Http2Stream
Returns true if this stream was created by this peer.
isMacOS() - Method in class org.miaixz.bus.http.metric.anget.NOS
是否为MacOS
isMatch(String) - Method in class org.miaixz.bus.http.metric.anget.UserAgent
指定内容中是否包含匹配此信息的内容
isMobile() - Method in class org.miaixz.bus.http.metric.anget.Browser
是否移动浏览器
isMobile() - Method in class org.miaixz.bus.http.metric.anget.Device
是否为移动平台
isMultiplexed() - Method in class org.miaixz.bus.http.accord.RealConnection
Returns true if this is an HTTP/2 connection.
isNetworkError() - Method in class org.miaixz.bus.http.plugin.httpv.CoverCall.Close
 
isOneShot() - Method in class org.miaixz.bus.http.bodys.RequestBody
检查是否为一次性请求体
isOpen() - Method in class org.miaixz.bus.http.metric.http.Http2Stream
Returns true if this stream is open.
isPrivate() - Method in class org.miaixz.bus.http.cache.CacheControl
 
isPublic() - Method in class org.miaixz.bus.http.cache.CacheControl
 
isRedirect() - Method in class org.miaixz.bus.http.Response
检查响应是否为重定向。
isSet(int) - Method in class org.miaixz.bus.http.metric.http.Http2Settings
如果为设置id分配了一个值,则返回true
isSuccessful() - Method in interface org.miaixz.bus.http.plugin.httpv.CoverResult
 
isSuccessful() - Method in class org.miaixz.bus.http.plugin.httpv.CoverResult.Real
 
isSuccessful() - Method in class org.miaixz.bus.http.Response
检查响应是否成功(状态码在 [200..300) 范围内)。
isTagged(String) - Method in class org.miaixz.bus.http.plugin.httpv.CoverHttp
标签匹配 判断任务标签与指定的标签是否匹配(包含指定的标签)
isText() - Method in class org.miaixz.bus.http.plugin.httpv.CoverCall.Message
 
isTimeout() - Method in class org.miaixz.bus.http.plugin.httpv.CoverCall.Close
 
isTls() - Method in class org.miaixz.bus.http.accord.ConnectionSuite
 
isUnknown() - Method in class org.miaixz.bus.http.metric.anget.UserAgent
是否为unknown

J

javaName - Variable in class org.miaixz.bus.http.secure.CipherSuite
返回此密码套件的Java名称。
javaName() - Method in class org.miaixz.bus.http.secure.CipherSuite
Returns the Java name of this cipher suite.
JdkPlatform - Class in org.miaixz.bus.http.accord.platform
OpenJDK 9+

K

key() - Method in class org.miaixz.bus.http.cache.DiskLruCache.Snapshot
 
key(UnoUrl) - Static method in class org.miaixz.bus.http.cache.Cache
 
keySet() - Method in interface org.miaixz.bus.http.plugin.httpv.CoverWapper
 

L

lastAccessTime - Static variable in class org.miaixz.bus.http.plugin.httpz.HttpzState
 
length() - Method in class org.miaixz.bus.http.bodys.FormBody
获取请求体长度
length() - Method in class org.miaixz.bus.http.bodys.MultipartBody
获取请求体长度
length() - Method in class org.miaixz.bus.http.bodys.RealResponseBody
获取内容长度
length() - Method in class org.miaixz.bus.http.bodys.RequestBody
获取内容长度
length() - Method in class org.miaixz.bus.http.bodys.ResponseBody
获取内容长度
length() - Method in class org.miaixz.bus.http.plugin.httpv.ProgressBody
 
length() - Method in class org.miaixz.bus.http.plugin.httpz.FileInterceptor.DownloadFileProgressResponseBody
 
list - Variable in class org.miaixz.bus.http.plugin.httpz.HttpRequest
 
listen() - Method in class org.miaixz.bus.http.plugin.httpv.CoverCall.Client
启动 WebSocket 监听
listen(CoverHttp<?>, Downloads) - Method in interface org.miaixz.bus.http.plugin.httpv.Downloads.Listener
全局下载监听
listen(CoverHttp<?>, T) - Method in interface org.miaixz.bus.http.plugin.httpv.CoverTasks.Listener
全局任务监听
listener(Http2Connection.Listener) - Method in class org.miaixz.bus.http.metric.http.Http2Connection.Builder
 
Listener() - Constructor for class org.miaixz.bus.http.metric.http.Http2Connection.Listener
 
Listener(CoverCall.Client, CoverCall) - Constructor for class org.miaixz.bus.http.plugin.httpv.CoverCall.Listener
 
loadForRequest(UnoUrl) - Method in interface org.miaixz.bus.http.metric.CookieJar
将HTTP请求的cookie从jar加载到url 此方法为网络请求返回一个可能为空的cookie列表 简单的实现将返回尚未过期的已接受的Cookie, 并返回Cookie.matches(org.miaixz.bus.http.UnoUrl) url
localCertificates() - Method in class org.miaixz.bus.http.socket.Handshake
获取本地证书列表
localPrincipal() - Method in class org.miaixz.bus.http.socket.Handshake
获取本地主体
logCloseableLeak(String, Object) - Method in class org.miaixz.bus.http.accord.platform.Platform
 
lookup(String) - Method in interface org.miaixz.bus.http.DnsX
返回hostname的IP地址,按Httpd尝试的顺序排列。
loopReader() - Method in class org.miaixz.bus.http.socket.RealWebSocket
循环读取帧

M

mainExecutor() - Method in class org.miaixz.bus.http.Httpv.Builder
 
matches(UnoUrl) - Method in class org.miaixz.bus.http.Cookie
检查 Cookie 是否匹配 URL
MAX_DATE - Static variable in class org.miaixz.bus.http.Builder
最大日期值(9999年12月31日)
maxAge(int, TimeUnit) - Method in class org.miaixz.bus.http.cache.CacheControl.Builder
设置缓存响应的最大时间。
maxAgeSeconds() - Method in class org.miaixz.bus.http.cache.CacheControl
 
maxConcurrentStreams() - Method in class org.miaixz.bus.http.metric.http.Http2Connection
 
maxDataLength() - Method in class org.miaixz.bus.http.metric.http.Http2Writer
The maximum size of bytes that may be sent in a single call to Http2Writer.data(boolean, int, org.miaixz.bus.core.io.buffer.Buffer, int).
maxSize() - Method in class org.miaixz.bus.http.cache.Cache
 
maxStale(int, TimeUnit) - Method in class org.miaixz.bus.http.cache.CacheControl.Builder
接受超过新鲜度生存期的缓存响应,最多接受maxStale
maxStaleSeconds() - Method in class org.miaixz.bus.http.cache.CacheControl
 
mediaType - Variable in class org.miaixz.bus.http.plugin.httpv.CoverTasks.Executor.Data
 
mediaType() - Method in class org.miaixz.bus.http.bodys.FormBody
获取媒体类型
mediaType() - Method in class org.miaixz.bus.http.bodys.MultipartBody
获取完整媒体类型
mediaType() - Method in class org.miaixz.bus.http.bodys.RealResponseBody
获取媒体类型
mediaType() - Method in class org.miaixz.bus.http.bodys.RequestBody
获取媒体类型
mediaType() - Method in class org.miaixz.bus.http.bodys.ResponseBody
获取媒体类型
mediaType() - Method in class org.miaixz.bus.http.plugin.httpv.Convertor.FormConvertor
 
mediaType() - Method in interface org.miaixz.bus.http.plugin.httpv.Convertor
消息的媒体类型
mediaType() - Method in class org.miaixz.bus.http.plugin.httpv.ProgressBody
 
mediaType() - Method in class org.miaixz.bus.http.plugin.httpz.FileInterceptor.DownloadFileProgressResponseBody
 
mediaType(String) - Method in class org.miaixz.bus.http.Httpv
 
mediaTypes() - Method in class org.miaixz.bus.http.Httpv
 
mediaTypes(String, String) - Method in class org.miaixz.bus.http.Httpv.Builder
配置媒体类型
mediaTypes(Map<String, String>) - Method in class org.miaixz.bus.http.Httpv.Builder
配置媒体类型
merge(Http2Settings) - Method in class org.miaixz.bus.http.metric.http.Http2Settings
other写入其中。
message - Variable in class org.miaixz.bus.http.metric.http.StatusLine
 
message() - Method in class org.miaixz.bus.http.Response
获取 HTTP 状态消息。
message(String) - Method in class org.miaixz.bus.http.Response.Builder
设置 HTTP 状态消息。
Message(String) - Constructor for class org.miaixz.bus.http.plugin.httpv.CoverCall.Message
 
Message(String, List<Stomp.Header>, String) - Constructor for class org.miaixz.bus.http.Stomp.Message
构造函数,初始化 STOMP 消息
Message(ByteString) - Constructor for class org.miaixz.bus.http.plugin.httpv.CoverCall.Message
 
MESSAGE - Static variable in class org.miaixz.bus.http.Builder
MESSAGE 命令
MESSAGE_ID - Static variable in class org.miaixz.bus.http.Stomp.Header
消息 ID 头部
method() - Method in class org.miaixz.bus.http.Request
获取 HTTP 方法。
method(String, RequestBody) - Method in class org.miaixz.bus.http.Request.Builder
设置 HTTP 方法和请求体。
minFresh(int, TimeUnit) - Method in class org.miaixz.bus.http.cache.CacheControl.Builder
设置一个响应持续刷新的最小秒数。
minFreshSeconds() - Method in class org.miaixz.bus.http.cache.CacheControl
 
MOBILE_DEVICE - Static variable in class org.miaixz.bus.http.metric.anget.Device
支持的移动平台类型
MODERN_TLS - Static variable in class org.miaixz.bus.http.accord.ConnectionSuite
一个TLS连接与扩展,如SNI和ALPN可用
msgConvertors() - Method in class org.miaixz.bus.http.Httpv.Builder
 
msgType(String) - Method in class org.miaixz.bus.http.plugin.httpv.CoverCall
 
multipartBody - Variable in class org.miaixz.bus.http.plugin.httpz.HttpRequest
 
multipartBody(MultipartBody) - Method in class org.miaixz.bus.http.plugin.httpz.PostBuilder
 
multipartBody(MultipartBody) - Method in class org.miaixz.bus.http.plugin.httpz.PutBuilder
 
MultipartBody - Class in org.miaixz.bus.http.bodys
MIME Multipart 请求体
MultipartBody.Builder - Class in org.miaixz.bus.http.bodys
MultipartBody 构建器
MultipartBody.Part - Class in org.miaixz.bus.http.bodys
MultipartBody 部分
MultipartFile - Class in org.miaixz.bus.http.plugin.httpz
文件上传
MultipartFile() - Constructor for class org.miaixz.bus.http.plugin.httpz.MultipartFile
 
mustRevalidate() - Method in class org.miaixz.bus.http.cache.CacheControl
 

N

name - Variable in class org.miaixz.bus.http.metric.http.Http2Header
Name in case-insensitive ASCII encoding.
name - Variable in class org.miaixz.bus.http.metric.NamedRunnable
 
name - Variable in class org.miaixz.bus.http.plugin.httpz.MultipartFile
文件名称
name() - Method in class org.miaixz.bus.http.Cookie
获取 Cookie 名称
name(int) - Method in class org.miaixz.bus.http.bodys.FormBody
获取指定索引的解码字段名称
name(int) - Method in class org.miaixz.bus.http.Headers
获取指定索引的头部名称
name(String) - Method in class org.miaixz.bus.http.Cookie.Builder
设置 Cookie 名称
NamedRunnable - Class in org.miaixz.bus.http.metric
可运行的实现,它总是设置它的线程名
NamedRunnable(String, Object...) - Constructor for class org.miaixz.bus.http.metric.NamedRunnable
 
names() - Method in class org.miaixz.bus.http.Headers
获取头部名称集合
NATURAL_ORDER - Static variable in class org.miaixz.bus.http.Builder
自然顺序比较器
NetAuthenticator - Class in org.miaixz.bus.http.secure
 
NetAuthenticator() - Constructor for class org.miaixz.bus.http.secure.NetAuthenticator
 
NETWORK_ERROR - Enum constant in enum class org.miaixz.bus.http.plugin.httpv.CoverResult.State
网络出错
NETWORK_ERROR - Static variable in class org.miaixz.bus.http.plugin.httpv.CoverCall.Close
 
networkCount() - Method in class org.miaixz.bus.http.cache.Cache
 
networkInterceptors() - Method in class org.miaixz.bus.http.Httpd.Builder
获取网络拦截器列表。
networkInterceptors() - Method in class org.miaixz.bus.http.Httpd
获取网络拦截器列表。
networkRequest - Variable in class org.miaixz.bus.http.cache.CacheStrategy
请求在网络上发送,如果调用不使用网络则为空
networkResponse() - Method in class org.miaixz.bus.http.Response
获取网络响应。
networkResponse(Response) - Method in class org.miaixz.bus.http.Response.Builder
设置网络响应。
newBuilder() - Method in class org.miaixz.bus.http.Headers
创建新的 Builder 实例
newBuilder() - Method in class org.miaixz.bus.http.Httpd
创建新的 Builder 实例,基于当前 Httpd 配置。
newBuilder() - Method in class org.miaixz.bus.http.Httpv
 
newBuilder() - Static method in class org.miaixz.bus.http.Httpz
创建一个新的 HttpBuilder 实例,使用默认客户端。
newBuilder() - Method in class org.miaixz.bus.http.Request
创建新的 Builder 实例,基于当前 Request。
newBuilder() - Method in class org.miaixz.bus.http.Response
创建新的 Builder 实例,基于当前 Response。
newBuilder() - Method in class org.miaixz.bus.http.UnoUrl
创建新的 Builder 实例
newBuilder(String) - Method in class org.miaixz.bus.http.UnoUrl
创建相对链接的 Builder 实例
newBuilder(Httpd) - Static method in class org.miaixz.bus.http.Httpz
创建一个新的 HttpBuilder 实例,使用指定的客户端。
newCall(Request) - Method in class org.miaixz.bus.http.Httpd
创建新的 HTTP 调用,用于执行指定的请求。
newCall(Request) - Method in interface org.miaixz.bus.http.NewCall.Factory
创建新的调用
NewCall - Interface in org.miaixz.bus.http
调用是准备执行的请求。
NewCall.Factory - Interface in org.miaixz.bus.http
 
NewChain - Interface in org.miaixz.bus.http.metric
网络调用链
newSink(int) - Method in class org.miaixz.bus.http.cache.DiskLruCache.Editor
Returns a new unbuffered output stream to write the value at index.
newSource(int) - Method in class org.miaixz.bus.http.cache.DiskLruCache.Editor
Returns an unbuffered input stream to read the last committed value, or null if no value has been committed.
newStream(List<Http2Header>, boolean) - Method in class org.miaixz.bus.http.metric.http.Http2Connection
Returns a new locally-initiated stream.
newWebSocket(Request, WebSocketListener) - Method in class org.miaixz.bus.http.Httpd
创建新的 WebSocket 连接。
newWebSocket(Request, WebSocketListener) - Method in interface org.miaixz.bus.http.socket.WebSocket.Factory
创建一个新的web套接字并立即返回它。
newWebSocketCall(Httpd, Request) - Method in class org.miaixz.bus.http.metric.Internal
 
newWebSocketStreams() - Method in class org.miaixz.bus.http.accord.Exchange
 
next() - Method in class org.miaixz.bus.http.accord.RouteSelector
 
next() - Method in class org.miaixz.bus.http.accord.RouteSelector.Selection
 
nextFrame(boolean, Http2Reader.Handler) - Method in class org.miaixz.bus.http.metric.http.Http2Reader
 
nextOnIO - Variable in class org.miaixz.bus.http.plugin.httpv.CoverHttp
 
nextOnIO - Variable in class org.miaixz.bus.http.plugin.httpv.Downloads
 
nextOnIO() - Method in class org.miaixz.bus.http.plugin.httpv.CoverHttp
下一个回调在IO线程执行
nextOnIO() - Method in interface org.miaixz.bus.http.plugin.httpv.CoverResult.Body
在IO线程执行
nextOnIO() - Method in class org.miaixz.bus.http.plugin.httpv.Downloads
在IO线程执行
nextOnIO() - Method in class org.miaixz.bus.http.plugin.httpv.ResultBody
 
NO_COOKIES - Static variable in interface org.miaixz.bus.http.metric.CookieJar
从不接受任何cookie的设置
NO_ERROR - Enum constant in enum class org.miaixz.bus.http.metric.http.Http2ErrorCode
 
noCache() - Method in class org.miaixz.bus.http.cache.CacheControl.Builder
 
noCache() - Method in class org.miaixz.bus.http.cache.CacheControl
 
noMoreExchanges(IOException) - Method in class org.miaixz.bus.http.accord.Transmitter
 
NONE - Static variable in class org.miaixz.bus.http.metric.EventListener
 
NONE - Static variable in interface org.miaixz.bus.http.secure.Authenticator
不知道任何凭据且不尝试进行身份验证的验证程序
nonEmptyIntersection(Comparator<String>, String[], String[]) - Static method in class org.miaixz.bus.http.Builder
检查两个字符串数组是否存在交集
noNewExchanges() - Method in class org.miaixz.bus.http.accord.RealConnection
Prevent further exchanges from being created on this connection.
noNewExchangesOnConnection() - Method in class org.miaixz.bus.http.accord.Exchange
 
noRequestBody() - Method in class org.miaixz.bus.http.accord.Exchange
 
NOS - Class in org.miaixz.bus.http.metric.anget
网络操作系统
NOS - Static variable in class org.miaixz.bus.http.metric.anget.NOS
支持的引擎类型
NOS(String, String) - Constructor for class org.miaixz.bus.http.metric.anget.NOS
构造
NOS(String, String, String) - Constructor for class org.miaixz.bus.http.metric.anget.NOS
构造
noStore() - Method in class org.miaixz.bus.http.cache.CacheControl.Builder
 
noStore() - Method in class org.miaixz.bus.http.cache.CacheControl
 
notDoneOrReached(long) - Method in class org.miaixz.bus.http.plugin.httpv.Progress
 
nothrow - Variable in class org.miaixz.bus.http.plugin.httpv.CoverHttp
 
nothrow() - Method in class org.miaixz.bus.http.plugin.httpv.CoverHttp
设置在发生异常时不向上抛出,设置后: 异步请求可以在异常回调内捕获异常,同步请求在返回结果中找到该异常
noTransform() - Method in class org.miaixz.bus.http.cache.CacheControl.Builder
 
noTransform() - Method in class org.miaixz.bus.http.cache.CacheControl
 
NullProxySelector - Class in org.miaixz.bus.http.metric.proxy
代理选择器 返回Proxy.NO_PROXY
NullProxySelector() - Constructor for class org.miaixz.bus.http.metric.proxy.NullProxySelector
 

O

of(String) - Static method in class org.miaixz.bus.http.plugin.soap.SoapBuilder
创建SOAP客户端,默认使用soap1.2版本协议
of(String...) - Static method in class org.miaixz.bus.http.Headers
从名称和值数组创建 Headers 实例
of(String, Protocol) - Static method in class org.miaixz.bus.http.plugin.soap.SoapBuilder
创建SOAP客户端
of(String, Protocol, String) - Static method in class org.miaixz.bus.http.plugin.soap.SoapBuilder
创建SOAP客户端
of(Map<String, String>) - Static method in class org.miaixz.bus.http.Headers
从映射创建 Headers 实例
of(Response) - Static method in interface org.miaixz.bus.http.plugin.httpv.CoverResult
构造一个 Results 此方法构造的 Results 不可设置进度回调,不可进行下载操作!
of(Response, CoverTasks.Executor) - Static method in interface org.miaixz.bus.http.plugin.httpv.CoverResult
构造一个 Results
on(CoverCall, T) - Method in interface org.miaixz.bus.http.plugin.httpv.CoverCall.Register
 
on(T) - Method in interface org.miaixz.bus.http.Callback
通用数据回调
onClosed(WebSocket, int, String) - Method in class org.miaixz.bus.http.plugin.httpv.CoverCall.Listener
 
onClosed(WebSocket, int, String) - Method in class org.miaixz.bus.http.socket.WebSocketListener
当两个对等点都指示不再传输任何消息且连接已成功释放时调用。
onClosing(WebSocket, int, String) - Method in class org.miaixz.bus.http.plugin.httpv.CoverCall.Listener
 
onClosing(WebSocket, int, String) - Method in class org.miaixz.bus.http.socket.WebSocketListener
当远程对等点指示不再传输传入消息时调用
onData(int, BufferSource, int, boolean) - Method in interface org.miaixz.bus.http.metric.http.PushObserver
与推送请求对应的响应数据块。
onFailure(NewCall, IOException) - Method in interface org.miaixz.bus.http.Callback
请求失败时的回调
onFailure(NewCall, Exception, String) - Method in interface org.miaixz.bus.http.Callback
请求失败时的回调(带请求标识)
onFailure(NewCall, Exception, String) - Method in class org.miaixz.bus.http.plugin.httpz.TextCallback
 
onFailure(WebSocket, Throwable, Response) - Method in class org.miaixz.bus.http.plugin.httpv.CoverCall.Listener
 
onFailure(WebSocket, Throwable, Response) - Method in class org.miaixz.bus.http.socket.WebSocketListener
当web套接字由于从网络读取或写入错误而关闭时调用。
onHeaders(int, List<Http2Header>, boolean) - Method in interface org.miaixz.bus.http.metric.http.PushObserver
推送请求对应的响应标头。
onlyIfCached() - Method in class org.miaixz.bus.http.cache.CacheControl.Builder
 
onlyIfCached() - Method in class org.miaixz.bus.http.cache.CacheControl
 
onMessage(WebSocket, String) - Method in class org.miaixz.bus.http.plugin.httpv.CoverCall.Listener
 
onMessage(WebSocket, String) - Method in class org.miaixz.bus.http.socket.WebSocketListener
当收到文本(类型为0x1)消息时调用
onMessage(WebSocket, ByteString) - Method in class org.miaixz.bus.http.plugin.httpv.CoverCall.Listener
 
onMessage(WebSocket, ByteString) - Method in class org.miaixz.bus.http.socket.WebSocketListener
当接收到二进制(类型为0x2)消息时调用
onOpen(WebSocket, Response) - Method in class org.miaixz.bus.http.plugin.httpv.CoverCall.Listener
 
onOpen(WebSocket, Response) - Method in class org.miaixz.bus.http.socket.WebSocketListener
当web socket被远程对等方接受并可以开始传输消息时调用
onReadClose(int, String) - Method in class org.miaixz.bus.http.socket.RealWebSocket
接收 close 帧
onReadClose(int, String) - Method in interface org.miaixz.bus.http.socket.WebSocketReader.FrameCallback
接收 close 帧
onReadMessage(String) - Method in class org.miaixz.bus.http.socket.RealWebSocket
接收文本消息
onReadMessage(String) - Method in interface org.miaixz.bus.http.socket.WebSocketReader.FrameCallback
接收文本消息
onReadMessage(ByteString) - Method in class org.miaixz.bus.http.socket.RealWebSocket
接收二进制消息
onReadMessage(ByteString) - Method in interface org.miaixz.bus.http.socket.WebSocketReader.FrameCallback
接收二进制消息
onReadPing(ByteString) - Method in class org.miaixz.bus.http.socket.RealWebSocket
接收 ping 帧
onReadPing(ByteString) - Method in interface org.miaixz.bus.http.socket.WebSocketReader.FrameCallback
接收 ping 帧
onReadPong(ByteString) - Method in class org.miaixz.bus.http.socket.RealWebSocket
接收 pong 帧
onReadPong(ByteString) - Method in interface org.miaixz.bus.http.socket.WebSocketReader.FrameCallback
接收 pong 帧
onReqFailure(String, Exception) - Static method in class org.miaixz.bus.http.plugin.httpz.HttpzState
 
onReqSuccess() - Static method in class org.miaixz.bus.http.plugin.httpz.HttpzState
 
onRequest(int, List<Http2Header>) - Method in interface org.miaixz.bus.http.metric.http.PushObserver
描述服务器打算为其推送响应的请求
onReset(int, Http2ErrorCode) - Method in interface org.miaixz.bus.http.metric.http.PushObserver
指示此流被取消的原因
onResponse(NewCall, Response) - Method in interface org.miaixz.bus.http.Callback
请求成功时的回调
onResponse(NewCall, Response, String) - Method in interface org.miaixz.bus.http.Callback
请求成功时的回调(带请求标识)
onResponse(NewCall, Response, String) - Method in class org.miaixz.bus.http.plugin.httpz.FileCallback
 
onResponse(NewCall, Response, String) - Method in class org.miaixz.bus.http.plugin.httpz.TextCallback
 
onSettings(Http2Connection) - Method in class org.miaixz.bus.http.accord.RealConnection
When settings are received, adjust the allocation limit.
onSettings(Http2Connection) - Method in class org.miaixz.bus.http.metric.http.Http2Connection.Listener
Notification that the connection's peer's settings may have changed.
onStream(Http2Stream) - Method in class org.miaixz.bus.http.accord.RealConnection
Refuse incoming streams.
onStream(Http2Stream) - Method in class org.miaixz.bus.http.metric.http.Http2Connection.Listener
Handle a new stream from this connection's peer.
onSuccess(NewCall, File, String) - Method in class org.miaixz.bus.http.plugin.httpz.FileCallback
 
onSuccess(NewCall, InputStream, String) - Method in class org.miaixz.bus.http.plugin.httpz.FileCallback
 
onSuccess(NewCall, String, String) - Method in class org.miaixz.bus.http.plugin.httpz.TextCallback
 
openResponseBody(Response) - Method in class org.miaixz.bus.http.accord.Exchange
 
openResponseBodySource(Response) - Method in class org.miaixz.bus.http.metric.http.Http1Codec
 
openResponseBodySource(Response) - Method in class org.miaixz.bus.http.metric.http.Http2Codec
 
openResponseBodySource(Response) - Method in interface org.miaixz.bus.http.metric.http.HttpCodec
 
openStreamCount() - Method in class org.miaixz.bus.http.metric.http.Http2Connection
Returns the number of open streams on this connection.
ORDER_BY_NAME - Static variable in class org.miaixz.bus.http.secure.CipherSuite
比较“TLS_RSA_WITH_NULL_MD5”和“SSL_RSA_WITH_NULL_MD5”等密码套件名称, 忽略跨平台不一致的“TLS_”或“SSL_”前缀。
org.miaixz.bus.http - package org.miaixz.bus.http
Java应用的HTTP客户端
org.miaixz.bus.http.accord - package org.miaixz.bus.http.accord
内部实现及规则
org.miaixz.bus.http.accord.platform - package org.miaixz.bus.http.accord.platform
客户端平台支持
org.miaixz.bus.http.bodys - package org.miaixz.bus.http.bodys
Body 相关处理
org.miaixz.bus.http.cache - package org.miaixz.bus.http.cache
请求缓存支持
org.miaixz.bus.http.metric - package org.miaixz.bus.http.metric
内部标准及逻辑
org.miaixz.bus.http.metric.anget - package org.miaixz.bus.http.metric.anget
Anget 相关及设备信息
org.miaixz.bus.http.metric.http - package org.miaixz.bus.http.metric.http
Http 内部逻辑
org.miaixz.bus.http.metric.proxy - package org.miaixz.bus.http.metric.proxy
代理选择器
org.miaixz.bus.http.metric.suffix - package org.miaixz.bus.http.metric.suffix
公共后缀数据库
org.miaixz.bus.http.plugin.httpv - package org.miaixz.bus.http.plugin.httpv
Httpv 实现
org.miaixz.bus.http.plugin.httpx - package org.miaixz.bus.http.plugin.httpx
Httpx 实现
org.miaixz.bus.http.plugin.httpz - package org.miaixz.bus.http.plugin.httpz
Httpz 实现
org.miaixz.bus.http.plugin.soap - package org.miaixz.bus.http.plugin.soap
SOAP 实现
org.miaixz.bus.http.secure - package org.miaixz.bus.http.secure
HTTP 安全
org.miaixz.bus.http.socket - package org.miaixz.bus.http.socket
web socket支持
originalRequest - Variable in class org.miaixz.bus.http.RealCall
原始请求
OTHER_VERSION - Static variable in class org.miaixz.bus.http.metric.anget.Browser
其它版本
over(CoverCall.Client) - Static method in class org.miaixz.bus.http.Stomp
构建 STOMP 客户端(默认自动确认消息)
over(CoverCall.Client, boolean) - Static method in class org.miaixz.bus.http.Stomp
构建 STOMP 客户端

P

params - Variable in class org.miaixz.bus.http.plugin.httpz.HttpRequest
 
params - Variable in class org.miaixz.bus.http.plugin.httpz.RequestBuilder
 
parse(String) - Static method in class org.miaixz.bus.http.Builder
解析日期字符串
parse(String) - Static method in class org.miaixz.bus.http.metric.anget.UserAgent
解析User-Agent
parse(String) - Static method in class org.miaixz.bus.http.metric.http.StatusLine
 
parse(String) - Static method in class org.miaixz.bus.http.UnoUrl
解析 URL 字符串为 UnoUrl 实例
parse(Headers) - Static method in class org.miaixz.bus.http.cache.CacheControl
返回headers的缓存指令。
parse(UnoUrl, String) - Static method in class org.miaixz.bus.http.Cookie
解析 Set-Cookie 头部
parseAll(UnoUrl, Headers) - Static method in class org.miaixz.bus.http.Cookie
解析所有 Set-Cookie 头部
parseChallenges(Headers, String) - Static method in class org.miaixz.bus.http.Headers
解析 RFC 7235 认证
parseSeconds(String, int) - Static method in class org.miaixz.bus.http.Headers
解析秒数
part - Variable in class org.miaixz.bus.http.plugin.httpz.MultipartFile
拆分信息
part(int) - Method in class org.miaixz.bus.http.bodys.MultipartBody
获取指定索引的部分
parts() - Method in class org.miaixz.bus.http.bodys.MultipartBody
获取部分列表
password - Variable in class org.miaixz.bus.http.plugin.httpx.HttpProxy
 
password() - Method in class org.miaixz.bus.http.UnoUrl
获取解码后的密码 http://host/"" http://username@host/"" http://username:password@host/"password" http://a%20b:c%20d@host/"c d"
password(String) - Method in class org.miaixz.bus.http.UnoUrl.Builder
设置密码
PASSWORD_ENCODE_SET - Static variable in class org.miaixz.bus.http.UnoUrl
密码编码字符集
patch() - Method in class org.miaixz.bus.http.plugin.httpv.CoverHttp.Async
发起 PATCH 请求(Rest:更新资源,部分更新,幂等)
patch() - Method in class org.miaixz.bus.http.plugin.httpv.CoverHttp.Sync
发起 PATCH 请求(Rest:更新资源,部分更新,幂等)
patch(RequestBody) - Method in class org.miaixz.bus.http.Request.Builder
设置为 PATCH 请求。
path() - Method in class org.miaixz.bus.http.Cookie
获取路径
path(String) - Method in class org.miaixz.bus.http.Cookie.Builder
设置路径
PATH_SEGMENT_ENCODE_SET - Static variable in class org.miaixz.bus.http.UnoUrl
路径段编码字符集
PATH_SEGMENT_ENCODE_SET_URI - Static variable in class org.miaixz.bus.http.UnoUrl
URI 路径段编码字符集
pathSegments() - Method in class org.miaixz.bus.http.UnoUrl
获取解码后的路径段列表 http://host/[""] http://host/a/b/c"["a", "b", "c"] http://host/a/b%20c/d"["a", "b c", "d"]
pathSize() - Method in class org.miaixz.bus.http.UnoUrl
获取路径段数量 http://host/1 http://host/a/b/c3 http://host/a/b/c/4
pause() - Method in class org.miaixz.bus.http.plugin.httpv.Downloads.Control
暂停下载任务
peekBody(long) - Method in class org.miaixz.bus.http.Response
预览响应体内容,最多读取指定字节数。
peerCertificates() - Method in class org.miaixz.bus.http.socket.Handshake
获取远程对等点证书列表
peerPrincipal() - Method in class org.miaixz.bus.http.socket.Handshake
获取远程对等点主体
percentDecode(String, boolean) - Static method in class org.miaixz.bus.http.UnoUrl
解码百分比编码字符串
percentDecode(String, int, int, boolean) - Static method in class org.miaixz.bus.http.UnoUrl
解码百分比编码字符串(指定范围)
percentDecode(Buffer, String, int, int, boolean) - Static method in class org.miaixz.bus.http.UnoUrl
解码百分比编码字符串到缓冲区
percentEncoded(String, int, int) - Static method in class org.miaixz.bus.http.UnoUrl
检查字符串是否为百分比编码
persistent() - Method in class org.miaixz.bus.http.Cookie
检查是否为持久化 Cookie
pin(Certificate) - Static method in class org.miaixz.bus.http.secure.CertificatePinner
Returns the SHA-256 of certificate's public key.
ping(boolean, int, int) - Method in class org.miaixz.bus.http.metric.http.Http2Writer
Send a connection-level ping to the peer.
pingInterval(long, TimeUnit) - Method in class org.miaixz.bus.http.Httpd.Builder
设置 WebSocket ping 间隔。
pingInterval(long, TimeUnit) - Method in class org.miaixz.bus.http.plugin.httpz.HttpBuilder
 
pingInterval(Duration) - Method in class org.miaixz.bus.http.Httpd.Builder
设置 WebSocket ping 间隔。
pingIntervalMillis() - Method in class org.miaixz.bus.http.Httpd
获取 WebSocket ping 间隔(毫秒)。
pingIntervalMillis(int) - Method in class org.miaixz.bus.http.metric.http.Http2Connection.Builder
 
pingSeconds() - Method in class org.miaixz.bus.http.plugin.httpv.CoverCall.Client
 
Platform - Class in org.miaixz.bus.http.accord.platform
访问特定于平台的特性.
Platform() - Constructor for class org.miaixz.bus.http.accord.platform.Platform
 
pongSeconds() - Method in class org.miaixz.bus.http.plugin.httpv.CoverCall.Client
 
port - Variable in class org.miaixz.bus.http.plugin.httpx.HttpProxy
 
port() - Method in class org.miaixz.bus.http.UnoUrl
获取端口号 http://host/80 http://host:8000/8000 https://host/443
port(int) - Method in class org.miaixz.bus.http.UnoUrl.Builder
设置端口号
post() - Method in class org.miaixz.bus.http.Httpz.Client
创建 PostBuilder 实例,用于构建 POST 请求。
post() - Static method in class org.miaixz.bus.http.Httpz
创建一个新的 PostBuilder 实例,用于构建 POST 请求。
post() - Method in class org.miaixz.bus.http.plugin.httpv.CoverHttp.Async
发起 POST 请求(Rest:创建资源,非幂等)
post() - Method in class org.miaixz.bus.http.plugin.httpv.CoverHttp.Sync
发起 POST 请求(Rest:创建资源,非幂等)
post(String) - Static method in class org.miaixz.bus.http.Httpx
form 方式 POST 请求
post(String, String, String) - Static method in class org.miaixz.bus.http.Httpx
带查询参数 POST 请求 使用默认编码 UTF-8
post(String, String, String, String) - Static method in class org.miaixz.bus.http.Httpx
带查询参数 POST 请求 使用自定义编码
post(String, String, Map<String, String>, String) - Static method in class org.miaixz.bus.http.Httpx
带查询参数 POST 请求 使用默认编码 UTF-8
post(String, Map<String, String>) - Static method in class org.miaixz.bus.http.Httpx
form 方式 POST 请求 application/x-www-form-urlencoded
post(String, Map<String, String>, String) - Static method in class org.miaixz.bus.http.Httpx
带查询参数 POST 请求 使用默认编码 UTF-8
post(String, Map<String, String>, String, String) - Static method in class org.miaixz.bus.http.Httpx
带查询参数 POST 请求 使用自定义编码
post(String, Map<String, String>, List<String>) - Static method in class org.miaixz.bus.http.Httpx
表单提交带文件上传
post(String, Map<String, String>, Map<String, String>) - Static method in class org.miaixz.bus.http.Httpx
带查询参数 POST 请求 使用自定义编码
post(String, Map<String, String>, Map<String, String>, String) - Static method in class org.miaixz.bus.http.Httpx
带查询参数 POST 请求 使用自定义编码
post(String, Map<String, String>, Map<String, String>, String, String) - Static method in class org.miaixz.bus.http.Httpx
带查询参数 POST 请求 使用自定义编码
post(String, Map<String, String>, Callback) - Static method in class org.miaixz.bus.http.Httpx
异步处理的POST请求,自定义请求类型
post(RequestBody) - Method in class org.miaixz.bus.http.Request.Builder
设置为 POST 请求。
PostBuilder - Class in org.miaixz.bus.http.plugin.httpz
POST参数构造器
PostBuilder(Httpd) - Constructor for class org.miaixz.bus.http.plugin.httpz.PostBuilder
 
PostRequest - Class in org.miaixz.bus.http.plugin.httpz
POST请求处理
PostRequest(String, Object, Map<String, String>, Map<String, String>, List<MultipartFile>, String, MultipartBody, String) - Constructor for class org.miaixz.bus.http.plugin.httpz.PostRequest
 
PostRequest(String, Object, Map<String, String>, Map<String, String>, Map<String, String>, List<MultipartFile>, String, MultipartBody, String) - Constructor for class org.miaixz.bus.http.plugin.httpz.PostRequest
 
prepareCall(String) - Method in class org.miaixz.bus.http.plugin.httpv.CoverHttp
 
prepareRequest(String) - Method in class org.miaixz.bus.http.plugin.httpv.CoverHttp
 
prepareToConnect(Request) - Method in class org.miaixz.bus.http.accord.Transmitter
Prepare to create a stream to carry request.
preprocess(CoverHttp<? extends CoverHttp<?>>, Runnable, boolean, boolean) - Method in class org.miaixz.bus.http.Httpv
 
Preprocessor - Interface in org.miaixz.bus.http.plugin.httpv
预处理器,支持异步 在HTTP请求任务正式开始之前执行
Preprocessor.PreChain - Interface in org.miaixz.bus.http.plugin.httpv
 
preprocessors() - Method in class org.miaixz.bus.http.Httpv.Builder
 
preprocessors() - Method in class org.miaixz.bus.http.Httpv
 
preprocTimeoutMillis() - Method in class org.miaixz.bus.http.Httpv
 
preprocTimeoutTimes() - Method in class org.miaixz.bus.http.Httpv.Builder
 
preprocTimeoutTimes() - Method in class org.miaixz.bus.http.Httpv
 
preprocTimeoutTimes(int) - Method in class org.miaixz.bus.http.Httpv.Builder
最大预处理时间(倍数,相当普通请求的超时时间)
priorResponse() - Method in class org.miaixz.bus.http.Response
获取前一个响应。
priorResponse(Response) - Method in class org.miaixz.bus.http.Response.Builder
设置前一个响应。
proceed() - Method in interface org.miaixz.bus.http.plugin.httpv.Preprocessor.PreChain
继续HTTP请求任务
proceed(Request) - Method in class org.miaixz.bus.http.metric.http.RealInterceptorChain
 
proceed(Request) - Method in interface org.miaixz.bus.http.metric.NewChain
 
proceed(Request, Transmitter, Exchange) - Method in class org.miaixz.bus.http.metric.http.RealInterceptorChain
 
Progress - Class in org.miaixz.bus.http.plugin.httpv
进度(上传或下载)
Progress(long, long) - Constructor for class org.miaixz.bus.http.plugin.httpv.Progress
 
ProgressBody - Class in org.miaixz.bus.http.plugin.httpv
 
ProgressBody(RequestBody, Callback<Progress>, Executor, long, long) - Constructor for class org.miaixz.bus.http.plugin.httpv.ProgressBody
 
ProgressListener - Interface in org.miaixz.bus.http.plugin.httpz
进度监听
ProgressStream - Class in org.miaixz.bus.http.plugin.httpv
 
ProgressStream(InputStream, Callback<Progress>, long, long, long, Executor) - Constructor for class org.miaixz.bus.http.plugin.httpv.ProgressStream
 
promoteAndExecute() - Method in class org.miaixz.bus.http.metric.Dispatcher
将符合条件的调用从Dispatcher.readyAsyncCalls提升到Dispatcher.runningAsyncCalls, 并在executor服务上运行它们。
protocol - Variable in class org.miaixz.bus.http.metric.http.StatusLine
 
protocol() - Method in interface org.miaixz.bus.http.accord.Connection
 
protocol() - Method in class org.miaixz.bus.http.accord.RealConnection
 
protocol() - Method in class org.miaixz.bus.http.Response
获取使用的 HTTP 协议。
protocol(Protocol) - Method in class org.miaixz.bus.http.Response.Builder
设置使用的协议。
PROTOCOL_ERROR - Enum constant in enum class org.miaixz.bus.http.metric.http.Http2ErrorCode
 
protocols() - Method in class org.miaixz.bus.http.Address
获取支持的协议列表
protocols() - Method in class org.miaixz.bus.http.Httpd
获取支持的协议列表。
protocols(List<Protocol>) - Method in class org.miaixz.bus.http.Httpd.Builder
设置支持的协议。
protocols(List<Protocol>) - Method in class org.miaixz.bus.http.plugin.httpz.HttpBuilder
 
proxy() - Method in class org.miaixz.bus.http.Address
获取显式指定的代理
proxy() - Method in class org.miaixz.bus.http.Httpd
获取配置的代理。
proxy() - Method in class org.miaixz.bus.http.plugin.httpx.HttpProxy
 
proxy() - Method in class org.miaixz.bus.http.Route
获取使用的代理。
proxy(Proxy) - Method in class org.miaixz.bus.http.Httpd.Builder
设置 HTTP 代理。
proxy(Proxy) - Method in class org.miaixz.bus.http.plugin.httpz.HttpBuilder
 
proxyAuthenticator() - Method in class org.miaixz.bus.http.Address
获取代理身份验证器
proxyAuthenticator() - Method in class org.miaixz.bus.http.Httpd
获取代理身份验证器。
proxyAuthenticator(Authenticator) - Method in class org.miaixz.bus.http.Httpd.Builder
设置用于响应来自代理服务器的挑战的验证器。
proxyAuthenticator(Authenticator) - Method in class org.miaixz.bus.http.plugin.httpz.HttpBuilder
 
proxySelector() - Method in class org.miaixz.bus.http.Address
获取代理选择器
proxySelector() - Method in class org.miaixz.bus.http.Httpd
获取代理选择器。
proxySelector(ProxySelector) - Method in class org.miaixz.bus.http.Httpd.Builder
设置代理选择器。
proxySelector(ProxySelector) - Method in class org.miaixz.bus.http.plugin.httpz.HttpBuilder
 
PSEUDO_PREFIX - Static variable in class org.miaixz.bus.http.metric.http.Http2Header
 
PUBLIC_SUFFIX_RESOURCE - Static variable in class org.miaixz.bus.http.metric.suffix.Suffixes
 
pushObserver(PushObserver) - Method in class org.miaixz.bus.http.metric.http.Http2Connection.Builder
 
PushObserver - Interface in org.miaixz.bus.http.metric.http
HTTP/2 在客户端处理服务器发起的HTTP请求 返回true以请求取消已推的流。
pushPromise(int, int, List<Http2Header>) - Method in class org.miaixz.bus.http.metric.http.Http2Writer
HTTP/2 only.
pushStream(int, List<Http2Header>, boolean) - Method in class org.miaixz.bus.http.metric.http.Http2Connection
返回一个新的服务器发起的流.
put() - Method in class org.miaixz.bus.http.Httpz.Client
创建 PutBuilder 实例,用于构建 PUT 请求。
put() - Static method in class org.miaixz.bus.http.Httpz
创建一个新的 PutBuilder 实例,用于构建 PUT 请求。
put() - Method in class org.miaixz.bus.http.plugin.httpv.CoverHttp.Async
发起 PUT 请求(Rest:更新资源,幂等)
put() - Method in class org.miaixz.bus.http.plugin.httpv.CoverHttp.Sync
发起 PUT 请求(Rest:更新资源,幂等)
put(String) - Static method in class org.miaixz.bus.http.Httpx
简单的 PUT 请求 使用默认编码 UTF-8
put(String, String, String) - Static method in class org.miaixz.bus.http.Httpx
带查询参数 PUT 请求 使用默认编码 UTF-8
put(String, String, String, String) - Static method in class org.miaixz.bus.http.Httpx
带查询参数 PUT 请求 使用默认编码 UTF-8
put(String, String, Map<String, String>, String) - Static method in class org.miaixz.bus.http.Httpx
带查询参数 PUT 请求 使用默认编码 UTF-8
put(String, Map<String, String>) - Static method in class org.miaixz.bus.http.Httpx
带查询参数 PUT 请求 使用默认编码 UTF-8
put(String, Map<String, String>, String) - Static method in class org.miaixz.bus.http.Httpx
带查询参数 PUT 请求 使用默认编码 UTF-8
put(String, Map<String, String>, String, String) - Static method in class org.miaixz.bus.http.Httpx
带查询参数 PUT 请求 使用自定义编码
put(String, Map<String, String>, Map<String, String>) - Static method in class org.miaixz.bus.http.Httpx
带查询参数 PUT 请求 使用自定义编码
put(String, Map<String, String>, Map<String, String>, String) - Static method in class org.miaixz.bus.http.Httpx
带查询参数 PUT 请求 使用自定义编码
put(String, Map<String, String>, Map<String, String>, String, String) - Static method in class org.miaixz.bus.http.Httpx
带查询参数 PUT 请求 使用自定义编码
put(RequestBody) - Method in class org.miaixz.bus.http.Request.Builder
设置为 PUT 请求。
put(Response) - Method in interface org.miaixz.bus.http.cache.InternalCache
 
PutBuilder - Class in org.miaixz.bus.http.plugin.httpz
PUT参数构造器
PutBuilder(Httpd) - Constructor for class org.miaixz.bus.http.plugin.httpz.PutBuilder
 
PutRequest - Class in org.miaixz.bus.http.plugin.httpz
PUT请求处理
PutRequest(String, Object, Map<String, String>, Map<String, String>, List<MultipartFile>, String, MultipartBody, String) - Constructor for class org.miaixz.bus.http.plugin.httpz.PutRequest
 

Q

query() - Method in class org.miaixz.bus.http.UnoUrl
获取解码后的查询字符串 http://host/null http://host/?"" http://host/?a=apple&k=key+lime"a=apple&k=key lime" http://host/?a=apple&a=apricot"a=apple&a=apricot" http://host/?a=apple&b"a=apple&b"
query(String) - Method in class org.miaixz.bus.http.UnoUrl.Builder
设置查询字符串
QUERY_COMPONENT_ENCODE_SET - Static variable in class org.miaixz.bus.http.UnoUrl
查询组件编码字符集
QUERY_COMPONENT_ENCODE_SET_URI - Static variable in class org.miaixz.bus.http.UnoUrl
URI 查询组件编码字符集
QUERY_COMPONENT_REENCODE_SET - Static variable in class org.miaixz.bus.http.UnoUrl
查询组件重新编码字符集
QUERY_ENCODE_SET - Static variable in class org.miaixz.bus.http.UnoUrl
查询参数编码字符集
queryParameter(String) - Method in class org.miaixz.bus.http.UnoUrl
获取指定名称的第一个查询参数值 http://host/null http://host/?null http://host/?a=apple&k=key+lime"apple" http://host/?a=apple&a=apricot"apple" http://host/?a=apple&b"apple"
queryParameterName(int) - Method in class org.miaixz.bus.http.UnoUrl
获取指定索引的查询参数名称 http://host/exceptionexception http://host/?""exception http://host/?a=apple&k=key+lime"a" "k" http://host/?a=apple&a=apricot"a" "a" http://host/?a=apple&b"a""b"
queryParameterNames() - Method in class org.miaixz.bus.http.UnoUrl
获取查询参数名称集合 http://host/[] http://host/?[""] http://host/?a=apple&k=key+lime["a", "k"] http://host/?a=apple&a=apricot["a"] http://host/?a=apple&b["a", "b"]
queryParameterValue(int) - Method in class org.miaixz.bus.http.UnoUrl
获取指定索引的查询参数值 http://host/exceptionexception http://host/?nullexception http://host/?a=apple&k=key+lime"apple" "key lime" http://host/?a=apple&a=apricot"apple" "apricot" http://host/?a=apple&b"apple"null
queryParameterValues(String) - Method in class org.miaixz.bus.http.UnoUrl
获取指定名称的所有查询参数值 http://host/[][] http://host/?[][] http://host/?a=apple&k=key+lime["apple"] [] http://host/?a=apple&a=apricot["apple", "apricot"][] http://host/?a=apple&b["apple"] [null]
querySize() - Method in class org.miaixz.bus.http.UnoUrl
获取查询参数数量 http://host/0 http://host/?1 http://host/?a=apple&k=key+lime2 http://host/?a=apple&a=apricot2 http://host/?a=apple&b2
queue(String, List<Stomp.Header>, Callback<Stomp.Message>) - Method in class org.miaixz.bus.http.Stomp
订阅队列消息(带附加头部)
queue(String, Callback<Stomp.Message>) - Method in class org.miaixz.bus.http.Stomp
订阅队列消息
queuedCalls() - Method in class org.miaixz.bus.http.metric.Dispatcher
Returns a snapshot of the calls currently awaiting execution.
queuedCallsCount() - Method in class org.miaixz.bus.http.metric.Dispatcher
 
queueSize() - Method in class org.miaixz.bus.http.plugin.httpv.CoverCall
 
queueSize() - Method in class org.miaixz.bus.http.socket.RealWebSocket
获取队列大小
queueSize() - Method in interface org.miaixz.bus.http.socket.WebSocket
 
QUOTED_STRING_DELIMITERS - Static variable in class org.miaixz.bus.http.Builder
引号字符串分隔符

R

read() - Method in class org.miaixz.bus.http.plugin.httpv.ProgressStream
 
readConnectionPreface(Http2Reader.Handler) - Method in class org.miaixz.bus.http.metric.http.Http2Reader
 
readHttp2HeadersList(Headers, Protocol) - Static method in class org.miaixz.bus.http.metric.http.Http2Codec
Returns headers for a name value block containing an HTTP/2 response.
readResponseHeaders(boolean) - Method in class org.miaixz.bus.http.accord.Exchange
 
readResponseHeaders(boolean) - Method in class org.miaixz.bus.http.metric.http.Http1Codec
 
readResponseHeaders(boolean) - Method in class org.miaixz.bus.http.metric.http.Http2Codec
 
readResponseHeaders(boolean) - Method in interface org.miaixz.bus.http.metric.http.HttpCodec
从HTTP传输解析响应头的字节
readTimeout() - Method in class org.miaixz.bus.http.metric.http.Http2Stream
 
readTimeout(long, TimeUnit) - Method in class org.miaixz.bus.http.Httpd.Builder
设置新连接的默认读取超时。
readTimeout(long, TimeUnit) - Method in class org.miaixz.bus.http.plugin.httpz.HttpBuilder
 
readTimeout(Duration) - Method in class org.miaixz.bus.http.Httpd.Builder
设置新连接的默认读取超时。
readTimeoutMillis() - Method in class org.miaixz.bus.http.Httpd
获取读取超时时间(毫秒)。
readTimeoutMillis() - Method in class org.miaixz.bus.http.metric.http.RealInterceptorChain
 
readTimeoutMillis() - Method in interface org.miaixz.bus.http.metric.NewChain
读操作超时时间
Real(CoverHttp<?>, CoverResult.State) - Constructor for class org.miaixz.bus.http.plugin.httpv.CoverResult.Real
 
Real(CoverHttp<?>, CoverResult.State, IOException) - Constructor for class org.miaixz.bus.http.plugin.httpv.CoverResult.Real
 
Real(CoverHttp<?>, CoverTasks.Executor) - Constructor for class org.miaixz.bus.http.plugin.httpv.CoverResult.Real
 
Real(CoverHttp<?>, Response, CoverTasks.Executor) - Constructor for class org.miaixz.bus.http.plugin.httpv.CoverResult.Real
 
RealCall - Class in org.miaixz.bus.http
HTTP 请求的实际执行者
RealCall.AsyncCall - Class in org.miaixz.bus.http
异步调用类
RealConnection - Class in org.miaixz.bus.http.accord
连接提供
RealConnection(RealConnectionPool, Route) - Constructor for class org.miaixz.bus.http.accord.RealConnection
 
realConnectionPool(ConnectionPool) - Method in class org.miaixz.bus.http.metric.Internal
 
RealConnectionPool - Class in org.miaixz.bus.http.accord
真实连接池
RealConnectionPool(int, long, TimeUnit) - Constructor for class org.miaixz.bus.http.accord.RealConnectionPool
 
RealInterceptorChain - Class in org.miaixz.bus.http.metric.http
承载整个拦截器链的具体拦截器链: 所有应用程序拦截器、Http核心、所有网络拦截器,最后是网络调用者.
RealInterceptorChain(List<Interceptor>, Transmitter, Exchange, int, Request, NewCall, int, int, int) - Constructor for class org.miaixz.bus.http.metric.http.RealInterceptorChain
 
realm() - Method in class org.miaixz.bus.http.secure.Challenge
Returns the protection space.
RealResponseBody - Class in org.miaixz.bus.http.bodys
HTTP 响应体
RealResponseBody(String, long, BufferSource) - Constructor for class org.miaixz.bus.http.bodys.RealResponseBody
构造函数,初始化 RealResponseBody 实例
RealWebSocket - Class in org.miaixz.bus.http.socket
WebSocket 客户端实现
RealWebSocket(Request, WebSocketListener, Random, long) - Constructor for class org.miaixz.bus.http.socket.RealWebSocket
构造函数,初始化 WebSocket 实例
RealWebSocket.Streams - Class in org.miaixz.bus.http.socket
WebSocket 数据流
receivedResponseAtMillis() - Method in class org.miaixz.bus.http.Response
获取接收响应头部的时间戳。
receivedResponseAtMillis(long) - Method in class org.miaixz.bus.http.Response.Builder
设置接收响应头部的时间戳。
receiveHeaders(CookieJar, UnoUrl, Headers) - Static method in class org.miaixz.bus.http.Headers
处理接收到的 Cookie 头部
redact() - Method in class org.miaixz.bus.http.UnoUrl
返回隐藏敏感信息的 URL
redactedUrl() - Method in class org.miaixz.bus.http.RealCall
获取隐藏敏感信息的 URL
REFUSE_INCOMING_STREAMS - Static variable in class org.miaixz.bus.http.metric.http.Http2Connection.Listener
 
REFUSED_STREAM - Enum constant in enum class org.miaixz.bus.http.metric.http.Http2ErrorCode
 
registeTagTask(Cancelable) - Method in class org.miaixz.bus.http.plugin.httpv.CoverHttp
 
remove(String) - Method in class org.miaixz.bus.http.cache.DiskLruCache
Drops the entry for key if it exists and can be removed.
remove(Request) - Method in interface org.miaixz.bus.http.cache.InternalCache
删除提供的request的所有缓存项。
removeAll(String) - Method in class org.miaixz.bus.http.Headers.Builder
移除指定名称的所有头部
removeAllEncodedQueryParameters(String) - Method in class org.miaixz.bus.http.UnoUrl.Builder
移除编码后的所有查询参数
removeAllQueryParameters(String) - Method in class org.miaixz.bus.http.UnoUrl.Builder
移除指定名称的所有查询参数
removeHeader(String) - Method in class org.miaixz.bus.http.Request.Builder
移除指定名称的所有头部。
removeHeader(String) - Method in class org.miaixz.bus.http.Response.Builder
移除指定名称的所有头部。
removePathSegment(int) - Method in class org.miaixz.bus.http.UnoUrl.Builder
移除路径段
removeTagTask() - Method in class org.miaixz.bus.http.plugin.httpv.CoverHttp
 
removeTagTask(CoverHttp<?>) - Method in class org.miaixz.bus.http.Httpv
 
rename(File, File) - Method in interface org.miaixz.bus.http.cache.DiskLruCache.DiskFile
Renames from to to.
reportedContentLength(Response) - Method in class org.miaixz.bus.http.metric.http.Http1Codec
 
reportedContentLength(Response) - Method in class org.miaixz.bus.http.metric.http.Http2Codec
 
reportedContentLength(Response) - Method in interface org.miaixz.bus.http.metric.http.HttpCodec
 
reqExceptionCount - Static variable in class org.miaixz.bus.http.plugin.httpz.HttpzState
 
reqFailureCount - Static variable in class org.miaixz.bus.http.plugin.httpz.HttpzState
 
reqTotalCount - Static variable in class org.miaixz.bus.http.plugin.httpz.HttpzState
 
request() - Method in class org.miaixz.bus.http.metric.http.RealInterceptorChain
 
request() - Method in interface org.miaixz.bus.http.metric.NewChain
 
request() - Method in interface org.miaixz.bus.http.NewCall
 
request() - Method in class org.miaixz.bus.http.RealCall
获取原始请求
request() - Method in class org.miaixz.bus.http.Response
获取发起此响应的原始请求。
request() - Method in class org.miaixz.bus.http.socket.RealWebSocket
获取原始请求
request() - Method in interface org.miaixz.bus.http.socket.WebSocket
 
request(String) - Method in class org.miaixz.bus.http.plugin.httpv.CoverHttp.Async
发起 HTTP 请求
request(String) - Method in class org.miaixz.bus.http.plugin.httpv.CoverHttp.Sync
发起 HTTP 请求
request(Request) - Method in class org.miaixz.bus.http.Httpv
 
request(Request) - Method in class org.miaixz.bus.http.Response.Builder
设置发起响应的请求。
Request - Class in org.miaixz.bus.http
HTTP 请求类,封装 HTTP 请求的所有信息,包括 URL、方法、头部、请求体和标签。
Request.Builder - Class in org.miaixz.bus.http
Request 构建器,用于创建和修改 Request 实例。
RequestBody - Class in org.miaixz.bus.http.bodys
HTTP 请求体
RequestBody() - Constructor for class org.miaixz.bus.http.bodys.RequestBody
 
requestBodyEnd(NewCall, long) - Method in class org.miaixz.bus.http.metric.EventListener
在发送请求主体后立即调用 此方法总是在EventListener.requestBodyStart(NewCall)之后调用
requestBodyStart(NewCall) - Method in class org.miaixz.bus.http.metric.EventListener
仅在发送请求主体之前调用。
RequestBuilder<T> - Class in org.miaixz.bus.http.plugin.httpz
请求参数构造器
RequestBuilder(Httpd) - Constructor for class org.miaixz.bus.http.plugin.httpz.RequestBuilder
 
RequestCall - Class in org.miaixz.bus.http.plugin.httpz
请求调用者
RequestCall(HttpRequest, Httpd) - Constructor for class org.miaixz.bus.http.plugin.httpz.RequestCall
 
requestCount() - Method in class org.miaixz.bus.http.cache.Cache
 
requestFailed(NewCall, IOException) - Method in class org.miaixz.bus.http.metric.EventListener
requestHeadersEnd(NewCall, Request) - Method in class org.miaixz.bus.http.metric.EventListener
发送请求头后立即调用.
requestHeadersStart(NewCall) - Method in class org.miaixz.bus.http.metric.EventListener
仅在发送请求头之前调用.
RequestLine - Class in org.miaixz.bus.http.metric.http
 
requestPath(UnoUrl) - Static method in class org.miaixz.bus.http.metric.http.RequestLine
Returns the path to request, like the '/' in 'GET / HTTP/1.1'.
requiresTunnel() - Method in class org.miaixz.bus.http.Route
检查路由是否需要通过 HTTP 代理进行 HTTPS 隧道传输。
reset() - Method in class org.miaixz.bus.http.plugin.soap.SoapBuilder
重置SOAP客户端,用于客户端复用 重置后需调用serMethod方法重新指定请求方法,并调用setParam方法重新定义参数
resolve(String) - Method in class org.miaixz.bus.http.UnoUrl
解析相对链接
response(Response) - Method in class org.miaixz.bus.http.plugin.httpv.CoverResult.Real
 
Response - Class in org.miaixz.bus.http
HTTP 响应类,封装 HTTP 响应的所有信息,包括请求、协议、状态码、头部、响应体等。
RESPONSE_STATUS - Static variable in class org.miaixz.bus.http.metric.http.Http2Header
 
Response.Builder - Class in org.miaixz.bus.http
Response 构建器,用于创建和修改 Response 实例。
ResponseBody - Class in org.miaixz.bus.http.bodys
HTTP 响应体
ResponseBody() - Constructor for class org.miaixz.bus.http.bodys.ResponseBody
 
responseBodyEnd(NewCall, long) - Method in class org.miaixz.bus.http.metric.EventListener
在接收到响应体并完成读取后立即调用.
responseBodyStart(NewCall) - Method in class org.miaixz.bus.http.metric.EventListener
仅在接收响应主体之前调用.
RESPONSED - Enum constant in enum class org.miaixz.bus.http.plugin.httpv.CoverResult.State
请求已响应
responseFailed(NewCall, IOException) - Method in class org.miaixz.bus.http.metric.EventListener
responseHeadersEnd(NewCall, Response) - Method in class org.miaixz.bus.http.metric.EventListener
在接收响应标头后立即调用 这个方法总是在EventListener.responseHeadersStart(org.miaixz.bus.http.NewCall)之后调用
responseHeadersEnd(Response) - Method in class org.miaixz.bus.http.accord.Exchange
 
responseHeadersStart() - Method in class org.miaixz.bus.http.accord.Exchange
 
responseHeadersStart(NewCall) - Method in class org.miaixz.bus.http.metric.EventListener
仅在接收响应标头之前调用.
responseListener() - Method in class org.miaixz.bus.http.Httpv.Builder
 
responseListener(CoverTasks.Listener<CoverResult>) - Method in class org.miaixz.bus.http.Httpv.Builder
设置全局响应监听
ResultBody - Class in org.miaixz.bus.http.plugin.httpv
 
ResultBody(CoverHttp<?>, Response, CoverTasks.Executor) - Constructor for class org.miaixz.bus.http.plugin.httpv.ResultBody
 
resume() - Method in class org.miaixz.bus.http.plugin.httpv.Downloads.Control
继续下载任务
RetryAndFollowUp - Class in org.miaixz.bus.http.metric.http
该拦截器从失败中恢复,并根据需要进行重定向 如果调用被取消,它可能会抛出IOException
RetryAndFollowUp(Httpd) - Constructor for class org.miaixz.bus.http.metric.http.RetryAndFollowUp
 
retryOnConnectionFailure() - Method in class org.miaixz.bus.http.Httpd
检查是否在连接失败时重试。
retryOnConnectionFailure(boolean) - Method in class org.miaixz.bus.http.Httpd.Builder
在遇到连接问题时,将此客户端配置为重试或不重试 将此设置为false,以避免在这样做会造成破坏时重试请求 在这种情况下,调用应用程序应该自己恢复连接故障.
retryOnConnectionFailure(boolean) - Method in class org.miaixz.bus.http.plugin.httpz.HttpBuilder
 
reuseCallsPerHostFrom(RealCall.AsyncCall) - Method in class org.miaixz.bus.http.RealCall.AsyncCall
重用其他异步调用的主机计数
route() - Method in interface org.miaixz.bus.http.accord.Connection
 
route() - Method in class org.miaixz.bus.http.accord.RealConnection
 
Route - Class in org.miaixz.bus.http
表示连接到源服务器的具体路由。
Route(Address, Proxy, InetSocketAddress) - Constructor for class org.miaixz.bus.http.Route
构造函数,初始化 Route 实例。
RouteDatabase - Class in org.miaixz.bus.http.accord
创建到目标地址的新连接时要避免的失败路由的黑名单 如果尝试连接到特定IP地址或代理服务器时出现故障, 则会记住该故障并首选备用路由
RouteDatabase() - Constructor for class org.miaixz.bus.http.accord.RouteDatabase
 
RouteException - Exception Class in org.miaixz.bus.http.accord
An exception thrown to indicate a problem connecting via a single Route.
RouteSelector - Class in org.miaixz.bus.http.accord
选择连接到源服务器的路由。
RouteSelector(Address, RouteDatabase, NewCall, EventListener) - Constructor for class org.miaixz.bus.http.accord.RouteSelector
 
RouteSelector.Selection - Class in org.miaixz.bus.http.accord
选定的路由
rstStream(int, Http2ErrorCode) - Method in class org.miaixz.bus.http.metric.http.Http2Writer
 
run() - Method in class org.miaixz.bus.http.metric.NamedRunnable
 
runningCalls() - Method in class org.miaixz.bus.http.metric.Dispatcher
Returns a snapshot of the calls currently being executed.
runningCallsCount() - Method in class org.miaixz.bus.http.metric.Dispatcher
 

S

sameConnection(UnoUrl, UnoUrl) - Static method in class org.miaixz.bus.http.Builder
检查两个 URL 是否可以复用连接
saveFromResponse(UnoUrl, List<Cookie>) - Method in interface org.miaixz.bus.http.metric.CookieJar
据这个jar's的策略将HTTP响应中的cookies保存到这个存储中 请注意,对于单个HTTP响应,如果响应包含一个拖车,则可以第二次调用此方法 对于这个模糊的HTTP特性,cookie只包含预告片的cookie
scheme() - Method in class org.miaixz.bus.http.secure.Challenge
Returns the authentication scheme, like Basic.
scheme() - Method in class org.miaixz.bus.http.UnoUrl
获取协议
scheme(String) - Method in class org.miaixz.bus.http.UnoUrl.Builder
设置协议
secure() - Method in class org.miaixz.bus.http.Cookie.Builder
设置仅限 HTTPS
secure() - Method in class org.miaixz.bus.http.Cookie
检查是否仅限 HTTPS
secureConnectEnd(NewCall, Handshake) - Method in class org.miaixz.bus.http.metric.EventListener
尝试TLS连接后立即调用.
secureConnectStart(NewCall) - Method in class org.miaixz.bus.http.metric.EventListener
在启动TLS连接之前调用.
select(URI) - Method in class org.miaixz.bus.http.metric.proxy.NullProxySelector
 
send() - Method in class org.miaixz.bus.http.plugin.soap.SoapBuilder
执行Webservice请求,即发送SOAP内容
send(boolean) - Method in class org.miaixz.bus.http.plugin.soap.SoapBuilder
执行Webservice请求,即发送SOAP内容
send(Object) - Method in class org.miaixz.bus.http.plugin.httpv.CoverCall
 
send(String) - Method in class org.miaixz.bus.http.socket.RealWebSocket
发送文本消息
send(String) - Method in interface org.miaixz.bus.http.socket.WebSocket
尝试将text编码为UTF-8并将其作为文本(类型为0x1)消息的数据发送 如果消息被加入队列,此方法将返回true。
send(ByteString) - Method in class org.miaixz.bus.http.socket.RealWebSocket
发送二进制消息
send(ByteString) - Method in interface org.miaixz.bus.http.socket.WebSocket
尝试将bytes作为二进制(类型为0x2)消息的数据发送 如果消息被加入队列,此方法将返回true。
send(Stomp.Message) - Method in class org.miaixz.bus.http.Stomp
发送 STOMP 消息到服务器
SEND - Static variable in class org.miaixz.bus.http.Builder
SEND 命令
sendForMessage() - Method in class org.miaixz.bus.http.plugin.soap.SoapBuilder
执行Webservice请求,即发送SOAP内容
sendForResponse() - Method in class org.miaixz.bus.http.plugin.soap.SoapBuilder
发送请求,获取异步响应
sendTo(String, String) - Method in class org.miaixz.bus.http.Stomp
发送消息到指定目标地址
sentRequestAtMillis() - Method in class org.miaixz.bus.http.Response
获取发送请求的时间戳。
sentRequestAtMillis(long) - Method in class org.miaixz.bus.http.Response.Builder
设置发送请求的时间戳。
serialize(Object, String, Charset) - Method in class org.miaixz.bus.http.plugin.httpv.Convertor.FormConvertor
 
serialize(Object, String, Charset) - Method in interface org.miaixz.bus.http.plugin.httpv.Convertor
将 Java 对象序列化为字节数组
serialize(Object, Charset) - Method in class org.miaixz.bus.http.plugin.httpv.Convertor.FormConvertor
 
serialize(Object, Charset) - Method in interface org.miaixz.bus.http.plugin.httpv.Convertor
将 Java 对象序列化为字节数组
SerialPreprocessor(Preprocessor) - Constructor for class org.miaixz.bus.http.Httpv.SerialPreprocessor
 
set(int, int) - Method in class org.miaixz.bus.http.metric.http.Http2Settings
 
set(String, String) - Method in class org.miaixz.bus.http.Headers.Builder
设置头部
set(String, Instant) - Method in class org.miaixz.bus.http.Headers.Builder
设置 Instant 头部
set(String, Date) - Method in class org.miaixz.bus.http.Headers.Builder
设置日期头部
setAppended() - Method in class org.miaixz.bus.http.plugin.httpv.Downloads
设置文件追加模式 用预断点续传和分块下载
setBodyPara(Object) - Method in class org.miaixz.bus.http.plugin.httpv.CoverHttp
设置 json 请求体
setBuffSize(int) - Method in class org.miaixz.bus.http.plugin.httpv.Downloads
设置缓冲区大小,默认 2K(2048)
setCharset(Charset) - Method in class org.miaixz.bus.http.plugin.httpv.CoverCall
 
setClient(Httpz.Client) - Static method in class org.miaixz.bus.http.Httpz
设置自定义客户端实例。
setEncodedPathSegment(int, String) - Method in class org.miaixz.bus.http.UnoUrl.Builder
设置编码后的路径段
setEncodedQueryParameter(String, String) - Method in class org.miaixz.bus.http.UnoUrl.Builder
设置编码后的查询参数(替换现有参数)
setFilePointer(long) - Method in class org.miaixz.bus.http.plugin.httpv.Downloads
设置文件指针,从文件的 seekBytes 位置追加内容
setHttpd(Httpd) - Method in class org.miaixz.bus.http.Httpz.Client
设置 Httpd 客户端。
setIdleCallback(Runnable) - Method in class org.miaixz.bus.http.metric.Dispatcher
设置一个回调,以便每次调度程序变为空闲时调用(当运行的调用数量返回零时)
setLegacyWhitespace(boolean) - Method in class org.miaixz.bus.http.Stomp
设置是否使用传统空白字符格式
setMaxRequests(int) - Method in class org.miaixz.bus.http.metric.Dispatcher
设置并发执行的最大请求数。
setMaxRequestsPerHost(int) - Method in class org.miaixz.bus.http.metric.Dispatcher
设置每个主机并发执行的最大请求数。
setMaxSize(long) - Method in class org.miaixz.bus.http.cache.DiskLruCache
Changes the maximum number of bytes the cache can store and queues a job to trim the existing store, if necessary.
setMethod(Name, Map<String, Object>, boolean) - Method in class org.miaixz.bus.http.plugin.soap.SoapBuilder
设置请求方法
setMethod(String) - Method in class org.miaixz.bus.http.plugin.soap.SoapBuilder
设置请求方法 方法名自动识别前缀,前缀和方法名使用“:”分隔 当识别到前缀后,自动添加xmlns属性,关联到默认的namespaceURI
setMethod(String, String) - Method in class org.miaixz.bus.http.plugin.soap.SoapBuilder
设置请求方法 方法名自动识别前缀,前缀和方法名使用“:”分隔 当识别到前缀后,自动添加xmlns属性,关联到传入的namespaceURI
setMethod(QName) - Method in class org.miaixz.bus.http.plugin.soap.SoapBuilder
设置请求方法
setMethod(QName, Map<String, Object>, boolean) - Method in class org.miaixz.bus.http.plugin.soap.SoapBuilder
设置请求方法
setOnClosed(CoverCall.Register<CoverCall.Close>) - Method in class org.miaixz.bus.http.plugin.httpv.CoverCall.Client
已关闭监听(当连接被取消或发生异常时,也会走该回调)
setOnClosing(CoverCall.Register<CoverCall.Close>) - Method in class org.miaixz.bus.http.plugin.httpv.CoverCall.Client
正在关闭监听
setOnComplete(Callback<CoverResult.State>) - Method in class org.miaixz.bus.http.plugin.httpv.CoverHttp.Async
设置请求执行完成后的回调函数,无论成功|失败|异常 都会被执行
setOnConnected(Callback<Stomp>) - Method in class org.miaixz.bus.http.Stomp
设置连接成功回调
setOnDisconnected(Callback<CoverCall.Close>) - Method in class org.miaixz.bus.http.Stomp
设置连接断开回调
setOnError(Callback<Stomp.Message>) - Method in class org.miaixz.bus.http.Stomp
设置错误消息回调
setOnException(Callback<IOException>) - Method in class org.miaixz.bus.http.plugin.httpv.CoverHttp.Async
设置请求执行异常后的回调函数,设置后,相关异常将不再向上抛出
setOnException(CoverCall.Register<Throwable>) - Method in class org.miaixz.bus.http.plugin.httpv.CoverCall.Client
连接异常监听
setOnFailure(Callback<Downloads.Failure>) - Method in class org.miaixz.bus.http.plugin.httpv.Downloads
设置下载失败回调
setOnMessage(CoverCall.Register<CoverCall.Message>) - Method in class org.miaixz.bus.http.plugin.httpv.CoverCall.Client
消息监听
setOnOpen(CoverCall.Register<CoverResult>) - Method in class org.miaixz.bus.http.plugin.httpv.CoverCall.Client
连接打开监听
setOnProcess(Callback<Progress>) - Method in class org.miaixz.bus.http.plugin.httpv.CoverHttp
设置报文体发送进度回调
setOnProcess(Callback<Progress>) - Method in interface org.miaixz.bus.http.plugin.httpv.CoverResult.Body
设置报文体接收进度回调
setOnProcess(Callback<Progress>) - Method in class org.miaixz.bus.http.plugin.httpv.ResultBody
 
setOnResponse(Callback<CoverResult>) - Method in class org.miaixz.bus.http.plugin.httpv.CoverHttp.Async
设置请求得到响应后的回调函数
setOnSuccess(Callback<File>) - Method in class org.miaixz.bus.http.plugin.httpv.Downloads
设置下载成功回调
setParam(String, Object) - Method in class org.miaixz.bus.http.plugin.soap.SoapBuilder
设置方法参数,使用方法的前缀
setParam(String, Object, boolean) - Method in class org.miaixz.bus.http.plugin.soap.SoapBuilder
设置方法参数
setParams(Map<String, Object>) - Method in class org.miaixz.bus.http.plugin.soap.SoapBuilder
批量设置参数,使用方法的前缀
setParams(Map<String, Object>, boolean) - Method in class org.miaixz.bus.http.plugin.soap.SoapBuilder
批量设置参数
setPathSegment(int, String) - Method in class org.miaixz.bus.http.UnoUrl.Builder
设置路径段
setQueryParameter(String, String) - Method in class org.miaixz.bus.http.UnoUrl.Builder
设置查询参数(替换现有参数)
setRange(long) - Method in class org.miaixz.bus.http.plugin.httpv.CoverHttp
设置Range头信息 表示接收报文体时跳过的字节数,用于断点续传
setRange(long, long) - Method in class org.miaixz.bus.http.plugin.httpv.CoverHttp
设置Range头信息 设置接收报文体时接收的范围,用于分块下载
setRangeIgnored() - Method in interface org.miaixz.bus.http.plugin.httpv.CoverResult.Body
设置进度回调忽略响应的Range头信息,即进度回调会从0开始
setRangeIgnored() - Method in class org.miaixz.bus.http.plugin.httpv.ResultBody
 
setSettings(Http2Settings) - Method in class org.miaixz.bus.http.metric.http.Http2Connection
Merges settings into this peer's settings and sends them to the remote peer.
setTag(String) - Method in class org.miaixz.bus.http.Httpv.TagTask
 
settings(Http2Settings) - Method in class org.miaixz.bus.http.metric.http.Http2Writer
Write httpd's settings to the peer.
setType(MediaType) - Method in class org.miaixz.bus.http.bodys.MultipartBody.Builder
设置媒体类型
setUrl(String) - Method in class org.miaixz.bus.http.plugin.soap.SoapBuilder
设置Webservice请求地址
shouldPostpone(Route) - Method in class org.miaixz.bus.http.accord.RouteDatabase
如果route最近失败,应该避免返回true
shutdown() - Method in class org.miaixz.bus.http.plugin.httpv.CoverTasks.Executor
关闭线程池
shutdown(Http2ErrorCode) - Method in class org.miaixz.bus.http.metric.http.Http2Connection
Degrades this connection such that new streams can neither be created locally, nor accepted from the remote peer.
sink - Variable in class org.miaixz.bus.http.socket.RealWebSocket.Streams
输出流
sink(File) - Method in interface org.miaixz.bus.http.cache.DiskLruCache.DiskFile
Writes to file, discarding any data already present.
size() - Method in class org.miaixz.bus.http.bodys.FormBody
获取表单字段数量
size() - Method in class org.miaixz.bus.http.bodys.MultipartBody
获取部分数量
size() - Method in class org.miaixz.bus.http.cache.Cache
 
size() - Method in class org.miaixz.bus.http.cache.DiskLruCache
Returns the number of bytes currently being used to store the values in this cache.
size() - Method in class org.miaixz.bus.http.Headers
获取头部数量
size() - Method in class org.miaixz.bus.http.metric.http.Http2Settings
具有指定值的设置的大小
size() - Method in interface org.miaixz.bus.http.plugin.httpv.CoverArray
 
size() - Method in interface org.miaixz.bus.http.plugin.httpv.CoverWapper
 
size(File) - Method in interface org.miaixz.bus.http.cache.DiskLruCache.DiskFile
Returns the number of bytes stored in file, or 0 if it does not exist.
skipAll(Source, int, TimeUnit) - Static method in class org.miaixz.bus.http.Builder
读取数据源直到耗尽或超时
skipConnectBody(Response) - Method in class org.miaixz.bus.http.metric.http.Http1Codec
The response body from a CONNECT should be empty, but if it is not then we should consume it before proceeding.
skipLeadingAsciiWhitespace(String, int, int) - Static method in class org.miaixz.bus.http.Builder
跳过前导 ASCII 空白字符
skipPreproc - Variable in class org.miaixz.bus.http.plugin.httpv.CoverHttp
 
skipPreproc() - Method in class org.miaixz.bus.http.plugin.httpv.CoverHttp
指定该请求跳过任何预处理器(包括串行和并行)
skipSerialPreproc - Variable in class org.miaixz.bus.http.plugin.httpv.CoverHttp
 
skipSerialPreproc() - Method in class org.miaixz.bus.http.plugin.httpv.CoverHttp
指定该请求跳过任何串行预处理器
skipTrailingAsciiWhitespace(String, int, int) - Static method in class org.miaixz.bus.http.Builder
跳过尾部 ASCII 空白字符
skipUntil(String, int, String) - Static method in class org.miaixz.bus.http.Headers
跳到指定字符
skipWhitespace(String, int) - Static method in class org.miaixz.bus.http.Headers
跳过空白字符
sMaxAgeSeconds() - Method in class org.miaixz.bus.http.cache.CacheControl
 
snapshots() - Method in class org.miaixz.bus.http.cache.DiskLruCache
返回缓存当前项的迭代器。
SoapBuilder - Class in org.miaixz.bus.http.plugin.soap
SOAP 支持 此对象用于构建一个SOAP消息,并通过HTTP接口发出消息内容。
SoapBuilder(String) - Constructor for class org.miaixz.bus.http.plugin.soap.SoapBuilder
构造,默认使用soap1.2版本协议
SoapBuilder(String, Protocol) - Constructor for class org.miaixz.bus.http.plugin.soap.SoapBuilder
构造
SoapBuilder(String, Protocol, String) - Constructor for class org.miaixz.bus.http.plugin.soap.SoapBuilder
构造
SoapX - Class in org.miaixz.bus.http
SOAP相关工具类
SoapX() - Constructor for class org.miaixz.bus.http.SoapX
 
socket() - Method in interface org.miaixz.bus.http.accord.Connection
 
socket() - Method in class org.miaixz.bus.http.accord.RealConnection
 
socket(Socket) - Method in class org.miaixz.bus.http.metric.http.Http2Connection.Builder
 
socket(Socket, String, BufferSource, BufferSink) - Method in class org.miaixz.bus.http.metric.http.Http2Connection.Builder
 
socketAddress() - Method in class org.miaixz.bus.http.Route
获取目标套接字地址。
socketFactory() - Method in class org.miaixz.bus.http.Address
获取套接字工厂
socketFactory() - Method in class org.miaixz.bus.http.Httpd
获取套接字工厂。
socketFactory(SocketFactory) - Method in class org.miaixz.bus.http.Httpd.Builder
设置套接字工厂。
socketFactory(SocketFactory) - Method in class org.miaixz.bus.http.plugin.httpz.HttpBuilder
 
source - Variable in class org.miaixz.bus.http.metric.http.Http2Reader
 
source - Variable in class org.miaixz.bus.http.socket.RealWebSocket.Streams
数据源
source() - Method in class org.miaixz.bus.http.bodys.RealResponseBody
获取数据源
source() - Method in class org.miaixz.bus.http.bodys.ResponseBody
获取数据源
source() - Method in class org.miaixz.bus.http.plugin.httpz.FileInterceptor.DownloadFileProgressResponseBody
 
source(File) - Method in interface org.miaixz.bus.http.cache.DiskLruCache.DiskFile
Reads from file.
sslContext(SSLContext) - Method in class org.miaixz.bus.http.plugin.httpz.HttpBuilder
 
sslSocketFactory() - Method in class org.miaixz.bus.http.Address
获取 SSL 套接字工厂
sslSocketFactory() - Method in class org.miaixz.bus.http.Httpd
获取 SSL 套接字工厂。
sslSocketFactory(SSLSocketFactory) - Method in class org.miaixz.bus.http.Httpd.Builder
设置 SSL 套接字工厂。
sslSocketFactory(SSLSocketFactory) - Method in class org.miaixz.bus.http.plugin.httpz.HttpBuilder
 
sslSocketFactory(SSLSocketFactory, X509TrustManager) - Method in class org.miaixz.bus.http.Httpd.Builder
设置用于保护HTTPS连接的套接字工厂和信任管理器。
sslSocketFactory(SSLSocketFactory, X509TrustManager) - Method in class org.miaixz.bus.http.plugin.httpz.HttpBuilder
 
start() - Method in class org.miaixz.bus.http.metric.http.Http2Connection
Sends any initial frames and starts reading frames from the remote peer.
start() - Method in class org.miaixz.bus.http.plugin.httpv.Downloads
开始下载
startTime - Static variable in class org.miaixz.bus.http.plugin.httpz.HttpzState
 
status() - Method in class org.miaixz.bus.http.plugin.httpv.Downloads.Control
 
STATUS__CANCELED - Static variable in class org.miaixz.bus.http.plugin.httpv.Downloads.Control
已取消
STATUS__DONE - Static variable in class org.miaixz.bus.http.plugin.httpv.Downloads.Control
已完成
STATUS__DOWNLOADING - Static variable in class org.miaixz.bus.http.plugin.httpv.Downloads.Control
下载中
STATUS__ERROR - Static variable in class org.miaixz.bus.http.plugin.httpv.Downloads.Control
错误
STATUS__PAUSED - Static variable in class org.miaixz.bus.http.plugin.httpv.Downloads.Control
已暂停
StatusLine - Class in org.miaixz.bus.http.metric.http
HTTP响应“HTTP/ 1.1200 OK”这样的在线状态.
StatusLine(Protocol, int, String) - Constructor for class org.miaixz.bus.http.metric.http.StatusLine
 
stepBytes(long) - Method in class org.miaixz.bus.http.plugin.httpv.CoverHttp
设置进度回调的步进字节,默认 8K(8192) 表示每接收 stepBytes 个字节,执行一次进度回调
stepBytes(long) - Method in interface org.miaixz.bus.http.plugin.httpv.CoverResult.Body
设置进度回调的步进字节,默认 8K(8192) 表示每接收 stepBytes 个字节,执行一次进度回调
stepBytes(long) - Method in class org.miaixz.bus.http.plugin.httpv.ResultBody
 
stepRate(double) - Method in class org.miaixz.bus.http.plugin.httpv.CoverHttp
设置进度回调的步进比例 表示每接收 stepRate 比例,执行一次进度回调
stepRate(double) - Method in interface org.miaixz.bus.http.plugin.httpv.CoverResult.Body
设置进度回调的步进比例 表示每接收 stepRate 比例,执行一次进度回调
stepRate(double) - Method in class org.miaixz.bus.http.plugin.httpv.ResultBody
 
Stomp - Class in org.miaixz.bus.http
WebSocket 的 STOMP 协议客户端
Stomp.Header - Class in org.miaixz.bus.http
STOMP 头部类
Stomp.Message - Class in org.miaixz.bus.http
STOMP 消息类
stopStat() - Static method in class org.miaixz.bus.http.plugin.httpz.HttpzState
 
StreamException - Exception Class in org.miaixz.bus.http.metric.http
当取消HTTP/2流而不损坏承载它的套接字时抛出
StreamException(Http2ErrorCode) - Constructor for exception class org.miaixz.bus.http.metric.http.StreamException
 
Streams(boolean, BufferSource, BufferSink) - Constructor for class org.miaixz.bus.http.socket.RealWebSocket.Streams
构造函数
string() - Method in class org.miaixz.bus.http.bodys.ResponseBody
获取响应内容的字符串
subscribe(String, List<Stomp.Header>, Callback<Stomp.Message>) - Method in class org.miaixz.bus.http.Stomp
订阅指定地址的消息
SUBSCRIBE - Static variable in class org.miaixz.bus.http.Builder
SUBSCRIBE 命令
SUBSCRIPTION - Static variable in class org.miaixz.bus.http.Stomp.Header
订阅标识头部
Suffixes - Class in org.miaixz.bus.http.metric.suffix
A database of public suffixes provided by publicsuffix.org.
Suffixes() - Constructor for class org.miaixz.bus.http.metric.suffix.Suffixes
 
SUPPORTED_VERSIONS - Static variable in class org.miaixz.bus.http.Stomp
支持的 STOMP 协议版本
supportsTlsExtensions() - Method in class org.miaixz.bus.http.accord.ConnectionSuite
 
supportsTlsExtensions(boolean) - Method in class org.miaixz.bus.http.accord.ConnectionSuite.Builder
 
supportsUrl(UnoUrl) - Method in class org.miaixz.bus.http.accord.RealConnection
 
sync(String) - Method in class org.miaixz.bus.http.Httpv
 
Sync(Httpv, String) - Constructor for class org.miaixz.bus.http.plugin.httpv.CoverHttp.Sync
 
SYSTEM - Static variable in interface org.miaixz.bus.http.cache.DiskLruCache.DiskFile
The host machine's local file system.
SYSTEM - Static variable in interface org.miaixz.bus.http.DnsX
使用InetAddress.getAllByName(String)请求底层操作系统 查找IP地址的DNS。

T

tag - Variable in class org.miaixz.bus.http.plugin.httpz.RequestBuilder
 
tag() - Method in class org.miaixz.bus.http.Request
获取使用 Object.class 作为键的标签。
tag(Class<? extends T>) - Method in class org.miaixz.bus.http.Request
获取指定类型的标签。
tag(Class<? super T>, T) - Method in class org.miaixz.bus.http.Request.Builder
使用指定类型作为键附加标签。
tag(Object) - Method in class org.miaixz.bus.http.plugin.httpz.RequestBuilder
 
tag(Object) - Method in class org.miaixz.bus.http.Request.Builder
使用 Object.class 作为键附加标签。
tag(String) - Method in class org.miaixz.bus.http.plugin.httpv.CoverHttp
 
tagTasks() - Method in class org.miaixz.bus.http.Httpv
 
takeHeaders() - Method in class org.miaixz.bus.http.metric.http.Http2Stream
Removes and returns the stream's received response headers, blocking if necessary until headers have been received.
TARGET_AUTHORITY - Static variable in class org.miaixz.bus.http.metric.http.Http2Header
 
TARGET_METHOD - Static variable in class org.miaixz.bus.http.metric.http.Http2Header
 
TARGET_PATH - Static variable in class org.miaixz.bus.http.metric.http.Http2Header
 
TARGET_SCHEME - Static variable in class org.miaixz.bus.http.metric.http.Http2Header
 
TextCallback - Class in org.miaixz.bus.http.plugin.httpz
回调处理
TextCallback() - Constructor for class org.miaixz.bus.http.plugin.httpz.TextCallback
 
threadFactory(String, boolean) - Static method in class org.miaixz.bus.http.Builder
创建线程工厂
timeout() - Method in class org.miaixz.bus.http.accord.Transmitter
 
timeout() - Method in interface org.miaixz.bus.http.NewCall
返回跨越整个调用的超时:解析DNS、连接、写入请求体、服务器处理和读取响应体 如果调用需要重定向或重试,所有操作都必须在一个超时周期内完成 使用Httpd.Builder.callTimeout配置客户端的默认超时
timeout() - Method in class org.miaixz.bus.http.RealCall
获取超时配置
TIMEOUT - Enum constant in enum class org.miaixz.bus.http.plugin.httpv.CoverResult.State
网络超时
TIMEOUT - Static variable in class org.miaixz.bus.http.plugin.httpv.CoverCall.Close
 
timeoutAwait(CountDownLatch) - Method in class org.miaixz.bus.http.plugin.httpv.CoverHttp
 
timeoutEarlyExit() - Method in class org.miaixz.bus.http.accord.Exchange
 
timeoutEarlyExit() - Method in class org.miaixz.bus.http.accord.Transmitter
在调用完全完成之前停止应用超时 这用于WebSockets和双工调用,其中超时只适用于初始设置
timeoutEnter() - Method in class org.miaixz.bus.http.accord.Transmitter
 
timeoutResult() - Method in class org.miaixz.bus.http.plugin.httpv.CoverHttp
 
TLS_AES_128_CCM_8_SHA256 - Static variable in class org.miaixz.bus.http.secure.CipherSuite
 
TLS_AES_128_CCM_SHA256 - Static variable in class org.miaixz.bus.http.secure.CipherSuite
 
TLS_AES_128_GCM_SHA256 - Static variable in class org.miaixz.bus.http.secure.CipherSuite
 
TLS_AES_256_GCM_SHA384 - Static variable in class org.miaixz.bus.http.secure.CipherSuite
 
TLS_CHACHA20_POLY1305_SHA256 - Static variable in class org.miaixz.bus.http.secure.CipherSuite
 
TLS_DH_anon_EXPORT_WITH_DES40_CBC_SHA - Static variable in class org.miaixz.bus.http.secure.CipherSuite
 
TLS_DH_anon_EXPORT_WITH_RC4_40_MD5 - Static variable in class org.miaixz.bus.http.secure.CipherSuite
 
TLS_DH_anon_WITH_3DES_EDE_CBC_SHA - Static variable in class org.miaixz.bus.http.secure.CipherSuite
 
TLS_DH_anon_WITH_AES_128_CBC_SHA - Static variable in class org.miaixz.bus.http.secure.CipherSuite
 
TLS_DH_anon_WITH_AES_128_CBC_SHA256 - Static variable in class org.miaixz.bus.http.secure.CipherSuite
 
TLS_DH_anon_WITH_AES_128_GCM_SHA256 - Static variable in class org.miaixz.bus.http.secure.CipherSuite
 
TLS_DH_anon_WITH_AES_256_CBC_SHA - Static variable in class org.miaixz.bus.http.secure.CipherSuite
 
TLS_DH_anon_WITH_AES_256_CBC_SHA256 - Static variable in class org.miaixz.bus.http.secure.CipherSuite
 
TLS_DH_anon_WITH_AES_256_GCM_SHA384 - Static variable in class org.miaixz.bus.http.secure.CipherSuite
 
TLS_DH_anon_WITH_DES_CBC_SHA - Static variable in class org.miaixz.bus.http.secure.CipherSuite
 
TLS_DH_anon_WITH_RC4_128_MD5 - Static variable in class org.miaixz.bus.http.secure.CipherSuite
 
TLS_DHE_DSS_EXPORT_WITH_DES40_CBC_SHA - Static variable in class org.miaixz.bus.http.secure.CipherSuite
 
TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA - Static variable in class org.miaixz.bus.http.secure.CipherSuite
 
TLS_DHE_DSS_WITH_AES_128_CBC_SHA - Static variable in class org.miaixz.bus.http.secure.CipherSuite
 
TLS_DHE_DSS_WITH_AES_128_CBC_SHA256 - Static variable in class org.miaixz.bus.http.secure.CipherSuite
 
TLS_DHE_DSS_WITH_AES_128_GCM_SHA256 - Static variable in class org.miaixz.bus.http.secure.CipherSuite
 
TLS_DHE_DSS_WITH_AES_256_CBC_SHA - Static variable in class org.miaixz.bus.http.secure.CipherSuite
 
TLS_DHE_DSS_WITH_AES_256_CBC_SHA256 - Static variable in class org.miaixz.bus.http.secure.CipherSuite
 
TLS_DHE_DSS_WITH_AES_256_GCM_SHA384 - Static variable in class org.miaixz.bus.http.secure.CipherSuite
 
TLS_DHE_DSS_WITH_CAMELLIA_128_CBC_SHA - Static variable in class org.miaixz.bus.http.secure.CipherSuite
 
TLS_DHE_DSS_WITH_CAMELLIA_256_CBC_SHA - Static variable in class org.miaixz.bus.http.secure.CipherSuite
 
TLS_DHE_DSS_WITH_DES_CBC_SHA - Static variable in class org.miaixz.bus.http.secure.CipherSuite
 
TLS_DHE_RSA_EXPORT_WITH_DES40_CBC_SHA - Static variable in class org.miaixz.bus.http.secure.CipherSuite
 
TLS_DHE_RSA_WITH_3DES_EDE_CBC_SHA - Static variable in class org.miaixz.bus.http.secure.CipherSuite
 
TLS_DHE_RSA_WITH_AES_128_CBC_SHA - Static variable in class org.miaixz.bus.http.secure.CipherSuite
 
TLS_DHE_RSA_WITH_AES_128_CBC_SHA256 - Static variable in class org.miaixz.bus.http.secure.CipherSuite
 
TLS_DHE_RSA_WITH_AES_128_GCM_SHA256 - Static variable in class org.miaixz.bus.http.secure.CipherSuite
 
TLS_DHE_RSA_WITH_AES_256_CBC_SHA - Static variable in class org.miaixz.bus.http.secure.CipherSuite
 
TLS_DHE_RSA_WITH_AES_256_CBC_SHA256 - Static variable in class org.miaixz.bus.http.secure.CipherSuite
 
TLS_DHE_RSA_WITH_AES_256_GCM_SHA384 - Static variable in class org.miaixz.bus.http.secure.CipherSuite
 
TLS_DHE_RSA_WITH_CAMELLIA_128_CBC_SHA - Static variable in class org.miaixz.bus.http.secure.CipherSuite
 
TLS_DHE_RSA_WITH_CAMELLIA_256_CBC_SHA - Static variable in class org.miaixz.bus.http.secure.CipherSuite
 
TLS_DHE_RSA_WITH_CHACHA20_POLY1305_SHA256 - Static variable in class org.miaixz.bus.http.secure.CipherSuite
 
TLS_DHE_RSA_WITH_DES_CBC_SHA - Static variable in class org.miaixz.bus.http.secure.CipherSuite
 
TLS_ECDH_anon_WITH_3DES_EDE_CBC_SHA - Static variable in class org.miaixz.bus.http.secure.CipherSuite
 
TLS_ECDH_anon_WITH_AES_128_CBC_SHA - Static variable in class org.miaixz.bus.http.secure.CipherSuite
 
TLS_ECDH_anon_WITH_AES_256_CBC_SHA - Static variable in class org.miaixz.bus.http.secure.CipherSuite
 
TLS_ECDH_anon_WITH_NULL_SHA - Static variable in class org.miaixz.bus.http.secure.CipherSuite
 
TLS_ECDH_anon_WITH_RC4_128_SHA - Static variable in class org.miaixz.bus.http.secure.CipherSuite
 
TLS_ECDH_ECDSA_WITH_3DES_EDE_CBC_SHA - Static variable in class org.miaixz.bus.http.secure.CipherSuite
 
TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA - Static variable in class org.miaixz.bus.http.secure.CipherSuite
 
TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA256 - Static variable in class org.miaixz.bus.http.secure.CipherSuite
 
TLS_ECDH_ECDSA_WITH_AES_128_GCM_SHA256 - Static variable in class org.miaixz.bus.http.secure.CipherSuite
 
TLS_ECDH_ECDSA_WITH_AES_256_CBC_SHA - Static variable in class org.miaixz.bus.http.secure.CipherSuite
 
TLS_ECDH_ECDSA_WITH_AES_256_CBC_SHA384 - Static variable in class org.miaixz.bus.http.secure.CipherSuite
 
TLS_ECDH_ECDSA_WITH_AES_256_GCM_SHA384 - Static variable in class org.miaixz.bus.http.secure.CipherSuite
 
TLS_ECDH_ECDSA_WITH_NULL_SHA - Static variable in class org.miaixz.bus.http.secure.CipherSuite
 
TLS_ECDH_ECDSA_WITH_RC4_128_SHA - Static variable in class org.miaixz.bus.http.secure.CipherSuite
 
TLS_ECDH_RSA_WITH_3DES_EDE_CBC_SHA - Static variable in class org.miaixz.bus.http.secure.CipherSuite
 
TLS_ECDH_RSA_WITH_AES_128_CBC_SHA - Static variable in class org.miaixz.bus.http.secure.CipherSuite
 
TLS_ECDH_RSA_WITH_AES_128_CBC_SHA256 - Static variable in class org.miaixz.bus.http.secure.CipherSuite
 
TLS_ECDH_RSA_WITH_AES_128_GCM_SHA256 - Static variable in class org.miaixz.bus.http.secure.CipherSuite
 
TLS_ECDH_RSA_WITH_AES_256_CBC_SHA - Static variable in class org.miaixz.bus.http.secure.CipherSuite
 
TLS_ECDH_RSA_WITH_AES_256_CBC_SHA384 - Static variable in class org.miaixz.bus.http.secure.CipherSuite
 
TLS_ECDH_RSA_WITH_AES_256_GCM_SHA384 - Static variable in class org.miaixz.bus.http.secure.CipherSuite
 
TLS_ECDH_RSA_WITH_NULL_SHA - Static variable in class org.miaixz.bus.http.secure.CipherSuite
 
TLS_ECDH_RSA_WITH_RC4_128_SHA - Static variable in class org.miaixz.bus.http.secure.CipherSuite
 
TLS_ECDHE_ECDSA_WITH_3DES_EDE_CBC_SHA - Static variable in class org.miaixz.bus.http.secure.CipherSuite
 
TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA - Static variable in class org.miaixz.bus.http.secure.CipherSuite
 
TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256 - Static variable in class org.miaixz.bus.http.secure.CipherSuite
 
TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256 - Static variable in class org.miaixz.bus.http.secure.CipherSuite
 
TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA - Static variable in class org.miaixz.bus.http.secure.CipherSuite
 
TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384 - Static variable in class org.miaixz.bus.http.secure.CipherSuite
 
TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384 - Static variable in class org.miaixz.bus.http.secure.CipherSuite
 
TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256 - Static variable in class org.miaixz.bus.http.secure.CipherSuite
 
TLS_ECDHE_ECDSA_WITH_NULL_SHA - Static variable in class org.miaixz.bus.http.secure.CipherSuite
 
TLS_ECDHE_ECDSA_WITH_RC4_128_SHA - Static variable in class org.miaixz.bus.http.secure.CipherSuite
 
TLS_ECDHE_PSK_WITH_AES_128_CBC_SHA - Static variable in class org.miaixz.bus.http.secure.CipherSuite
 
TLS_ECDHE_PSK_WITH_AES_256_CBC_SHA - Static variable in class org.miaixz.bus.http.secure.CipherSuite
 
TLS_ECDHE_PSK_WITH_CHACHA20_POLY1305_SHA256 - Static variable in class org.miaixz.bus.http.secure.CipherSuite
 
TLS_ECDHE_RSA_WITH_3DES_EDE_CBC_SHA - Static variable in class org.miaixz.bus.http.secure.CipherSuite
 
TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA - Static variable in class org.miaixz.bus.http.secure.CipherSuite
 
TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256 - Static variable in class org.miaixz.bus.http.secure.CipherSuite
 
TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 - Static variable in class org.miaixz.bus.http.secure.CipherSuite
 
TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA - Static variable in class org.miaixz.bus.http.secure.CipherSuite
 
TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384 - Static variable in class org.miaixz.bus.http.secure.CipherSuite
 
TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 - Static variable in class org.miaixz.bus.http.secure.CipherSuite
 
TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256 - Static variable in class org.miaixz.bus.http.secure.CipherSuite
 
TLS_ECDHE_RSA_WITH_NULL_SHA - Static variable in class org.miaixz.bus.http.secure.CipherSuite
 
TLS_ECDHE_RSA_WITH_RC4_128_SHA - Static variable in class org.miaixz.bus.http.secure.CipherSuite
 
TLS_EMPTY_RENEGOTIATION_INFO_SCSV - Static variable in class org.miaixz.bus.http.secure.CipherSuite
 
TLS_FALLBACK_SCSV - Static variable in class org.miaixz.bus.http.secure.CipherSuite
 
TLS_KRB5_EXPORT_WITH_DES_CBC_40_MD5 - Static variable in class org.miaixz.bus.http.secure.CipherSuite
 
TLS_KRB5_EXPORT_WITH_DES_CBC_40_SHA - Static variable in class org.miaixz.bus.http.secure.CipherSuite
 
TLS_KRB5_EXPORT_WITH_RC4_40_MD5 - Static variable in class org.miaixz.bus.http.secure.CipherSuite
 
TLS_KRB5_EXPORT_WITH_RC4_40_SHA - Static variable in class org.miaixz.bus.http.secure.CipherSuite
 
TLS_KRB5_WITH_3DES_EDE_CBC_MD5 - Static variable in class org.miaixz.bus.http.secure.CipherSuite
 
TLS_KRB5_WITH_3DES_EDE_CBC_SHA - Static variable in class org.miaixz.bus.http.secure.CipherSuite
 
TLS_KRB5_WITH_DES_CBC_MD5 - Static variable in class org.miaixz.bus.http.secure.CipherSuite
 
TLS_KRB5_WITH_DES_CBC_SHA - Static variable in class org.miaixz.bus.http.secure.CipherSuite
 
TLS_KRB5_WITH_RC4_128_MD5 - Static variable in class org.miaixz.bus.http.secure.CipherSuite
 
TLS_KRB5_WITH_RC4_128_SHA - Static variable in class org.miaixz.bus.http.secure.CipherSuite
 
TLS_PSK_WITH_3DES_EDE_CBC_SHA - Static variable in class org.miaixz.bus.http.secure.CipherSuite
 
TLS_PSK_WITH_AES_128_CBC_SHA - Static variable in class org.miaixz.bus.http.secure.CipherSuite
 
TLS_PSK_WITH_AES_256_CBC_SHA - Static variable in class org.miaixz.bus.http.secure.CipherSuite
 
TLS_PSK_WITH_RC4_128_SHA - Static variable in class org.miaixz.bus.http.secure.CipherSuite
 
TLS_RSA_EXPORT_WITH_DES40_CBC_SHA - Static variable in class org.miaixz.bus.http.secure.CipherSuite
 
TLS_RSA_EXPORT_WITH_RC4_40_MD5 - Static variable in class org.miaixz.bus.http.secure.CipherSuite
 
TLS_RSA_WITH_3DES_EDE_CBC_SHA - Static variable in class org.miaixz.bus.http.secure.CipherSuite
 
TLS_RSA_WITH_AES_128_CBC_SHA - Static variable in class org.miaixz.bus.http.secure.CipherSuite
 
TLS_RSA_WITH_AES_128_CBC_SHA256 - Static variable in class org.miaixz.bus.http.secure.CipherSuite
 
TLS_RSA_WITH_AES_128_GCM_SHA256 - Static variable in class org.miaixz.bus.http.secure.CipherSuite
 
TLS_RSA_WITH_AES_256_CBC_SHA - Static variable in class org.miaixz.bus.http.secure.CipherSuite
 
TLS_RSA_WITH_AES_256_CBC_SHA256 - Static variable in class org.miaixz.bus.http.secure.CipherSuite
 
TLS_RSA_WITH_AES_256_GCM_SHA384 - Static variable in class org.miaixz.bus.http.secure.CipherSuite
 
TLS_RSA_WITH_CAMELLIA_128_CBC_SHA - Static variable in class org.miaixz.bus.http.secure.CipherSuite
 
TLS_RSA_WITH_CAMELLIA_256_CBC_SHA - Static variable in class org.miaixz.bus.http.secure.CipherSuite
 
TLS_RSA_WITH_DES_CBC_SHA - Static variable in class org.miaixz.bus.http.secure.CipherSuite
 
TLS_RSA_WITH_NULL_MD5 - Static variable in class org.miaixz.bus.http.secure.CipherSuite
 
TLS_RSA_WITH_NULL_SHA - Static variable in class org.miaixz.bus.http.secure.CipherSuite
 
TLS_RSA_WITH_NULL_SHA256 - Static variable in class org.miaixz.bus.http.secure.CipherSuite
 
TLS_RSA_WITH_RC4_128_MD5 - Static variable in class org.miaixz.bus.http.secure.CipherSuite
 
TLS_RSA_WITH_RC4_128_SHA - Static variable in class org.miaixz.bus.http.secure.CipherSuite
 
TLS_RSA_WITH_SEED_CBC_SHA - Static variable in class org.miaixz.bus.http.secure.CipherSuite
 
tlsVersion() - Method in class org.miaixz.bus.http.socket.Handshake
获取 TLS 版本
tlsVersions() - Method in class org.miaixz.bus.http.accord.ConnectionSuite
 
tlsVersions(String...) - Method in class org.miaixz.bus.http.accord.ConnectionSuite.Builder
 
tlsVersions(TlsVersion...) - Method in class org.miaixz.bus.http.accord.ConnectionSuite.Builder
 
toArray() - Method in interface org.miaixz.bus.http.plugin.httpv.CoverResult.Body
 
toArray() - Method in class org.miaixz.bus.http.plugin.httpv.ResultBody
 
toArray(InputStream, Charset) - Method in class org.miaixz.bus.http.plugin.httpv.Convertor.FormConvertor
 
toArray(InputStream, Charset) - Method in interface org.miaixz.bus.http.plugin.httpv.Convertor
解析 Array
toBean(Class<T>) - Method in interface org.miaixz.bus.http.plugin.httpv.CoverResult.Body
 
toBean(Class<T>) - Method in class org.miaixz.bus.http.plugin.httpv.ResultBody
 
toBean(Class<T>, InputStream, Charset) - Method in class org.miaixz.bus.http.plugin.httpv.Convertor.FormConvertor
 
toBean(Class<T>, InputStream, Charset) - Method in interface org.miaixz.bus.http.plugin.httpv.Convertor
解析 Java Bean
toBytes() - Method in class org.miaixz.bus.http.plugin.httpv.CoverCall.Message
 
toBytes() - Method in interface org.miaixz.bus.http.plugin.httpv.CoverResult.Body
 
toBytes() - Method in class org.miaixz.bus.http.plugin.httpv.ResultBody
 
toByteStream() - Method in class org.miaixz.bus.http.plugin.httpv.CoverCall.Message
 
toByteStream() - Method in interface org.miaixz.bus.http.plugin.httpv.CoverResult.Body
 
toByteStream() - Method in class org.miaixz.bus.http.plugin.httpv.ResultBody
 
toByteString() - Method in class org.miaixz.bus.http.plugin.httpv.CoverCall.Message
 
toByteString() - Method in interface org.miaixz.bus.http.plugin.httpv.CoverResult.Body
 
toByteString() - Method in class org.miaixz.bus.http.plugin.httpv.ResultBody
 
toCharStream() - Method in class org.miaixz.bus.http.plugin.httpv.CoverCall.Message
 
toCharStream() - Method in interface org.miaixz.bus.http.plugin.httpv.CoverResult.Body
 
toCharStream() - Method in class org.miaixz.bus.http.plugin.httpv.ResultBody
 
toFile(File) - Method in interface org.miaixz.bus.http.plugin.httpv.CoverResult.Body
下载到指定文件 同一个 Body 对象的 toXXX 类方法只可使用一个并且只能调用一次
toFile(File) - Method in class org.miaixz.bus.http.plugin.httpv.ResultBody
 
toFile(String) - Method in interface org.miaixz.bus.http.plugin.httpv.CoverResult.Body
下载到指定路径 同一个 Body 对象的 toXXX 类方法只可使用一个并且只能调用一次
toFile(String) - Method in class org.miaixz.bus.http.plugin.httpv.ResultBody
 
toFolder(File) - Method in interface org.miaixz.bus.http.plugin.httpv.CoverResult.Body
下载到指定文件夹 同一个 Body 对象的 toXXX 类方法只可使用一个并且只能调用一次
toFolder(File) - Method in class org.miaixz.bus.http.plugin.httpv.ResultBody
 
toFolder(String) - Method in interface org.miaixz.bus.http.plugin.httpv.CoverResult.Body
下载到指定文件夹 同一个 Body 对象的 toXXX 类方法只可使用一个并且只能调用一次
toFolder(String) - Method in class org.miaixz.bus.http.plugin.httpv.ResultBody
 
toHeaderBlock(Headers) - Static method in class org.miaixz.bus.http.Builder
将 Headers 转换为 HTTP/2 头部列表
toHeaders(List<Http2Header>) - Static method in class org.miaixz.bus.http.Builder
将 HTTP/2 头部列表转换为 Headers
TOKEN_DELIMITERS - Static variable in class org.miaixz.bus.http.Builder
令牌分隔符
toList(Class<T>) - Method in interface org.miaixz.bus.http.plugin.httpv.CoverResult.Body
 
toList(Class<T>) - Method in class org.miaixz.bus.http.plugin.httpv.ResultBody
 
toList(Class<T>, InputStream, Charset) - Method in class org.miaixz.bus.http.plugin.httpv.Convertor.FormConvertor
 
toList(Class<T>, InputStream, Charset) - Method in interface org.miaixz.bus.http.plugin.httpv.Convertor
解析为 Java List
toLoggableString() - Method in class org.miaixz.bus.http.RealCall
获取可记录的字符串表示
toMapper(InputStream, Charset) - Method in class org.miaixz.bus.http.plugin.httpv.Convertor.FormConvertor
 
toMapper(InputStream, Charset) - Method in interface org.miaixz.bus.http.plugin.httpv.Convertor
解析 Mapper
toMultimap() - Method in class org.miaixz.bus.http.Headers
转换为多值映射
topic(String, List<Stomp.Header>, Callback<Stomp.Message>) - Method in class org.miaixz.bus.http.Stomp
订阅主题消息(带附加头部)
topic(String, Callback<Stomp.Message>) - Method in class org.miaixz.bus.http.Stomp
订阅主题消息
toState(IOException) - Method in class org.miaixz.bus.http.plugin.httpv.CoverHttp
 
toString() - Method in class org.miaixz.bus.http.accord.ConnectionSuite
 
toString() - Method in class org.miaixz.bus.http.accord.platform.Platform
 
toString() - Method in class org.miaixz.bus.http.accord.RealConnection
 
toString() - Method in class org.miaixz.bus.http.Address
返回 Address 的字符串表示
toString() - Method in class org.miaixz.bus.http.cache.CacheControl
 
toString() - Method in class org.miaixz.bus.http.Cookie
返回 Cookie 的字符串表示
toString() - Method in class org.miaixz.bus.http.Headers
返回头部的字符串表示
toString() - Method in class org.miaixz.bus.http.metric.anget.UserAgent
 
toString() - Method in class org.miaixz.bus.http.metric.http.Http2Header
 
toString() - Method in class org.miaixz.bus.http.metric.http.StatusLine
 
toString() - Method in class org.miaixz.bus.http.plugin.httpv.CoverCall.Close
 
toString() - Method in class org.miaixz.bus.http.plugin.httpv.CoverCall.Message
 
toString() - Method in interface org.miaixz.bus.http.plugin.httpv.CoverResult.Body
 
toString() - Method in class org.miaixz.bus.http.plugin.httpv.CoverResult.Real
 
toString() - Method in class org.miaixz.bus.http.plugin.httpv.ResultBody
 
toString() - Method in class org.miaixz.bus.http.Request
返回请求的字符串表示。
toString() - Method in class org.miaixz.bus.http.Response
返回响应的字符串表示。
toString() - Method in class org.miaixz.bus.http.Route
返回路由的字符串表示。
toString() - Method in class org.miaixz.bus.http.secure.Challenge
 
toString() - Method in class org.miaixz.bus.http.secure.CipherSuite
 
toString() - Method in class org.miaixz.bus.http.socket.Handshake
返回 Handshake 的字符串表示
toString() - Method in class org.miaixz.bus.http.Stomp.Header
返回头部的字符串表示
toString() - Method in class org.miaixz.bus.http.Stomp.Message
返回消息的字符串表示
toString() - Method in class org.miaixz.bus.http.UnoUrl.Builder
返回 URL 的字符串表示
toString() - Method in class org.miaixz.bus.http.UnoUrl
返回 URL 的字符串表示
toString(SOAPMessage, boolean) - Static method in class org.miaixz.bus.http.SoapX
SOAPMessage 转为字符串
toString(SOAPMessage, boolean, Charset) - Static method in class org.miaixz.bus.http.SoapX
SOAPMessage 转为字符串
toWapper() - Method in interface org.miaixz.bus.http.plugin.httpv.CoverResult.Body
 
toWapper() - Method in class org.miaixz.bus.http.plugin.httpv.ResultBody
 
trackConditionalCacheHit() - Method in interface org.miaixz.bus.http.cache.InternalCache
跟踪此缓存满足的条件GET
trackResponse(CacheStrategy) - Method in interface org.miaixz.bus.http.cache.InternalCache
跟踪一个满足cacheStrategy的HTTP响应
trailers() - Method in class org.miaixz.bus.http.accord.Exchange
 
trailers() - Method in class org.miaixz.bus.http.metric.http.Http1Codec
 
trailers() - Method in class org.miaixz.bus.http.metric.http.Http2Codec
 
trailers() - Method in class org.miaixz.bus.http.metric.http.Http2Stream
Returns the trailers.
trailers() - Method in interface org.miaixz.bus.http.metric.http.HttpCodec
在HTTP响应之后返回
trailers() - Method in class org.miaixz.bus.http.Response
获取响应尾部(trailer headers)。
transmitter - Variable in class org.miaixz.bus.http.RealCall
请求传输器
transmitter() - Method in class org.miaixz.bus.http.metric.http.RealInterceptorChain
 
Transmitter - Class in org.miaixz.bus.http.accord
在Http的应用程序层和网络层之间建立桥梁 该类公开:连接、请求、响应和流
Transmitter(Httpd, NewCall) - Constructor for class org.miaixz.bus.http.accord.Transmitter
 
trimSubstring(String, int, int) - Static method in class org.miaixz.bus.http.Builder
修剪字符串
trustManager(SSLSocketFactory) - Method in class org.miaixz.bus.http.accord.platform.JdkPlatform
 
trustManager(SSLSocketFactory) - Method in class org.miaixz.bus.http.accord.platform.Platform
管理哪些X509证书可用于对安全套接字的远程端进行身份验证。
TrustRootIndex - Interface in org.miaixz.bus.http.secure
签名证书索引
type - Variable in class org.miaixz.bus.http.plugin.httpx.HttpProxy
 
type() - Method in class org.miaixz.bus.http.bodys.MultipartBody
获取原始媒体类型

U

UNKNOWN - Static variable in class org.miaixz.bus.http.Builder
UNKNOWN 命令
UNKNOWN - Static variable in class org.miaixz.bus.http.metric.anget.Browser
未知
UNKNOWN - Static variable in class org.miaixz.bus.http.metric.anget.Device
未知
UNKNOWN - Static variable in class org.miaixz.bus.http.metric.anget.Engine
未知
UNKNOWN - Static variable in class org.miaixz.bus.http.metric.anget.NOS
未知
UnoUrl - Class in org.miaixz.bus.http
HTTP 或 HTTPS 的统一资源定位器(URL)
UnoUrl.Builder - Class in org.miaixz.bus.http
URL 构建器
unqueue(String) - Method in class org.miaixz.bus.http.Stomp
取消队列订阅
unsubscribe(String) - Method in class org.miaixz.bus.http.Stomp
取消指定地址的订阅
UNSUBSCRIBE - Static variable in class org.miaixz.bus.http.Builder
UNSUBSCRIBE 命令
untopic(String) - Method in class org.miaixz.bus.http.Stomp
取消主题订阅
update(Response, Response) - Method in interface org.miaixz.bus.http.cache.InternalCache
通过使用来自network的报头更新存储的缓存响应来处理条件请求 如果存储的响应在返回cached后发生了变化,这将不起任何作用
updateProgress(long, long, boolean) - Method in class org.miaixz.bus.http.plugin.httpz.FileInterceptor
 
updateProgress(long, long, boolean) - Method in interface org.miaixz.bus.http.plugin.httpz.ProgressListener
 
uri() - Method in class org.miaixz.bus.http.UnoUrl
转换为 java.net.URI 对象
url - Variable in class org.miaixz.bus.http.plugin.httpz.HttpRequest
 
url - Variable in class org.miaixz.bus.http.plugin.httpz.RequestBuilder
 
url() - Method in class org.miaixz.bus.http.Address
获取服务器 URL
url() - Method in class org.miaixz.bus.http.Request
获取请求的 URL。
url() - Method in class org.miaixz.bus.http.UnoUrl
转换为 java.net.URL 对象
url(String) - Method in class org.miaixz.bus.http.plugin.httpz.RequestBuilder
 
url(String) - Method in class org.miaixz.bus.http.Request.Builder
设置请求的 URL(字符串格式)。
url(URL) - Method in class org.miaixz.bus.http.Request.Builder
设置请求的 URL(URL 对象)。
url(UnoUrl) - Method in class org.miaixz.bus.http.Request.Builder
设置请求的 URL。
urls() - Method in class org.miaixz.bus.http.cache.Cache
在此缓存中的url上返回一个迭代器,该迭代器支持Iterator.remove()
user - Variable in class org.miaixz.bus.http.plugin.httpx.HttpProxy
 
UserAgent - Class in org.miaixz.bus.http.metric.anget
User-Agent信息对象
UserAgent() - Constructor for class org.miaixz.bus.http.metric.anget.UserAgent
构造
UserAgent(String, String) - Constructor for class org.miaixz.bus.http.metric.anget.UserAgent
构造
UserAgent(String, Pattern) - Constructor for class org.miaixz.bus.http.metric.anget.UserAgent
构造
username() - Method in class org.miaixz.bus.http.UnoUrl
获取解码后的用户名 http://host/"" http://username@host/"username" http://username:password@host/"username" http://a%20b:c%20d@host/"a b"
username(String) - Method in class org.miaixz.bus.http.UnoUrl.Builder
设置用户名
USERNAME_ENCODE_SET - Static variable in class org.miaixz.bus.http.UnoUrl
用户名编码字符集
UTC - Static variable in class org.miaixz.bus.http.Builder
GMT 时区

V

value - Variable in class org.miaixz.bus.http.metric.http.Http2Header
Value in UTF-8 encoding.
value() - Method in class org.miaixz.bus.http.Cookie
获取 Cookie 值
value(int) - Method in class org.miaixz.bus.http.bodys.FormBody
获取指定索引的解码字段值
value(int) - Method in class org.miaixz.bus.http.Headers
获取指定索引的头部值
value(String) - Method in class org.miaixz.bus.http.Cookie.Builder
设置 Cookie 值
valueOf(String) - Static method in enum class org.miaixz.bus.http.metric.http.Http2ErrorCode
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class org.miaixz.bus.http.plugin.httpv.CoverResult.State
Returns the enum constant of this class with the specified name.
values() - Static method in enum class org.miaixz.bus.http.metric.http.Http2ErrorCode
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class org.miaixz.bus.http.plugin.httpv.CoverResult.State
Returns an array containing the constants of this enum class, in the order they are declared.
values(String) - Method in class org.miaixz.bus.http.Headers
获取指定名称的头部值列表
varyFields(Headers) - Static method in class org.miaixz.bus.http.Headers
获取 Vary 字段集合
varyHeaders(Headers, Headers) - Static method in class org.miaixz.bus.http.Headers
获取影响响应体的请求头部
varyHeaders(Response) - Static method in class org.miaixz.bus.http.Headers
获取影响响应体的请求头部
varyMatches(Response, Headers, Request) - Static method in class org.miaixz.bus.http.Headers
检查 Vary 头部是否匹配
verifyAsIpAddress(String) - Static method in class org.miaixz.bus.http.Builder
检查是否为 IP 地址
VERSION - Static variable in class org.miaixz.bus.http.Stomp.Header
STOMP 协议版本头部

W

webSocket(String) - Method in class org.miaixz.bus.http.Httpv
 
webSocket(Request, WebSocketListener) - Method in class org.miaixz.bus.http.Httpv
 
WebSocket - Interface in org.miaixz.bus.http.socket
到web socket的非阻塞接口。
WebSocket.Factory - Interface in org.miaixz.bus.http.socket
 
WebSocketListener - Class in org.miaixz.bus.http.socket
web socket 监听器
WebSocketListener() - Constructor for class org.miaixz.bus.http.socket.WebSocketListener
 
WebSocketProtocol - Class in org.miaixz.bus.http.socket
web socket协议信息
WebSocketReader - Class in org.miaixz.bus.http.socket
WebSocket 协议帧读取器
WebSocketReader.FrameCallback - Interface in org.miaixz.bus.http.socket
WebSocket 帧回调接口
webSocketUpgradeFailed() - Method in class org.miaixz.bus.http.accord.Exchange
 
WebSocketWriter - Class in org.miaixz.bus.http.socket
WebSocket 协议帧写入器
WINDOWS_PHONE - Static variable in class org.miaixz.bus.http.metric.anget.Device
Windows Phone
windowUpdate(int, long) - Method in class org.miaixz.bus.http.metric.http.Http2Writer
Inform peer that an additional windowSizeIncrement bytes can be sent on streamId, or the connection if streamId is zero.
withCertificateChainCleaner(CertificateChainCleaner) - Method in class org.miaixz.bus.http.secure.CertificatePinner
Returns a certificate pinner that uses certificateChainCleaner.
withCharset(Charset) - Method in class org.miaixz.bus.http.secure.Challenge
该副本需要使用charset编码的凭据.
withConnectTimeout(int, TimeUnit) - Method in class org.miaixz.bus.http.metric.http.RealInterceptorChain
 
withConnectTimeout(int, TimeUnit) - Method in interface org.miaixz.bus.http.metric.NewChain
设置连接超时时间
withReadTimeout(int, TimeUnit) - Method in class org.miaixz.bus.http.metric.http.RealInterceptorChain
 
withReadTimeout(int, TimeUnit) - Method in interface org.miaixz.bus.http.metric.NewChain
配置读操作超时时间
withWriteTimeout(int, TimeUnit) - Method in class org.miaixz.bus.http.metric.http.RealInterceptorChain
 
withWriteTimeout(int, TimeUnit) - Method in interface org.miaixz.bus.http.metric.NewChain
配置写操作超时时间
write(OutputStream) - Method in class org.miaixz.bus.http.plugin.soap.SoapBuilder
将SOAP消息的XML内容输出到流
writeAbortCount() - Method in class org.miaixz.bus.http.cache.Cache
 
writeData(int, boolean, Buffer, long) - Method in class org.miaixz.bus.http.metric.http.Http2Connection
此方法的调用程序不是线程安全的,有时在应用程序线程上也是如此。
writeHeaders(List<Http2Header>, boolean, boolean) - Method in class org.miaixz.bus.http.metric.http.Http2Stream
Sends a reply to an incoming stream.
writeRequest(Headers, String) - Method in class org.miaixz.bus.http.metric.http.Http1Codec
Returns bytes of a request header for sending on an HTTP transport.
writeRequestHeaders(Request) - Method in class org.miaixz.bus.http.accord.Exchange
 
writeRequestHeaders(Request) - Method in class org.miaixz.bus.http.metric.http.Http1Codec
Prepares the HTTP headers and sends them to the server.
writeRequestHeaders(Request) - Method in class org.miaixz.bus.http.metric.http.Http2Codec
 
writeRequestHeaders(Request) - Method in interface org.miaixz.bus.http.metric.http.HttpCodec
这应该更新HTTP引擎的sentRequestMillis字段.
writeSuccessCount() - Method in class org.miaixz.bus.http.cache.Cache
 
writeTimeout() - Method in class org.miaixz.bus.http.metric.http.Http2Stream
 
writeTimeout(long, TimeUnit) - Method in class org.miaixz.bus.http.Httpd.Builder
设置写入超时时间。
writeTimeout(long, TimeUnit) - Method in class org.miaixz.bus.http.plugin.httpz.HttpBuilder
 
writeTimeout(Duration) - Method in class org.miaixz.bus.http.Httpd.Builder
设置写入超时时间。
writeTimeoutMillis() - Method in class org.miaixz.bus.http.Httpd
获取写入超时时间(毫秒)。
writeTimeoutMillis() - Method in class org.miaixz.bus.http.metric.http.RealInterceptorChain
 
writeTimeoutMillis() - Method in interface org.miaixz.bus.http.metric.NewChain
写操作超时时间
writeTo(BufferSink) - Method in class org.miaixz.bus.http.bodys.FormBody
将请求体写入输出流
writeTo(BufferSink) - Method in class org.miaixz.bus.http.bodys.MultipartBody
将请求体写入输出流
writeTo(BufferSink) - Method in class org.miaixz.bus.http.bodys.RequestBody
将请求体内容写入输出流
writeTo(BufferSink) - Method in class org.miaixz.bus.http.plugin.httpv.ProgressBody
 
A B C D E F G H I J K L M N O P Q R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form