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 - Static variable in class org.miaixz.bus.http.Stomp.Header
 
add(String) - Method in class org.miaixz.bus.http.Headers.Builder
Add an header line containing a field name, a literal colon, and a value.
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 a header with the specified name and value.
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
Add a header with the specified name and formatted instant.
add(String, Date) - Method in class org.miaixz.bus.http.Headers.Builder
Add a header with the specified name and formatted date.
addAll(Headers) - Method in class org.miaixz.bus.http.Headers.Builder
Adds all headers from an existing collection.
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
Adds a set of encoded path segments separated by a slash (either \ or /).
addEncodedQueryParameter(String, String) - Method in class org.miaixz.bus.http.UnoUrl.Builder
Adds the pre-encoded query parameter to this URL's query string.
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
Adds a header with name and value.
addHeader(String, String) - Method in class org.miaixz.bus.http.Response.Builder
Adds a header with name and value.
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
Add a header line without any validation.
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
增加part至请求体
addPart(RequestBody) - Method in class org.miaixz.bus.http.bodys.MultipartBody.Builder
增加part至请求体
addPart(Headers, RequestBody) - Method in class org.miaixz.bus.http.bodys.MultipartBody.Builder
增加part至请求体
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
Adds a set of path segments separated by a slash (either \ or /).
addPreprocessor(Preprocessor) - Method in class org.miaixz.bus.http.Httpv.Builder
添加可并行处理请求任务的预处理器
addQueryParameter(String, String) - Method in class org.miaixz.bus.http.UnoUrl.Builder
Encodes the query parameter using UTF-8 and adds it to this URL's query string.
address() - Method in class org.miaixz.bus.http.Route
 
Address - Class in org.miaixz.bus.http
到源服务器的连接的规范。对于简单的连接,这是服务器的主机名和端口。如果显式请求了 代理(或显式请求了no proxy)则还包括该代理信息 对于安全连接,该地址还包括SSL套接字工厂、主机名验证器和证书 共享相同的Address的HTTP请求也可能共享相同的Connection
Address(String, int, DnsX, SocketFactory, SSLSocketFactory, HostnameVerifier, CertificatePinner, Authenticator, Proxy, List<Protocol>, List<ConnectionSuite>, ProxySelector) - Constructor for class org.miaixz.bus.http.Address
 
addSerialPreprocessor(Preprocessor) - Method in class org.miaixz.bus.http.Httpv.Builder
添加预处理器
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
Add a header with the specified name and value.
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.GetBuilder
 
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中的身份验证挑战的凭据。如果无法满足挑战,则返回null 该路线是最好的努力,它目前可能不总是提供,即使在逻辑上可用 在应用程序拦截器中手动重用身份验证器时,例如在实现特定于客户机的重试时,也可能不提供此功能
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
设置用于响应来自源服务器的挑战的验证器。使用Httpd.Builder.proxyAuthenticator设置代理服务器的身份验证器.
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
使用一组可信根证书来构建可信链的证书链清理器。 这个类复制了在TLS握手期间执行的clean chain构建。我们更喜欢它们 存在的其他机制,比如AndroidCertificateChainCleaner
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
Returns a non-null value if this response was passed to Callback.onResponse(org.miaixz.bus.http.NewCall, org.miaixz.bus.http.Response) or returned from NewCall.execute().
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
 
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
 
build() - Method in class org.miaixz.bus.http.bodys.MultipartBody.Builder
将指定的部分组装成请求体
build() - Method in class org.miaixz.bus.http.cache.CacheControl.Builder
 
build() - Method in class org.miaixz.bus.http.Cookie.Builder
 
build() - Method in class org.miaixz.bus.http.Headers.Builder
 
build() - Method in class org.miaixz.bus.http.Httpd.Builder
 
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.GetBuilder
 
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
 
build() - Method in class org.miaixz.bus.http.Response.Builder
 
build() - Method in class org.miaixz.bus.http.secure.CertificatePinner.Builder
 
build() - Method in class org.miaixz.bus.http.UnoUrl.Builder
 
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
实用方法工具
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
 
Builder() - Constructor for class org.miaixz.bus.http.Response.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.GetRequest
 
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.GetRequest
 
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
 
byteCount() - Method in class org.miaixz.bus.http.Headers
Returns the number of bytes required to encode these headers using HTTP/1.1.
bytes() - Method in class org.miaixz.bus.http.bodys.ResponseBody
Returns the response as a byte array.
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
Returns the cache control directives for this response.
cacheControl(CacheControl) - Method in class org.miaixz.bus.http.Request.Builder
Sets this request's Cache-Control header, replacing any cache control headers already present.
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
Returns the raw response received from the cache.
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
异步回调信息
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
在调用进入队列或由客户端执行时立即调用。在线程或流限制的情况下,这个调用可能在处理请求 开始之前就已经执行了 对于单个NewCall只调用一次。不同路由或重定向的重试将在 单个callStart和EventListener.callEnd(org.miaixz.bus.http.NewCall)/EventListener.callFailed(org.miaixz.bus.http.NewCall, java.io.IOException)对的范围内处理。
callTimeout(long, TimeUnit) - Method in class org.miaixz.bus.http.Httpd.Builder
设置完成调用的默认超时。值0表示没有超时,否则在转换为毫秒时,值必须在1和Integer.MAX_VALUE之间
callTimeout(Duration) - Method in class org.miaixz.bus.http.Httpd.Builder
设置完成调用的默认超时。值0表示没有超时,否则在转换为毫秒时,值必须在1和Integer.MAX_VALUE之间
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
 
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
取消当前排队或执行的所有调用。包括同步执行的 NewCall.execute()和异步 执行的NewCall.enqueue(org.miaixz.bus.http.Callback)
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, 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
If host is an IP address, this returns the IP address in canonical form.
canRetry() - Method in class org.miaixz.bus.http.accord.Transmitter
 
CertificateChainCleaner - Class in org.miaixz.bus.http.secure
从Java在TLS api中构建的原始数组中计算有效的证书链。 清理链返回一个证书列表, 其中第一个元素是chain[0], 每个证书由后面的证书签名,最后一个证书是受信任的CA证书 使用链清理器可以省略与TLS握手无关的意外证书, 并提取受信任的CA证书,以便进行证书固定
CertificateChainCleaner() - Constructor for class org.miaixz.bus.http.secure.CertificateChainCleaner
 
