Index
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里的参数
- 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
- addEncodedParams(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
nameandvalue. - addHeader(String, String) - Method in class org.miaixz.bus.http.Response.Builder
-
Adds a header with
nameandvalue. - addHeader(Map<String, String>) - Method in class org.miaixz.bus.http.plugin.httpv.CoverHttp
-
添加请求头
- addHeaders(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
-
添加自定义的系统类型
- addParams(Object) - Method in class org.miaixz.bus.http.plugin.httpz.RequestBuilder
- addParams(String, String) - Method in class org.miaixz.bus.http.plugin.httpz.RequestBuilder
- addParams(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
- 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.Divice
-
Android
- appendHeaders() - Method in class org.miaixz.bus.http.plugin.httpz.HttpRequest
- appendingSink(File) - Method in interface org.miaixz.bus.http.cache.DiskLruCache.DiskFile
-
Writes to
file, appending if data is already present. - appendParams(String, Map<String, String>) - Method in class org.miaixz.bus.http.plugin.httpz.GetBuilder
- 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(Settings) - Method in class org.miaixz.bus.http.metric.http.Http2Writer
-
Applies
peerSettingsand 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
realmandcharsetif 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 fromNewCall.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-Controlheader, 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.Interceptor.Chain
- 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.ErrorCode
- 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
hostis 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.Settings
- 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(ErrorCode, 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(ErrorCode) - 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.ErrorCode
- 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
- 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.ErrorCode
- 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.Interceptor.Chain
-
返回将执行请求的连接。这只在网络拦截器链中可用; 对于应用程序拦截器,这总是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.Interceptor.Chain
- 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
- 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.Settings
-
设置总数
- 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.lengthmay 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 ifscheme.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
fileif 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
inputthat isdelimiter. - delimiterOffset(String, int, int, String) - Static method in class org.miaixz.bus.http.Builder
-
Returns the index of the first character in
inputthat contains a character indelimiters. - DESKTOP_DIVICES - Static variable in class org.miaixz.bus.http.metric.anget.Divice
-
支持的桌面平台类型
- 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.
- 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}。值是字节序列,可以作为流或文件访问 每个值必须在
0和Integer之间。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中提取字符串值。 它不支持十六进制字符串样式的值.
- Divice - Class in org.miaixz.bus.http.metric.anget
-
设备信息
- Divice(String, String) - Constructor for class org.miaixz.bus.http.metric.anget.Divice
-
构造
- DIVICES - Static variable in class org.miaixz.bus.http.metric.anget.Divice
-
支持的平台类型
- 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
- encodedFragment() - Method in class org.miaixz.bus.http.UnoUrl
-
返回这个URL的片段
"abc"forhttp://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
- encodedParams - Variable in class org.miaixz.bus.http.plugin.httpz.RequestBuilder
- encodedParams(Map<String, String>) - Method in class org.miaixz.bus.http.plugin.httpz.RequestBuilder
- 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 URLhttp://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.ErrorCode
- 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
otheris aHeadersobject with the same headers, with the same casing, in the same order. - equals(Object) - Method in class org.miaixz.bus.http.Headers.Header
- equals(Object) - Method in class org.miaixz.bus.http.metric.anget.UserAgent
- 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
- ErrorCode - Enum Class in org.miaixz.bus.http.metric.http
-
错误码信息
- 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#executeto 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
fileexists 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.PostRequest.FileInfo
- 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
- fileContent - Variable in class org.miaixz.bus.http.plugin.httpz.PostRequest.FileInfo
- FileInfo() - Constructor for class org.miaixz.bus.http.plugin.httpz.PostRequest.FileInfo
- fileInfos - Variable in class org.miaixz.bus.http.plugin.httpz.HttpRequest
- fileInputStream - Variable in class org.miaixz.bus.http.plugin.httpz.PostRequest.FileInfo
- 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
- fileName - Variable in class org.miaixz.bus.http.plugin.httpz.PostRequest.FileInfo
- 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#executeto signal completion. - finished(RealCall.AsyncCall) - Method in class org.miaixz.bus.http.metric.Dispatcher
-
Used by
AsyncCall#runto 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.ErrorCode
- 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"forhttp://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.ErrorCode
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.Settings
-
设置
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 enum class org.miaixz.bus.http.Protocol
- get(String) - Static method in class org.miaixz.bus.http.UnoUrl
-
Returns a new
HttpUrlrepresentingurl. - 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, Object>) - Static method in class org.miaixz.bus.http.Httpx
-
带查询参数 GET 请求 使用默认编码 UTF-8
- get(String, Map<String, Object>, Map<String, String>) - Static method in class org.miaixz.bus.http.Httpx
-
带查询参数 GET 请求 使用默认编码 UTF-8
- get(String, Map<String, Object>, 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
- 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
-
获得被绑定的对象
- getBrowser() - Method in class org.miaixz.bus.http.metric.anget.UserAgent
-
获取浏览器类型
- 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.
- getDivice() - Method in class org.miaixz.bus.http.metric.anget.UserAgent
-
获取平台类型
- 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.Settings
- getEngine() - Method in class org.miaixz.bus.http.metric.anget.UserAgent
-
获取引擎类型
- getEngineVersion() - Method in class org.miaixz.bus.http.metric.anget.UserAgent
-
获取引擎版本
- 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.Settings
- 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.Settings
- 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.Settings
- getMaxFrameSize(int) - Method in class org.miaixz.bus.http.Settings
- getMaxHeaderListSize(int) - Method in class org.miaixz.bus.http.Settings
- 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
- getName() - Method in class org.miaixz.bus.http.metric.anget.UserAgent
-
获取信息名称
- getNewCall() - Method in class org.miaixz.bus.http.plugin.httpz.RequestCall
- getNOS() - Method in class org.miaixz.bus.http.metric.anget.UserAgent
-
获取系统类型
- getPattern() - Method in class org.miaixz.bus.http.metric.anget.UserAgent
-
获取匹配模式
- 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
-
返回一个对象,该对象持有在执行此方法时创建的堆栈跟踪。 用于
Closeable与Platform.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() - Method in class org.miaixz.bus.http.metric.anget.UserAgent
-
获取浏览器版本
- getVersion(String) - Method in class org.miaixz.bus.http.metric.anget.Browser
-
获取浏览器版本
- 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, ErrorCode, byte[]) - Method in class org.miaixz.bus.http.metric.http.Http2Writer
-
告诉对方停止创建流,我们最后处理
lastGoodStreamId,如果没有处理流,则为零. - GOOGLE_TV - Static variable in class org.miaixz.bus.http.metric.anget.Divice
-
Android
H
- H2_PRIOR_KNOWLEDGE - Enum constant in enum class org.miaixz.bus.http.Protocol
-
明文HTTP/2,没有"upgrade"往返。此选项要求客户端事先知道服务器支持明文HTTP/2
- 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.Headers.Header
- hashCode() - Method in class org.miaixz.bus.http.metric.anget.UserAgent
- 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
nametovalue. - header(String, String) - Method in class org.miaixz.bus.http.Response.Builder
-
Sets the header named
nametovalue. - header(String, String) - Method in class org.miaixz.bus.http.Response
- Header(String, String) - Constructor for class org.miaixz.bus.http.Headers.Header
- Header(String, String) - Constructor for class org.miaixz.bus.http.Stomp.Header
- Header(ByteString, String) - Constructor for class org.miaixz.bus.http.Headers.Header
- Header(ByteString, ByteString) - Constructor for class org.miaixz.bus.http.Headers.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.Request
- headers() - Method in class org.miaixz.bus.http.Response
- headers(boolean, int, List<Headers.Header>) - 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(Map<String, String>) - Method in class org.miaixz.bus.http.plugin.httpz.RequestBuilder
- 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消息的头字段。值是未解释的字符串; 使用
Request和Response解释头信息 该类维护HTTP消息中的头字段的顺序 这个类从值中删除空白。它从不返回带开头或结尾空白的值 - Headers.Builder - Class in org.miaixz.bus.http
- Headers.Header - Class in org.miaixz.bus.http
-
HTTP header: the name is an ASCII string, but the value can be UTF-8.
- 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.Headers.Header
- HTTP_1_0 - Enum constant in enum class org.miaixz.bus.http.Protocol
-
一种过时的plaintext,默认情况下不使用持久套接字
- HTTP_1_1 - Enum constant in enum class org.miaixz.bus.http.Protocol
-
包含持久连接的plaintext 此版本的Httpd实现了RFC 7230,并跟踪对该规范的修订
- HTTP_1_1_REQUIRED - Enum constant in enum class org.miaixz.bus.http.metric.http.ErrorCode
- HTTP_2 - Enum constant in enum class org.miaixz.bus.http.Protocol
-
IETF的二进制框架协议,包括头压缩、在同一个套接字上多路复用多个请求和服务器推送 HTTP/1.1语义是在HTTP/2上分层的
- 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, Interceptor.Chain, 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.
- 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。 - 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.ErrorCode
- 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.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<PostRequest.FileInfo>, 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<PostRequest.FileInfo>, 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. - INADEQUATE_SECURITY - Enum constant in enum class org.miaixz.bus.http.metric.http.ErrorCode
- 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
inputthat is either a control character (like
CertificatePinner.check(String, List).