certificatePinner() - Method in class org.miaixz.bus.http.Address
Returns this address's certificate pinner, or null if this is not an HTTPS address.
certificatePinner() - Method in class org.miaixz.bus.http.Httpd
 
certificatePinner(CertificatePinner) - Method in class org.miaixz.bus.http.Httpd.Builder
设置限制哪些证书受信任的证书pinner。默认情况下,HTTPS连接仅 依赖于SSL套接字工厂来建立信任。 固定证书避免了信任证书颁发机构的需要。
certificatePinner(CertificatePinner) - Method in class org.miaixz.bus.http.plugin.httpz.HttpBuilder
 
CertificatePinner - Class in org.miaixz.bus.http.secure
限制哪些证书受信任。将证书固定起来可以防御对证书颁发机构的攻击。 它还可以防止通过应用程序用户知道或不知道的中间人证书颁发机构进行连接 固定证书限制了服务器团队更新其TLS证书的能力。通过固定证书, 您将承担额外的操作复杂性,并限制您在证书颁发机构之间迁移的能力。 未经服务器的TLS管理员许可,请勿使用证书固定! 如果TrustManager不接受自签名证书, 则CertificatePinner不能用于pin自签名证书
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
Returns the RFC 7235 authorization challenges appropriate for this response's code.
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(Response) - Method in class org.miaixz.bus.http.plugin.httpv.CoverHttp
 
charStream() - Method in class org.miaixz.bus.http.bodys.ResponseBody
Returns the response as a character stream.
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中。 如果没有为hostname指定证书,则不执行任何操作。Httpd在成功的TLS握手之后调用它,但是在使用连接之前.
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
Returns the cipher suite used for the connection.
CipherSuite - Class in org.miaixz.bus.http.secure
并非所有平台都支持所有密码套件。由于创建了新的密码 套件(为了更强的私密性、更好的性能等),它们将被平台采用, 然后在这里公开。为了简单起见,我们省略了Android(通过API level 24) 或Java(通过JDK 9)上不可用的密码套件
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
 
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
调用客户端
client - Variable in class org.miaixz.bus.http.socket.RealWebSocket.Streams
 
Client() - Constructor for class org.miaixz.bus.http.Httpz.Client
 
Client(Httpd) - Constructor for class org.miaixz.bus.http.Httpz.Client
 
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
 
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
Closes the response body.
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
 
close(int, String) - Method in interface org.miaixz.bus.http.socket.WebSocket
尝试启动此web套接字的正常关闭。任何已加入队列的消息将在发送关闭消息之前发送, 但是随后对WebSocket.send(java.lang.String)的调用将返回false,它们的消息将不被加入队列
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
Returns the HTTP status code.
code(int) - Method in class org.miaixz.bus.http.Response.Builder
 
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
 
CONNECT - Static variable in class org.miaixz.bus.http.Builder
 
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
 
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
返回将执行请求的连接。这只在网络拦截器链中可用; 对于应用程序拦截器,这总是null
Connection - Interface in org.miaixz.bus.http.accord
HTTP、HTTPS或HTTPS+HTTP/2连接的套接字和流。 可以用于多个HTTP请求/响应交换。连接可以直接到源服务器,也可以通过代理
connectionAcquired(NewCall, Connection) - Method in class org.miaixz.bus.http.metric.EventListener
call获取连接后调用.
connectionCount() - Method in class org.miaixz.bus.http.accord.ConnectionPool
返回池中的连接总数。注意,在Httpd 2.7之前,这只包括空闲连接 和HTTP/2连接 因为Httpd 2.7包含了所有的连接,包括活动的和非活动的。 使用ConnectionPool.idleConnectionCount()来计数当前未使用的连接
connectionCount() - Method in class org.miaixz.bus.http.accord.RealConnectionPool
 
connectionFailed(IOException) - Method in class org.miaixz.bus.http.accord.ConnectionSelector
报告连接失败。确定下一个要尝试的ConnectionSuite(如果有的话)
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连接的重用,以减少网络延迟。 共享相同的 Address的HTTP请求可能共享一个Connection 该类实现了哪些连接保持开放以供将来使用的策略
ConnectionPool() - Constructor for class org.miaixz.bus.http.accord.ConnectionPool
使用适合于单用户应用程序的调优参数创建新的连接池。 这个池中的调优参数可能在将来的Httpd版本中更改。 目前这个池最多可以容纳5个空闲连接,这些连接将在5分钟不活动后被清除
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传输通过的套接字连接的配置。对于https: url,这包括在协商安全连接时要使用 的TLS版本和密码套件,只有在SSL套接字中也启用了连接规范中配置的TLS版本时,才会使用它们。例如, 如果SSL套接字没有启用TLS 1.3,即使它在连接规范中出现,也不会被使用。同样的策略也适用于密码套件 使用ConnectionSuite.Builder.allEnabledTlsVersions()ConnectionSuite.Builder.allEnabledCipherSuites() 将所有特性选择延迟到底层SSL套接字
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
设置新连接的默认连接超时。值0表示没有超时,否则在转换为毫秒时,值必须在1和Integer.MAX_VALUE之间
connectTimeout(long, TimeUnit) - Method in class org.miaixz.bus.http.plugin.httpz.HttpBuilder
 
connectTimeout(Duration) - Method in class org.miaixz.bus.http.Httpd.Builder
设置新连接的默认连接超时。值0表示没有超时,否则在转换为毫秒时,值必须在1和Integer.MAX_VALUE之间
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
 
contentLength(Response) - Static method in class org.miaixz.bus.http.Headers
 
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
Cookie's相关工具支持 这个类不支持cookies上的附加属性,比如Chromium的Priority=HIGH extension
Cookie.Builder - Class in org.miaixz.bus.http
构建一个饼干。在调用Cookie.Builder.build()之前,必须设置 namevaluedomain.
cookieJar() - Method in class org.miaixz.bus.http.Httpd
 
cookieJar(CookieJar) - Method in class org.miaixz.bus.http.Httpd.Builder
设置可以接受来自传入HTTP响应的cookie并向传出HTTP请求提供cookie的处理程序.
cookieJar(CookieJar) - Method in class org.miaixz.bus.http.plugin.httpz.HttpBuilder
 
CookieJar - Interface in org.miaixz.bus.http.metric
为HTTP cookie提供策略和持久性 作为策略,此接口的实现负责选择接受和拒绝哪些cookie。一个合理的策略是拒绝所有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(MediaType, byte[]) - Static method in class org.miaixz.bus.http.bodys.RequestBody
发送content的新请求体
create(MediaType, byte[]) - Static method in class org.miaixz.bus.http.bodys.ResponseBody
新的响应体,它传输content
create(MediaType, byte[], int, int) - Static method in class org.miaixz.bus.http.bodys.RequestBody
发送content的新请求体
create(MediaType, long, BufferSource) - Static method in class org.miaixz.bus.http.bodys.ResponseBody
新的响应体,它传输content
create(MediaType, File) - Static method in class org.miaixz.bus.http.bodys.RequestBody
新的请求体,该请求体传输file的内容
create(MediaType, String) - Static method in class org.miaixz.bus.http.bodys.RequestBody
返回传输content的新请求体。 如果mediaType是非空且缺少字符集,则使用UTF-8
create(MediaType, String) - Static method in class org.miaixz.bus.http.bodys.ResponseBody
返回一个传输content的新响应体。如果mediaType是非空且缺少字符集,则使用UTF-8
create(MediaType, ByteString) - Static method in class org.miaixz.bus.http.bodys.RequestBody
返回发送content的新请求体
create(MediaType, ByteString) - Static method in class org.miaixz.bus.http.bodys.ResponseBody
新的响应体,它传输content
create(RequestBody) - Static method in class org.miaixz.bus.http.bodys.MultipartBody.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
 
create(NewCall) - Method in interface org.miaixz.bus.http.metric.EventListener.Factory
为特定的NewCall创建EventListener的实例。 返回的EventListener实例将在call的生命周期中使用 此方法在创建call之后调用。查看# newCall(请求) 对实现来说,在这个方法的call实例上发出任何变化操作都是错误的
createFormData(String, String) - Static method in class org.miaixz.bus.http.bodys.MultipartBody.Part
 
createFormData(String, String, RequestBody) - Static method in class org.miaixz.bus.http.bodys.MultipartBody.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
Returns 80 if scheme.equals("http"), 443 if scheme.equals("https") and -1 otherwise.
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.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(File) - Method in interface org.miaixz.bus.http.cache.DiskLruCache.DiskFile
Deletes file if it exists.
delete(RequestBody) - Method in class org.miaixz.bus.http.Request.Builder
 
deleteContents(File) - Method in interface org.miaixz.bus.http.cache.DiskLruCache.DiskFile
Recursively delete the contents of directory.
delimiterOffset(String, int, int, char) - Static method in class org.miaixz.bus.http.Builder
Returns the index of the first character in input that is delimiter.
delimiterOffset(String, int, int, String) - Static method in class org.miaixz.bus.http.Builder
Returns the index of the first character in input that contains a character in delimiters.
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
Attempts to exhaust source, returning true if successful.
DISCARD_STREAM_TIMEOUT_MILLIS - Static variable in interface org.miaixz.bus.http.metric.http.HttpCodec
丢弃输入数据流时要使用的超时。由于这是用于连接重用, 因此此超时时间应该大大少于建立新连接所需的时间.
disconnect() - Method in class org.miaixz.bus.http.Stomp
 
DiskLruCache - Class in org.miaixz.bus.http.cache
使用文件系统上有限空间的缓存。每个缓存条目都有一个字符串键和固定数量的值 每个键必须匹配regex [a-z0-9_-]{1,64}。值是字节序列,可以作为流或文件访问 每个值必须在0Integer之间。MAX_VALUE字节的长度
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)解析器。该解析器只支持从DN中提取字符串值。 它不支持十六进制字符串样式的值.
dns() - Method in class org.miaixz.bus.http.Address
Returns the service that will be used to resolve IP addresses for hostnames.
dns() - Method in class org.miaixz.bus.http.Httpd
 
dns(DnsX) - Method in class org.miaixz.bus.http.Httpd.Builder
设置用于查找主机名的IP地址的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查找之前调用。看到#查找(String)
DnsX - Interface in org.miaixz.bus.http
解析主机名的IP地址的域名服务。大多数应用程序将使用默认的 SYSTEM DNS服务,应用程序可能提供 它们自己的实现来使用不同的DNS服务器 选择IPv6地址、选择IPv4地址或强制使用特定的已知IP地址
domain() - Method in class org.miaixz.bus.http.Cookie
 
domain(String) - Method in class org.miaixz.bus.http.Cookie.Builder
Set the domain pattern for this cookie.
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
返回这个URL的片段 "abc" for http://host/#abc.
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
返回密码,如果没有设置则返回空字符串.
encodedPassword(String) - Method in class org.miaixz.bus.http.UnoUrl.Builder
 
encodedPath() - Method in class org.miaixz.bus.http.UnoUrl
该URL编码后用于HTTP资源解析。返回的路径将以/开始 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
返回一个已编码的路径段列表 ["a", "b", "c"] for the URL http://host/a/b/c.
encodedQuery() - Method in class org.miaixz.bus.http.UnoUrl
Returns the query of this URL, encoded for use in HTTP resource resolution.
encodedQuery(String) - Method in class org.miaixz.bus.http.UnoUrl.Builder
 
encodedUsername() - Method in class org.miaixz.bus.http.UnoUrl
Returns the username, or an empty string if none is set.
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
 
equals(Object) - Method in class org.miaixz.bus.http.Cookie
 
equals(Object) - Method in class org.miaixz.bus.http.Headers
Returns true if other is a Headers object with the same headers, with the same casing, in the same order.
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
 
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
 
equals(Object) - Method in class org.miaixz.bus.http.UnoUrl
 
equalsNonHost(Address, Address) - Method in class org.miaixz.bus.http.metric.Internal
 
ERROR - Static variable in class org.miaixz.bus.http.Builder
 
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
用于度量事件的侦听器。扩展这个类来监视应用程序的HTTP调用的数量、大小和持续时间 所有事件方法必须快速执行,不需要外部锁定,不能抛出异常,不能尝试更改事件参数, 也不能重入客户机。任何对文件或网络的IO写入都应该异步进行
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(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
尝试在executorService上排队这个异步调用 如果执行程序已经关闭,则将尝试通过调用失败来进行清理
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
 
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
 
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
 
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
需要对响应进行网络验证的缓存控制请求指令。请注意,缓存可以通过有条件的GET请求来辅助这些请求.
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
Returns the string for value.
FormBody - Class in org.miaixz.bus.http.bodys
Form请求体内容
FormBody.Builder - Class in org.miaixz.bus.http.bodys
 
FormConvertor(Convertor) - Constructor for class org.miaixz.bus.http.plugin.httpv.Convertor.FormConvertor
 
forWebSocket - Variable in class org.miaixz.bus.http.RealCall
 
fragment() - Method in class org.miaixz.bus.http.UnoUrl
返回这个URL的片段 "abc" for http://host/#abc.
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
 
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
 
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
 
get() - Static method in class org.miaixz.bus.http.Httpz
 
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
 
get() - Method in class org.miaixz.bus.http.Request.Builder
 
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, 否则当前无法读取。如果返回一个值,它将被移动到LRU队列的头部
get(String) - Method in class org.miaixz.bus.http.Headers.Builder
Equivalent to build().get(name), but potentially faster.
get(String) - Method in class org.miaixz.bus.http.Headers
Returns the last value corresponding to the specified field, or null.
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
Returns a new HttpUrl representing url.
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
 
get(URL) - Static method in class org.miaixz.bus.http.UnoUrl
Returns an UnoUrl for url if its protocol is http or https, or null if it has any other protocol.
get(X509Certificate...) - Static method in class org.miaixz.bus.http.secure.CertificateChainCleaner
 
get(SSLSession) - Static method in class org.miaixz.bus.http.socket.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
 
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
Returns the last value corresponding to the specified field parsed as an HTTP date, or null if either the field is absent or cannot be parsed as a date.
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
 
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
Returns the last value corresponding to the specified field parsed as an HTTP date, or null if either the field is absent or cannot be parsed as a date.
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
 
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
返回一个对象,该对象持有在执行此方法时创建的堆栈跟踪。 用于CloseablePlatform.logCloseableLeak(String, Object)
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(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
android

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
Returns the TLS handshake of the connection that carried this response, or null if the response was received without TLS.
handshake(Handshake) - Method in class org.miaixz.bus.http.Response.Builder
 
Handshake - Class in org.miaixz.bus.http.socket
TLS握手的记录。对于HTTPS客户机,客户机是local,远程服务器 此值对象描述完成的握手。使用ConnectionSuite设置新的握手策略
has(String) - Method in interface org.miaixz.bus.http.plugin.httpv.CoverWapper
 
hasBody(Response) - Static method in class org.miaixz.bus.http.Headers
Returns true if the response must have a (possibly 0-length) body.
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
 
hashCode() - Method in class org.miaixz.bus.http.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
 
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
 
hashCode() - Method in class org.miaixz.bus.http.UnoUrl
 
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
Returns true if a Vary header contains an asterisk.
hasVaryAll(Response) - Static method in class org.miaixz.bus.http.Headers
Returns true if a Vary header contains an asterisk.
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
 
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
Sets the header named name to value.
header(String, String) - Method in class org.miaixz.bus.http.Response.Builder
Sets the header named name to value.
header(String, String) - Method in class org.miaixz.bus.http.Response
 
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.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
Removes all headers on this builder and adds headers.
headers(Headers) - Method in class org.miaixz.bus.http.Response.Builder
Removes all headers on this builder and adds headers.
Headers - Class in org.miaixz.bus.http
单个HTTP消息的头字段。值是未解释的字符串; 使用RequestResponse解释头信息 该类维护HTTP消息中的头字段的顺序 这个类从值中删除空白。它从不返回带开头或结尾空白的值
Headers.Builder - Class in org.miaixz.bus.http
 
headerValue(String) - Method in class org.miaixz.bus.http.Stomp.Message
 
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
Returns the hostname verifier, or null if this is not an HTTPS 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
Set the host-only domain for this cookie.
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消息的套接字连接。这个类严格执行以下生命周期: 没有请求主体的交换器可以跳过创建和关闭请求主体。没有响应体的交换器可以 调用newFixedLengthSource(0) 并可以跳过读取和关闭该源
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设置。 因此,我们希望所有帧的最大长度为Http2.INITIAL_MAX_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请求辅助类 工厂的call,可以用来发送HTTP请求并读取它们的响应 当您创建一个Httpd实例并将其用于所有HTTP调用时,体现Httpd的性能最佳 这是因为每个客户机都拥有自己的连接池和线程池。重用连接和线程可以减少延迟并节省内存 相反,为每个请求创建一个客户机会浪费空闲池上的资源 Httpd还为HTTP/2连接使用守护进程线程。如果它们保持空闲,就会自动退出
Httpd() - Constructor for class org.miaixz.bus.http.Httpd
 
Httpd(Httpd.Builder) - Constructor for class org.miaixz.bus.http.Httpd
 
Httpd.Builder - Class in org.miaixz.bus.http
 
httpOnly() - Method in class org.miaixz.bus.http.Cookie.Builder
 
httpOnly() - Method in class org.miaixz.bus.http.Cookie
 
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请求辅助类
Httpz() - Constructor for class org.miaixz.bus.http.Httpz
 
Httpz.Client - Class in org.miaixz.bus.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
 
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
Returns an immutable copy of list.
immutableList(T...) - Static method in class org.miaixz.bus.http.Builder
Returns an immutable list containing elements.
immutableMap(Map<K, V>) - Static method in class org.miaixz.bus.http.Builder
Returns an immutable copy of map.
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
Returns the index of the first character in input that is either a control character (like or \n) or a non-ASCII character.
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
Returns an array containing only elements found in first and also in second.
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中至少有一个必须与套接字启用的密码 套件匹配。如果不需要密码套件,则套接字必须至少启用一个密码套件 对于协议,required protocols中至少有一个必须与套接字启用的协议匹配
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
A duplex request body is special in how it is transmitted on the network and in the API contract between Http and the application.
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
 
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
 
isHttps() - Method in class org.miaixz.bus.http.UnoUrl
 
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
Returns true if this body expects at most one call to RequestBody.writeTo(org.miaixz.bus.core.io.sink.BufferSink) and can be transmitted at most once.
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
Returns true if this response redirects to another resource.
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
Returns true if the code is in [200..300), which means the request was successfully received, understood, and accepted.
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名称。对于一些较旧的密码套件,Java名称具有前缀SSL_ 这导致Java名称与总是以TLS_为前缀的实例名称不同。 例如,TLS_RSA_EXPORT_WITH_RC4_40_MD5.javaName()"SSL_RSA_EXPORT_WITH_RC4_40_MD5"
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
返回调用RequestBody.writeTo(org.miaixz.bus.core.io.sink.BufferSink)时写入sink的字节数,如果该计数未知,则返回-1
length() - Method in class org.miaixz.bus.http.bodys.ResponseBody
Returns the number of bytes in that will returned by ResponseBody.bytes(), or ResponseBody.byteStream(), or -1 if unknown.
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
Returns a possibly-empty list of certificates that identify this peer.
localPrincipal() - Method in class org.miaixz.bus.http.socket.Handshake
Returns the local principle, or null if this peer is anonymous.
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尝试的顺序排列。如果到地址的连接 失败,Httpd将重试下一个地址的连接,直到建立连接、耗尽IP地址集或超出限制
loopReader() - Method in class org.miaixz.bus.http.socket.RealWebSocket
Receive frames until there are no more.

M

mainExecutor() - Method in class org.miaixz.bus.http.Httpv.Builder
 
matches(UnoUrl) - Method in class org.miaixz.bus.http.Cookie
Returns true if this cookie should be included on a request to url.
MAX_DATE - Static variable in class org.miaixz.bus.http.Builder
最后一个四位数的年份:"Fri, 31 Dec 9999 23:59:59 GMT"
maxAge(int, TimeUnit) - Method in class org.miaixz.bus.http.cache.CacheControl.Builder
设置缓存响应的最大时间。如果缓存响应的时间超过maxAge,则将不使用它,并发出网络请求
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写入其中。如果使用this和other 填充任何设置,则将保留other中的值和标志
message - Variable in class org.miaixz.bus.http.metric.http.StatusLine
 
message() - Method in class org.miaixz.bus.http.Response
Returns the HTTP status message.
message(String) - Method in class org.miaixz.bus.http.Response.Builder
 
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
 
Message(ByteString) - Constructor for class org.miaixz.bus.http.plugin.httpv.CoverCall.Message
 
MESSAGE - Static variable in class org.miaixz.bus.http.Builder
 
MESSAGE_ID - Static variable in class org.miaixz.bus.http.Stomp.Header
 
method() - Method in class org.miaixz.bus.http.Request
 
method(String, RequestBody) - Method in class org.miaixz.bus.http.Request.Builder
 
minFresh(int, TimeUnit) - Method in class org.miaixz.bus.http.cache.CacheControl.Builder
设置一个响应持续刷新的最小秒数。如果响应在minFresh过期后失效,则将不使用缓存的响应,并发出网络请求
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
The MIME Multipart/Related Content-type 用于复合对象
MultipartBody.Builder - Class in org.miaixz.bus.http.bodys
 
MultipartBody.Part - Class in org.miaixz.bus.http.bodys
 
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
 
name(int) - Method in class org.miaixz.bus.http.bodys.FormBody
 
name(int) - Method in class org.miaixz.bus.http.Headers
Returns the field at position.
name(String) - Method in class org.miaixz.bus.http.Cookie.Builder
 
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
Returns an immutable case-insensitive set of header names.
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
返回观察单个网络请求和响应的可修改的拦截器列表。 这些拦截器必须调用NewChain.proceed(org.miaixz.bus.http.Request) 只执行一次:网络拦截器短路或重复网络请求是错误的
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
Returns the raw response received from the network.
networkResponse(Response) - Method in class org.miaixz.bus.http.Response.Builder
 
newBuilder() - Method in class org.miaixz.bus.http.Headers
 
newBuilder() - Method in class org.miaixz.bus.http.Httpd
 
newBuilder() - Method in class org.miaixz.bus.http.Httpv
 
newBuilder() - Static method in class org.miaixz.bus.http.Httpz
 
newBuilder() - Method in class org.miaixz.bus.http.Request
 
newBuilder() - Method in class org.miaixz.bus.http.Response
 
newBuilder() - Method in class org.miaixz.bus.http.UnoUrl
 
newBuilder(String) - Method in class org.miaixz.bus.http.UnoUrl
Returns a builder for the URL that would be retrieved by following link from this URL, or null if the resulting URL is not well-formed.
newBuilder(Httpd) - Static method in class org.miaixz.bus.http.Httpz
 
newCall(Request) - Method in class org.miaixz.bus.http.Httpd
准备request在将来的某个时间点执行
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
使用request连接一个新的web套接字
newWebSocket(Request, WebSocketListener) - Method in interface org.miaixz.bus.http.socket.WebSocket.Factory
创建一个新的web套接字并立即返回它。创建web套接字将启动一个异步进程来连接套接字 成功或失败,listener将被通知。当返回的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
Returns true if there is an element in first that is also in second.
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.Headers
Returns headers for the alternating header names and values.
of(Map<String, String>) - Static method in class org.miaixz.bus.http.Headers
Returns headers for the header names and values in the Map.
of(Response) - Static method in interface org.miaixz.bus.http.plugin.httpv.CoverResult
构造一个 Results 此方法构造的 Results 不可设置进度回调,不可进行下载操作! 若需要,请使用方法: CoverResult.of(Response, CoverTasks.Executor)
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
推送请求对应的响应标头。当last为真时,则没有后续的数据帧
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
 
onReadClose(int, String) - Method in interface org.miaixz.bus.http.socket.WebSocketReader.FrameCallback
 
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
 
onReadPing(ByteString) - Method in interface org.miaixz.bus.http.socket.WebSocketReader.FrameCallback
 
onReadPong(ByteString) - Method in class org.miaixz.bus.http.socket.RealWebSocket
 
onReadPong(ByteString) - Method in interface org.miaixz.bus.http.socket.WebSocketReader.FrameCallback
 
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
当远程服务器成功返回HTTP响应时调用。回调可以继续使用Response.body读取响应体响应仍然是 活动的直到它的响应体是closed 回调的接收者可以使用另一个线程上的响应体 注意,传输层的成功(接收HTTP响应代码、报头和正文)不一定表示应用程序层的 成功:response可能仍然表示不满意的HTTP响应代码,如404或500
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_”前缀。特别是一些IBM jvm到处使用“SSL_”前缀, 而Oracle jvm则混合使用“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
 
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
 
org.miaixz.bus.http.metric.http - package org.miaixz.bus.http.metric.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
 
org.miaixz.bus.http.plugin.httpx - package org.miaixz.bus.http.plugin.httpx
 
org.miaixz.bus.http.plugin.httpz - package org.miaixz.bus.http.plugin.httpz
 
org.miaixz.bus.http.secure - package org.miaixz.bus.http.secure
 
org.miaixz.bus.http.socket - package org.miaixz.bus.http.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
Returns the date for value.
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
Returns a new HttpUrl representing url if it is a well-formed HTTP or HTTPS URL, or null if it isn't.
parse(Headers) - Static method in class org.miaixz.bus.http.cache.CacheControl
返回headers的缓存指令。 如果存在Cache-Control和Pragma头文件,则会同时显示它们
parse(UnoUrl, String) - Static method in class org.miaixz.bus.http.Cookie
 
parseAll(UnoUrl, Headers) - Static method in class org.miaixz.bus.http.Cookie
Returns all of the cookies from a set of HTTP response headers.
parseChallenges(Headers, String) - Static method in class org.miaixz.bus.http.Headers
Parse RFC 7235 challenges.
parseSeconds(String, int) - Static method in class org.miaixz.bus.http.Headers
Returns value as a positive integer, or 0 if it is negative, or defaultValue if it cannot be parsed.
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
返回已解码的密码,如果不存在,则返回空字符串.
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
 
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
 
pathSegments() - Method in class org.miaixz.bus.http.UnoUrl
Returns a list of path segments like ["a", "b", "c"] for the URL http://host/a/b/c.
pathSize() - Method in class org.miaixz.bus.http.UnoUrl
Returns the number of segments in this URL's path.
pause() - Method in class org.miaixz.bus.http.plugin.httpv.Downloads.Control
暂停下载任务
peekBody(long) - Method in class org.miaixz.bus.http.Response
Peeks up to byteCount bytes from the response body and returns them as a new response body.
peerCertificates() - Method in class org.miaixz.bus.http.socket.Handshake
Returns a possibly-empty list of certificates that identify the remote peer.
peerPrincipal() - Method in class org.miaixz.bus.http.socket.Handshake
Returns the remote peer's principle, or null if that peer is anonymous.
percentDecode(String, boolean) - Static method in class org.miaixz.bus.http.UnoUrl
 
persistent() - Method in class org.miaixz.bus.http.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
设置此客户端发起的HTTP/2和web套接字ping之间的间隔。使用此命令可自动发送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
设置此客户端发起的HTTP/2和web套接字ping之间的间隔。使用此命令可自动发送ping帧, 直到连接失败或关闭。这将保持连接处于活动状态,并可能检测到连接失败.
pingIntervalMillis() - Method in class org.miaixz.bus.http.Httpd
 
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
 
post() - Static method in class org.miaixz.bus.http.Httpz
 
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(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
 
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
Returns the response for the HTTP redirect or authorization challenge that triggered this response, or null if this response wasn't triggered by an automatic retry.
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
Returns the HTTP protocol, such as Protocol.HTTP_1_1 or Protocol.HTTP_1_0.
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
Returns the protocols the client supports.
protocols() - Method in class org.miaixz.bus.http.Httpd
 
protocols(List<Protocol>) - Method in class org.miaixz.bus.http.Httpd.Builder
配置此客户端使用的协议以与远程服务器通信。默认情况下,该客户机将选择最有效的传输方式 退回到更普遍的协议。应用程序应该只调用这个方法来避免特定的兼容性问题,比如在启用HTTP/2时web服务器的行为不正确.
protocols(List<Protocol>) - Method in class org.miaixz.bus.http.plugin.httpz.HttpBuilder
 
proxy() - Method in class org.miaixz.bus.http.Address
Returns this address's explicitly-specified HTTP proxy, or null to delegate to the proxy selector.
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
Returns the Proxy of this route.
proxy(Proxy) - Method in class org.miaixz.bus.http.Httpd.Builder
设置此客户端创建的连接将使用的HTTP代理。它优先于Httpd.Builder.proxySelector, 后者仅在此代理为空(默认为空)时才被启用。要完全禁用代理使用,请调用proxy(proxy . no_proxy)
proxy(Proxy) - Method in class org.miaixz.bus.http.plugin.httpz.HttpBuilder
 
proxyAuthenticator() - Method in class org.miaixz.bus.http.Address
Returns the client's proxy authenticator.
proxyAuthenticator() - Method in class org.miaixz.bus.http.Httpd
 
proxyAuthenticator(Authenticator) - Method in class org.miaixz.bus.http.Httpd.Builder
设置用于响应来自代理服务器的挑战的验证器。使用Httpd.Builder.authenticator设置源服务器的身份验证器 果未设置,将尝试no authentication will be attempted
proxyAuthenticator(Authenticator) - Method in class org.miaixz.bus.http.plugin.httpz.HttpBuilder
 
proxySelector() - Method in class org.miaixz.bus.http.Address
Returns this address's proxy selector.
proxySelector() - Method in class org.miaixz.bus.http.Httpd
 
proxySelector(ProxySelector) - Method in class org.miaixz.bus.http.Httpd.Builder
如果没有显式指定proxy,则设置要使用的代理选择策略。代理选择器可以返回多个代理;在这种情况下, 将依次对它们进行测试,直到建立成功的连接.
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以请求取消已推的流。 注意,这并不保证将来的帧不会到达流ID
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
 
put() - Static method in class org.miaixz.bus.http.Httpz
 
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(RequestBody) - Method in class org.miaixz.bus.http.Request.Builder
 
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
Returns this URL's query, like "abc" for http://host/?abc.
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
 
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
Returns the first query parameter named name decoded using UTF-8, or null if there is no such query parameter.
queryParameterName(int) - Method in class org.miaixz.bus.http.UnoUrl
Returns the name of the query parameter at index.
queryParameterNames() - Method in class org.miaixz.bus.http.UnoUrl
Returns the distinct query parameter names in this URL, like ["a", "b"] for http://host/?a=apple&b=banana.
queryParameterValue(int) - Method in class org.miaixz.bus.http.UnoUrl
Returns the value of the query parameter at index.
queryParameterValues(String) - Method in class org.miaixz.bus.http.UnoUrl
Returns all values for the query parameter name ordered by their appearance in this URL.
querySize() - Method in class org.miaixz.bus.http.UnoUrl
Returns the number of query parameters in this URL, like 2 for http://host/?a=apple&b=banana.
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
设置新连接的默认读取超时。值0表示没有超时,否则在转换为毫秒时,值必须在1和Integer.MAX_VALUE之间
readTimeout(long, TimeUnit) - Method in class org.miaixz.bus.http.plugin.httpz.HttpBuilder
 
readTimeout(Duration) - Method in class org.miaixz.bus.http.Httpd.Builder
设置新连接的默认读取超时。值0表示没有超时,否则在转换为毫秒时,值必须在1和Integer.MAX_VALUE之间
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
实际调用准备执行的请求
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
响应体只能使用一次
RealResponseBody(String, long, BufferSource) - Constructor for class org.miaixz.bus.http.bodys.RealResponseBody
 
RealWebSocket - Class in org.miaixz.bus.http.socket
 
RealWebSocket(Request, WebSocketListener, Random, long) - Constructor for class org.miaixz.bus.http.socket.RealWebSocket
 
RealWebSocket.Streams - Class in org.miaixz.bus.http.socket
 
receivedResponseAtMillis() - Method in class org.miaixz.bus.http.Response
Returns a timestamp taken immediately after Http received this response's headers from the network.
receivedResponseAtMillis(long) - Method in class org.miaixz.bus.http.Response.Builder
 
receiveHeaders(CookieJar, UnoUrl, Headers) - Static method in class org.miaixz.bus.http.Headers
 
redact() - Method in class org.miaixz.bus.http.UnoUrl
 
redactedUrl() - Method in class org.miaixz.bus.http.RealCall
 
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的所有缓存项。当客户端使缓存无效时(如发出POST请求时),将调用此方法
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
Removes all headers named name on this builder.
removeHeader(String) - Method in class org.miaixz.bus.http.Response.Builder
Removes all headers named name on this 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
The wire-level request that initiated this 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请求。如果该类的Request.body为空或自身为不可变,则该类的实例是不可变的.
Request.Builder - Class in org.miaixz.bus.http
 
RequestBody - Class in org.miaixz.bus.http.bodys
内容对象
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
Returns true if this route tunnels HTTPS through an HTTP proxy.
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响应。该类的实例不是不可变的: 响应体是一次性的值,可能只使用一次,然后关闭。所有其他属性都是不可变的.
RESPONSE_STATUS - Static variable in class org.miaixz.bus.http.metric.http.Http2Header
 
Response.Builder - Class in org.miaixz.bus.http
 
ResponseBody - Class in org.miaixz.bus.http.bodys
从源服务器到客户机应用程序的一次性流,包含响应主体的原始字节。 到web服务器的活动连接支持每个响应主体。 这对客户机应用程序施加了义务和限制,每个响应主体由一个有限的资源(如socket(实时网络响应)或一个打开的 文件(用于缓存的响应)来支持。如果不关闭响应体,将会泄漏资源并减慢或崩溃 这个类和Response都实现了Closeable。关闭一个响应就是关闭它的响应体。如果您 调用NewCall.execute()或实现Callback.onResponse(org.miaixz.bus.http.NewCall, org.miaixz.bus.http.Response),则必须通过 调用以下任何方法来关闭此主体: Response.close() Response.body().close() Response.body().source().close() Response.body().charStream().close() Response.body().byteStream().close() Response.body().bytes() Response.body().string() 这个类可以用来传输非常大的响应。例如,可以使用这个类来读取大于分配给当前进程的整个内存的响应。 它甚至可以传输大于当前设备总存储的响应,这是视频流应用程序的一个常见需求 因为这个类不会在内存中缓冲完整的响应,所以应用程序可能不会重新读取响应的字节。使用ResponseBody.bytes()ResponseBody.string()将整个响应读入内存。或者使用ResponseBody.source()ResponseBody.byteStream()ResponseBody.charStream()来处理响应
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
 
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
选择连接到源服务器的路由。每个连接都需要选择代理 服务器、IP地址和TLS模式。连接也可以循环使用
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
Returns true if an HTTP request for a and b can reuse a connection.
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
Returns either "http" or "https".
scheme(String) - Method in class org.miaixz.bus.http.UnoUrl.Builder
 
secure() - Method in class org.miaixz.bus.http.Cookie.Builder
 
secure() - Method in class org.miaixz.bus.http.Cookie
 
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(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。将溢出传出消息缓冲区的消息将被拒绝, 并触发此web套接字的graceful shutdown。此方法在这种情况下返回false, 在此web套接字关闭、关闭或取消的任何其他情况下也返回false
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。将溢出传出消息缓冲区(16 MiB)的消息将被拒绝, 并触发此web套接字的graceful shutdown。此方法在这种情况下返回false, 在此web套接字关闭、关闭或取消的任何其他情况下也返回false
send(Stomp.Message) - Method in class org.miaixz.bus.http.Stomp
发送消息给服务器
SEND - Static variable in class org.miaixz.bus.http.Builder
 
sendTo(String, String) - Method in class org.miaixz.bus.http.Stomp
发送消息到指定目的地
sentRequestAtMillis() - Method in class org.miaixz.bus.http.Response
Returns a timestamp taken immediately before Http transmitted the initiating request over the network.
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 a field with the specified value.
set(String, Instant) - Method in class org.miaixz.bus.http.Headers.Builder
Set a field with the specified instant.
set(String, Date) - Method in class org.miaixz.bus.http.Headers.Builder
Set a field with the specified date.
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
 
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
设置并发执行的最大请求数。上述请求在内存中排队,等待正在运行的调用完成 如果在调用它时有超过maxRequests的请求在运行,那么这些请求将保持运行状态
setMaxRequestsPerHost(int) - Method in class org.miaixz.bus.http.metric.Dispatcher
设置每个主机并发执行的最大请求数。这将根据URL的主机名限制请求。 注意,对单个IP地址的并发请求仍然可能超过这个限制:多个主机名可能共享一个IP地址,或者通过相同的HTTP代理进行路由 如果在调用它时有超过maxRequestsPerHost的请求在运行,那么这些请求将保持运行状态
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.
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
设置下载成功回调
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
Set the MIME type.
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
The number of parts in this multipart body.
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
Returns the number of field values.
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
Reads until in is exhausted or the deadline has been reached.
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
Increments pos until input[pos] is not ASCII whitespace.
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
Decrements limit until input[limit - 1] is not ASCII whitespace.
skipUntil(String, int, String) - Static method in class org.miaixz.bus.http.Headers
Returns the next index in input at or after pos that contains a character from characters.
skipWhitespace(String, int) - Static method in class org.miaixz.bus.http.Headers
Returns the next non-whitespace character in input that is white space.
sMaxAgeSeconds() - Method in class org.miaixz.bus.http.cache.CacheControl
 
snapshots() - Method in class org.miaixz.bus.http.cache.DiskLruCache
返回缓存当前项的迭代器。这个迭代器不会抛出ConcurrentModificationException, 调用者必须DiskLruCache.Snapshot.close()每个由Iterator.next()返回的快照 如果做不到这一点,就会泄漏打开的文件,返回的迭代器支持 Iterator.remove().
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
Returns the socket factory for new connections.
socketFactory() - Method in class org.miaixz.bus.http.Httpd
 
socketFactory(SocketFactory) - Method in class org.miaixz.bus.http.Httpd.Builder
设置用于创建连接的套接字工厂。Httpd只使用无参数的SocketFactory.createSocket() 方法来创建未连接的套接字。重写这个方法,例如。,允许将套接字绑定到特定的本地地址 如果未设置,将使用system-wide defaultsocket工厂
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
Returns the SSL socket factory, or null if this is not an HTTPS address.
sslSocketFactory() - Method in class org.miaixz.bus.http.Httpd
 
sslSocketFactory(SSLSocketFactory) - Method in class org.miaixz.bus.http.Httpd.Builder
设置用于保护HTTPS连接的套接字工厂。如果未设置,则使用系统默认值
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
Websockt 的 Stomp 客户端
Stomp.Header - Class in org.miaixz.bus.http
 
Stomp.Message - Class in org.miaixz.bus.http
 
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
Returns the response as a string.
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
 
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
 
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。大多数自定义DnsX实现应该委托给这个实例.

T

tag - Variable in class org.miaixz.bus.http.plugin.httpz.RequestBuilder
 
tag() - Method in class org.miaixz.bus.http.Request
返回带有Object.class作为键,如果没有附加任何标记,则为null 如果没有附加标记,这个方法就不会返回null。相反,它返回的要么是这个请求, 要么是使用Request.newBuilder()派生该请求的请求
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
Attaches tag to the request using type as a key.
tag(Object) - Method in class org.miaixz.bus.http.plugin.httpz.RequestBuilder
 
tag(Object) - Method in class org.miaixz.bus.http.Request.Builder
Attaches tag to the request using Object.class as a key.
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
Returns the TLS version used for this connection.
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
 
toHeaders(List<Http2Header>) - Static method in class org.miaixz.bus.http.Builder
 
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
返回描述此调用的字符串 不包含完整的URL,因为它可能包含敏感信息
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
 
toString() - Method in class org.miaixz.bus.http.cache.CacheControl
 
toString() - Method in class org.miaixz.bus.http.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
 
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
 
toString() - Method in class org.miaixz.bus.http.UnoUrl
 
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
Returns the trailers after the HTTP response, which may be empty.
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
Equivalent to string.substring(pos, limit).trim().
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 - 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
统一资源定位器(URL),其模式为httphttps。使用这个类来组合和分解Internet地址 这个类有一个现代的API。它避免了惩罚性的检查异常:get()对无效的输入抛出IllegalArgumentException, 或者parse()如果输入是无效的URL,则返回null。您甚至可以明确每个组件是否已经编码
UnoUrl.Builder - Class in org.miaixz.bus.http
 
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
 
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
Returns this URL as a 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
Returns a URL with the hostname and port of the origin server.
url() - Method in class org.miaixz.bus.http.Request
 
url() - Method in class org.miaixz.bus.http.UnoUrl
Returns this URL as a 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
Sets the URL target of this request.
url(URL) - Method in class org.miaixz.bus.http.Request.Builder
Sets the URL target of this request.
url(UnoUrl) - Method in class org.miaixz.bus.http.Request.Builder
 
urls() - Method in class org.miaixz.bus.http.cache.Cache
在此缓存中的url上返回一个迭代器,该迭代器支持Iterator.remove()。 从迭代器中删除URL将从缓存中删除相应的响应。使用此来清除选定的响应
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
返回已解码的用户名,如果不存在,则返回空字符串.
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 and UTC are equivalent for our purposes

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
 
value(int) - Method in class org.miaixz.bus.http.bodys.FormBody
 
value(int) - Method in class org.miaixz.bus.http.Headers
Returns the value at index.
value(String) - Method in class org.miaixz.bus.http.Cookie.Builder
 
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
Returns an immutable list of the header values for name.
varyFields(Headers) - Static method in class org.miaixz.bus.http.Headers
Returns the names of the request headers that need to be checked for equality when caching.
varyHeaders(Headers, Headers) - Static method in class org.miaixz.bus.http.Headers
Returns the subset of the headers in requestHeaders that impact the content of response's body.
varyHeaders(Response) - Static method in class org.miaixz.bus.http.Headers
Returns the subset of the headers in response's request that impact the content of response's body.
varyMatches(Response, Headers, Request) - Static method in class org.miaixz.bus.http.Headers
Returns true if none of the Vary headers have changed between cachedRequest and newRequest.
verifyAsIpAddress(String) - Static method in class org.miaixz.bus.http.Builder
Returns true if host is not a host name and might be an IP address.
VERSION - Static variable in class org.miaixz.bus.http.Stomp.Header
 

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的非阻塞接口。使用factory 通常是Httpd 在正常操作时,每个web套接字将通过一系列状态进行处理
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
 
webSocketUpgradeFailed() - Method in class org.miaixz.bus.http.accord.Exchange
 
WebSocketWriter - Class in org.miaixz.bus.http.socket
RFC 6455兼容的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
配置写操作超时时间
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
设置新连接的默认写超时。值0表示没有超时,否则在转换为毫秒时,值必须在1和Integer.MAX_VALUE之间
writeTimeout(long, TimeUnit) - Method in class org.miaixz.bus.http.plugin.httpz.HttpBuilder
 
writeTimeout(Duration) - Method in class org.miaixz.bus.http.Httpd.Builder
设置新连接的默认写超时。值0表示没有超时,否则在转换为毫秒时,值必须在1和Integer.MAX_VALUE之间
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
将此请求的内容写入sink
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