Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- abort() - Method in interface org.miaixz.bus.http.cache.CacheRequest
-
Aborts this cache request.
- abort() - Method in class org.miaixz.bus.http.cache.DiskLruCache.Editor
-
Aborts this edit.
- abortUnlessCommitted() - Method in class org.miaixz.bus.http.cache.DiskLruCache.Editor
-
Aborts this edit unless it has been committed.
- acceptHeader(String) - Static method in class org.miaixz.bus.http.socket.WebSocketProtocol
-
Computes the `Sec-WebSocket-Accept` header value from a client's key.
- ack(Stomp.Message) - Method in class org.miaixz.bus.http.Stomp
-
Acknowledges the receipt of a message.
- ACK - Static variable in class org.miaixz.bus.http.Builder
-
The STOMP ACK frame command.
- ACK - Static variable in class org.miaixz.bus.http.Stomp.Header
-
The acknowledgment mode header.
- add(String) - Method in class org.miaixz.bus.http.Headers.Builder
-
Adds a header line.
- add(String, String) - Method in class org.miaixz.bus.http.bodys.FormBody.Builder
-
Adds a form field.
- add(String, String) - Method in class org.miaixz.bus.http.Headers.Builder
-
Adds a validated header.
- add(String, String...) - Method in class org.miaixz.bus.http.secure.CertificatePinner.Builder
-
Pins certificates for a given hostname pattern.
- add(String, Instant) - Method in class org.miaixz.bus.http.Headers.Builder
-
Adds an Instant header.
- add(String, Date) - Method in class org.miaixz.bus.http.Headers.Builder
-
Adds a date header.
- addAll(Headers) - Method in class org.miaixz.bus.http.Headers.Builder
-
Adds all headers from a Headers instance.
- addBodyPara(String, Object) - Method in class org.miaixz.bus.http.plugin.httpv.CoverHttp
-
Adds a parameter to be included in the request body (e.g., for form submissions).
- addBodyPara(Map<String, ?>) - Method in class org.miaixz.bus.http.plugin.httpv.CoverHttp
-
Adds multiple body parameters.
- addCustomBrowser(String, String, String) - Static method in class org.miaixz.bus.http.metric.anget.Browser
-
Adds a custom browser type to the list of supported browsers.
- addDoneBytes(long) - Method in class org.miaixz.bus.http.plugin.httpv.Progress
-
Adds a delta to the number of completed bytes.
- addEncoded(String, String) - Method in class org.miaixz.bus.http.bodys.FormBody.Builder
-
Adds an already-encoded form field.
- addEncoded(String, String) - Method in class org.miaixz.bus.http.plugin.httpz.RequestBuilder
-
Adds a single pre-encoded parameter to the request.
- addEncoded(Map<String, String>) - Method in class org.miaixz.bus.http.plugin.httpz.RequestBuilder
-
Replaces all existing pre-encoded parameters with the given map.
- addEncodedPathSegment(String) - Method in class org.miaixz.bus.http.UnoUrl.Builder
-
Adds an encoded path segment.
- addEncodedPathSegments(String) - Method in class org.miaixz.bus.http.UnoUrl.Builder
-
Adds a list of encoded path segments.
- addEncodedQueryParameter(String, String) - Method in class org.miaixz.bus.http.UnoUrl.Builder
-
Adds an encoded query parameter.
- addFile(String, String, byte[]) - Method in class org.miaixz.bus.http.plugin.httpz.PostBuilder
-
Adds a file to the multipart request from a byte array.
- addFile(String, String, byte[]) - Method in class org.miaixz.bus.http.plugin.httpz.PutBuilder
-
Adds a file to the multipart request from a byte array.
- addFile(String, String, byte[], String) - Method in class org.miaixz.bus.http.plugin.httpz.PostBuilder
-
An alias for
PostBuilder.addFile(String, String, byte[]). - addFile(String, String, byte[], String) - Method in class org.miaixz.bus.http.plugin.httpz.PutBuilder
-
An alias for
PutBuilder.addFile(String, String, byte[]). - addFile(String, String, File) - Method in class org.miaixz.bus.http.plugin.httpz.PostBuilder
-
Adds a file to the multipart request from a
Fileobject. - addFile(String, String, File) - Method in class org.miaixz.bus.http.plugin.httpz.PutBuilder
-
Adds a file to the multipart request from a
Fileobject. - addFile(String, String, InputStream) - Method in class org.miaixz.bus.http.plugin.httpz.PostBuilder
-
Adds a file to the multipart request from an
InputStream. - addFile(String, String, String) - Method in class org.miaixz.bus.http.plugin.httpz.PostBuilder
-
Adds a file to the multipart request from a string, using the default UTF-8 encoding.
- addFile(String, String, String) - Method in class org.miaixz.bus.http.plugin.httpz.PutBuilder
-
Adds a file to the multipart request from a string, using the default UTF-8 encoding.
- addFile(String, String, String, String) - Method in class org.miaixz.bus.http.plugin.httpz.PostBuilder
-
Adds a file to the multipart request from a string with a specified charset.
- addFile(String, String, String, String) - Method in class org.miaixz.bus.http.plugin.httpz.PutBuilder
-
Adds a file to the multipart request from a string with a specified charset.
- addFilePara(String, File) - Method in class org.miaixz.bus.http.plugin.httpv.CoverHttp
-
Adds a file parameter for a multipart request.
- addFilePara(String, String) - Method in class org.miaixz.bus.http.plugin.httpv.CoverHttp
-
Adds a file parameter for a multipart request.
- addFilePara(String, String, byte[]) - Method in class org.miaixz.bus.http.plugin.httpv.CoverHttp
-
Adds a file parameter from a byte array for a multipart request.
- addFilePara(String, String, String, byte[]) - Method in class org.miaixz.bus.http.plugin.httpv.CoverHttp
-
Adds a file parameter from a byte array for a multipart request.
- addFormDataPart(String, String) - Method in class org.miaixz.bus.http.bodys.MultipartBody.Builder
-
Adds a form-data part.
- addFormDataPart(String, String, RequestBody) - Method in class org.miaixz.bus.http.bodys.MultipartBody.Builder
-
Adds a form-data part with a filename.
- addHeader(String, String) - Method in class org.miaixz.bus.http.plugin.httpv.CoverHttp
-
Adds a request header.
- addHeader(String, String) - Method in class org.miaixz.bus.http.plugin.httpz.RequestBuilder
-
Adds a single header to the request.
- addHeader(String, String) - Method in class org.miaixz.bus.http.Request.Builder
-
Adds a header, preserving any existing headers with the same name.
- addHeader(String, String) - Method in class org.miaixz.bus.http.Response.Builder
-
Adds a header, preserving any existing headers with the same name.
- addHeader(Map<String, String>) - Method in class org.miaixz.bus.http.plugin.httpv.CoverHttp
-
Adds multiple request headers.
- addHeader(Map<String, String>) - Method in class org.miaixz.bus.http.plugin.httpz.RequestBuilder
-
Replaces all existing headers with the given map of headers.
- addInterceptor(Interceptor) - Method in class org.miaixz.bus.http.Httpd.Builder
-
Adds an application interceptor.
- addInterceptor(Interceptor) - Method in class org.miaixz.bus.http.plugin.httpz.HttpBuilder
-
Adds an application interceptor to this client.
- addLenient(String) - Method in class org.miaixz.bus.http.Headers.Builder
-
Adds an unvalidated header line.
- addLenient(Headers.Builder, String) - Method in class org.miaixz.bus.http.metric.Internal
-
Adds a lenient header line to the
Headers.Builder. - addLenient(Headers.Builder, String, String) - Method in class org.miaixz.bus.http.metric.Internal
-
Adds a lenient header name and value to the
Headers.Builder. - addMsgConvertor(Convertor) - Method in class org.miaixz.bus.http.Httpv.Builder
-
Adds a message converter for handling different response formats.
- addNetworkInterceptor(Interceptor) - Method in class org.miaixz.bus.http.Httpd.Builder
-
Adds a network interceptor.
- addNetworkInterceptor(Interceptor) - Method in class org.miaixz.bus.http.plugin.httpz.HttpBuilder
-
Adds a network interceptor to this client.
- addOs(String, String, String) - Static method in class org.miaixz.bus.http.metric.anget.NOS
-
Adds a custom operating system type to the list of supported OSes.
- addParam(Object) - Method in class org.miaixz.bus.http.plugin.httpz.RequestBuilder
-
Adds all properties of a Plain Old Java Object (POJO) as parameters.
- addParam(String, String) - Method in class org.miaixz.bus.http.plugin.httpz.RequestBuilder
-
Adds a single parameter to the request.
- addParam(Map<String, String>) - Method in class org.miaixz.bus.http.plugin.httpz.RequestBuilder
-
Replaces all existing parameters with the given map of parameters.
- addPart(MultipartBody.Part) - Method in class org.miaixz.bus.http.bodys.MultipartBody.Builder
-
Adds a part.
- addPart(RequestBody) - Method in class org.miaixz.bus.http.bodys.MultipartBody.Builder
-
Adds a part with no headers.
- addPart(Headers, RequestBody) - Method in class org.miaixz.bus.http.bodys.MultipartBody.Builder
-
Adds a part with the given headers and body.
- addPathPara(String, Object) - Method in class org.miaixz.bus.http.plugin.httpv.CoverHttp
-
Adds a path parameter to be replaced in the URL (e.g., for /api/user/{id}).
- addPathPara(Map<String, ?>) - Method in class org.miaixz.bus.http.plugin.httpv.CoverHttp
-
Adds multiple path parameters.
- addPathSegment(String) - Method in class org.miaixz.bus.http.UnoUrl.Builder
-
Adds a path segment.
- addPathSegments(String) - Method in class org.miaixz.bus.http.UnoUrl.Builder
-
Adds a list of path segments.
- addPreprocessor(Preprocessor) - Method in class org.miaixz.bus.http.Httpv.Builder
-
Adds a preprocessor that can run in parallel with other preprocessors.
- addQueryParameter(String, String) - Method in class org.miaixz.bus.http.UnoUrl.Builder
-
Adds a query parameter.
- address() - Method in class org.miaixz.bus.http.Route
-
Returns the address configuration for the target server.
- Address - Class in org.miaixz.bus.http
-
A specification for a connection to an origin server.
- Address(String, int, DnsX, SocketFactory, SSLSocketFactory, HostnameVerifier, CertificatePinner, Authenticator, Proxy, List<Protocol>, List<ConnectionSuite>, ProxySelector) - Constructor for class org.miaixz.bus.http.Address
-
Constructs a new Address.
- addSerialPreprocessor(Preprocessor) - Method in class org.miaixz.bus.http.Httpv.Builder
-
Adds a preprocessor that will be executed serially.
- addSOAPHeader(String) - Method in class org.miaixz.bus.http.plugin.soap.SoapBuilder
-
Adds a SOAP header.
- addSOAPHeader(String, String) - Method in class org.miaixz.bus.http.plugin.soap.SoapBuilder
-
Adds a SOAP header with a value.
- addSOAPHeader(QName) - Method in class org.miaixz.bus.http.plugin.soap.SoapBuilder
-
Adds a SOAP header.
- addSOAPHeader(QName, String, String, Boolean, Boolean) - Method in class org.miaixz.bus.http.plugin.soap.SoapBuilder
-
Adds a SOAP header.
- addSuppressedIfPossible(Throwable, Throwable) - Static method in class org.miaixz.bus.http.Builder
-
Adds a suppressed exception to the given throwable if possible.
- addTagTask(String, Cancelable, CoverHttp<?>) - Method in class org.miaixz.bus.http.Httpv
-
Adds a new tagged task to the list of ongoing tasks.
- addUnsafeNonAscii(String, String) - Method in class org.miaixz.bus.http.Headers.Builder
-
Adds a non-ASCII header.
- addUrlPara(String, Object) - Method in class org.miaixz.bus.http.plugin.httpv.CoverHttp
-
Adds a URL parameter to be appended to the query string.
- addUrlPara(Map<String, ?>) - Method in class org.miaixz.bus.http.plugin.httpv.CoverHttp
-
Adds multiple URL parameters.
- afterHandshake(SSLSocket) - Method in class org.miaixz.bus.http.accord.platform.Platform
-
Called after the TLS handshake to release any resources allocated by
Platform.configureTlsExtensions(javax.net.ssl.SSLSocket, java.lang.String, java.util.List<org.miaixz.bus.core.net.Protocol>). - afterProcess() - Method in class org.miaixz.bus.http.Httpv.SerialPreprocessor
-
Called after a process is finished to run the next pending task.
- ALL_DEVICE - Static variable in class org.miaixz.bus.http.metric.anget.Device
-
A combined list of all supported device types.
- allEnabledCipherSuites() - Method in class org.miaixz.bus.http.accord.ConnectionSuite.Builder
-
Configures the connection to use all enabled cipher suites of the SSL socket.
- allEnabledTlsVersions() - Method in class org.miaixz.bus.http.accord.ConnectionSuite.Builder
-
Configures the connection to use all enabled TLS versions of the SSL socket.
- alpnProtocolNames(List<Protocol>) - Static method in class org.miaixz.bus.http.accord.platform.Platform
-
Converts a list of
Protocolobjects to a list of their string representations. - ANDROID - Static variable in class org.miaixz.bus.http.metric.anget.Device
-
Represents an Android device.
- append(String, Map<String, String>) - Method in class org.miaixz.bus.http.plugin.httpz.DeleteBuilder
-
Appends the given query parameters to the URL string.
- append(String, Map<String, String>) - Method in class org.miaixz.bus.http.plugin.httpz.GetBuilder
-
Appends the given query parameters to the URL string.
- append(String, Map<String, String>) - Method in class org.miaixz.bus.http.plugin.httpz.HeadBuilder
-
Appends the given query parameters to the URL string.
- 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
-
Applies this specification to the
sslSocket. - apply(ConnectionSuite, SSLSocket, boolean) - Method in class org.miaixz.bus.http.metric.Internal
-
Applies the given
ConnectionSuiteto theSSLSocket. - apply(Convertor) - Method in interface org.miaixz.bus.http.plugin.httpv.CoverTasks.Executor.ConvertFunc
-
Applies the conversion logic using the given converter.
- applyAndAckSettings(Http2Settings) - 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
-
Asserts that there are no conflicting body parameter settings.
- async(String) - Method in class org.miaixz.bus.http.Httpv
-
Starts an asynchronous HTTP request.
- Async(Httpv, String) - Constructor for class org.miaixz.bus.http.plugin.httpv.CoverHttp.Async
-
Constructs a new asynchronous request builder.
- authenticate(Route, Response) - Method in interface org.miaixz.bus.http.secure.Authenticator
-
Returns a request that includes a credential to satisfy an authentication challenge in
response. - authenticate(Route, Response) - Method in class org.miaixz.bus.http.secure.NetAuthenticator
- authenticator() - Method in class org.miaixz.bus.http.Httpd
-
Returns the authenticator for handling challenges from origin servers.
- authenticator() - Method in class org.miaixz.bus.http.plugin.httpx.HttpProxy
-
Creates an
Authenticatorfor this proxy configuration. - authenticator(Authenticator) - Method in class org.miaixz.bus.http.Httpd.Builder
-
Sets the authenticator used to respond to challenges from origin servers.
- authenticator(Authenticator) - Method in class org.miaixz.bus.http.plugin.httpz.HttpBuilder
-
Sets the authenticator used to respond to challenges from origin servers.
- Authenticator - Interface in org.miaixz.bus.http.secure
-
Responds to authentication challenges from origin web servers or proxies.
- 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
-
The automatic acknowledgment mode.
B
- baseUrl() - Method in class org.miaixz.bus.http.Httpv
-
Gets the base URL.
- baseUrl() - Method in class org.miaixz.bus.http.Httpv.Builder
- baseUrl(String) - Method in class org.miaixz.bus.http.Httpv.Builder
-
Sets the base URL for all requests.
- basic(String, String) - Static method in class org.miaixz.bus.http.secure.Credentials
-
Returns a credential string for Basic HTTP authentication using the ISO-8859-1 charset.
- basic(String, String, Charset) - Static method in class org.miaixz.bus.http.secure.Credentials
-
Returns a credential string for Basic HTTP authentication using the specified charset.
- BasicCertificateChainCleaner - Class in org.miaixz.bus.http.secure
-
A certificate chain cleaner that builds a trust chain starting from a server certificate, following the chain of issuers until a trusted root certificate is found.
- BasicCertificateChainCleaner(TrustRootIndex) - Constructor for class org.miaixz.bus.http.secure.BasicCertificateChainCleaner
-
Constructs a new BasicCertificateChainCleaner.
- BasicTrustRootIndex - Class in org.miaixz.bus.http.secure
-
An in-memory index of trusted root certificates.
- BasicTrustRootIndex(X509Certificate...) - Constructor for class org.miaixz.bus.http.secure.BasicTrustRootIndex
-
Creates a new index from a set of CA certificates.
- bind(Object) - Method in class org.miaixz.bus.http.plugin.httpv.CoverHttp
-
Binds an arbitrary object to this request.
- body - Variable in class org.miaixz.bus.http.plugin.httpz.HttpRequest
-
The request body as a raw string (e.g., for JSON).
- body() - Method in class org.miaixz.bus.http.bodys.MultipartBody.Part
-
Returns the body of this part.
- body() - Method in interface org.miaixz.bus.http.cache.CacheRequest
-
Returns a sink that can be used to write the response body to the cache.
- body() - Method in class org.miaixz.bus.http.Request
-
Returns the request body.
- body() - Method in class org.miaixz.bus.http.Response
-
Returns the response body.
- body(String) - Method in class org.miaixz.bus.http.plugin.httpz.PostBuilder
-
Sets a raw string as the request body.
- body(String) - Method in class org.miaixz.bus.http.plugin.httpz.PutBuilder
-
Sets a raw string as the request body.
- body(ResponseBody) - Method in class org.miaixz.bus.http.Response.Builder
-
Sets the response body.
- bodyType() - Method in class org.miaixz.bus.http.Httpv
-
Gets the default body type.
- bodyType() - Method in class org.miaixz.bus.http.Httpv.Builder
- bodyType(String) - Method in class org.miaixz.bus.http.Httpv.Builder
-
Sets the default body type for requests.
- bodyType(String) - Method in class org.miaixz.bus.http.plugin.httpv.CoverHttp
-
Sets the request body type, such as "form", "json", "xml", "protobuf", etc.
- bomAwareCharset(BufferSource, Charset) - Static method in class org.miaixz.bus.http.Builder
-
Detects the character set of a
BufferSourcebased on its Byte Order Mark (BOM), falling back to a default charset if no BOM is found. - boundary() - Method in class org.miaixz.bus.http.bodys.MultipartBody
-
Returns the boundary separator.
- BridgeInterceptor - Class in org.miaixz.bus.http.metric.http
-
Bridges from application code to network code.
- BridgeInterceptor(CookieJar) - Constructor for class org.miaixz.bus.http.metric.http.BridgeInterceptor
-
Constructs a new BridgeInterceptor.
- BROWERS - Static variable in class org.miaixz.bus.http.metric.anget.Browser
-
A list of supported browser types.
- Browser - Class in org.miaixz.bus.http.metric.anget
-
Represents a browser, parsed from a User-Agent string.
- Browser(String, String, String) - Constructor for class org.miaixz.bus.http.metric.anget.Browser
-
Constructs a new
Browserinstance. - BROWSER_COMPATIBLE_DATE_FORMAT_STRINGS - Static variable in class org.miaixz.bus.http.Builder
-
Array of browser-compatible date format strings.
- BROWSER_COMPATIBLE_DATE_FORMATS - Static variable in class org.miaixz.bus.http.Builder
-
Array of browser-compatible date formatters.
- build() - Method in class org.miaixz.bus.http.accord.ConnectionSuite.Builder
-
Builds a new
ConnectionSuiteinstance. - build() - Method in class org.miaixz.bus.http.bodys.FormBody.Builder
-
Builds a new
FormBodyinstance. - build() - Method in class org.miaixz.bus.http.bodys.MultipartBody.Builder
-
Builds a new
MultipartBodyinstance. - build() - Method in class org.miaixz.bus.http.cache.CacheControl.Builder
-
Builds a new
CacheControlinstance. - build() - Method in class org.miaixz.bus.http.Cookie.Builder
-
Builds a new
Cookieinstance. - build() - Method in class org.miaixz.bus.http.Headers.Builder
-
Builds a Headers instance.
- build() - Method in class org.miaixz.bus.http.Httpd.Builder
-
Builds a new
Httpdinstance with the configured settings. - build() - Method in class org.miaixz.bus.http.Httpv.Builder
-
Builds a new
Httpvinstance with the configured settings. - build() - Method in class org.miaixz.bus.http.metric.http.Http2Connection.Builder
- build() - Method in class org.miaixz.bus.http.plugin.httpz.DeleteBuilder
-
Builds the
RequestCallfor the DELETE request. - build() - Method in class org.miaixz.bus.http.plugin.httpz.GetBuilder
-
Builds the
RequestCallfor the GET request. - build() - Method in class org.miaixz.bus.http.plugin.httpz.HeadBuilder
-
Builds the
RequestCallfor the HEAD request. - build() - Method in class org.miaixz.bus.http.plugin.httpz.HttpBuilder
-
Creates an
Httpz.Clientwith the configured settings. - 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
-
Abstract method to be implemented by subclasses to build the final, executable request call.
- build() - Method in class org.miaixz.bus.http.Request.Builder
-
Builds a new
Requestinstance. - build() - Method in class org.miaixz.bus.http.Response.Builder
-
Builds a new
Responseinstance. - build() - Method in class org.miaixz.bus.http.secure.CertificatePinner.Builder
-
Builds the
CertificatePinnerwith the configured pins. - build() - Method in class org.miaixz.bus.http.UnoUrl.Builder
-
Builds a new
UnoUrlinstance. - build(Httpd) - Method in class org.miaixz.bus.http.plugin.httpz.HttpRequest
-
Builds a
RequestCall, which is the executable representation of this request. - buildCall(Callback) - Method in class org.miaixz.bus.http.plugin.httpz.RequestCall
-
Builds the underlying
NewCallfrom theHttpRequestconfiguration. - buildCertificateChainCleaner(SSLSocketFactory) - Method in class org.miaixz.bus.http.accord.platform.Platform
-
Builds a certificate chain cleaner for the given SSL socket factory.
- buildCertificateChainCleaner(X509TrustManager) - Method in class org.miaixz.bus.http.accord.platform.Platform
-
Builds a certificate chain cleaner for the given trust manager.
- builder - Variable in class org.miaixz.bus.http.plugin.httpz.HttpRequest
-
The builder for the final Httpd Request.
- builder() - Static method in class org.miaixz.bus.http.Httpv
-
Creates a new builder for constructing an
Httpvinstance. - Builder - Class in org.miaixz.bus.http
-
Utility class for HTTP-related operations.
- Builder() - Constructor for class org.miaixz.bus.http.bodys.FormBody.Builder
-
Default constructor.
- Builder() - Constructor for class org.miaixz.bus.http.bodys.MultipartBody.Builder
-
Default constructor that uses a random UUID as the boundary.
- Builder() - Constructor for class org.miaixz.bus.http.Builder
-
Constructs a new
Builderinstance. - 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
-
Default constructor which initializes with default settings.
- Builder() - Constructor for class org.miaixz.bus.http.Httpv.Builder
-
Default constructor that initializes with default values.
- Builder() - Constructor for class org.miaixz.bus.http.Request.Builder
-
Default constructor that initializes a GET request.
- Builder() - Constructor for class org.miaixz.bus.http.Response.Builder
-
Default constructor that initializes an empty builder.
- Builder() - Constructor for class org.miaixz.bus.http.secure.CertificatePinner.Builder
- Builder() - Constructor for class org.miaixz.bus.http.UnoUrl.Builder
-
Default constructor.
- 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
-
Constructs a new builder with a specified boundary.
- Builder(Charset) - Constructor for class org.miaixz.bus.http.bodys.FormBody.Builder
-
Constructs a new builder with a specified character set.
- Builder(ConnectionSuite) - Constructor for class org.miaixz.bus.http.accord.ConnectionSuite.Builder
- Builder(Httpv) - Constructor for class org.miaixz.bus.http.Httpv.Builder
-
Constructor that initializes the builder with the settings of an existing
Httpvinstance. - buildRequest(RequestBody) - Method in class org.miaixz.bus.http.plugin.httpz.DeleteRequest
-
Builds the final Httpd
Requestobject. - buildRequest(RequestBody) - Method in class org.miaixz.bus.http.plugin.httpz.GetRequest
-
Builds the final Httpd
Requestobject. - buildRequest(RequestBody) - Method in class org.miaixz.bus.http.plugin.httpz.HeadRequest
-
Builds the final Httpd
Requestobject. - buildRequest(RequestBody) - Method in class org.miaixz.bus.http.plugin.httpz.HttpRequest
-
Abstract method to be implemented by subclasses to construct the final
Requestobject with the correct HTTP method. - buildRequest(RequestBody) - Method in class org.miaixz.bus.http.plugin.httpz.PostRequest
- buildRequest(RequestBody) - Method in class org.miaixz.bus.http.plugin.httpz.PutRequest
- buildRequestBody() - Method in class org.miaixz.bus.http.plugin.httpz.DeleteRequest
-
Builds the request body.
- buildRequestBody() - Method in class org.miaixz.bus.http.plugin.httpz.GetRequest
-
Builds the request body.
- buildRequestBody() - Method in class org.miaixz.bus.http.plugin.httpz.HeadRequest
-
Builds the request body.
- buildRequestBody() - Method in class org.miaixz.bus.http.plugin.httpz.HttpRequest
-
Abstract method to be implemented by subclasses to construct the specific request body (e.g., for POST, PUT).
- buildRequestBody() - Method in class org.miaixz.bus.http.plugin.httpz.PostRequest
-
Builds the request body based on the provided parameters.
- buildRequestBody() - Method in class org.miaixz.bus.http.plugin.httpz.PutRequest
-
Builds the request body based on the provided parameters.
- buildTrustRootIndex(X509TrustManager) - Method in class org.miaixz.bus.http.accord.platform.Platform
-
Builds a trust root index for the given trust manager.
- bus.http - module bus.http
-
bus.http
- byteCount() - Method in class org.miaixz.bus.http.Headers
-
Gets the encoded byte count of the headers.
- bytes() - Method in class org.miaixz.bus.http.bodys.ResponseBody
-
Returns the response body as a byte array.
- byteStream() - Method in class org.miaixz.bus.http.bodys.ResponseBody
-
Returns the response body as a byte stream.
C
- cache() - Method in class org.miaixz.bus.http.Httpd
-
Returns the cache used to store responses.
- cache() - Method in interface org.miaixz.bus.http.plugin.httpv.CoverResult.Body
-
Caches the response body in memory after the first read.
- cache() - Method in class org.miaixz.bus.http.plugin.httpv.ResultBody
- cache(Cache) - Method in class org.miaixz.bus.http.Httpd.Builder
-
Sets the cache to be used to read and write cached responses.
- cache(Cache) - Method in class org.miaixz.bus.http.plugin.httpz.HttpBuilder
-
Sets the response cache to be used by this client.
- Cache - Class in org.miaixz.bus.http.cache
-
Caches HTTP and HTTPS responses to the filesystem so they can be reused, saving time and bandwidth.
- Cache(File, long) - Constructor for class org.miaixz.bus.http.cache.Cache
-
Creates a cache in the specified
directorywith a maximum size ofmaxSizebytes. - Cache(File, long, DiskLruCache.DiskFile) - Constructor for class org.miaixz.bus.http.cache.Cache
-
Creates a cache with the specified directory, max size, and disk file system.
- cacheControl() - Method in class org.miaixz.bus.http.Request
-
Returns the cache control directives for this request.
- cacheControl() - Method in class org.miaixz.bus.http.Response
-
Returns the cache control directives.
- cacheControl(CacheControl) - Method in class org.miaixz.bus.http.Request.Builder
-
Sets the cache control header.
- CacheControl - Class in org.miaixz.bus.http.cache
-
A cache control header with caching directives from a server or client.
- CacheControl.Builder - Class in org.miaixz.bus.http.cache
-
A builder for creating
Cache-Controlrequest headers. - CacheInterceptor - Class in org.miaixz.bus.http.cache
-
An interceptor that serves requests from the cache and writes responses to the cache.
- CacheInterceptor(InternalCache) - Constructor for class org.miaixz.bus.http.cache.CacheInterceptor
- CacheRequest - Interface in org.miaixz.bus.http.cache
-
An interface for writing a response to the cache.
- cacheResponse - Variable in class org.miaixz.bus.http.cache.CacheStrategy
-
The cached response to return or validate; null if this call does not use the cache.
- cacheResponse() - Method in class org.miaixz.bus.http.Response
-
Returns the cache response.
- cacheResponse(Response) - Method in class org.miaixz.bus.http.Response.Builder
-
Sets the cache response.
- CacheStrategy - Class in org.miaixz.bus.http.cache
-
Given a request and a cached response, this class determines whether to use the network, the cache, or both.
- CacheStrategy.Factory - Class in org.miaixz.bus.http.cache
-
A factory for creating
CacheStrategyinstances. - call() - Method in class org.miaixz.bus.http.metric.http.RealInterceptorChain
- call() - Method in interface org.miaixz.bus.http.metric.NewChain
-
Returns the actual call that is ready to execute the request.
- Callback<T> - Interface in org.miaixz.bus.http
-
A generic callback interface for asynchronous operations.
- callbackExecutor(Executor) - Method in class org.miaixz.bus.http.Httpv.Builder
-
Sets the executor for callbacks, allowing thread switching for asynchronous requests.
- callEnd(NewCall) - Method in class org.miaixz.bus.http.metric.EventListener
-
Invoked immediately after a call has completely ended.
- callFailed(NewCall, IOException) - Method in class org.miaixz.bus.http.metric.EventListener
-
Invoked when a call fails permanently.
- CallServerInterceptor - Class in org.miaixz.bus.http.metric.http
-
This is the last interceptor in the chain.
- CallServerInterceptor(boolean) - Constructor for class org.miaixz.bus.http.metric.http.CallServerInterceptor
-
Constructs a new CallServerInterceptor.
- callsPerHost() - Method in class org.miaixz.bus.http.RealCall.AsyncCall
-
Returns the number of calls per host.
- callStart() - Method in class org.miaixz.bus.http.accord.Transmitter
-
Records the stack trace at the point the call is started.
- callStart(NewCall) - Method in class org.miaixz.bus.http.metric.EventListener
-
Invoked immediately when a call is enqueued or executed by the client.
- callTimeout(long, TimeUnit) - Method in class org.miaixz.bus.http.Httpd.Builder
-
Sets the default timeout for complete calls.
- callTimeout(Duration) - Method in class org.miaixz.bus.http.Httpd.Builder
-
Sets the default timeout for complete calls.
- callTimeoutMillis() - Method in class org.miaixz.bus.http.Httpd
-
Returns the default timeout for complete calls in milliseconds.
- cancel() - Method in class org.miaixz.bus.http.accord.Exchange
-
Cancels this exchange.
- cancel() - Method in class org.miaixz.bus.http.accord.RealConnection
-
Cancels this connection.
- 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
-
Cancels the stream.
- cancel() - Method in interface org.miaixz.bus.http.metric.http.HttpCodec
-
Cancels this stream.
- cancel() - Method in interface org.miaixz.bus.http.NewCall
-
Cancels the request, if possible.
- cancel() - Method in interface org.miaixz.bus.http.plugin.httpv.Cancelable
-
Cancels the operation.
- cancel() - Method in class org.miaixz.bus.http.plugin.httpv.CoverCall
-
Cancels the WebSocket connection immediately.
- cancel() - Method in class org.miaixz.bus.http.plugin.httpv.CoverHttp
-
Cancels the request.
- cancel() - Method in class org.miaixz.bus.http.plugin.httpv.Downloads.Control
-
Cancels the download if it is in progress or paused.
- cancel() - Method in class org.miaixz.bus.http.plugin.httpz.RequestCall
-
Cancels the request if it is in flight.
- cancel() - Method in class org.miaixz.bus.http.RealCall
-
Cancels the call.
- cancel() - Method in class org.miaixz.bus.http.socket.RealWebSocket
- cancel() - Method in interface org.miaixz.bus.http.socket.WebSocket
-
Immediately and violently release resources held by this web socket, discarding any enqueued messages.
- cancel(Object) - Static method in class org.miaixz.bus.http.Httpz.Client
-
Cancels requests with a specific tag using the default client.
- cancel(String) - Method in class org.miaixz.bus.http.Httpv
-
Cancels all ongoing requests that are associated with the given tag.
- cancel(Httpd, Object) - Static method in class org.miaixz.bus.http.Httpz.Client
-
Cancels requests with a specific tag for a specific client.
- CANCEL - Enum constant in enum class org.miaixz.bus.http.metric.http.Http2ErrorCode
-
The stream is no longer needed.
- CANCEL - Static variable in interface org.miaixz.bus.http.metric.http.PushObserver
-
A push observer that cancels all incoming pushed streams.
- Cancelable - Interface in org.miaixz.bus.http.plugin.httpv
-
An interface for operations that can be canceled.
- cancelAll() - Method in class org.miaixz.bus.http.Httpv
-
Cancels all ongoing requests and clears all tagged tasks.
- cancelAll() - Static method in class org.miaixz.bus.http.Httpz.Client
-
Cancels all queued or running requests using the default client.
- cancelAll() - Method in class org.miaixz.bus.http.metric.Dispatcher
-
Cancel all queued and running calls.
- cancelAll(Httpd) - Static method in class org.miaixz.bus.http.Httpz.Client
-
Cancels all queued or running requests for a specific client.
- CANCELED - Enum constant in enum class org.miaixz.bus.http.plugin.httpv.CoverResult.State
-
The task was canceled before completion.
- CANCELED - Static variable in class org.miaixz.bus.http.plugin.httpv.CoverCall.Close
-
Custom status code indicating the WebSocket was canceled by the client.
- canonicalize(String, int, int, String, boolean, boolean, boolean, boolean, Charset) - Static method in class org.miaixz.bus.http.UnoUrl
-
Canonicalizes a string by encoding characters from a given set.
- canonicalize(String, String, boolean, boolean, boolean, boolean) - Static method in class org.miaixz.bus.http.UnoUrl
-
Canonicalizes a string with default UTF-8 encoding.
- canonicalize(String, String, boolean, boolean, boolean, boolean, Charset) - Static method in class org.miaixz.bus.http.UnoUrl
-
Canonicalizes a string with default UTF-8 encoding.
- canonicalize(Buffer, String, int, int, String, boolean, boolean, boolean, boolean, Charset) - Static method in class org.miaixz.bus.http.UnoUrl
-
Canonicalizes a string into a buffer.
- canonicalizeHost(String) - Static method in class org.miaixz.bus.http.Builder
-
Canonicalizes a hostname, converting it to its ASCII representation and validating it.
- canRetry() - Method in class org.miaixz.bus.http.accord.Transmitter
-
Returns true if this transmitter can retry a failed request.
- CertificateChainCleaner - Class in org.miaixz.bus.http.secure
-
Computes a clean certificate chain from the raw array provided by a TLS implementation.
- CertificateChainCleaner() - Constructor for class org.miaixz.bus.http.secure.CertificateChainCleaner
- certificatePinner() - Method in class org.miaixz.bus.http.Address
-
Returns the certificate pinner for this address, or null if this is not an HTTPS address.
- certificatePinner() - Method in class org.miaixz.bus.http.Httpd
-
Returns the certificate pinner used to constrain trusted certificates.
- certificatePinner(CertificatePinner) - Method in class org.miaixz.bus.http.Httpd.Builder
-
Sets the certificate pinner that constrains which certificates are trusted.
- certificatePinner(CertificatePinner) - Method in class org.miaixz.bus.http.plugin.httpz.HttpBuilder
-
Sets the certificate pinner used to constrain which certificates are trusted.
- CertificatePinner - Class in org.miaixz.bus.http.secure
-
Constrains which certificates are trusted.
- CertificatePinner.Builder - Class in org.miaixz.bus.http.secure
-
A builder for creating a
CertificatePinner. - Challenge - Class in org.miaixz.bus.http.secure
-
An RFC 7235 compliant authentication challenge.
- Challenge(String, String) - Constructor for class org.miaixz.bus.http.secure.Challenge
-
Constructs a new Challenge with a scheme and a realm.
- Challenge(String, Map<String, String>) - Constructor for class org.miaixz.bus.http.secure.Challenge
-
Constructs a new Challenge with a scheme and a map of parameters.
- challenges() - Method in class org.miaixz.bus.http.Response
-
Returns a list of RFC 7235 authentication challenges.
- charset - Variable in class org.miaixz.bus.http.plugin.httpv.ResultBody
-
The character set of the response body.
- charset() - Method in class org.miaixz.bus.http.Httpv.Builder
- charset() - Method in class org.miaixz.bus.http.Httpv
-
Gets the default charset.
- 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
-
Sets the default charset for request bodies.
- charset(Charset) - Method in class org.miaixz.bus.http.plugin.httpv.CoverHttp
-
Sets the character encoding for this request.
- charset(Charset) - Method in class org.miaixz.bus.http.plugin.soap.SoapBuilder
-
Sets the character encoding.
- charset(Response) - Method in class org.miaixz.bus.http.plugin.httpv.CoverHttp
-
Extracts the character set from an HTTP response.
- charStream() - Method in class org.miaixz.bus.http.bodys.ResponseBody
-
Returns the response body as a character stream.
- check(String, List<Certificate>) - Method in class org.miaixz.bus.http.secure.CertificatePinner
-
Confirms that at least one of the certificates pinned for
hostnameis present inpeerCertificates. - checkDuration(String, long, TimeUnit) - Static method in class org.miaixz.bus.http.Builder
-
Validates a duration value, ensuring it's non-negative and within integer limits when converted to milliseconds.
- checkOffsetAndCount(long, long, long) - Static method in class org.miaixz.bus.http.Builder
-
Checks if the given offset and count are within the bounds of an array of a specified length.
- cipherSuite() - Method in class org.miaixz.bus.http.socket.Handshake
-
Returns the cipher suite of the connection.
- CipherSuite - Class in org.miaixz.bus.http.secure
-
Defines the TLS cipher suites that are supported.
- cipherSuites() - Method in class org.miaixz.bus.http.accord.ConnectionSuite
-
Returns the cipher suites to use for the connection.
- cipherSuites(String...) - Method in class org.miaixz.bus.http.accord.ConnectionSuite.Builder
-
Configures the connection to use the specified cipher suites by their Java names.
- cipherSuites(CipherSuite...) - Method in class org.miaixz.bus.http.accord.ConnectionSuite.Builder
-
Configures the connection to use the specified cipher suites.
- 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
-
Takes a raw certificate chain and returns a cleaned, validated chain up to a trusted root.
- clear() - Method in class org.miaixz.bus.http.metric.http.Http2Settings
-
Clears all settings.
- clearHeaders() - Method in class org.miaixz.bus.http.plugin.soap.SoapBuilder
-
Clears all headers, including global headers.
- CLEARTEXT - Static variable in class org.miaixz.bus.http.accord.ConnectionSuite
-
An unencrypted, unauthenticated connection for
http:URLs. - client - Variable in class org.miaixz.bus.http.metric.http.Http2Reader
-
True if this is a client endpoint.
- client - Variable in class org.miaixz.bus.http.RealCall
-
The HTTP client that created this call.
- client - Variable in class org.miaixz.bus.http.socket.RealWebSocket.Streams
-
True if this is a client stream.
- Client() - Constructor for class org.miaixz.bus.http.Httpz.Client
-
Default constructor that initializes the
Httpdclient with SSL configuration. - Client(Httpd) - Constructor for class org.miaixz.bus.http.Httpz.Client
-
Initializes with a specified
Httpdclient. - Client(Httpv, String) - Constructor for class org.miaixz.bus.http.plugin.httpv.CoverCall.Client
-
Constructs a new WebSocket client.
- CLIENT_ACK - Static variable in class org.miaixz.bus.http.Stomp
-
The client-side acknowledgment mode.
- clone() - Method in interface org.miaixz.bus.http.NewCall
-
Creates a new, identical call to this one which can be enqueued or executed even if this call has already been.
- clone() - Method in class org.miaixz.bus.http.RealCall
-
Creates a new, identical call to this one.
- close() - Method in class org.miaixz.bus.http.bodys.ResponseBody
-
Closes the response body, releasing any associated resources (like network sockets or cached files).
- close() - Method in class org.miaixz.bus.http.cache.Cache
-
Closes the 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
-
Closes this 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
-
Closes the response body without consuming it.
- close() - Method in interface org.miaixz.bus.http.plugin.httpv.CoverResult
-
Closes the underlying response.
- 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
-
Attempts to close the WebSocket connection gracefully.
- close(int, String) - Method in class org.miaixz.bus.http.socket.RealWebSocket
- close(int, String) - Method in interface org.miaixz.bus.http.socket.WebSocket
-
Attempts to initiate a graceful shutdown of this web socket.
- 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
-
Constructs a new Close event object.
- 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
-
The HTTP status code, such as 200.
- 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
-
Sets the HTTP status code.
- code(Response.Builder) - Method in class org.miaixz.bus.http.metric.Internal
-
Returns the HTTP status code from a
Response.Builder. - 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
-
Compiles the message into a string.
- completeListener() - Method in class org.miaixz.bus.http.Httpv.Builder
- completeListener(CoverTasks.Listener<CoverResult.State>) - Method in class org.miaixz.bus.http.Httpv.Builder
-
Sets a global listener for when a request is completed (either successfully or with an error).
- COMPRESSION_ERROR - Enum constant in enum class org.miaixz.bus.http.metric.http.Http2ErrorCode
-
The endpoint is unable to maintain the header compression context for the connection.
- concat(String[], String) - Static method in class org.miaixz.bus.http.Builder
-
Concatenates a string to an existing string array, returning a new array.
- config(Httpd.Builder) - Method in interface org.miaixz.bus.http.Httpv.HttpvConfig
-
Configures the
Httpd.Builder. - config(Httpv.HttpvConfig) - Method in class org.miaixz.bus.http.Httpv.Builder
-
Sets a configurer for the underlying
Httpd.Builder. - configureSecureSocket(SSLSocket) - Method in class org.miaixz.bus.http.accord.ConnectionSelector
-
Configures the
SSLSocketwith the appropriateConnectionSuitefor connecting to the specified host. - configureSslSocketFactory(SSLSocketFactory) - Method in class org.miaixz.bus.http.accord.platform.Platform
-
Configures the given SSL socket factory.
- configureTlsExtensions(SSLSocket, String, List<Protocol>) - Method in class org.miaixz.bus.http.accord.platform.Platform
-
Configures TLS extensions on the
sslSocketfor the givenroute. - connect() - Method in class org.miaixz.bus.http.Stomp
-
Connects to the STOMP server.
- connect(int, int, int, int, boolean, NewCall, EventListener) - Method in class org.miaixz.bus.http.accord.RealConnection
-
Establishes a connection to the target server.
- connect(List<Stomp.Header>) - Method in class org.miaixz.bus.http.Stomp
-
Connects to the STOMP server with the specified headers.
- connect(Httpd) - Method in class org.miaixz.bus.http.socket.RealWebSocket
-
Initiates the WebSocket connection.
- CONNECT - Static variable in class org.miaixz.bus.http.Builder
-
The HTTP CONNECT method.
- CONNECT_ERROR - Enum constant in enum class org.miaixz.bus.http.metric.http.Http2ErrorCode
-
The connection established in response to a CONNECT request was reset or abnormally closed.
- connected(Route) - Method in class org.miaixz.bus.http.accord.RouteDatabase
-
Records a successful connection to
route. - CONNECTED - Static variable in class org.miaixz.bus.http.Builder
-
The STOMP CONNECTED frame command.
- connectEnd(NewCall, InetSocketAddress, Proxy, Protocol) - Method in class org.miaixz.bus.http.metric.EventListener
-
Invoked immediately after a socket connection was attempted.
- connectFailed(URI, SocketAddress, IOException) - Method in class org.miaixz.bus.http.metric.proxy.NullProxySelector
-
Called to indicate that a connection to a proxy has failed.
- connectFailed(NewCall, InetSocketAddress, Proxy, Protocol, IOException) - Method in class org.miaixz.bus.http.metric.EventListener
-
Invoked when a connection attempt fails.
- 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
-
An interceptor that opens a connection to the target server and proceeds to the next interceptor.
- ConnectInterceptor(Httpd) - Constructor for class org.miaixz.bus.http.accord.ConnectInterceptor
-
Constructs a new ConnectInterceptor.
- connection - Variable in class org.miaixz.bus.http.accord.Transmitter
-
The connection that carries the request and response.
- connection() - Method in class org.miaixz.bus.http.accord.Exchange
-
Returns the connection for this exchange.
- connection() - Method in class org.miaixz.bus.http.metric.http.Http1Codec
- connection() - Method in class org.miaixz.bus.http.metric.http.Http2Codec
-
Returns the connection that carries the transport.
- connection() - Method in interface org.miaixz.bus.http.metric.http.HttpCodec
-
Returns the connection that carries this codec.
- connection() - Method in class org.miaixz.bus.http.metric.http.RealInterceptorChain
- connection() - Method in interface org.miaixz.bus.http.metric.NewChain
-
Returns the connection that will be used to execute the request.
- Connection - Interface in org.miaixz.bus.http.accord
-
The socket and streams of an HTTP, HTTPS, or HTTPS+HTTP/2 connection.
- connectionAcquired(NewCall, Connection) - Method in class org.miaixz.bus.http.metric.EventListener
-
Invoked after a connection is acquired for a
call. - connectionCount() - Method in class org.miaixz.bus.http.accord.ConnectionPool
-
Returns the total number of connections in the pool.
- connectionCount() - Method in class org.miaixz.bus.http.accord.RealConnectionPool
-
Returns the total number of connections in the pool.
- connectionFailed(IOException) - Method in class org.miaixz.bus.http.accord.ConnectionSelector
-
Reports a connection failure.
- connectionPool - Variable in class org.miaixz.bus.http.accord.RealConnection
- connectionPool() - Method in class org.miaixz.bus.http.Httpd
-
Returns the connection pool for managing and reusing connections.
- connectionPool(ConnectionPool) - Method in class org.miaixz.bus.http.Httpd.Builder
-
Sets the connection pool used to recycle HTTP and HTTPS connections.
- connectionPool(ConnectionPool) - Method in class org.miaixz.bus.http.plugin.httpz.HttpBuilder
-
Sets the connection pool used to recycle HTTP and HTTPS connections.
- ConnectionPool - Class in org.miaixz.bus.http.accord
-
Manages reuse of HTTP and HTTP/2 connections for reduced network latency.
- ConnectionPool() - Constructor for class org.miaixz.bus.http.accord.ConnectionPool
-
Create a new connection pool with tuning parameters appropriate for a single-user application.
- ConnectionPool(int, long, TimeUnit) - Constructor for class org.miaixz.bus.http.accord.ConnectionPool
- connectionPreface() - Method in class org.miaixz.bus.http.metric.http.Http2Writer
-
Writes the HTTP/2 connection preface.
- connectionReleased(NewCall, Connection) - Method in class org.miaixz.bus.http.metric.EventListener
-
Invoked after a connection is released for a
call. - ConnectionSelector - Class in org.miaixz.bus.http.accord
-
Handles the fallback strategy for connection specifications: when a secure socket connection fails due to a handshake or protocol issue, the connection may be retried with a different protocol.
- ConnectionSelector(List<ConnectionSuite>) - Constructor for class org.miaixz.bus.http.accord.ConnectionSelector
-
Constructor
- connectionSpecs() - Method in class org.miaixz.bus.http.Address
-
Returns the list of connection suites supported by this address.
- connectionSpecs() - Method in class org.miaixz.bus.http.Httpd
-
Returns the list of connection specs supported by this client.
- connectionSpecs(List<ConnectionSuite>) - Method in class org.miaixz.bus.http.Httpd.Builder
-
Sets the connection specs for this client.
- connectionSpecs(List<ConnectionSuite>) - Method in class org.miaixz.bus.http.plugin.httpz.HttpBuilder
-
Configures the connection specs used by this client.
- ConnectionSuite - Class in org.miaixz.bus.http.accord
-
Specifies the configuration for a socket connection over which HTTP is transported.
- ConnectionSuite.Builder - Class in org.miaixz.bus.http.accord
-
A builder for creating
ConnectionSuiteinstances. - connectSocket(Socket, InetSocketAddress, int) - Method in class org.miaixz.bus.http.accord.platform.Platform
-
Connects the given socket to the specified address.
- connectStart(NewCall, InetSocketAddress, Proxy) - Method in class org.miaixz.bus.http.metric.EventListener
-
Invoked just prior to initiating a socket connection.
- connectTimeout(long, TimeUnit) - Method in class org.miaixz.bus.http.Httpd.Builder
-
Sets the default connect timeout for new connections.
- connectTimeout(long, TimeUnit) - Method in class org.miaixz.bus.http.plugin.httpz.HttpBuilder
-
Sets the default connect timeout for new connections.
- connectTimeout(Duration) - Method in class org.miaixz.bus.http.Httpd.Builder
-
Sets the default connect timeout for new connections.
- connectTimeoutMillis() - Method in class org.miaixz.bus.http.Httpd
-
Returns the default timeout for establishing a new connection in milliseconds.
- connectTimeoutMillis() - Method in class org.miaixz.bus.http.metric.http.RealInterceptorChain
- connectTimeoutMillis() - Method in interface org.miaixz.bus.http.metric.NewChain
-
Returns the connect timeout in milliseconds.
- content - Variable in class org.miaixz.bus.http.plugin.httpz.MultipartFile
-
The content of the file as a byte array.
- contentLength() - Method in class org.miaixz.bus.http.bodys.FormBody
-
Returns the length of this request body in bytes.
- contentLength() - Method in class org.miaixz.bus.http.bodys.MultipartBody
-
Returns the length of this request body in bytes.
- contentLength() - Method in class org.miaixz.bus.http.bodys.RealResponseBody
-
Returns the content length of this response body.
- contentLength() - Method in class org.miaixz.bus.http.bodys.RequestBody
-
Returns the number of bytes that will be written to
sinkwhen this request body is transmitted, or -1 if that count is unknown. - contentLength() - Method in class org.miaixz.bus.http.bodys.ResponseBody
-
Returns the number of bytes in the response.
- contentLength() - Method in class org.miaixz.bus.http.plugin.httpv.ProgressBody
- contentLength() - Method in class org.miaixz.bus.http.plugin.httpz.FileInterceptor.DownloadFileProgressResponseBody
- contentLength(Headers) - Static method in class org.miaixz.bus.http.Headers
-
Gets the Content-Length from headers.
- contentLength(Response) - Static method in class org.miaixz.bus.http.Headers
-
Gets the Content-Length of a response.
- contentType - Variable in class org.miaixz.bus.http.plugin.httpv.CoverTasks.Executor.Data
-
The content type of the data.
- contentType() - Method in class org.miaixz.bus.http.bodys.FormBody
-
Returns the media type of this request body.
- contentType() - Method in class org.miaixz.bus.http.bodys.MultipartBody
-
Returns the full media type, including the boundary.
- contentType() - Method in class org.miaixz.bus.http.bodys.RealResponseBody
-
Returns the media type of this response body.
- contentType() - Method in class org.miaixz.bus.http.bodys.RequestBody
-
Returns the media type of this request body.
- contentType() - Method in class org.miaixz.bus.http.bodys.ResponseBody
-
Returns the media type of this response body.
- contentType() - Method in interface org.miaixz.bus.http.plugin.httpv.Convertor
-
Returns the media type of the messages handled by this converter.
- contentType() - Method in class org.miaixz.bus.http.plugin.httpv.Convertor.FormConvertor
- contentType() - Method in class org.miaixz.bus.http.plugin.httpv.ProgressBody
- contentType() - Method in class org.miaixz.bus.http.plugin.httpz.FileInterceptor.DownloadFileProgressResponseBody
- contentType(String) - Method in class org.miaixz.bus.http.Httpv
-
Gets the
MediaTypefor a given type string based on the configured media types. - continuation - Variable in class org.miaixz.bus.http.metric.http.Http2Reader
-
A source that reads continuation frames.
- Control() - Constructor for class org.miaixz.bus.http.plugin.httpv.Downloads.Control
- Convertor - Interface in org.miaixz.bus.http.plugin.httpv
-
An interface for message conversion, handling serialization and deserialization of objects to and from different data formats.
- Convertor.FormConvertor - Class in org.miaixz.bus.http.plugin.httpv
-
A form converter that can be used to automatically serialize form parameters.
- Cookie - Class in org.miaixz.bus.http
-
An RFC 6265-compliant HTTP cookie.
- Cookie.Builder - Class in org.miaixz.bus.http
-
A builder for creating
Cookieinstances. - cookieJar() - Method in class org.miaixz.bus.http.Httpd
-
Returns the cookie jar used to manage HTTP cookies.
- cookieJar(CookieJar) - Method in class org.miaixz.bus.http.Httpd.Builder
-
Sets the cookie jar that will be used to manage cookies for all HTTP requests.
- cookieJar(CookieJar) - Method in class org.miaixz.bus.http.plugin.httpz.HttpBuilder
-
Sets the cookie handler for this client.
- CookieJar - Interface in org.miaixz.bus.http.metric
-
Provides a policy and persistence for HTTP cookies.
- COUNT - Static variable in class org.miaixz.bus.http.metric.http.Http2Settings
-
The total number of settings.
- CoverArray - Interface in org.miaixz.bus.http.plugin.httpv
-
Represents data that can be in any format, such as XML, YAML, Protobuf, etc., structured as an array.
- CoverCall - Class in org.miaixz.bus.http.plugin.httpv
-
Represents an active or pending WebSocket call.
- CoverCall(CoverTasks.Executor, String) - Constructor for class org.miaixz.bus.http.plugin.httpv.CoverCall
-
Constructs a new CoverCall.
- CoverCall.Client - Class in org.miaixz.bus.http.plugin.httpv
-
A client for creating and configuring WebSocket connections.
- CoverCall.Close - Class in org.miaixz.bus.http.plugin.httpv
-
Encapsulates information about a WebSocket closure.
- CoverCall.Listener - Class in org.miaixz.bus.http.plugin.httpv
-
A WebSocket listener that bridges Httpd's WebSocket events to the CoverCall's event system.
- CoverCall.Message - Class in org.miaixz.bus.http.plugin.httpv
-
Represents an incoming WebSocket message, which can be either text or binary.
- CoverCall.Register<T> - Interface in org.miaixz.bus.http.plugin.httpv
-
A functional interface for handling WebSocket events.
- CoverHttp<C> - Class in org.miaixz.bus.http.plugin.httpv
-
An abstract base class for building HTTP requests, providing a fluent interface.
- CoverHttp(Httpv, String) - Constructor for class org.miaixz.bus.http.plugin.httpv.CoverHttp
-
Constructs a new CoverHttp request builder.
- CoverHttp.Async - Class in org.miaixz.bus.http.plugin.httpv
-
A builder for asynchronous HTTP requests.
- CoverHttp.Sync - Class in org.miaixz.bus.http.plugin.httpv
-
A builder for synchronous HTTP requests.
- CoverResult - Interface in org.miaixz.bus.http.plugin.httpv
-
Represents the result of an HTTP execution.
- CoverResult.Body - Interface in org.miaixz.bus.http.plugin.httpv
-
An interface for consuming the HTTP response body in various formats.
- CoverResult.Real - Class in org.miaixz.bus.http.plugin.httpv
-
The concrete implementation of
CoverResult. - CoverResult.State - Enum Class in org.miaixz.bus.http.plugin.httpv
-
Represents the final state of an HTTP task.
- CoverTasks - Class in org.miaixz.bus.http.plugin.httpv
-
A container class for components related to task execution, lifecycle listeners, and data conversion.
- CoverTasks() - Constructor for class org.miaixz.bus.http.plugin.httpv.CoverTasks
- CoverTasks.Executor - Class in org.miaixz.bus.http.plugin.httpv
-
Manages the execution of asynchronous tasks, callbacks, and data conversions.
- CoverTasks.Executor.ConvertFunc<T> - Interface in org.miaixz.bus.http.plugin.httpv
-
A functional interface for applying a conversion operation.
- CoverTasks.Executor.Data<T> - Class in org.miaixz.bus.http.plugin.httpv
-
A container for holding converted data along with its content type.
- CoverTasks.Listener<T> - Interface in org.miaixz.bus.http.plugin.httpv
-
A generic listener interface for intercepting task lifecycle events.
- CoverWapper - Interface in org.miaixz.bus.http.plugin.httpv
-
Represents data that can be in any format, such as XML, YAML, Protobuf, etc., structured as a key-value map.
- create(String) - Static method in class org.miaixz.bus.http.SoapX
-
Creates a SOAP client with the default SOAP 1.2 protocol.
- create(String, Protocol) - Static method in class org.miaixz.bus.http.SoapX
-
Creates a SOAP client with a specified protocol.
- create(String, Protocol, String) - Static method in class org.miaixz.bus.http.SoapX
-
Creates a SOAP client with a specified protocol and namespace URI.
- create(MediaType, byte[]) - Static method in class org.miaixz.bus.http.bodys.RequestBody
-
Creates a new request body from a byte array.
- create(MediaType, byte[]) - Static method in class org.miaixz.bus.http.bodys.ResponseBody
-
Creates a new response body from a byte array.
- create(MediaType, byte[], int, int) - Static method in class org.miaixz.bus.http.bodys.RequestBody
-
Creates a new request body from a portion of a byte array.
- create(MediaType, long, BufferSource) - Static method in class org.miaixz.bus.http.bodys.ResponseBody
-
Creates a new response body from a data source.
- create(MediaType, File) - Static method in class org.miaixz.bus.http.bodys.RequestBody
-
Creates a new request body from a file.
- create(MediaType, String) - Static method in class org.miaixz.bus.http.bodys.RequestBody
-
Creates a new request body from a string.
- create(MediaType, String) - Static method in class org.miaixz.bus.http.bodys.ResponseBody
-
Creates a new response body from a string.
- create(MediaType, ByteString) - Static method in class org.miaixz.bus.http.bodys.RequestBody
-
Creates a new request body from a
ByteString. - create(MediaType, ByteString) - Static method in class org.miaixz.bus.http.bodys.ResponseBody
-
Creates a new response body from a
ByteString. - create(RequestBody) - Static method in class org.miaixz.bus.http.bodys.MultipartBody.Part
-
Creates a new part with no headers.
- create(DiskLruCache.DiskFile, File, int, int, long) - Static method in class org.miaixz.bus.http.cache.DiskLruCache
-
Creates a cache that resides in
directory. - create(Headers, RequestBody) - Static method in class org.miaixz.bus.http.bodys.MultipartBody.Part
-
Creates a new part with the given headers and body.
- create(NewCall) - Method in interface org.miaixz.bus.http.metric.EventListener.Factory
-
Creates an instance of the
EventListenerfor a specificNewCall. - createFormData(String, String) - Static method in class org.miaixz.bus.http.bodys.MultipartBody.Part
-
Creates a new form-data part.
- createFormData(String, String, RequestBody) - Static method in class org.miaixz.bus.http.bodys.MultipartBody.Part
-
Creates a new form-data part with a filename.
- createRequest(Callback) - Method in class org.miaixz.bus.http.plugin.httpz.HttpRequest
-
Creates the final
Requestobject. - createRequestBody(MediaType, InputStream) - Static method in class org.miaixz.bus.http.plugin.httpz.HttpRequest
-
A static factory method to create a
RequestBodyfrom anInputStream. - createRequestBody(Request, boolean) - Method in class org.miaixz.bus.http.accord.Exchange
-
Creates a sink to write the request body.
- 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
-
Creates a sink to write the request body.
- createRequestBody(Request, long) - Method in interface org.miaixz.bus.http.metric.http.HttpCodec
-
Returns an output stream that can stream the request body.
- Credentials - Class in org.miaixz.bus.http.secure
-
A factory for creating HTTP authorization credentials.
D
- data - Variable in class org.miaixz.bus.http.plugin.httpv.CoverTasks.Executor.Data
-
The converted data.
- data(boolean, int, Buffer, int) - Method in class org.miaixz.bus.http.metric.http.Http2Writer
-
Sends a DATA frame.
- Data(T, String) - Constructor for class org.miaixz.bus.http.plugin.httpv.CoverTasks.Executor.Data
-
Constructs a new Data object.
- decodeHexDigit(char) - Static method in class org.miaixz.bus.http.Builder
-
Decodes a hexadecimal character to its integer value.
- DEFAULT - Static variable in class org.miaixz.bus.http.secure.CertificatePinner
-
A default certificate pinner that trusts any certificate chain.
- DEFAULT_STEP_BYTES - Static variable in class org.miaixz.bus.http.plugin.httpv.Progress
-
The default step size in bytes for progress updates.
- defaultPort(String) - Static method in class org.miaixz.bus.http.UnoUrl
-
Returns the default port for a given scheme.
- delegate - Variable in class org.miaixz.bus.http.accord.ConnectionPool
-
The real connection pool implementation.
- delete() - Method in class org.miaixz.bus.http.cache.Cache
-
Closes the cache and deletes all of its stored values.
- delete() - Method in class org.miaixz.bus.http.cache.DiskLruCache
-
Closes the cache and deletes all of its stored values.
- delete() - Method in class org.miaixz.bus.http.Httpz.Client
-
Creates a
DeleteBuilderfor constructing DELETE requests. - delete() - Static method in class org.miaixz.bus.http.Httpz
-
Creates a new
DeleteBuilderfor constructing DELETE requests. - delete() - Method in class org.miaixz.bus.http.plugin.httpv.CoverHttp.Async
-
Executes an asynchronous DELETE request.
- delete() - Method in class org.miaixz.bus.http.plugin.httpv.CoverHttp.Sync
-
Executes a DELETE request (REST: delete a resource, idempotent).
- delete() - Method in class org.miaixz.bus.http.Request.Builder
-
Sets this request to be a DELETE request with no request body.
- delete(File) - Method in interface org.miaixz.bus.http.cache.DiskLruCache.DiskFile
-
Deletes
fileif it exists. - delete(String) - Static method in class org.miaixz.bus.http.Httpx
-
Sends a simple DELETE request with default UTF-8 encoding.
- delete(String, Map<String, String>) - Static method in class org.miaixz.bus.http.Httpx
-
Sends a DELETE request with form data and default UTF-8 encoding.
- delete(String, Map<String, String>, String) - Static method in class org.miaixz.bus.http.Httpx
-
Sends a DELETE request with form data and a custom encoding.
- delete(String, Map<String, String>, Map<String, String>) - Static method in class org.miaixz.bus.http.Httpx
-
Sends a DELETE request with form data and header parameters.
- delete(String, Map<String, String>, Map<String, String>, String) - Static method in class org.miaixz.bus.http.Httpx
-
Sends a DELETE request with form data, header parameters, and a custom encoding.
- delete(RequestBody) - Method in class org.miaixz.bus.http.Request.Builder
-
Sets this request to be a DELETE request with a request body.
- DeleteBuilder - Class in org.miaixz.bus.http.plugin.httpz
-
A builder for creating HTTP DELETE requests using a fluent interface.
- DeleteBuilder(Httpd) - Constructor for class org.miaixz.bus.http.plugin.httpz.DeleteBuilder
-
Constructs a new
DeleteBuilder. - deleteContents(File) - Method in interface org.miaixz.bus.http.cache.DiskLruCache.DiskFile
-
Recursively delete the contents of
directory. - DeleteRequest - Class in org.miaixz.bus.http.plugin.httpz
-
Represents an HTTP DELETE request.
- DeleteRequest(String, Object, Map<String, String>, Map<String, String>, String) - Constructor for class org.miaixz.bus.http.plugin.httpz.DeleteRequest
-
Constructs a new
DeleteRequest. - delimiterOffset(String, int, int, char) - Static method in class org.miaixz.bus.http.Builder
-
Finds the first occurrence of a specific delimiter character within a substring.
- delimiterOffset(String, int, int, String) - Static method in class org.miaixz.bus.http.Builder
-
Finds the first occurrence of any delimiter character within a substring.
- DESKTOP_DEVICE - Static variable in class org.miaixz.bus.http.metric.anget.Device
-
A list of supported desktop device types.
- DESTINATION - Static variable in class org.miaixz.bus.http.Stomp.Header
-
The destination 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
-
Represents a device type, such as a phone, tablet, or desktop, parsed from a User-Agent string.
- Device(String, String) - Constructor for class org.miaixz.bus.http.metric.anget.Device
-
Constructs a new
Deviceinstance. - directory() - Method in class org.miaixz.bus.http.cache.Cache
-
Returns the directory where the cache is stored.
- discard(Source, int, TimeUnit) - Static method in class org.miaixz.bus.http.Builder
-
Attempts to exhaust the given source within a specified timeout.
- DISCARD_STREAM_TIMEOUT_MILLIS - Static variable in interface org.miaixz.bus.http.metric.http.HttpCodec
-
The timeout to use when discarding an input stream.
- disconnect() - Method in class org.miaixz.bus.http.Stomp
-
Disconnects from the STOMP server.
- DiskLruCache - Class in org.miaixz.bus.http.cache
-
A cache that uses a limited amount of space on a filesystem.
- 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
-
A snapshot of the values for an entry.
- dispatcher() - Method in class org.miaixz.bus.http.Httpd
-
Returns the dispatcher that manages asynchronous requests.
- dispatcher(Dispatcher) - Method in class org.miaixz.bus.http.Httpd.Builder
-
Sets the dispatcher used to execute asynchronous requests.
- dispatcher(Dispatcher) - Method in class org.miaixz.bus.http.plugin.httpz.HttpBuilder
-
Sets the dispatcher used to execute asynchronous requests.
- Dispatcher - Class in org.miaixz.bus.http.metric
-
Policy on when async requests are executed.
- Dispatcher() - Constructor for class org.miaixz.bus.http.metric.Dispatcher
-
Default constructor.
- Dispatcher(ExecutorService) - Constructor for class org.miaixz.bus.http.metric.Dispatcher
-
Constructor that takes an ExecutorService.
- DistinguishedNameParser - Class in org.miaixz.bus.http.secure
-
A parser for X.500 distinguished names as specified in RFC 2253.
- dns() - Method in class org.miaixz.bus.http.Address
-
Returns the DNS service used to resolve hostnames for this address.
- dns() - Method in class org.miaixz.bus.http.Httpd
-
Returns the DNS service used to resolve hostnames.
- dns(DnsX) - Method in class org.miaixz.bus.http.Httpd.Builder
-
Sets the DNS service used to lookup IP addresses for hostnames.
- dns(DnsX) - Method in class org.miaixz.bus.http.plugin.httpz.HttpBuilder
-
Sets the DNS service used to lookup IP addresses for hostnames.
- dnsEnd(NewCall, String, List<InetAddress>) - Method in class org.miaixz.bus.http.metric.EventListener
-
Invoked immediately after a DNS lookup.
- dnsStart(NewCall, String) - Method in class org.miaixz.bus.http.metric.EventListener
-
Invoked just prior to a DNS lookup.
- DnsX - Interface in org.miaixz.bus.http
-
A Domain Name System (DNS) service that resolves IP addresses for hostnames.
- domain() - Method in class org.miaixz.bus.http.Cookie
-
Returns the domain of this cookie.
- domain(String) - Method in class org.miaixz.bus.http.Cookie.Builder
-
Sets the domain of the cookie, which will match the domain and its subdomains.
- doMsgConvert(String, CoverTasks.Executor.ConvertFunc<V>) - Method in class org.miaixz.bus.http.plugin.httpv.CoverTasks.Executor
-
Performs a data conversion by applying the given function to a suitable converter, optionally filtered by type.
- doMsgConvert(CoverTasks.Executor.ConvertFunc<V>) - Method in class org.miaixz.bus.http.plugin.httpv.CoverTasks.Executor
-
Performs a data conversion by applying the given function to a suitable converter.
- 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
-
Performs the preprocessing logic.
- download(CoverHttp<?>, File, InputStream, long) - Method in class org.miaixz.bus.http.plugin.httpv.CoverTasks.Executor
-
Creates a new download task handler.
- DownloadFileProgressResponseBody(ResponseBody, ProgressListener) - Constructor for class org.miaixz.bus.http.plugin.httpz.FileInterceptor.DownloadFileProgressResponseBody
-
Constructs a new progress-reporting response body.
- downloadListener() - Method in class org.miaixz.bus.http.Httpv.Builder
- downloadListener(Downloads.Listener) - Method in class org.miaixz.bus.http.Httpv.Builder
-
Sets a listener for download progress.
- Downloads - Class in org.miaixz.bus.http.plugin.httpv
-
Manages the process of downloading content from an
InputStreamto aFile. - Downloads(File, InputStream, CoverTasks.Executor, long) - Constructor for class org.miaixz.bus.http.plugin.httpv.Downloads
-
Constructs a new download handler.
- Downloads.Control - Class in org.miaixz.bus.http.plugin.httpv
-
Provides methods to control the state of an ongoing download.
- Downloads.Failure - Class in org.miaixz.bus.http.plugin.httpv
-
Encapsulates information about a download failure.
- Downloads.Listener - Interface in org.miaixz.bus.http.plugin.httpv
-
A listener interface for globally intercepting download events.
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
-
Returns an editor for the entry named
key, or null if another edit is in progress. - EMPTY_HEADERS - Static variable in class org.miaixz.bus.http.Builder
-
An empty
Headersinstance. - EMPTY_RESPONSE - Static variable in class org.miaixz.bus.http.Builder
-
An empty
ResponseBodyinstance. - encoded - Variable in class org.miaixz.bus.http.plugin.httpz.RequestBuilder
-
A map of pre-encoded request parameters.
- encodedFragment() - Method in class org.miaixz.bus.http.UnoUrl
-
Returns the encoded fragment.
- encodedFragment(String) - Method in class org.miaixz.bus.http.UnoUrl.Builder
-
Sets the encoded fragment.
- encodedName(int) - Method in class org.miaixz.bus.http.bodys.FormBody
-
Returns the encoded field name at the specified index.
- encodedParams - Variable in class org.miaixz.bus.http.plugin.httpz.HttpRequest
-
The pre-encoded request parameters.
- encodedPassword() - Method in class org.miaixz.bus.http.UnoUrl
-
Returns the encoded password.
- encodedPassword(String) - Method in class org.miaixz.bus.http.UnoUrl.Builder
-
Sets the encoded password.
- encodedPath() - Method in class org.miaixz.bus.http.UnoUrl
-
Returns the encoded path.
- encodedPath(String) - Method in class org.miaixz.bus.http.UnoUrl.Builder
-
Sets the encoded path.
- encodedPathSegments() - Method in class org.miaixz.bus.http.UnoUrl
-
Returns the list of encoded path segments.
- encodedQuery() - Method in class org.miaixz.bus.http.UnoUrl
-
Returns the encoded query string.
- encodedQuery(String) - Method in class org.miaixz.bus.http.UnoUrl.Builder
-
Sets the encoded query string.
- encodedUsername() - Method in class org.miaixz.bus.http.UnoUrl
-
Returns the encoded username.
- encodedUsername(String) - Method in class org.miaixz.bus.http.UnoUrl.Builder
-
Sets the encoded username.
- encodedValue(int) - Method in class org.miaixz.bus.http.bodys.FormBody
-
Returns the encoded field value at the specified index.
- Engine - Class in org.miaixz.bus.http.metric.anget
-
Represents a browser rendering engine, such as Trident, WebKit, or Gecko.
- Engine(String, String) - Constructor for class org.miaixz.bus.http.metric.anget.Engine
-
Constructs a new
Engineinstance. - ENGINES - Static variable in class org.miaixz.bus.http.metric.anget.Engine
-
A list of supported engine types.
- ENHANCE_YOUR_CALM - Enum constant in enum class org.miaixz.bus.http.metric.http.Http2ErrorCode
-
The endpoint detected that its peer is exhibiting a behavior that might be generating excessive load.
- enqueue(Callback) - Method in interface org.miaixz.bus.http.NewCall
-
Schedules the request to be executed at some point in the future.
- enqueue(Callback) - Method in class org.miaixz.bus.http.RealCall
-
Executes the request asynchronously.
- enqueue(RealCall.AsyncCall) - Method in class org.miaixz.bus.http.metric.Dispatcher
-
Schedules
callto be executed at some point in the future. - enqueueTrailers(Headers) - Method in class org.miaixz.bus.http.metric.http.Http2Stream
-
Enqueues trailers to be sent after the last data frame of this stream.
- equals(Object) - Method in class org.miaixz.bus.http.accord.ConnectionSuite
- equals(Object) - Method in class org.miaixz.bus.http.Address
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in class org.miaixz.bus.http.Cookie
-
Compares this cookie to another object for equality.
- equals(Object) - Method in class org.miaixz.bus.http.Headers
-
Compares two Headers objects for equality.
- equals(Object) - Method in class org.miaixz.bus.http.metric.anget.UserAgent
- equals(Object) - Method in class org.miaixz.bus.http.metric.http.Http2Header
-
Compares this Http2Header to another object for equality.
- equals(Object) - Method in class org.miaixz.bus.http.Route
-
Compares this route to another object for equality.
- 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
-
Compares this Handshake object with another for equality.
- equals(Object) - Method in class org.miaixz.bus.http.UnoUrl
-
Compares this URL to another object for equality.
- equalsNonHost(Address, Address) - Method in class org.miaixz.bus.http.metric.Internal
-
Checks if two
Addressinstances are equal, ignoring the host. - ERROR - Static variable in class org.miaixz.bus.http.Builder
-
The STOMP ERROR frame command.
- errorCode - Variable in exception class org.miaixz.bus.http.metric.http.StreamException
-
The error code that prompted this exception.
- errorMsgs - Static variable in class org.miaixz.bus.http.plugin.httpz.HttpzState
-
A deque to store the most recent error messages.
- eventListener(EventListener) - Method in class org.miaixz.bus.http.Httpd.Builder
-
Sets the event listener for monitoring request lifecycle events.
- EventListener - Class in org.miaixz.bus.http.metric
-
Listener for metrics events.
- 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
-
Returns the factory for creating event listeners.
- eventListenerFactory(EventListener.Factory) - Method in class org.miaixz.bus.http.Httpd.Builder
-
Sets the factory for creating event listeners.
- evictAll() - Method in class org.miaixz.bus.http.accord.ConnectionPool
-
Closes and removes all idle connections in the pool.
- evictAll() - Method in class org.miaixz.bus.http.accord.RealConnectionPool
-
Closes and removes all idle connections in the pool.
- evictAll() - Method in class org.miaixz.bus.http.cache.Cache
-
Deletes all values stored in the 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
-
Sets the result to a failure state.
- EXCEPTION - Enum constant in enum class org.miaixz.bus.http.plugin.httpv.CoverResult.State
-
The task failed due to an exception during execution.
- EXCEPTION - Static variable in class org.miaixz.bus.http.plugin.httpv.CoverCall.Close
-
Custom status code indicating the WebSocket was closed due to an unexpected exception.
- exceptionListener() - Method in class org.miaixz.bus.http.Httpv.Builder
- exceptionListener(CoverTasks.Listener<IOException>) - Method in class org.miaixz.bus.http.Httpv.Builder
-
Sets a global listener for exceptions.
- 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
-
Notifies this transmitter that the exchange has completed due to an exception.
- execute() - Method in class org.miaixz.bus.http.metric.NamedRunnable
-
The abstract method to be implemented by subclasses, containing the actual logic to be executed.
- execute() - Method in interface org.miaixz.bus.http.NewCall
-
Invokes the request immediately, and blocks until the response can be processed or is in error.
- execute() - Method in class org.miaixz.bus.http.plugin.httpz.RequestCall
-
Executes the HTTP request synchronously.
- execute() - Method in class org.miaixz.bus.http.RealCall.AsyncCall
-
Executes the asynchronous call.
- execute() - Method in class org.miaixz.bus.http.RealCall
-
Executes the request synchronously.
- execute(Runnable, boolean) - Method in class org.miaixz.bus.http.plugin.httpv.CoverTasks.Executor
-
Executes a command on the appropriate thread pool.
- executeAsync(Callback) - Method in class org.miaixz.bus.http.plugin.httpz.RequestCall
-
Executes the HTTP request asynchronously.
- executed - Variable in class org.miaixz.bus.http.RealCall
-
True if this call has been executed.
- 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
-
Executes this asynchronous call on the given executor service.
- executeOnComplete(CoverHttp<?>, Callback<CoverResult.State>, CoverResult.State, boolean) - Method in class org.miaixz.bus.http.plugin.httpv.CoverTasks.Executor
-
Executes the completion callback for a task, respecting the global completion listener.
- executeOnException(CoverHttp<?>, Callback<IOException>, IOException, boolean) - Method in class org.miaixz.bus.http.plugin.httpv.CoverTasks.Executor
-
Executes the exception callback for a task, respecting the global exception listener.
- executeOnResponse(CoverHttp<?>, Callback<CoverResult>, CoverResult, boolean) - Method in class org.miaixz.bus.http.plugin.httpv.CoverTasks.Executor
-
Executes the response callback for a task, respecting the global response listener.
- executor - Variable in class org.miaixz.bus.http.plugin.httpv.ResultBody
-
The executor for handling callbacks and data conversions.
- executor() - Method in class org.miaixz.bus.http.Httpv
-
Gets the executor for handling asynchronous tasks.
- 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
-
Constructs a new Executor.
- executorService() - Method in class org.miaixz.bus.http.metric.Dispatcher
-
Returns the executor service that runs calls.
- 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
-
Returns the expiration time of this cookie.
- expiresAt(long) - Method in class org.miaixz.bus.http.Cookie.Builder
-
Sets the expiration time of the cookie.
F
- factory(EventListener) - Static method in class org.miaixz.bus.http.metric.EventListener
-
Creates a factory that returns the same listener instance for all calls.
- 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
-
Records a failure connecting to
route. - failWebSocket(Exception, Response) - Method in class org.miaixz.bus.http.socket.RealWebSocket
-
Notifies the listener of a failure and closes the connection.
- file - Variable in class org.miaixz.bus.http.plugin.httpz.MultipartFile
-
The
Fileobject to upload. - FileCallback - Class in org.miaixz.bus.http.plugin.httpz
-
An abstract
Callbackimplementation for handling responses that should be saved to a file. - FileCallback() - Constructor for class org.miaixz.bus.http.plugin.httpz.FileCallback
-
Default constructor.
- FileCallback(String) - Constructor for class org.miaixz.bus.http.plugin.httpz.FileCallback
-
Constructor that specifies a destination file path.
- FileInterceptor - Class in org.miaixz.bus.http.plugin.httpz
-
An abstract
Interceptorthat adds a download progress listener to the response body. - FileInterceptor() - Constructor for class org.miaixz.bus.http.plugin.httpz.FileInterceptor
- FileInterceptor.DownloadFileProgressResponseBody - Class in org.miaixz.bus.http.plugin.httpz
-
A
ResponseBodydecorator that reports download progress as the body is being read. - findByIssuerAndSignature(X509Certificate) - Method in class org.miaixz.bus.http.secure.BasicTrustRootIndex
-
Finds a trusted CA certificate that signed the given certificate.
- findByIssuerAndSignature(X509Certificate) - Method in interface org.miaixz.bus.http.secure.TrustRootIndex
-
Finds a trusted CA certificate that is an issuer of
certand has a valid signature. - findExistingCallWithHost(String) - Method in class org.miaixz.bus.http.metric.Dispatcher
-
Finds an existing call (either running or ready) with the same host.
- 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
-
A general-purpose function to finish a call, either synchronous or asynchronous.
- 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
-
Finishes writing the request to the network.
- finishRequest() - Method in class org.miaixz.bus.http.metric.http.Http1Codec
- finishRequest() - Method in class org.miaixz.bus.http.metric.http.Http2Codec
-
Finishes writing the request.
- finishRequest() - Method in interface org.miaixz.bus.http.metric.http.HttpCodec
-
Flushes the request to the underlying socket, indicating that no more bytes will be transmitted.
- FLOW_CONTROL_ERROR - Enum constant in enum class org.miaixz.bus.http.metric.http.Http2ErrorCode
-
The endpoint detected that its peer violated the flow-control protocol.
- flush() - Method in class org.miaixz.bus.http.cache.Cache
-
Flushes the cache to disk.
- 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
-
Flushes all buffered data on the underlying writer.
- flush() - Method in class org.miaixz.bus.http.metric.http.Http2Writer
-
Flushes all buffered data on the underlying sink.
- flushRequest() - Method in class org.miaixz.bus.http.accord.Exchange
-
Flushes the request to the network.
- flushRequest() - Method in class org.miaixz.bus.http.metric.http.Http1Codec
- flushRequest() - Method in class org.miaixz.bus.http.metric.http.Http2Codec
-
Flushes the request to the underlying connection.
- flushRequest() - Method in interface org.miaixz.bus.http.metric.http.HttpCodec
-
Flushes the request to the underlying socket.
- followRedirects() - Method in class org.miaixz.bus.http.Httpd
-
Returns true if this client follows HTTP redirects.
- followRedirects(boolean) - Method in class org.miaixz.bus.http.Httpd.Builder
-
Configures this client to follow redirects.
- followRedirects(boolean) - Method in class org.miaixz.bus.http.plugin.httpz.HttpBuilder
-
Configures this client to follow redirects.
- followSslRedirects() - Method in class org.miaixz.bus.http.Httpd
-
Returns true if this client follows redirects from HTTPS to HTTP and vice versa.
- followSslRedirects(boolean) - Method in class org.miaixz.bus.http.Httpd.Builder
-
Configures this client to follow redirects from HTTPS to HTTP and from HTTP to HTTPS.
- followSslRedirects(boolean) - Method in class org.miaixz.bus.http.plugin.httpz.HttpBuilder
-
Configures this client to follow redirects from HTTPS to HTTP and from HTTP to HTTPS.
- FORCE_CACHE - Static variable in class org.miaixz.bus.http.cache.CacheControl
-
A cache control request directive that uses only the cache, even if the cached response is stale.
- FORCE_NETWORK - Static variable in class org.miaixz.bus.http.cache.CacheControl
-
A cache control request directive that requires a network validation for the response.
- forJavaName(String) - Static method in class org.miaixz.bus.http.secure.CipherSuite
-
Returns the
CipherSuitefor a given Java name. - forJavaNames(String...) - Static method in class org.miaixz.bus.http.secure.CipherSuite
-
Converts an array of Java cipher suite names into a list of
CipherSuiteinstances. - FORM_ENCODE_SET - Static variable in class org.miaixz.bus.http.UnoUrl
-
The character set for encoding form data.
- format(Date) - Static method in class org.miaixz.bus.http.Builder
-
Formats a
Dateobject into an RFC 1123 compliant string. - FormBody - Class in org.miaixz.bus.http.bodys
-
An HTTP request body that represents form-encoded data.
- FormBody.Builder - Class in org.miaixz.bus.http.bodys
-
A builder for creating
FormBodyinstances. - FormConvertor(Convertor) - Constructor for class org.miaixz.bus.http.plugin.httpv.Convertor.FormConvertor
- forWebSocket - Variable in class org.miaixz.bus.http.RealCall
-
True if this call is for a WebSocket connection.
- fragment() - Method in class org.miaixz.bus.http.UnoUrl
-
Returns the decoded fragment.
- fragment(String) - Method in class org.miaixz.bus.http.UnoUrl.Builder
-
Sets the fragment.
- FRAGMENT_ENCODE_SET - Static variable in class org.miaixz.bus.http.UnoUrl
-
The character set for encoding fragments.
- FRAGMENT_ENCODE_SET_URI - Static variable in class org.miaixz.bus.http.UnoUrl
-
The character set for encoding URI fragments.
- frameHeader(int, int, byte, byte) - Method in class org.miaixz.bus.http.metric.http.Http2Writer
-
Writes an HTTP/2 frame header.
- from(String) - Static method in class org.miaixz.bus.http.Stomp.Message
-
Parses a STOMP message from a string.
- fromHttp2(int) - Static method in enum class org.miaixz.bus.http.metric.http.Http2ErrorCode
-
Returns the
Http2ErrorCodecorresponding to the given HTTP/2 code.
G
- get() - Static method in class org.miaixz.bus.http.accord.platform.Platform
-
Returns the platform-specific implementation.
- get() - Method in class org.miaixz.bus.http.cache.CacheStrategy.Factory
-
Returns a strategy to satisfy
requestusing the a cached responseresponse. - get() - Method in class org.miaixz.bus.http.Httpz.Client
-
Creates a
GetBuilderfor constructing GET requests. - get() - Static method in class org.miaixz.bus.http.Httpz
-
Creates a new
GetBuilderfor constructing GET requests. - get() - Static method in class org.miaixz.bus.http.metric.http.Huffman
-
Gets the singleton instance of the Huffman codec.
- get() - Static method in class org.miaixz.bus.http.metric.suffix.Suffixes
-
Returns the singleton instance of the public suffix database.
- get() - Method in class org.miaixz.bus.http.plugin.httpv.CoverHttp.Async
-
Executes an asynchronous GET request.
- get() - Method in class org.miaixz.bus.http.plugin.httpv.CoverHttp.Sync
-
Executes a GET request (REST: retrieve a resource, idempotent).
- get() - Method in class org.miaixz.bus.http.RealCall.AsyncCall
-
Returns the
RealCallinstance for this asynchronous call. - get() - Method in class org.miaixz.bus.http.Request.Builder
-
Sets this request to be a GET request.
- get(int) - Method in class org.miaixz.bus.http.metric.http.Http2Settings
-
Returns the value for the setting
id, or 0 if not set. - get(String) - Method in class org.miaixz.bus.http.cache.DiskLruCache
-
Returns a snapshot of the entry named
key, or null if it doesn't exist or is not currently readable. - get(String) - Method in class org.miaixz.bus.http.Headers.Builder
-
Gets the last value for the given header name.
- get(String) - Method in class org.miaixz.bus.http.Headers
-
Gets the last value for the given header name.
- get(String) - Static method in class org.miaixz.bus.http.Httpx
-
Sends a simple GET request with the default UTF-8 encoding.
- get(String) - Static method in class org.miaixz.bus.http.UnoUrl
-
Builds a
UnoUrlinstance from a URL string. - get(String, boolean) - Static method in class org.miaixz.bus.http.Httpx
-
Sends a GET request, either synchronously or asynchronously.
- get(String, String) - Static method in class org.miaixz.bus.http.Httpx
-
Sends a simple GET request with a custom encoding.
- get(String, Map<String, String>) - Static method in class org.miaixz.bus.http.Httpx
-
Sends a GET request with query parameters and default UTF-8 encoding.
- get(String, Map<String, String>, Map<String, String>) - Static method in class org.miaixz.bus.http.Httpx
-
Sends a GET request with query and header parameters and default UTF-8 encoding.
- get(String, Map<String, String>, Map<String, String>, String) - Static method in class org.miaixz.bus.http.Httpx
-
Sends a GET request with query parameters, header parameters, and a custom encoding.
- get(String, Callback) - Static method in class org.miaixz.bus.http.Httpx
-
Sends an asynchronous GET request with a callback.
- get(URI) - Static method in class org.miaixz.bus.http.UnoUrl
-
Builds a
UnoUrlinstance from aURIobject. - get(URL) - Static method in class org.miaixz.bus.http.UnoUrl
-
Builds a
UnoUrlinstance from aURLobject. - get(X509Certificate...) - Static method in class org.miaixz.bus.http.secure.CertificateChainCleaner
-
Creates a
CertificateChainCleanerthat uses a custom set of CA certificates. - get(SSLSession) - Static method in class org.miaixz.bus.http.socket.Handshake
-
Creates a Handshake instance from an SSL session.
- get(X509TrustManager) - Static method in class org.miaixz.bus.http.secure.CertificateChainCleaner
-
Creates a
CertificateChainCleanerthat uses the platform's default trust manager. - get(TlsVersion, CipherSuite, List<Certificate>, List<Certificate>) - Static method in class org.miaixz.bus.http.socket.Handshake
-
Creates a Handshake instance from its components.
- get(Request) - Method in interface org.miaixz.bus.http.cache.InternalCache
-
Returns the cached response for the given
request, or null if no cached response exists or is not suitable. - get(Request, Proxy.Type) - Static method in class org.miaixz.bus.http.metric.http.RequestLine
-
Returns the request line for a given request.
- get(Response) - Static method in class org.miaixz.bus.http.metric.http.StatusLine
-
Creates a
StatusLinefrom aResponse. - getAll() - Method in class org.miaixz.bus.http.accord.RouteSelector.Selection
-
Returns a list of all routes in this 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
-
Retrieves the response body handler.
- getBody() - Method in class org.miaixz.bus.http.plugin.httpv.CoverResult.Real
- getBodyType() - Method in class org.miaixz.bus.http.plugin.httpv.CoverHttp
-
Gets the body type of this request task.
- 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
-
Gets the object bound to this request.
- getBuilder() - Method in class org.miaixz.bus.http.plugin.httpz.HttpBuilder
-
Returns the underlying
Httpd.Builderfor advanced configuration. - GetBuilder - Class in org.miaixz.bus.http.plugin.httpz
-
A builder for creating HTTP GET requests using a fluent interface.
- GetBuilder(Httpd) - Constructor for class org.miaixz.bus.http.plugin.httpz.GetBuilder
-
Constructs a new
GetBuilder. - getClient() - Static method in class org.miaixz.bus.http.Httpz
-
Gets the currently used client instance.
- getCode() - Method in class org.miaixz.bus.http.plugin.httpv.CoverCall.Close
- getCommand() - Method in class org.miaixz.bus.http.Stomp.Message
-
Gets the message command.
- getCompleteListener() - Method in class org.miaixz.bus.http.plugin.httpv.CoverTasks.Executor
- getConnection() - Method in class org.miaixz.bus.http.metric.http.Http2Stream
-
Returns the connection that this stream is on.
- getContentLength() - Method in interface org.miaixz.bus.http.plugin.httpv.CoverResult
-
Gets the response body length as specified by the 'Content-Length' header.
- 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
-
Gets the controller for this download task.
- getDate(String) - Method in class org.miaixz.bus.http.Headers
-
Gets the date value for the given header name.
- 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
-
Returns the number of bytes that have been completed.
- 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
-
Returns whether server push is enabled.
- getError() - Method in interface org.miaixz.bus.http.plugin.httpv.CoverResult
-
Retrieves the exception that occurred during execution, if any.
- 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
-
Gets the appropriate executor based on the
onIoflag. - getFile() - Method in class org.miaixz.bus.http.plugin.httpv.Downloads.Failure
- getFirstConnectException() - Method in exception class org.miaixz.bus.http.accord.RouteException
-
Returns the first exception that was encountered when attempting to connect.
- 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
-
Retrieves the first header value for a given name.
- getHeader(String) - Method in class org.miaixz.bus.http.plugin.httpv.CoverResult.Real
- getHeaders() - Method in class org.miaixz.bus.http.plugin.httpv.CoverHttp
-
Gets the headers of this request task.
- getHeaders() - Method in interface org.miaixz.bus.http.plugin.httpv.CoverResult
-
Retrieves the headers from the HTTP response.
- getHeaders() - Method in class org.miaixz.bus.http.plugin.httpv.CoverResult.Real
- getHeaders() - Method in class org.miaixz.bus.http.Stomp.Message
-
Gets the list of message headers.
- getHeaders(String) - Method in interface org.miaixz.bus.http.plugin.httpv.CoverResult
-
Retrieves all header values for a given name.
- getHeaders(String) - Method in class org.miaixz.bus.http.plugin.httpv.CoverResult.Real
- getHeaderTableSize() - Method in class org.miaixz.bus.http.metric.http.Http2Settings
-
Returns the header table size, or -1 if not set.
- getHttp() - Method in interface org.miaixz.bus.http.plugin.httpv.Preprocessor.PreChain
-
Gets the HTTP client instance.
- getHttpd() - Method in class org.miaixz.bus.http.Httpz.Client
-
Gets the current
Httpdclient. - getHttpRequest() - Method in class org.miaixz.bus.http.plugin.httpz.RequestCall
- getId() - Method in class org.miaixz.bus.http.metric.http.Http2Stream
-
Returns the stream's ID.
- getId() - Method in class org.miaixz.bus.http.plugin.httpz.HttpRequest
-
Gets the unique identifier for this request.
- getInitialWindowSize() - Method in class org.miaixz.bus.http.metric.http.Http2Settings
-
Returns the initial window size.
- getInstant(String) - Method in class org.miaixz.bus.http.Headers
-
Gets the Instant value for the given header name.
- 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
-
Gets the header key.
- getLastAccessTime() - Static method in class org.miaixz.bus.http.plugin.httpz.HttpzState
- getLastConnectException() - Method in exception class org.miaixz.bus.http.accord.RouteException
-
Returns the last exception that was encountered when attempting to connect.
- getLength() - Method in interface org.miaixz.bus.http.plugin.httpv.CoverResult.Body
-
Gets the length of the response body in bytes.
- 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
-
Returns the maximum number of concurrent streams, or the default value if not set.
- getMaxFrameSize(int) - Method in class org.miaixz.bus.http.metric.http.Http2Settings
-
Returns the maximum frame size, or the default value if not set.
- getMaxHeaderListSize(int) - Method in class org.miaixz.bus.http.metric.http.Http2Settings
-
Returns the maximum header list size, or the default value if not set.
- getMaxRequests() - Method in class org.miaixz.bus.http.metric.Dispatcher
-
Returns the maximum number of simultaneous requests.
- getMaxRequestsPerHost() - Method in class org.miaixz.bus.http.metric.Dispatcher
-
Returns the maximum number of simultaneous requests per host.
- getMaxSize() - Method in class org.miaixz.bus.http.cache.DiskLruCache
-
Returns the maximum number of bytes that this cache should use to store its data.
- getMediaTypes() - Method in class org.miaixz.bus.http.Httpv.Builder
- getMessage() - Method in class org.miaixz.bus.http.plugin.soap.SoapBuilder
-
Gets the SOAP message object.
- getMethodEle() - Method in class org.miaixz.bus.http.plugin.soap.SoapBuilder
-
Gets the method element, which can be used to create child nodes.
- getNewCall() - Method in class org.miaixz.bus.http.plugin.httpz.RequestCall
- getPayload() - Method in class org.miaixz.bus.http.Stomp.Message
-
Gets the message payload.
- getPrefix() - Method in class org.miaixz.bus.http.accord.platform.Platform
-
Returns the prefix used in custom headers.
- getRate() - Method in class org.miaixz.bus.http.plugin.httpv.Progress
-
Returns the progress rate as a value between 0.0 and 1.0.
- 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
-
Represents an HTTP GET request.
- GetRequest(String, Object, Map<String, String>, Map<String, String>, String) - Constructor for class org.miaixz.bus.http.plugin.httpz.GetRequest
-
Constructs a new
GetRequest. - GetRequest(String, Object, Map<String, String>, Map<String, String>, Map<String, String>, String) - Constructor for class org.miaixz.bus.http.plugin.httpz.GetRequest
-
Constructs a new
GetRequestwith both standard and pre-encoded parameters. - getResponse() - Method in class org.miaixz.bus.http.plugin.httpv.CoverResult.Real
-
Gets the raw Httpd
Response. - getResponseListener() - Method in class org.miaixz.bus.http.plugin.httpv.CoverTasks.Executor
- getResponseWithInterceptorChain() - Method in class org.miaixz.bus.http.RealCall
-
Gets the response by processing the request through the interceptor chain.
- getResult() - Method in interface org.miaixz.bus.http.plugin.httpv.GiveCall
-
Waits if necessary for the computation to complete, and then retrieves its result.
- getSelectedProtocol(SSLSocket) - Method in class org.miaixz.bus.http.accord.platform.Platform
-
Returns the negotiated protocol, or null if no protocol was negotiated.
- 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
-
Returns an object that holds a stack trace created at the time this method was called.
- getStartTime() - Static method in class org.miaixz.bus.http.plugin.httpz.HttpzState
- getState() - Method in interface org.miaixz.bus.http.plugin.httpv.CoverResult
-
Retrieves the final state of the HTTP execution.
- getState() - Method in class org.miaixz.bus.http.plugin.httpv.CoverResult.Real
- getStatus() - Method in interface org.miaixz.bus.http.plugin.httpv.CoverResult
-
Retrieves the HTTP status code from the response.
- getStatus() - Method in class org.miaixz.bus.http.plugin.httpv.CoverResult.Real
- getString(boolean) - Method in class org.miaixz.bus.http.plugin.soap.SoapBuilder
-
Gets the SOAP request message as a string.
- 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
-
Gets the tag of this request task.
- getTagTaskCount() - Method in class org.miaixz.bus.http.Httpv
-
Gets the current number of tagged tasks.
- getTask() - Method in interface org.miaixz.bus.http.plugin.httpv.Preprocessor.PreChain
-
Gets the current HTTP task being processed.
- getTotalBytes() - Method in class org.miaixz.bus.http.plugin.httpv.Progress
-
Returns the total number of bytes.
- getType() - Method in interface org.miaixz.bus.http.plugin.httpv.CoverResult.Body
-
Gets the
MediaTypeof the response body. - getType() - Method in class org.miaixz.bus.http.plugin.httpv.ResultBody
- getUrl() - Method in class org.miaixz.bus.http.plugin.httpv.CoverHttp
-
Gets the URL of this request task.
- getValue() - Method in class org.miaixz.bus.http.Stomp.Header
-
Gets the header value.
- getVersion(String) - Method in class org.miaixz.bus.http.metric.anget.Browser
-
Gets the version of the browser from a User-Agent string.
- getVersion(String) - Method in class org.miaixz.bus.http.metric.anget.Engine
-
Gets the version of the browser engine from a User-Agent string.
- getVersion(String) - Method in class org.miaixz.bus.http.metric.anget.NOS
-
Gets the version of the operating system from a User-Agent string.
- getWappers(String) - Method in interface org.miaixz.bus.http.plugin.httpv.CoverWapper
- GiveCall - Interface in org.miaixz.bus.http.plugin.httpv
-
Represents an asynchronous call that can be canceled and from which a result can be retrieved.
- goAway(int, Http2ErrorCode, byte[]) - Method in class org.miaixz.bus.http.metric.http.Http2Writer
-
Informs the peer to stop creating streams.
- GOOGLE_TV - Static variable in class org.miaixz.bus.http.metric.anget.Device
-
Represents a Google TV device.
H
- handshake() - Method in interface org.miaixz.bus.http.accord.Connection
-
Returns the TLS handshake used to establish this connection, or null if the connection is not HTTPS.
- handshake() - Method in class org.miaixz.bus.http.accord.RealConnection
- handshake() - Method in class org.miaixz.bus.http.Response
-
Returns the TLS handshake information.
- handshake(Handshake) - Method in class org.miaixz.bus.http.Response.Builder
-
Sets the TLS handshake information.
- Handshake - Class in org.miaixz.bus.http.socket
-
A record of a TLS handshake.
- HARMONY - Static variable in class org.miaixz.bus.http.metric.anget.Device
-
Represents a HarmonyOS device.
- has(String) - Method in interface org.miaixz.bus.http.plugin.httpv.CoverWapper
- hasBody(Response) - Static method in class org.miaixz.bus.http.Headers
-
Checks if the response includes a body.
- hasExchange() - Method in class org.miaixz.bus.http.accord.Transmitter
-
Returns true if this transmitter has an active exchange.
- hashCode() - Method in class org.miaixz.bus.http.accord.ConnectionSuite
- hashCode() - Method in class org.miaixz.bus.http.Address
-
Returns a hash code value for the object.
- hashCode() - Method in class org.miaixz.bus.http.Cookie
-
Computes the hash code for this cookie.
- hashCode() - Method in class org.miaixz.bus.http.Headers
-
Calculates the hash code.
- hashCode() - Method in class org.miaixz.bus.http.metric.anget.UserAgent
- hashCode() - Method in class org.miaixz.bus.http.metric.http.Http2Header
-
Returns the hash code for this Http2Header.
- hashCode() - Method in class org.miaixz.bus.http.Route
-
Computes the hash code for this 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
-
Computes the hash code for this Handshake object.
- hashCode() - Method in class org.miaixz.bus.http.UnoUrl
-
Computes the hash code for this URL.
- hasNext() - Method in class org.miaixz.bus.http.accord.RouteSelector
-
Returns true if there is another set of routes to attempt.
- hasNext() - Method in class org.miaixz.bus.http.accord.RouteSelector.Selection
-
Returns true if there is another route to attempt.
- hasVaryAll(Headers) - Static method in class org.miaixz.bus.http.Headers
-
Checks for the presence of a Vary: * header.
- hasVaryAll(Response) - Static method in class org.miaixz.bus.http.Headers
-
Checks for the presence of a Vary: * header.
- head() - Method in class org.miaixz.bus.http.Httpz.Client
-
Creates a
HeadBuilderfor constructing HEAD requests. - head() - Static method in class org.miaixz.bus.http.Httpz
-
Creates a new
HeadBuilderfor constructing HEAD requests. - head() - Method in class org.miaixz.bus.http.plugin.httpv.CoverHttp.Async
-
Executes an asynchronous HEAD request.
- head() - Method in class org.miaixz.bus.http.plugin.httpv.CoverHttp.Sync
-
Executes a HEAD request (REST: retrieve resource headers, idempotent).
- head() - Method in class org.miaixz.bus.http.Request.Builder
-
Sets this request to be a HEAD request.
- head(String) - Static method in class org.miaixz.bus.http.Httpx
-
Sends a simple HEAD request with default UTF-8 encoding.
- head(String, String) - Static method in class org.miaixz.bus.http.Httpx
-
Sends a HEAD request with a custom encoding.
- head(String, Map<String, String>, String) - Static method in class org.miaixz.bus.http.Httpx
-
Sends a HEAD request with header parameters and a custom encoding.
- HeadBuilder - Class in org.miaixz.bus.http.plugin.httpz
-
A builder for creating HTTP HEAD requests using a fluent interface.
- HeadBuilder(Httpd) - Constructor for class org.miaixz.bus.http.plugin.httpz.HeadBuilder
-
Constructs a new
HeadBuilder. - header(String) - Method in class org.miaixz.bus.http.Request
-
Returns the first header value for the given name.
- header(String) - Method in class org.miaixz.bus.http.Response
-
Returns the first header value for the given name.
- header(String) - Method in class org.miaixz.bus.http.Stomp.Message
-
Gets a header by its key.
- header(String, String) - Method in class org.miaixz.bus.http.Request.Builder
-
Sets a header, replacing any existing headers with the same name.
- header(String, String) - Method in class org.miaixz.bus.http.Response.Builder
-
Sets a header, replacing any existing headers with the same name.
- header(String, String) - Method in class org.miaixz.bus.http.Response
-
Returns the first header value for the given name, with a default value.
- header(String, String, boolean) - Method in class org.miaixz.bus.http.plugin.soap.SoapBuilder
-
Sets a header.
- Header(String, String) - Constructor for class org.miaixz.bus.http.Stomp.Header
-
Constructs a new header.
- headers - Variable in class org.miaixz.bus.http.plugin.httpz.HttpRequest
-
The request headers.
- headers - Variable in class org.miaixz.bus.http.plugin.httpz.RequestBuilder
-
A map of request headers.
- headers() - Method in class org.miaixz.bus.http.bodys.MultipartBody.Part
-
Returns the headers of this part.
- headers() - Method in class org.miaixz.bus.http.plugin.httpz.HttpRequest
-
Appends the configured headers to the internal
Request.Builder. - headers() - Method in class org.miaixz.bus.http.plugin.soap.SoapBuilder
-
Gets the headers.
- headers() - Method in class org.miaixz.bus.http.Request
-
Returns all headers for this request.
- headers() - Method in class org.miaixz.bus.http.Response
-
Returns all response headers.
- headers(boolean, int, List<Http2Header>) - Method in class org.miaixz.bus.http.metric.http.Http2Writer
-
Writes a HEADERS frame, followed by any necessary CONTINUATION frames.
- headers(String) - Method in class org.miaixz.bus.http.Request
-
Returns a list of header values for the given name.
- headers(String) - Method in class org.miaixz.bus.http.Response
-
Returns a list of header values for the given name.
- headers(Headers) - Method in class org.miaixz.bus.http.Request.Builder
-
Sets all headers, replacing any existing headers.
- headers(Headers) - Method in class org.miaixz.bus.http.Response.Builder
-
Sets all headers, replacing any existing headers.
- Headers - Class in org.miaixz.bus.http
-
Header fields of an HTTP message.
- Headers.Builder - Class in org.miaixz.bus.http
-
Headers Builder.
- headerValue(String) - Method in class org.miaixz.bus.http.Stomp.Message
-
Gets the value of a header by its key.
- HeadRequest - Class in org.miaixz.bus.http.plugin.httpz
-
Represents an HTTP HEAD request.
- HeadRequest(String, Object, Map<String, String>, Map<String, String>, String) - Constructor for class org.miaixz.bus.http.plugin.httpz.HeadRequest
-
Constructs a new
HeadRequest. - HEART_BEAT - Static variable in class org.miaixz.bus.http.Stomp.Header
-
The heart-beat interval header.
- heatbeat(int, int) - Method in class org.miaixz.bus.http.plugin.httpv.CoverCall.Client
-
Sets the heartbeat interval, overriding the default heartbeat mode.
- hitCount() - Method in class org.miaixz.bus.http.cache.Cache
-
Returns the number of cache hits.
- host() - Method in class org.miaixz.bus.http.RealCall.AsyncCall
-
Returns the hostname for this call.
- host() - Method in class org.miaixz.bus.http.UnoUrl
-
Returns the hostname.
- host(String) - Method in class org.miaixz.bus.http.UnoUrl.Builder
-
Sets the hostname.
- hostAddress - Variable in class org.miaixz.bus.http.plugin.httpx.HttpProxy
-
The proxy server's hostname or IP address.
- hostHeader(UnoUrl, boolean) - Static method in class org.miaixz.bus.http.Builder
-
Generates a host header string for a given URL.
- hostnameVerifier() - Method in class org.miaixz.bus.http.Address
-
Returns the hostname verifier for this address, or null if this is not an HTTPS address.
- hostnameVerifier() - Method in class org.miaixz.bus.http.Httpd
-
Returns the hostname verifier used for HTTPS connections.
- hostnameVerifier(HostnameVerifier) - Method in class org.miaixz.bus.http.Httpd.Builder
-
Sets the verifier used to confirm that response certificates apply to the requested hostnames for HTTPS connections.
- hostnameVerifier(HostnameVerifier) - Method in class org.miaixz.bus.http.plugin.httpz.HttpBuilder
-
Sets the verifier used to confirm that response certificates apply to the requested hostnames.
- hostOnly() - Method in class org.miaixz.bus.http.Cookie
-
Returns
trueif this cookie is host-only. - hostOnlyDomain(String) - Method in class org.miaixz.bus.http.Cookie.Builder
-
Sets the domain of the cookie to be host-only.
- Hpack - Class in org.miaixz.bus.http.metric.http
-
Reads and writes HPACK v10.
- Hpack() - Constructor for class org.miaixz.bus.http.metric.http.Hpack
- hpackReader - Variable in class org.miaixz.bus.http.metric.http.Http2Reader
-
The HPACK reader for decoding headers.
- hpackSize - Variable in class org.miaixz.bus.http.metric.http.Http2Header
-
The size of this header in HPACK's format.
- HTTP_1_1_REQUIRED - Enum constant in enum class org.miaixz.bus.http.metric.http.Http2ErrorCode
-
The endpoint requires that HTTP/1.1 be used instead of HTTP/2.
- Http1Codec - Class in org.miaixz.bus.http.metric.http
-
A socket connection that can be used to send HTTP/1.1 messages.
- Http1Codec(Httpd, RealConnection, BufferSource, BufferSink) - Constructor for class org.miaixz.bus.http.metric.http.Http1Codec
- Http2 - Class in org.miaixz.bus.http.metric.http
-
Defines constants and utility methods for the HTTP/2 protocol.
- Http2Codec - Class in org.miaixz.bus.http.metric.http
-
Encodes requests and decodes responses using HTTP/2 frames.
- Http2Codec(Httpd, RealConnection, NewChain, Http2Connection) - Constructor for class org.miaixz.bus.http.metric.http.Http2Codec
-
Constructs a new Http2Codec.
- Http2Connection - Class in org.miaixz.bus.http.metric.http
-
A socket connection to a remote peer.
- 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
-
Represents an HTTP/2 error code, as defined in RFC 7540, Section 7.
- Http2Header - Class in org.miaixz.bus.http.metric.http
-
An 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
-
Constructs a new Http2Header with the given name and value.
- Http2Header(ByteString, String) - Constructor for class org.miaixz.bus.http.metric.http.Http2Header
-
Constructs a new Http2Header with the given name and value.
- Http2Header(ByteString, ByteString) - Constructor for class org.miaixz.bus.http.metric.http.Http2Header
-
Constructs a new Http2Header with the given name and value.
- http2HeadersList(Request) - Static method in class org.miaixz.bus.http.metric.http.Http2Codec
-
Converts an HTTP request to a list of HTTP/2 headers.
- Http2Reader - Class in org.miaixz.bus.http.metric.http
-
Reads HTTP/2 transport frames.
- Http2Settings - Class in org.miaixz.bus.http.metric.http
-
Settings describe characteristics of the sending peer, which are used by the receiving peer.
- Http2Settings() - Constructor for class org.miaixz.bus.http.metric.http.Http2Settings
- Http2Stream - Class in org.miaixz.bus.http.metric.http
-
A logical bidirectional stream.
- Http2Writer - Class in org.miaixz.bus.http.metric.http
-
Writes HTTP/2 transport frames.
- HttpBuilder - Class in org.miaixz.bus.http.plugin.httpz
-
A fluent builder for configuring and creating an
Httpz.Clientinstance. - HttpBuilder() - Constructor for class org.miaixz.bus.http.plugin.httpz.HttpBuilder
-
Creates a new builder with a default client configuration.
- HttpBuilder(Httpd) - Constructor for class org.miaixz.bus.http.plugin.httpz.HttpBuilder
-
Creates a new builder based on the configuration of an existing
Httpdclient. - httpCode - Variable in enum class org.miaixz.bus.http.metric.http.Http2ErrorCode
-
The HTTP/2 error code as an integer.
- HttpCodec - Interface in org.miaixz.bus.http.metric.http
-
Encodes HTTP requests and decodes HTTP responses.
- httpd - Variable in class org.miaixz.bus.http.accord.ConnectInterceptor
-
The httpd client instance.
- httpd - Variable in class org.miaixz.bus.http.plugin.httpz.RequestBuilder
-
The HTTP client instance.
- httpd() - Method in class org.miaixz.bus.http.Httpv.Builder
- httpd() - Method in class org.miaixz.bus.http.Httpv
-
Gets the underlying
Httpdclient. - Httpd - Class in org.miaixz.bus.http
-
The core client for making HTTP requests and reading their responses.
- Httpd() - Constructor for class org.miaixz.bus.http.Httpd
-
Constructs a new
Httpdinstance with default settings. - Httpd(Httpd.Builder) - Constructor for class org.miaixz.bus.http.Httpd
-
Constructs a new
Httpdinstance configured by the givenHttpd.Builder. - Httpd.Builder - Class in org.miaixz.bus.http
-
A builder for configuring and creating
Httpdinstances. - httpOnly() - Method in class org.miaixz.bus.http.Cookie.Builder
-
Sets the cookie to be HTTP-only.
- httpOnly() - Method in class org.miaixz.bus.http.Cookie
-
Returns
trueif this cookie should only be sent over HTTP APIs. - HttpProxy - Class in org.miaixz.bus.http.plugin.httpx
-
Represents the configuration for an HTTP proxy server.
- HttpProxy(String, int) - Constructor for class org.miaixz.bus.http.plugin.httpx.HttpProxy
-
Constructs a new HTTP proxy configuration without authentication.
- HttpProxy(String, int, String, String, Proxy.Type) - Constructor for class org.miaixz.bus.http.plugin.httpx.HttpProxy
-
Constructs a new proxy configuration.
- HttpRequest - Class in org.miaixz.bus.http.plugin.httpz
-
An abstract base class for representing an HTTP request.
- HttpRequest(String, Object, Map<String, String>, Map<String, String>, List<MultipartFile>, String, MultipartBody, String) - Constructor for class org.miaixz.bus.http.plugin.httpz.HttpRequest
-
Constructs an 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
-
Constructs an HttpRequest with both standard and pre-encoded parameters.
- httpv - Variable in class org.miaixz.bus.http.plugin.httpv.CoverHttp
-
The core HTTP client instance.
- Httpv - Class in org.miaixz.bus.http
-
A high-level HTTP client that provides a fluent and expressive API for making HTTP requests.
- Httpv() - Constructor for class org.miaixz.bus.http.Httpv
-
Default constructor.
- Httpv(Httpv.Builder) - Constructor for class org.miaixz.bus.http.Httpv
-
Constructs an
Httpvinstance with the configuration from the given builder. - Httpv.Builder - Class in org.miaixz.bus.http
-
A builder for creating and configuring
Httpvinstances. - Httpv.HttpvConfig - Interface in org.miaixz.bus.http
-
An interface for configuring the underlying
Httpd.Builder. - Httpv.SerialPreprocessor - Class in org.miaixz.bus.http
-
A preprocessor that ensures serial execution of other preprocessors.
- Httpv.TagTask - Class in org.miaixz.bus.http
-
Represents a task that is associated with a tag for easy cancellation.
- Httpx - Class in org.miaixz.bus.http
-
A utility class for sending HTTP requests with a simplified API.
- Httpx() - Constructor for class org.miaixz.bus.http.Httpx
-
Default constructor that initializes the client with default timeouts.
- Httpx(int, int, int) - Constructor for class org.miaixz.bus.http.Httpx
-
Constructor that initializes the client with custom timeouts.
- Httpx(int, int, int, int, int, int, int) - Constructor for class org.miaixz.bus.http.Httpx
-
Constructor that initializes the client with detailed custom settings.
- Httpx(X509TrustManager) - Constructor for class org.miaixz.bus.http.Httpx
-
Constructor that initializes the client with a custom trust manager.
- Httpx(DnsX, HttpProxy, int, int, int, int, int, int, int) - Constructor for class org.miaixz.bus.http.Httpx
-
Constructor that initializes the client with DNS and proxy settings.
- Httpx(DnsX, HttpProxy, int, int, int, int, int, int, int, SSLSocketFactory, X509TrustManager, HostnameVerifier) - Constructor for class org.miaixz.bus.http.Httpx
-
The main constructor that initializes the underlying
Httpdclient with all possible configurations. - Httpz - Class in org.miaixz.bus.http
-
A utility class for sending HTTP requests with a convenient, chainable API.
- Httpz() - Constructor for class org.miaixz.bus.http.Httpz
- Httpz.Client - Class in org.miaixz.bus.http
-
The inner client class that manages the execution and cancellation of HTTP requests.
- HttpzState - Class in org.miaixz.bus.http.plugin.httpz
-
A utility class for tracking global statistics and state for the
Httpzclient. - HttpzState() - Constructor for class org.miaixz.bus.http.plugin.httpz.HttpzState
- Huffman - Class in org.miaixz.bus.http.metric.http
-
This class was originally composed of the following classes from Twitter Hpack.
I
- id - Variable in class org.miaixz.bus.http.plugin.httpz.HttpRequest
-
The unique identifier for this request.
- id - Variable in class org.miaixz.bus.http.plugin.httpz.RequestBuilder
-
A unique identifier for the request.
- id(String) - Method in class org.miaixz.bus.http.plugin.httpz.RequestBuilder
-
Sets the unique identifier for this request.
- ID - Static variable in class org.miaixz.bus.http.Stomp.Header
-
The subscription ID header.
- idleConnectionCount() - Method in class org.miaixz.bus.http.accord.ConnectionPool
-
Returns the number of idle connections in the pool.
- idleConnectionCount() - Method in class org.miaixz.bus.http.accord.RealConnectionPool
-
Returns the number of idle connections in the pool.
- immutable() - Method in class org.miaixz.bus.http.cache.CacheControl.Builder
-
Indicates that the response will not be updated while it's fresh.
- immutable() - Method in class org.miaixz.bus.http.cache.CacheControl
-
Returns true if the response is immutable.
- immutableList(List<T>) - Static method in class org.miaixz.bus.http.Builder
-
Returns an immutable copy of the given list.
- immutableList(T...) - Static method in class org.miaixz.bus.http.Builder
-
Returns an immutable list containing the given elements.
- immutableMap(Map<K, V>) - Static method in class org.miaixz.bus.http.Builder
-
Returns an immutable copy of the given map.
- in - Variable in class org.miaixz.bus.http.plugin.httpz.MultipartFile
-
The
InputStreamproviding the file content. - INADEQUATE_SECURITY - Enum constant in enum class org.miaixz.bus.http.metric.http.Http2ErrorCode
-
The underlying transport has properties that do not meet the minimum security requirements.
- increaseDoneBytes() - Method in class org.miaixz.bus.http.plugin.httpv.Progress
-
Increments the number of completed bytes by one.
- indexOf(Comparator<String>, String[], String) - Static method in class org.miaixz.bus.http.Builder
-
Finds the index of a string in an array using a custom comparator.
- indexOfControlOrNonAscii(String) - Static method in class org.miaixz.bus.http.Builder
-
Finds the index of the first control character or non-ASCII character in a string.
- init(Protocol) - Method in class org.miaixz.bus.http.plugin.soap.SoapBuilder
-
Initializes the SOAP client.
- initExchange(Response.Builder, Exchange) - Method in class org.miaixz.bus.http.metric.Internal
-
Initializes the exchange for a
Response.Builder. - initialize() - Method in class org.miaixz.bus.http.cache.Cache
-
Initializes the cache.
- initialize() - Method in class org.miaixz.bus.http.cache.DiskLruCache
-
Initializes the cache.
- initReaderAndWriter(String, RealWebSocket.Streams) - Method in class org.miaixz.bus.http.socket.RealWebSocket
-
Initializes the frame reader, writer, and ping executor.
- instance - Static variable in class org.miaixz.bus.http.metric.Internal
-
The singleton instance of this internal API.
- instructions() - Method in interface org.miaixz.bus.http.metric.Interceptor
-
Provides a description of what this interceptor implementation does.
- intercept(NewChain) - Method in class org.miaixz.bus.http.accord.ConnectInterceptor
-
Intercepts the request to establish a connection and create an exchange.
- intercept(NewChain) - Method in class org.miaixz.bus.http.cache.CacheInterceptor
- intercept(NewChain) - Method in class org.miaixz.bus.http.metric.http.BridgeInterceptor
-
Intercepts the request to add necessary headers, handle cookies, and manage content encoding.
- intercept(NewChain) - Method in class org.miaixz.bus.http.metric.http.CallServerInterceptor
-
Intercepts the request to make a network call to the server.
- intercept(NewChain) - Method in class org.miaixz.bus.http.metric.http.RetryAndFollowUp
- intercept(NewChain) - Method in interface org.miaixz.bus.http.metric.Interceptor
-
Intercepts the given
chainto process a network request. - intercept(NewChain) - Method in class org.miaixz.bus.http.plugin.httpz.FileInterceptor
-
Intercepts the network response to wrap the original response body with a progress-monitoring body.
- Interceptor - Interface in org.miaixz.bus.http.metric
-
Intercepts, observes, modifies, and potentially short-circuits requests and their corresponding responses.
- interceptors() - Method in class org.miaixz.bus.http.Httpd.Builder
-
Returns a mutable list of the application interceptors that observe the full span of each call.
- interceptors() - Method in class org.miaixz.bus.http.Httpd
-
Returns the list of application interceptors.
- Internal - Class in org.miaixz.bus.http.metric
-
Provides a mechanism to access internal APIs within the
org.miaixz.bus.httppackage. - Internal() - Constructor for class org.miaixz.bus.http.metric.Internal
- INTERNAL_ERROR - Enum constant in enum class org.miaixz.bus.http.metric.http.Http2ErrorCode
-
The endpoint encountered an unexpected internal error.
- internalCache - Variable in class org.miaixz.bus.http.cache.Cache
-
The internal cache implementation for use by the HTTP client.
- InternalCache - Interface in org.miaixz.bus.http.cache
-
An internal interface for Http's cache.
- intersect(Comparator<? super String>, String[], String[]) - Static method in class org.miaixz.bus.http.Builder
-
Returns the intersection of two string arrays based on a given comparator.
- IPAD - Static variable in class org.miaixz.bus.http.metric.anget.Device
-
Represents an iPad device.
- IPHONE - Static variable in class org.miaixz.bus.http.metric.anget.Device
-
Represents an iPhone device.
- IPOD - Static variable in class org.miaixz.bus.http.metric.anget.Device
-
Represents an iPod device.
- isAndroid() - Method in class org.miaixz.bus.http.metric.anget.Device
-
Returns whether this device is an Android device (including Google TV).
- isCacheable(Response, Request) - Static method in class org.miaixz.bus.http.cache.CacheStrategy
-
Returns true if
responsecan be stored to later serve another request. - isCanceled() - Method in class org.miaixz.bus.http.accord.Transmitter
-
Returns true if this transmitter has been canceled.
- isCanceled() - Method in interface org.miaixz.bus.http.NewCall
-
Returns true if this call has been canceled.
- isCanceled() - Method in class org.miaixz.bus.http.plugin.httpv.CoverCall.Close
- isCanceled() - Method in interface org.miaixz.bus.http.plugin.httpv.GiveCall
-
Returns
trueif this call was canceled before it completed normally. - isCanceled() - Method in class org.miaixz.bus.http.RealCall
-
Returns whether this call has been canceled.
- isCleartextTrafficPermitted(String) - Method in class org.miaixz.bus.http.accord.platform.Platform
-
Returns true if cleartext traffic is permitted for the given hostname.
- isClosed() - Method in class org.miaixz.bus.http.cache.Cache
-
Returns whether the cache is closed.
- 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
-
Returns
trueif the currently configured socket supports this connection specification. - isDone() - Method in interface org.miaixz.bus.http.plugin.httpv.GiveCall
-
Returns
trueif this call completed. - isDone() - Method in class org.miaixz.bus.http.plugin.httpv.Progress
-
Returns whether the operation is complete.
- 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
-
Returns whether this request body is a duplex body.
- 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
-
Returns whether this call has been executed.
- isHarmony() - Method in class org.miaixz.bus.http.metric.anget.Device
-
Returns whether this device is a HarmonyOS device.
- isHealthy(boolean) - Method in class org.miaixz.bus.http.accord.RealConnection
-
Returns true if this connection is ready to host new streams.
- isHealthy(long) - Method in class org.miaixz.bus.http.metric.http.Http2Connection
-
Returns true if this connection is healthy.
- isHttps() - Method in class org.miaixz.bus.http.Request
-
Returns true if this request uses the HTTPS protocol.
- isHttps() - Method in class org.miaixz.bus.http.UnoUrl
-
Returns
trueif this URL uses the HTTPS scheme. - isIos() - Method in class org.miaixz.bus.http.metric.anget.Device
-
Returns whether this device is an iOS device (iPhone, iPod, or iPad).
- isIPad() - Method in class org.miaixz.bus.http.metric.anget.Device
-
Returns whether this device is an iPad.
- isIPhoneOrIPod() - Method in class org.miaixz.bus.http.metric.anget.Device
-
Returns whether this device is an iPhone or 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
-
Returns whether this operating system is macOS.
- isMatch(String) - Method in class org.miaixz.bus.http.metric.anget.UserAgent
-
Returns whether the given content contains a match for this component.
- isMobile() - Method in class org.miaixz.bus.http.metric.anget.Browser
-
Returns whether this browser is a mobile browser.
- isMobile() - Method in class org.miaixz.bus.http.metric.anget.Device
-
Returns whether this device is a mobile 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 whether this request body is a one-shot body.
- 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
-
Returns true if this response should not be cached by a shared cache.
- isPublic() - Method in class org.miaixz.bus.http.cache.CacheControl
-
Returns true if this response may be cached by any cache.
- isRedirect() - Method in class org.miaixz.bus.http.Response
-
Returns whether this response is a redirect.
- isSet(int) - Method in class org.miaixz.bus.http.metric.http.Http2Settings
-
Returns true if a value has been assigned for the setting
id. - isSuccessful() - Method in interface org.miaixz.bus.http.plugin.httpv.CoverResult
-
Checks if the response was successful (i.e., the status code is in the range [200..299]).
- isSuccessful() - Method in class org.miaixz.bus.http.plugin.httpv.CoverResult.Real
- isSuccessful() - Method in class org.miaixz.bus.http.Response
-
Returns whether the request was successful (status code in the range [200..300)).
- isTagged(String) - Method in class org.miaixz.bus.http.plugin.httpv.CoverHttp
-
Checks if this request's tag matches (contains) the given tag.
- 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
-
Returns true if this connection suite is for TLS connections.
- isUnknown() - Method in class org.miaixz.bus.http.metric.anget.UserAgent
-
Returns whether this component is unknown.
J
- javaName - Variable in class org.miaixz.bus.http.secure.CipherSuite
-
The Java name of this cipher suite, e.g.,
SSL_RSA_WITH_RC4_128_MD5. - javaName() - Method in class org.miaixz.bus.http.secure.CipherSuite
-
Returns the Java name of this cipher suite.
K
- key() - Method in class org.miaixz.bus.http.cache.DiskLruCache.Snapshot
-
Returns the key for this snapshot.
- key(UnoUrl) - Static method in class org.miaixz.bus.http.cache.Cache
-
Generates a unique and safe key for the cache from a URL.
- keySet() - Method in interface org.miaixz.bus.http.plugin.httpv.CoverWapper
L
- lastAccessTime - Static variable in class org.miaixz.bus.http.plugin.httpz.HttpzState
-
The timestamp of the last recorded request activity.
- list - Variable in class org.miaixz.bus.http.plugin.httpz.HttpRequest
-
A list of files for multipart uploads.
- listen() - Method in class org.miaixz.bus.http.plugin.httpv.CoverCall.Client
-
Starts the WebSocket connection and returns a
CoverCallto interact with it. - listen(CoverHttp<?>, Downloads) - Method in interface org.miaixz.bus.http.plugin.httpv.Downloads.Listener
-
Listens for the creation of a new download task.
- listen(CoverHttp<?>, T) - Method in interface org.miaixz.bus.http.plugin.httpv.CoverTasks.Listener
-
A global listener method that is called when a specific task event occurs.
- 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
-
Constructs a new listener.
- loadForRequest(UnoUrl) - Method in interface org.miaixz.bus.http.metric.CookieJar
-
Loads cookies from this jar for an HTTP request to
url. - localCertificates() - Method in class org.miaixz.bus.http.socket.Handshake
-
Returns a list of certificates that identify this side of the connection.
- localPrincipal() - Method in class org.miaixz.bus.http.socket.Handshake
-
Returns the principal that identifies this side of the connection.
- logCloseableLeak(String, Object) - Method in class org.miaixz.bus.http.accord.platform.Platform
-
Logs a message about a leaked closeable resource.
- lookup(String) - Method in interface org.miaixz.bus.http.DnsX
-
Returns the IP addresses for
hostname, in the order they should be attempted. - loopReader() - Method in class org.miaixz.bus.http.socket.RealWebSocket
-
Starts the reader loop to process incoming frames.
M
- mainExecutor() - Method in class org.miaixz.bus.http.Httpv.Builder
- matches(UnoUrl) - Method in class org.miaixz.bus.http.Cookie
-
Returns
trueif this cookie matches the given URL. - MAX_DATE - Static variable in class org.miaixz.bus.http.Builder
-
Maximum date value (December 31, 9999).
- maxAge(int, TimeUnit) - Method in class org.miaixz.bus.http.cache.CacheControl.Builder
-
Sets the maximum age of a cached response.
- maxAgeSeconds() - Method in class org.miaixz.bus.http.cache.CacheControl
-
Returns the maximum age of a cached response in seconds.
- maxConcurrentStreams() - Method in class org.miaixz.bus.http.metric.http.Http2Connection
-
Returns the maximum number of concurrent streams that the remote peer is willing to accept.
- maxDataLength() - Method in class org.miaixz.bus.http.metric.http.Http2Writer
-
Returns 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
-
Returns the maximum size of the cache in bytes.
- maxStale(int, TimeUnit) - Method in class org.miaixz.bus.http.cache.CacheControl.Builder
-
Accept cached responses that have exceeded their freshness lifetime by at most
maxStale. - maxStaleSeconds() - Method in class org.miaixz.bus.http.cache.CacheControl
-
Returns the maximum staleness of a cached response in seconds.
- mediaTypes() - Method in class org.miaixz.bus.http.Httpv
-
Gets the map of media types.
- mediaTypes(String, String) - Method in class org.miaixz.bus.http.Httpv.Builder
-
Adds a single media type mapping.
- mediaTypes(Map<String, String>) - Method in class org.miaixz.bus.http.Httpv.Builder
-
Adds multiple media type mappings.
- merge(Http2Settings) - Method in class org.miaixz.bus.http.metric.http.Http2Settings
-
Merges the settings from
otherinto this. - message - Variable in class org.miaixz.bus.http.metric.http.StatusLine
-
The HTTP status message, such as "OK".
- 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
-
Sets the HTTP status message.
- Message(String) - Constructor for class org.miaixz.bus.http.plugin.httpv.CoverCall.Message
-
Constructs a message from a text string.
- Message(String, List<Stomp.Header>, String) - Constructor for class org.miaixz.bus.http.Stomp.Message
-
Constructs a new STOMP message.
- Message(ByteString) - Constructor for class org.miaixz.bus.http.plugin.httpv.CoverCall.Message
-
Constructs a message from a ByteString.
- MESSAGE - Static variable in class org.miaixz.bus.http.Builder
-
The STOMP MESSAGE frame command.
- MESSAGE_ID - Static variable in class org.miaixz.bus.http.Stomp.Header
-
The message ID header.
- method() - Method in class org.miaixz.bus.http.Request
-
Returns the HTTP method for this request.
- method(String, RequestBody) - Method in class org.miaixz.bus.http.Request.Builder
-
Sets the HTTP method and request body.
- minFresh(int, TimeUnit) - Method in class org.miaixz.bus.http.cache.CacheControl.Builder
-
Sets the minimum number of seconds that a response will continue to be fresh for.
- minFreshSeconds() - Method in class org.miaixz.bus.http.cache.CacheControl
-
Returns the minimum freshness of a cached response in seconds.
- MOBILE_DEVICE - Static variable in class org.miaixz.bus.http.metric.anget.Device
-
A list of supported mobile device types.
- MODERN_TLS - Static variable in class org.miaixz.bus.http.accord.ConnectionSuite
-
A TLS connection with extensions like SNI and ALPN available.
- msgConvertors() - Method in class org.miaixz.bus.http.Httpv.Builder
- msgType(String) - Method in class org.miaixz.bus.http.plugin.httpv.CoverCall
-
Sets the default message type for object serialization.
- multipartBody - Variable in class org.miaixz.bus.http.plugin.httpz.HttpRequest
-
The multipart body for file uploads.
- multipartBody(MultipartBody) - Method in class org.miaixz.bus.http.plugin.httpz.PostBuilder
-
Sets a pre-constructed
MultipartBody. - multipartBody(MultipartBody) - Method in class org.miaixz.bus.http.plugin.httpz.PutBuilder
-
Sets a pre-constructed
MultipartBody. - MultipartBody - Class in org.miaixz.bus.http.bodys
-
A MIME multipart request body.
- MultipartBody.Builder - Class in org.miaixz.bus.http.bodys
-
A builder for creating
MultipartBodyinstances. - MultipartBody.Part - Class in org.miaixz.bus.http.bodys
-
A part of a multipart body.
- MultipartFile - Class in org.miaixz.bus.http.plugin.httpz
-
Represents a file or data source to be uploaded as part of a multipart request.
- MultipartFile() - Constructor for class org.miaixz.bus.http.plugin.httpz.MultipartFile
- mustRevalidate() - Method in class org.miaixz.bus.http.cache.CacheControl
-
Returns true if the cache must revalidate the response with the origin server before using it.
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
-
The name of the runnable, which will be set as the thread name.
- name - Variable in class org.miaixz.bus.http.plugin.httpz.MultipartFile
-
The name of the file to be used in the 'filename' parameter of the 'Content-Disposition' header.
- name() - Method in class org.miaixz.bus.http.Cookie
-
Returns the name of this cookie.
- name(int) - Method in class org.miaixz.bus.http.bodys.FormBody
-
Returns the decoded field name at the specified index.
- name(int) - Method in class org.miaixz.bus.http.Headers
-
Gets the header name at the specified index.
- name(String) - Method in class org.miaixz.bus.http.Cookie.Builder
-
Sets the name of the cookie.
- NamedRunnable - Class in org.miaixz.bus.http.metric
-
An abstract
Runnableimplementation that always sets its thread name. - NamedRunnable(String, Object...) - Constructor for class org.miaixz.bus.http.metric.NamedRunnable
-
Constructs a new
NamedRunnablewith a formatted name. - names() - Method in class org.miaixz.bus.http.Headers
-
Gets the set of header names.
- NATURAL_ORDER - Static variable in class org.miaixz.bus.http.Builder
-
A comparator that orders strings naturally.
- NetAuthenticator - Class in org.miaixz.bus.http.secure
-
An authenticator that bridges Httpd's authentication mechanism with Java's built-in
Authenticator. - 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
-
The task failed due to a network connectivity issue.
- NETWORK_ERROR - Static variable in class org.miaixz.bus.http.plugin.httpv.CoverCall.Close
-
Custom status code indicating the WebSocket was closed due to a network error.
- networkCount() - Method in class org.miaixz.bus.http.cache.Cache
-
Returns the number of network requests made.
- networkInterceptors() - Method in class org.miaixz.bus.http.Httpd.Builder
-
Returns a mutable list of the network interceptors that observe a single network request and response.
- networkInterceptors() - Method in class org.miaixz.bus.http.Httpd
-
Returns the list of network interceptors.
- networkRequest - Variable in class org.miaixz.bus.http.cache.CacheStrategy
-
The request to send on the network, or null if the network is not used.
- networkResponse() - Method in class org.miaixz.bus.http.Response
-
Returns the network response.
- networkResponse(Response) - Method in class org.miaixz.bus.http.Response.Builder
-
Sets the network response.
- newBuilder() - Method in class org.miaixz.bus.http.Headers
-
Creates a new Builder instance.
- newBuilder() - Method in class org.miaixz.bus.http.Httpd
-
Returns a new builder that is a copy of this client's configuration.
- newBuilder() - Method in class org.miaixz.bus.http.Httpv
-
Creates a new builder initialized with the configuration of this
Httpvinstance. - newBuilder() - Static method in class org.miaixz.bus.http.Httpz
-
Creates a new
HttpBuilderinstance using the default client. - newBuilder() - Method in class org.miaixz.bus.http.Request
-
Creates a new builder instance initialized with this request's properties.
- newBuilder() - Method in class org.miaixz.bus.http.Response
-
Creates a new builder instance initialized with this response's properties.
- newBuilder() - Method in class org.miaixz.bus.http.UnoUrl
-
Creates a new builder initialized with the components of this URL.
- newBuilder(String) - Method in class org.miaixz.bus.http.UnoUrl
-
Creates a new builder for a relative link.
- newBuilder(Httpd) - Static method in class org.miaixz.bus.http.Httpz
-
Creates a new
HttpBuilderinstance using the specified client. - newCall(Request) - Method in class org.miaixz.bus.http.Httpd
-
Prepares the
requestto be executed at some point in the future. - newCall(Request) - Method in interface org.miaixz.bus.http.NewCall.Factory
-
Creates a new call for the given request.
- NewCall - Interface in org.miaixz.bus.http
-
A call is a request that has been prepared for execution.
- NewCall.Factory - Interface in org.miaixz.bus.http
-
A factory for creating
NewCallinstances. - NewChain - Interface in org.miaixz.bus.http.metric
-
A chain of interceptors that can process an HTTP request and response.
- 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
-
Uses
requestto connect a new web socket. - newWebSocket(Request, WebSocketListener) - Method in interface org.miaixz.bus.http.socket.WebSocket.Factory
-
Creates a new web socket and immediately returns it.
- newWebSocketCall(Httpd, Request) - Method in class org.miaixz.bus.http.metric.Internal
-
Creates a new WebSocket call.
- newWebSocketStreams() - Method in class org.miaixz.bus.http.accord.Exchange
-
Creates new streams for a WebSocket connection.
- next() - Method in class org.miaixz.bus.http.accord.RouteSelector
-
Returns the next selection of routes to attempt.
- next() - Method in class org.miaixz.bus.http.accord.RouteSelector.Selection
-
Returns the next route to attempt.
- nextFrame(boolean, Http2Reader.Handler) - Method in class org.miaixz.bus.http.metric.http.Http2Reader
-
Reads the next frame from the source.
- nextOnIO - Variable in class org.miaixz.bus.http.plugin.httpv.CoverHttp
-
If true, the next callback will be executed on an I/O thread.
- nextOnIO - Variable in class org.miaixz.bus.http.plugin.httpv.Downloads
-
A temporary flag to indicate that the next callback should be executed on an I/O thread.
- nextOnIO() - Method in class org.miaixz.bus.http.plugin.httpv.CoverHttp
-
Specifies that the next callback should be executed on an I/O thread.
- nextOnIO() - Method in interface org.miaixz.bus.http.plugin.httpv.CoverResult.Body
-
Specifies that the next download-related callback should be executed on an I/O thread.
- nextOnIO() - Method in class org.miaixz.bus.http.plugin.httpv.Downloads
-
Specifies that the next callback to be set (e.g., onSuccess, onFailure) should be executed on an I/O thread.
- nextOnIO() - Method in class org.miaixz.bus.http.plugin.httpv.ResultBody
- NO_COOKIES - Static variable in interface org.miaixz.bus.http.metric.CookieJar
-
A cookie jar that never accepts any cookies.
- NO_ERROR - Enum constant in enum class org.miaixz.bus.http.metric.http.Http2ErrorCode
-
The associated condition is not a result of an error.
- noCache() - Method in class org.miaixz.bus.http.cache.CacheControl.Builder
-
Do not accept a cached response without validation.
- noCache() - Method in class org.miaixz.bus.http.cache.CacheControl
-
Returns true if this cache control forbids caching of any kind.
- noMoreExchanges(IOException) - Method in class org.miaixz.bus.http.accord.Transmitter
-
Notifies this transmitter that no more exchanges are expected.
- NONE - Static variable in class org.miaixz.bus.http.metric.EventListener
- NONE - Static variable in interface org.miaixz.bus.http.secure.Authenticator
-
An authenticator that does not attempt to authenticate and always returns null.
- nonEmptyIntersection(Comparator<String>, String[], String[]) - Static method in class org.miaixz.bus.http.Builder
-
Checks if there is any common string between two arrays based on a given comparator.
- noNewExchanges() - Method in class org.miaixz.bus.http.accord.RealConnection
-
Prevents further exchanges from being created on this connection.
- noNewExchangesOnConnection() - Method in class org.miaixz.bus.http.accord.Exchange
-
Prevents new exchanges from being created on the current connection.
- noRequestBody() - Method in class org.miaixz.bus.http.accord.Exchange
-
Notifies the transmitter that there is no request body.
- NOS - Class in org.miaixz.bus.http.metric.anget
-
Represents a Network Operating System (NOS), typically parsed from a User-Agent string.
- NOS - Static variable in class org.miaixz.bus.http.metric.anget.NOS
-
A list of supported operating systems.
- NOS(String, String) - Constructor for class org.miaixz.bus.http.metric.anget.NOS
-
Constructs a new
NOSinstance. - NOS(String, String, String) - Constructor for class org.miaixz.bus.http.metric.anget.NOS
-
Constructs a new
NOSinstance. - noStore() - Method in class org.miaixz.bus.http.cache.CacheControl.Builder
-
Do not store the server's response in any cache.
- noStore() - Method in class org.miaixz.bus.http.cache.CacheControl
-
Returns true if this cache control forbids storing the response in any cache.
- notDoneOrReached(long) - Method in class org.miaixz.bus.http.plugin.httpv.Progress
-
Returns whether the operation is not yet done or has not reached a certain number of bytes.
- nothrow - Variable in class org.miaixz.bus.http.plugin.httpv.CoverHttp
-
If true, exceptions will not be thrown but will be available in the result object.
- nothrow() - Method in class org.miaixz.bus.http.plugin.httpv.CoverHttp
-
Configures the request to not throw exceptions on failure.
- noTransform() - Method in class org.miaixz.bus.http.cache.CacheControl.Builder
-
Do not accept a transformed response.
- noTransform() - Method in class org.miaixz.bus.http.cache.CacheControl
-
Returns true if the cache should not transform the response.
- NullProxySelector - Class in org.miaixz.bus.http.metric.proxy
-
A
ProxySelectorthat always returnsProxy.NO_PROXY. - NullProxySelector() - Constructor for class org.miaixz.bus.http.metric.proxy.NullProxySelector
O
- of(String) - Static method in class org.miaixz.bus.http.plugin.soap.SoapBuilder
-
Creates a new SOAP client with the default SOAP 1.2 protocol.
- of(String...) - Static method in class org.miaixz.bus.http.Headers
-
Creates a Headers instance from an array of names and values.
- of(String, Protocol) - Static method in class org.miaixz.bus.http.plugin.soap.SoapBuilder
-
Creates a new SOAP client with a specified protocol.
- of(String, Protocol, String) - Static method in class org.miaixz.bus.http.plugin.soap.SoapBuilder
-
Creates a new SOAP client with a specified protocol and namespace URI.
- of(Map<String, String>) - Static method in class org.miaixz.bus.http.Headers
-
Creates a Headers instance from a map.
- of(Response) - Static method in interface org.miaixz.bus.http.plugin.httpv.CoverResult
-
Creates a
CoverResultfrom a rawResponse. - of(Response, CoverTasks.Executor) - Static method in interface org.miaixz.bus.http.plugin.httpv.CoverResult
-
Creates a fully functional
CoverResultfrom a rawResponseand a task executor. - on(CoverCall, T) - Method in interface org.miaixz.bus.http.plugin.httpv.CoverCall.Register
-
Called when a WebSocket event occurs.
- on(T) - Method in interface org.miaixz.bus.http.Callback
-
A generic data callback for handling specific types of callback data, such as STOMP messages or other asynchronous events.
- 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
-
Invoked when both peers have indicated that no more messages will be transmitted and the connection has been successfully released.
- 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
-
Invoked when the remote peer has indicated that no more incoming messages will be transmitted.
- onData(int, BufferSource, int, boolean) - Method in interface org.miaixz.bus.http.metric.http.PushObserver
-
A block of response data corresponding to the pushed request.
- onFailure(NewCall, IOException) - Method in interface org.miaixz.bus.http.Callback
-
Called when the request could not be executed due to cancellation, a connectivity problem, or a timeout.
- onFailure(NewCall, Exception, String) - Method in interface org.miaixz.bus.http.Callback
-
Called when the request fails, including a request ID to differentiate multiple requests.
- onFailure(NewCall, Exception, String) - Method in class org.miaixz.bus.http.plugin.httpz.TextCallback
-
Handles request failures by logging the error.
- 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
-
Invoked when a web socket has been closed due to an error reading from or writing to the network.
- onHeaders(int, List<Http2Header>, boolean) - Method in interface org.miaixz.bus.http.metric.http.PushObserver
-
The response headers corresponding to the pushed request.
- onlyIfCached() - Method in class org.miaixz.bus.http.cache.CacheControl.Builder
-
Only accept the response from the cache.
- onlyIfCached() - Method in class org.miaixz.bus.http.cache.CacheControl
-
Returns true if the cache should only use the cached response and not use the network.
- 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
-
Invoked when a text (type
0x1) message has been received. - 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
-
Invoked when a binary (type
0x2) message has been received. - 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
-
Invoked when a web socket has been accepted by the remote peer and may begin transmitting messages.
- 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
-
Invoked when a close frame is received.
- onReadMessage(String) - Method in class org.miaixz.bus.http.socket.RealWebSocket
- onReadMessage(String) - Method in interface org.miaixz.bus.http.socket.WebSocketReader.FrameCallback
-
Invoked when a text message is received.
- onReadMessage(ByteString) - Method in class org.miaixz.bus.http.socket.RealWebSocket
- onReadMessage(ByteString) - Method in interface org.miaixz.bus.http.socket.WebSocketReader.FrameCallback
-
Invoked when a binary message is received.
- onReadPing(ByteString) - Method in class org.miaixz.bus.http.socket.RealWebSocket
- onReadPing(ByteString) - Method in interface org.miaixz.bus.http.socket.WebSocketReader.FrameCallback
-
Invoked when a ping frame is received.
- onReadPong(ByteString) - Method in class org.miaixz.bus.http.socket.RealWebSocket
- onReadPong(ByteString) - Method in interface org.miaixz.bus.http.socket.WebSocketReader.FrameCallback
-
Invoked when a pong frame is received.
- onReqFailure(String, Exception) - Static method in class org.miaixz.bus.http.plugin.httpz.HttpzState
-
A callback method invoked when a request fails.
- onReqSuccess() - Static method in class org.miaixz.bus.http.plugin.httpz.HttpzState
-
A callback method invoked when a request succeeds.
- onRequest(int, List<Http2Header>) - Method in interface org.miaixz.bus.http.metric.http.PushObserver
-
Describes the request that the server intends to push a response for.
- onReset(int, Http2ErrorCode) - Method in interface org.miaixz.bus.http.metric.http.PushObserver
-
Indicates the reason why this stream was canceled.
- onResponse(NewCall, Response) - Method in interface org.miaixz.bus.http.Callback
-
Called when the remote server returns an HTTP response.
- onResponse(NewCall, Response, String) - Method in interface org.miaixz.bus.http.Callback
-
Called when the request is successful, including a request ID to differentiate multiple requests.
- onResponse(NewCall, Response, String) - Method in class org.miaixz.bus.http.plugin.httpz.FileCallback
-
Handles the successful HTTP response.
- onResponse(NewCall, Response, String) - Method in class org.miaixz.bus.http.plugin.httpz.TextCallback
-
Handles the successful HTTP response by consuming the response body as a string and passing it to the
TextCallback.onSuccess(NewCall, String, String)method. - 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
-
Refuses 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
-
Callback invoked when the response body has been successfully saved to a file.
- onSuccess(NewCall, InputStream, String) - Method in class org.miaixz.bus.http.plugin.httpz.FileCallback
-
Callback invoked when no destination file is specified.
- onSuccess(NewCall, String, String) - Method in class org.miaixz.bus.http.plugin.httpz.TextCallback
-
Abstract callback method invoked when a successful response with a text body is received.
- openResponseBody(Response) - Method in class org.miaixz.bus.http.accord.Exchange
-
Opens a source to read the response body.
- openResponseBodySource(Response) - Method in class org.miaixz.bus.http.metric.http.Http1Codec
- openResponseBodySource(Response) - Method in class org.miaixz.bus.http.metric.http.Http2Codec
-
Opens a source to read the response body.
- openResponseBodySource(Response) - Method in interface org.miaixz.bus.http.metric.http.HttpCodec
-
Opens a source to read the response body.
- openStreamCount() - Method in class org.miaixz.bus.http.metric.http.Http2Connection
-
Returns the number of
open streamson this connection. - ORDER_BY_NAME - Static variable in class org.miaixz.bus.http.secure.CipherSuite
-
A comparator that sorts cipher suite names by ignoring the
TLS_orSSL_prefix. - org.miaixz.bus.http - package org.miaixz.bus.http
-
An HTTP client for Java applications.
- org.miaixz.bus.http.accord - package org.miaixz.bus.http.accord
-
Provides internal implementation details for the HTTP client, including connection management, streams, and routing.
- org.miaixz.bus.http.accord.platform - package org.miaixz.bus.http.accord.platform
-
Provides platform-specific implementations for the HTTP client.
- org.miaixz.bus.http.bodys - package org.miaixz.bus.http.bodys
-
Provides classes for handling HTTP request and response bodies.
- org.miaixz.bus.http.cache - package org.miaixz.bus.http.cache
-
Provides classes for caching HTTP responses.
- org.miaixz.bus.http.metric - package org.miaixz.bus.http.metric
-
Provides internal metrics and standards for the HTTP client.
- org.miaixz.bus.http.metric.anget - package org.miaixz.bus.http.metric.anget
-
Provides classes for parsing and handling User-Agent strings and device information.
- org.miaixz.bus.http.metric.http - package org.miaixz.bus.http.metric.http
-
Provides the internal implementation of the HTTP/1.1 and HTTP/2 protocols.
- org.miaixz.bus.http.metric.proxy - package org.miaixz.bus.http.metric.proxy
-
Provides classes related to proxy selection.
- org.miaixz.bus.http.metric.suffix - package org.miaixz.bus.http.metric.suffix
-
Provides classes for working with the Public Suffix List.
- org.miaixz.bus.http.plugin.httpv - package org.miaixz.bus.http.plugin.httpv
-
Provides the core implementation classes for the Httpv client, including task management, execution, data conversion, and WebSocket support.
- org.miaixz.bus.http.plugin.httpx - package org.miaixz.bus.http.plugin.httpx
-
Provides a simplified, fluent API implementation (Httpx) for making HTTP requests, building on the core HTTP client components.
- org.miaixz.bus.http.plugin.httpz - package org.miaixz.bus.http.plugin.httpz
-
Provides a fluent, builder-based API (Httpz) for making HTTP requests, simplifying interactions with the core
Httpdclient. - org.miaixz.bus.http.plugin.soap - package org.miaixz.bus.http.plugin.soap
-
Provides classes for creating and sending SOAP messages.
- org.miaixz.bus.http.secure - package org.miaixz.bus.http.secure
-
Provides classes for managing security-related aspects of HTTP, including TLS/SSL configuration, authentication, and certificate pinning.
- org.miaixz.bus.http.socket - package org.miaixz.bus.http.socket
-
Provides the implementation of the WebSocket protocol (RFC 6455) for creating and managing WebSocket connections.
- originalRequest - Variable in class org.miaixz.bus.http.RealCall
-
The original, unmodified request that initiated this call.
- OTHER_VERSION - Static variable in class org.miaixz.bus.http.metric.anget.Browser
-
A regex pattern for matching other browser versions.
- over(CoverCall.Client) - Static method in class org.miaixz.bus.http.Stomp
-
Creates a STOMP client with automatic message acknowledgment.
- over(CoverCall.Client, boolean) - Static method in class org.miaixz.bus.http.Stomp
-
Creates a STOMP client with a specified acknowledgment mode.
P
- params - Variable in class org.miaixz.bus.http.plugin.httpz.HttpRequest
-
The request parameters (e.g., for form submissions or query strings).
- params - Variable in class org.miaixz.bus.http.plugin.httpz.RequestBuilder
-
A map of request parameters (e.g., query string or form data).
- parse(String) - Static method in class org.miaixz.bus.http.Builder
-
Parses a date string into a
Dateobject, trying various browser-compatible formats. - parse(String) - Static method in class org.miaixz.bus.http.metric.anget.UserAgent
-
Parses a User-Agent string and returns a
UserAgentobject. - parse(String) - Static method in class org.miaixz.bus.http.metric.http.StatusLine
-
Parses a status line from a string.
- parse(String) - Static method in class org.miaixz.bus.http.UnoUrl
-
Parses a URL string into a
UnoUrlinstance. - parse(Headers) - Static method in class org.miaixz.bus.http.cache.CacheControl
-
Returns the cache directives of
headers. - parse(UnoUrl, String) - Static method in class org.miaixz.bus.http.Cookie
-
Parses a
Set-Cookieheader into aCookie. - parseAll(UnoUrl, Headers) - Static method in class org.miaixz.bus.http.Cookie
-
Parses all
Set-Cookieheaders from an HTTP response. - parseChallenges(Headers, String) - Static method in class org.miaixz.bus.http.Headers
-
Parses RFC 7235 challenges.
- parseSeconds(String, int) - Static method in class org.miaixz.bus.http.Headers
-
Parses seconds from a string.
- part - Variable in class org.miaixz.bus.http.plugin.httpz.MultipartFile
-
The name of the multipart form field (the 'name' parameter of the 'Content-Disposition' header).
- part(int) - Method in class org.miaixz.bus.http.bodys.MultipartBody
-
Returns the part at the specified index.
- parts() - Method in class org.miaixz.bus.http.bodys.MultipartBody
-
Returns the list of parts.
- password - Variable in class org.miaixz.bus.http.plugin.httpx.HttpProxy
-
The password for proxy authentication.
- password() - Method in class org.miaixz.bus.http.UnoUrl
-
Returns the decoded password.
- password(String) - Method in class org.miaixz.bus.http.UnoUrl.Builder
-
Sets the password.
- PASSWORD_ENCODE_SET - Static variable in class org.miaixz.bus.http.UnoUrl
-
The character set for encoding passwords.
- patch() - Method in class org.miaixz.bus.http.plugin.httpv.CoverHttp.Async
-
Executes an asynchronous PATCH request.
- patch() - Method in class org.miaixz.bus.http.plugin.httpv.CoverHttp.Sync
-
Executes a PATCH request (REST: partially update a resource, idempotent).
- patch(RequestBody) - Method in class org.miaixz.bus.http.Request.Builder
-
Sets this request to be a PATCH request.
- path() - Method in class org.miaixz.bus.http.Cookie
-
Returns the path of this cookie.
- path(String) - Method in class org.miaixz.bus.http.Cookie.Builder
-
Sets the path of the cookie.
- PATH_SEGMENT_ENCODE_SET - Static variable in class org.miaixz.bus.http.UnoUrl
-
The character set for encoding path segments.
- PATH_SEGMENT_ENCODE_SET_URI - Static variable in class org.miaixz.bus.http.UnoUrl
-
The character set for encoding URI path segments.
- pathSegments() - Method in class org.miaixz.bus.http.UnoUrl
-
Returns the list of decoded path segments.
- pathSize() - Method in class org.miaixz.bus.http.UnoUrl
-
Returns the number of path segments.
- pause() - Method in class org.miaixz.bus.http.plugin.httpv.Downloads.Control
-
Pauses the download if it is currently in progress.
- peekBody(long) - Method in class org.miaixz.bus.http.Response
-
Peeks at the response body content, up to a specified number of bytes.
- peerCertificates() - Method in class org.miaixz.bus.http.socket.Handshake
-
Returns a list of certificates that identify the remote peer.
- peerPrincipal() - Method in class org.miaixz.bus.http.socket.Handshake
-
Returns the principal that identifies the remote peer.
- percentDecode(String, boolean) - Static method in class org.miaixz.bus.http.UnoUrl
-
Decodes a percent-encoded string.
- percentDecode(String, int, int, boolean) - Static method in class org.miaixz.bus.http.UnoUrl
-
Decodes a percent-encoded string within a specified range.
- percentDecode(Buffer, String, int, int, boolean) - Static method in class org.miaixz.bus.http.UnoUrl
-
Decodes a percent-encoded string into a buffer.
- percentEncoded(String, int, int) - Static method in class org.miaixz.bus.http.UnoUrl
-
Checks if a string is percent-encoded.
- persistent() - Method in class org.miaixz.bus.http.Cookie
-
Returns
trueif this cookie is persistent. - 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
-
Sends a connection-level ping to the peer.
- pingInterval(long, TimeUnit) - Method in class org.miaixz.bus.http.Httpd.Builder
-
Sets the WebSocket ping interval.
- pingInterval(long, TimeUnit) - Method in class org.miaixz.bus.http.plugin.httpz.HttpBuilder
-
Sets the ping interval for web socket connections.
- pingInterval(Duration) - Method in class org.miaixz.bus.http.Httpd.Builder
-
Sets the WebSocket ping interval.
- pingIntervalMillis() - Method in class org.miaixz.bus.http.Httpd
-
Returns the WebSocket ping interval in milliseconds.
- 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
-
Provides access to platform-specific features.
- 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
-
The proxy server's port number.
- port() - Method in class org.miaixz.bus.http.UnoUrl
-
Returns the port number.
- port(int) - Method in class org.miaixz.bus.http.UnoUrl.Builder
-
Sets the port number.
- post() - Method in class org.miaixz.bus.http.Httpz.Client
-
Creates a
PostBuilderfor constructing POST requests. - post() - Static method in class org.miaixz.bus.http.Httpz
-
Creates a new
PostBuilderfor constructing POST requests. - post() - Method in class org.miaixz.bus.http.plugin.httpv.CoverHttp.Async
-
Executes an asynchronous POST request.
- post() - Method in class org.miaixz.bus.http.plugin.httpv.CoverHttp.Sync
-
Executes a POST request (REST: create a resource, not idempotent).
- post(String) - Static method in class org.miaixz.bus.http.Httpx
-
Sends a simple POST request with an empty body.
- post(String, String, String) - Static method in class org.miaixz.bus.http.Httpx
-
Sends a POST request with a raw data body and a specified content type.
- post(String, String, String, String) - Static method in class org.miaixz.bus.http.Httpx
-
Sends a POST request with a raw data body, a specified content type, and a custom encoding.
- post(String, String, Map<String, String>, String) - Static method in class org.miaixz.bus.http.Httpx
-
Sends a POST request with a raw data body, header parameters, and a specified content type.
- post(String, Map<String, String>) - Static method in class org.miaixz.bus.http.Httpx
-
Sends a POST request with form data using
application/x-www-form-urlencodedcontent type. - post(String, Map<String, String>, String) - Static method in class org.miaixz.bus.http.Httpx
-
Sends a POST request with form data and a specified content type.
- post(String, Map<String, String>, String, String) - Static method in class org.miaixz.bus.http.Httpx
-
Sends a POST request with form data, a specified content type, and a custom encoding.
- post(String, Map<String, String>, List<String>) - Static method in class org.miaixz.bus.http.Httpx
-
Sends a POST request with form data and file uploads.
- post(String, Map<String, String>, Map<String, String>) - Static method in class org.miaixz.bus.http.Httpx
-
Sends a POST request with form data and header parameters.
- post(String, Map<String, String>, Map<String, String>, String) - Static method in class org.miaixz.bus.http.Httpx
-
Sends a POST request with form data, header parameters, and a specified content type.
- post(String, Map<String, String>, Map<String, String>, String, String) - Static method in class org.miaixz.bus.http.Httpx
-
Sends a POST request with form data, header parameters, a specified content type, and a custom encoding.
- post(String, Map<String, String>, Callback) - Static method in class org.miaixz.bus.http.Httpx
-
Sends an asynchronous POST request with form data and a callback.
- post(RequestBody) - Method in class org.miaixz.bus.http.Request.Builder
-
Sets this request to be a POST request.
- PostBuilder - Class in org.miaixz.bus.http.plugin.httpz
-
A builder for creating HTTP POST requests using a fluent interface.
- PostBuilder(Httpd) - Constructor for class org.miaixz.bus.http.plugin.httpz.PostBuilder
-
Constructs a new
PostBuilder. - PostRequest - Class in org.miaixz.bus.http.plugin.httpz
-
Represents an HTTP POST request.
- PostRequest(String, Object, Map<String, String>, Map<String, String>, List<MultipartFile>, String, MultipartBody, String) - Constructor for class org.miaixz.bus.http.plugin.httpz.PostRequest
-
Constructs a new
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
-
Constructs a new
PostRequestwith both standard and pre-encoded parameters. - prepareCall(String) - Method in class org.miaixz.bus.http.plugin.httpv.CoverHttp
-
Prepares the Httpd Call object for execution.
- prepareRequest(String) - Method in class org.miaixz.bus.http.plugin.httpv.CoverHttp
-
Prepares the Httpd Request object.
- 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
-
Executes the pre-processing chain for a given request.
- Preprocessor - Interface in org.miaixz.bus.http.plugin.httpv
-
An interface for a preprocessor that executes before an HTTP request is sent.
- Preprocessor.PreChain - Interface in org.miaixz.bus.http.plugin.httpv
-
Represents a chain of preprocessors.
- preprocessors() - Method in class org.miaixz.bus.http.Httpv.Builder
- preprocessors() - Method in class org.miaixz.bus.http.Httpv
-
Gets the array of preprocessors.
- preprocTimeoutMillis() - Method in class org.miaixz.bus.http.Httpv
-
Calculates the timeout for pre-processing tasks in milliseconds.
- preprocTimeoutTimes() - Method in class org.miaixz.bus.http.Httpv.Builder
- preprocTimeoutTimes() - Method in class org.miaixz.bus.http.Httpv
-
Gets the pre-processing timeout multiplier.
- preprocTimeoutTimes(int) - Method in class org.miaixz.bus.http.Httpv.Builder
-
Sets the maximum pre-processing time multiplier relative to the normal request timeout.
- priorResponse() - Method in class org.miaixz.bus.http.Response
-
Returns the prior response.
- priorResponse(Response) - Method in class org.miaixz.bus.http.Response.Builder
-
Sets the prior response.
- proceed() - Method in interface org.miaixz.bus.http.plugin.httpv.Preprocessor.PreChain
-
Passes control to the next preprocessor in the chain.
- proceed(Request) - Method in class org.miaixz.bus.http.metric.http.RealInterceptorChain
- proceed(Request) - Method in interface org.miaixz.bus.http.metric.NewChain
-
Proceeds with the request to the next interceptor in the chain.
- proceed(Request, Transmitter, Exchange) - Method in class org.miaixz.bus.http.metric.http.RealInterceptorChain
- Progress - Class in org.miaixz.bus.http.plugin.httpv
-
Represents the progress of an upload or download operation.
- Progress(long, long) - Constructor for class org.miaixz.bus.http.plugin.httpv.Progress
-
Constructs a new
Progressinstance. - ProgressBody - Class in org.miaixz.bus.http.plugin.httpv
-
A
RequestBodydecorator that monitors the progress of an upload. - ProgressBody(RequestBody, Callback<Progress>, Executor, long, long) - Constructor for class org.miaixz.bus.http.plugin.httpv.ProgressBody
-
Constructs a new ProgressBody.
- ProgressListener - Interface in org.miaixz.bus.http.plugin.httpz
-
A listener interface for tracking the progress of data transfers (uploads or downloads).
- ProgressStream - Class in org.miaixz.bus.http.plugin.httpv
-
An
InputStreamdecorator that monitors the progress of data being read. - ProgressStream(InputStream, Callback<Progress>, long, long, long, Executor) - Constructor for class org.miaixz.bus.http.plugin.httpv.ProgressStream
-
Constructs a new ProgressStream.
- promoteAndExecute() - Method in class org.miaixz.bus.http.metric.Dispatcher
-
Promotes eligible calls from
Dispatcher.readyAsyncCallstoDispatcher.runningAsyncCallsand runs them on the executor service. - protocol - Variable in class org.miaixz.bus.http.metric.http.StatusLine
-
The HTTP protocol, such as
Protocol.HTTP_1_1. - protocol() - Method in interface org.miaixz.bus.http.accord.Connection
-
Returns the protocol negotiated by this connection, or
Protocol.HTTP_1_1if no protocol was negotiated. - protocol() - Method in class org.miaixz.bus.http.accord.RealConnection
- protocol() - Method in class org.miaixz.bus.http.Response
-
Returns the HTTP protocol that was used.
- protocol(Protocol) - Method in class org.miaixz.bus.http.Response.Builder
-
Sets the protocol used.
- PROTOCOL_ERROR - Enum constant in enum class org.miaixz.bus.http.metric.http.Http2ErrorCode
-
The endpoint detected an unspecific protocol error.
- protocols() - Method in class org.miaixz.bus.http.Address
-
Returns the list of protocols supported by this address, such as
http/1.1andh2. - protocols() - Method in class org.miaixz.bus.http.Httpd
-
Returns the list of protocols supported by this client.
- protocols(List<Protocol>) - Method in class org.miaixz.bus.http.Httpd.Builder
-
Sets the protocols used for requests.
- protocols(List<Protocol>) - Method in class org.miaixz.bus.http.plugin.httpz.HttpBuilder
-
Configures the protocols used by this client.
- proxy() - Method in class org.miaixz.bus.http.Address
-
Returns this address's explicitly specified proxy.
- proxy() - Method in class org.miaixz.bus.http.Httpd
-
Returns the configured HTTP proxy, or null if no proxy is configured.
- proxy() - Method in class org.miaixz.bus.http.plugin.httpx.HttpProxy
-
Creates a
Proxyobject from this configuration. - proxy() - Method in class org.miaixz.bus.http.Route
-
Returns the proxy used for this route.
- proxy(Proxy) - Method in class org.miaixz.bus.http.Httpd.Builder
-
Sets the HTTP proxy that will be used by connections created by this client.
- proxy(Proxy) - Method in class org.miaixz.bus.http.plugin.httpz.HttpBuilder
-
Sets the HTTP proxy that will be used by connections created by this client.
- proxyAuthenticator() - Method in class org.miaixz.bus.http.Address
-
Returns the authenticator for proxy servers.
- proxyAuthenticator() - Method in class org.miaixz.bus.http.Httpd
-
Returns the authenticator for handling challenges from proxy servers.
- proxyAuthenticator(Authenticator) - Method in class org.miaixz.bus.http.Httpd.Builder
-
Sets the authenticator used to respond to challenges from proxy servers.
- proxyAuthenticator(Authenticator) - Method in class org.miaixz.bus.http.plugin.httpz.HttpBuilder
-
Sets the authenticator used to respond to challenges from proxy servers.
- proxySelector() - Method in class org.miaixz.bus.http.Address
-
Returns this address's proxy selector.
- proxySelector() - Method in class org.miaixz.bus.http.Httpd
-
Returns the proxy selector used to choose a proxy for a given URI.
- proxySelector(ProxySelector) - Method in class org.miaixz.bus.http.Httpd.Builder
-
Sets the proxy selector that will be used to select the HTTP proxy for each request.
- proxySelector(ProxySelector) - Method in class org.miaixz.bus.http.plugin.httpz.HttpBuilder
-
Sets the proxy selection policy for this client.
- PSEUDO_PREFIX - Static variable in class org.miaixz.bus.http.metric.http.Http2Header
-
The ":" prefix used for pseudo-headers.
- 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
-
An interface for handling server-initiated HTTP requests, specific to
HTTP/2. - 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
-
Returns a new server-initiated stream.
- put() - Method in class org.miaixz.bus.http.Httpz.Client
-
Creates a
PutBuilderfor constructing PUT requests. - put() - Static method in class org.miaixz.bus.http.Httpz
-
Creates a new
PutBuilderfor constructing PUT requests. - put() - Method in class org.miaixz.bus.http.plugin.httpv.CoverHttp.Async
-
Executes an asynchronous PUT request.
- put() - Method in class org.miaixz.bus.http.plugin.httpv.CoverHttp.Sync
-
Executes a PUT request (REST: update/replace a resource, idempotent).
- put(String) - Static method in class org.miaixz.bus.http.Httpx
-
Sends a simple PUT request with a null body and default UTF-8 encoding.
- put(String, String, String) - Static method in class org.miaixz.bus.http.Httpx
-
Sends a PUT request with a raw data body and a specified content type.
- put(String, String, String, String) - Static method in class org.miaixz.bus.http.Httpx
-
Sends a PUT request with a raw data body, a specified content type, and a custom encoding.
- put(String, String, Map<String, String>, String) - Static method in class org.miaixz.bus.http.Httpx
-
Sends a PUT request with a raw data body, header parameters, and a specified content type.
- put(String, Map<String, String>) - Static method in class org.miaixz.bus.http.Httpx
-
Sends a PUT request with form data using
application/x-www-form-urlencodedcontent type. - put(String, Map<String, String>, String) - Static method in class org.miaixz.bus.http.Httpx
-
Sends a PUT request with form data and a specified content type.
- put(String, Map<String, String>, String, String) - Static method in class org.miaixz.bus.http.Httpx
-
Sends a PUT request with form data, a specified content type, and a custom encoding.
- put(String, Map<String, String>, Map<String, String>) - Static method in class org.miaixz.bus.http.Httpx
-
Sends a PUT request with form data and header parameters.
- put(String, Map<String, String>, Map<String, String>, String) - Static method in class org.miaixz.bus.http.Httpx
-
Sends a PUT request with form data, header parameters, and a specified content type.
- put(String, Map<String, String>, Map<String, String>, String, String) - Static method in class org.miaixz.bus.http.Httpx
-
Sends a PUT request with form data, header parameters, a specified content type, and a custom encoding.
- put(RequestBody) - Method in class org.miaixz.bus.http.Request.Builder
-
Sets this request to be a PUT request.
- put(Response) - Method in interface org.miaixz.bus.http.cache.InternalCache
-
Stores the given
responsein the cache and returns aCacheRequestto write the response body, or null if the response cannot be cached. - PutBuilder - Class in org.miaixz.bus.http.plugin.httpz
-
A builder for creating HTTP PUT requests using a fluent interface.
- PutBuilder(Httpd) - Constructor for class org.miaixz.bus.http.plugin.httpz.PutBuilder
-
Constructs a new
PutBuilder. - PutRequest - Class in org.miaixz.bus.http.plugin.httpz
-
Represents an HTTP PUT request.
- PutRequest(String, Object, Map<String, String>, Map<String, String>, List<MultipartFile>, String, MultipartBody, String) - Constructor for class org.miaixz.bus.http.plugin.httpz.PutRequest
-
Constructs a new
PutRequest.
Q
- query() - Method in class org.miaixz.bus.http.UnoUrl
-
Returns the decoded query string.
- query(String) - Method in class org.miaixz.bus.http.UnoUrl.Builder
-
Sets the query string.
- QUERY_COMPONENT_ENCODE_SET - Static variable in class org.miaixz.bus.http.UnoUrl
-
The character set for encoding query components.
- QUERY_COMPONENT_ENCODE_SET_URI - Static variable in class org.miaixz.bus.http.UnoUrl
-
The character set for encoding URI query components.
- QUERY_COMPONENT_REENCODE_SET - Static variable in class org.miaixz.bus.http.UnoUrl
-
The character set for re-encoding query components.
- QUERY_ENCODE_SET - Static variable in class org.miaixz.bus.http.UnoUrl
-
The character set for encoding query parameters.
- queryParameter(String) - Method in class org.miaixz.bus.http.UnoUrl
-
Returns the first value for the given query parameter name.
- queryParameterName(int) - Method in class org.miaixz.bus.http.UnoUrl
-
Returns the name of the query parameter at the given index.
- queryParameterNames() - Method in class org.miaixz.bus.http.UnoUrl
-
Returns a set of all query parameter names.
- queryParameterValue(int) - Method in class org.miaixz.bus.http.UnoUrl
-
Returns the value of the query parameter at the given index.
- queryParameterValues(String) - Method in class org.miaixz.bus.http.UnoUrl
-
Returns all values for the given query parameter name.
- querySize() - Method in class org.miaixz.bus.http.UnoUrl
-
Returns the number of query parameters.
- queue(String, List<Stomp.Header>, Callback<Stomp.Message>) - Method in class org.miaixz.bus.http.Stomp
-
Subscribes to a queue with additional headers.
- queue(String, Callback<Stomp.Message>) - Method in class org.miaixz.bus.http.Stomp
-
Subscribes to a queue.
- 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
-
Returns the number of calls that are waiting to be executed.
- queueSize() - Method in class org.miaixz.bus.http.plugin.httpv.CoverCall
-
Returns the number of messages queued to be sent.
- queueSize() - Method in class org.miaixz.bus.http.socket.RealWebSocket
- queueSize() - Method in interface org.miaixz.bus.http.socket.WebSocket
-
Returns the number of bytes of application data that have been enqueued to be transmitted to the server.
- QUOTED_STRING_DELIMITERS - Static variable in class org.miaixz.bus.http.Builder
-
Byte string containing characters that delimit quoted strings.
R
- read() - Method in class org.miaixz.bus.http.plugin.httpv.ProgressStream
-
Reads the next byte of data from the input stream and updates the progress.
- readConnectionPreface(Http2Reader.Handler) - Method in class org.miaixz.bus.http.metric.http.Http2Reader
-
Reads the connection preface, which is different for clients and servers.
- readHttp2HeadersList(Headers, Protocol) - Static method in class org.miaixz.bus.http.metric.http.Http2Codec
-
Creates a
Response.Builderfrom a list of HTTP/2 headers. - readResponseHeaders(boolean) - Method in class org.miaixz.bus.http.accord.Exchange
-
Reads the response headers from the network.
- readResponseHeaders(boolean) - Method in class org.miaixz.bus.http.metric.http.Http1Codec
- readResponseHeaders(boolean) - Method in class org.miaixz.bus.http.metric.http.Http2Codec
-
Reads the response headers from the stream.
- readResponseHeaders(boolean) - Method in interface org.miaixz.bus.http.metric.http.HttpCodec
-
Parses the response headers from the HTTP transport.
- readTimeout() - Method in class org.miaixz.bus.http.metric.http.Http2Stream
-
Returns the timeout for reading from this stream.
- readTimeout(long, TimeUnit) - Method in class org.miaixz.bus.http.Httpd.Builder
-
Sets the default read timeout for new connections.
- readTimeout(long, TimeUnit) - Method in class org.miaixz.bus.http.plugin.httpz.HttpBuilder
-
Sets the default read timeout for new connections.
- readTimeout(Duration) - Method in class org.miaixz.bus.http.Httpd.Builder
-
Sets the default read timeout for new connections.
- readTimeoutMillis() - Method in class org.miaixz.bus.http.Httpd
-
Returns the default timeout for reading data from a connection in milliseconds.
- readTimeoutMillis() - Method in class org.miaixz.bus.http.metric.http.RealInterceptorChain
- readTimeoutMillis() - Method in interface org.miaixz.bus.http.metric.NewChain
-
Returns the read timeout in milliseconds.
- Real(CoverHttp<?>, CoverResult.State) - Constructor for class org.miaixz.bus.http.plugin.httpv.CoverResult.Real
-
Constructs a result with a final state (e.g., CANCELED).
- Real(CoverHttp<?>, CoverResult.State, IOException) - Constructor for class org.miaixz.bus.http.plugin.httpv.CoverResult.Real
-
Constructs a result from a failure.
- Real(CoverHttp<?>, CoverTasks.Executor) - Constructor for class org.miaixz.bus.http.plugin.httpv.CoverResult.Real
-
Constructs a result with an executor, to be populated later.
- Real(CoverHttp<?>, Response, CoverTasks.Executor) - Constructor for class org.miaixz.bus.http.plugin.httpv.CoverResult.Real
-
Constructs a result from a successful response.
- RealCall - Class in org.miaixz.bus.http
-
The concrete implementation of an HTTP call.
- RealCall.AsyncCall - Class in org.miaixz.bus.http
-
An asynchronous call that can be executed on a background thread.
- RealConnection - Class in org.miaixz.bus.http.accord
-
A concrete connection to a target server (either directly or via a proxy).
- RealConnection(RealConnectionPool, Route) - Constructor for class org.miaixz.bus.http.accord.RealConnection
- realConnectionPool(ConnectionPool) - Method in class org.miaixz.bus.http.metric.Internal
-
Returns the real connection pool from the given connection pool.
- RealConnectionPool - Class in org.miaixz.bus.http.accord
-
Manages reuse of HTTP and HTTP/2 connections for reduced network latency.
- RealConnectionPool(int, long, TimeUnit) - Constructor for class org.miaixz.bus.http.accord.RealConnectionPool
-
Creates a new connection pool with tuning parameters appropriate for a single-user application.
- RealInterceptorChain - Class in org.miaixz.bus.http.metric.http
-
A concrete interceptor chain that carries the entire interceptor chain: all application interceptors, the Http core, all network interceptors, and finally the network caller.
- 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
-
A concrete implementation of
ResponseBody. - RealResponseBody(String, long, BufferSource) - Constructor for class org.miaixz.bus.http.bodys.RealResponseBody
-
Constructs a new
RealResponseBodyinstance. - RealWebSocket - Class in org.miaixz.bus.http.socket
-
An implementation of the WebSocket protocol (RFC 6455).
- RealWebSocket(Request, WebSocketListener, Random, long) - Constructor for class org.miaixz.bus.http.socket.RealWebSocket
-
Constructs a new RealWebSocket.
- RealWebSocket.Streams - Class in org.miaixz.bus.http.socket
-
A holder for the sink and source of a WebSocket connection.
- receivedResponseAtMillis() - Method in class org.miaixz.bus.http.Response
-
Returns the timestamp when the response headers were received.
- receivedResponseAtMillis(long) - Method in class org.miaixz.bus.http.Response.Builder
-
Sets the timestamp when the response headers were received.
- receiveHeaders(CookieJar, UnoUrl, Headers) - Static method in class org.miaixz.bus.http.Headers
-
Handles received Cookie headers.
- redact() - Method in class org.miaixz.bus.http.UnoUrl
-
Returns a new URL with sensitive information redacted.
- redactedUrl() - Method in class org.miaixz.bus.http.RealCall
-
Returns the URL with sensitive information redacted.
- 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
-
The endpoint refuses the stream prior to processing any application logic.
- registeTagTask(Cancelable) - Method in class org.miaixz.bus.http.plugin.httpv.CoverHttp
-
Registers this task with the tag manager.
- remove(String) - Method in class org.miaixz.bus.http.cache.DiskLruCache
-
Drops the entry for
keyif it exists and can be removed. - remove(Request) - Method in interface org.miaixz.bus.http.cache.InternalCache
-
Removes any cached entries for the given
request. - removeAll(String) - Method in class org.miaixz.bus.http.Headers.Builder
-
Removes all headers with the given name.
- removeAllEncodedQueryParameters(String) - Method in class org.miaixz.bus.http.UnoUrl.Builder
-
Removes all encoded query parameters with the given name.
- removeAllQueryParameters(String) - Method in class org.miaixz.bus.http.UnoUrl.Builder
-
Removes all query parameters with the given name.
- removeHeader(String) - Method in class org.miaixz.bus.http.Request.Builder
-
Removes all headers with the given name.
- removeHeader(String) - Method in class org.miaixz.bus.http.Response.Builder
-
Removes all headers with the given name.
- removePathSegment(int) - Method in class org.miaixz.bus.http.UnoUrl.Builder
-
Removes a path segment at a specific index.
- removeTagTask() - Method in class org.miaixz.bus.http.plugin.httpv.CoverHttp
-
Removes this task from the tag manager.
- removeTagTask(CoverHttp<?>) - Method in class org.miaixz.bus.http.Httpv
-
Removes a tagged task from the list of ongoing tasks.
- rename(File, File) - Method in interface org.miaixz.bus.http.cache.DiskLruCache.DiskFile
-
Renames
fromtoto. - reportedContentLength(Response) - Method in class org.miaixz.bus.http.metric.http.Http1Codec
- reportedContentLength(Response) - Method in class org.miaixz.bus.http.metric.http.Http2Codec
-
Reports the content length of the response.
- reportedContentLength(Response) - Method in interface org.miaixz.bus.http.metric.http.HttpCodec
-
Returns the reported content length of the response.
- reqExceptionCount - Static variable in class org.miaixz.bus.http.plugin.httpz.HttpzState
-
A counter for the number of requests that resulted in an exception.
- reqFailureCount - Static variable in class org.miaixz.bus.http.plugin.httpz.HttpzState
-
A counter for the number of failed requests (e.g., non-2xx responses).
- reqTotalCount - Static variable in class org.miaixz.bus.http.plugin.httpz.HttpzState
-
A counter for the total number of requests made.
- request() - Method in class org.miaixz.bus.http.metric.http.RealInterceptorChain
- request() - Method in interface org.miaixz.bus.http.metric.NewChain
-
Returns the request currently being processed.
- request() - Method in interface org.miaixz.bus.http.NewCall
-
Returns the original request that initiated this call.
- request() - Method in class org.miaixz.bus.http.RealCall
-
Returns the original request that initiated this call.
- request() - Method in class org.miaixz.bus.http.Response
-
Returns the original request that initiated this 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
-
Executes an asynchronous HTTP request with the specified method.
- request(String) - Method in class org.miaixz.bus.http.plugin.httpv.CoverHttp.Sync
-
Executes an HTTP request with the specified method.
- request(Request) - Method in class org.miaixz.bus.http.Httpv
-
Creates a new call for the given request using the underlying
Httpdclient. - request(Request) - Method in class org.miaixz.bus.http.Response.Builder
-
Sets the request that initiated this response.
- Request - Class in org.miaixz.bus.http
-
An HTTP request, encapsulating all information for a single request, including the URL, method, headers, body, and tags.
- Request.Builder - Class in org.miaixz.bus.http
-
A builder for creating and modifying
Requestinstances. - RequestBody - Class in org.miaixz.bus.http.bodys
-
The body of an HTTP request.
- RequestBody() - Constructor for class org.miaixz.bus.http.bodys.RequestBody
- requestBodyEnd(NewCall, long) - Method in class org.miaixz.bus.http.metric.EventListener
-
Invoked immediately after sending a request body.
- requestBodyStart(NewCall) - Method in class org.miaixz.bus.http.metric.EventListener
-
Invoked just prior to sending a request body.
- RequestBuilder<T> - Class in org.miaixz.bus.http.plugin.httpz
-
An abstract base builder for creating HTTP requests.
- RequestBuilder(Httpd) - Constructor for class org.miaixz.bus.http.plugin.httpz.RequestBuilder
-
Constructs a new RequestBuilder.
- RequestCall - Class in org.miaixz.bus.http.plugin.httpz
-
Represents an executable HTTP request.
- RequestCall(HttpRequest, Httpd) - Constructor for class org.miaixz.bus.http.plugin.httpz.RequestCall
-
Constructs a new RequestCall.
- requestCount() - Method in class org.miaixz.bus.http.cache.Cache
-
Returns the total number of requests made.
- requestFailed(NewCall, IOException) - Method in class org.miaixz.bus.http.metric.EventListener
-
Invoked when a request fails to be written.
- requestHeadersEnd(NewCall, Request) - Method in class org.miaixz.bus.http.metric.EventListener
-
Invoked immediately after sending request headers.
- requestHeadersStart(NewCall) - Method in class org.miaixz.bus.http.metric.EventListener
-
Invoked just prior to sending request headers.
- RequestLine - Class in org.miaixz.bus.http.metric.http
-
This class generates the request line of an HTTP/1.1 request.
- 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 whether this route requires an HTTPS tunnel through an HTTP proxy.
- reset() - Method in class org.miaixz.bus.http.plugin.soap.SoapBuilder
-
Resets the SOAP client for reuse.
- resolve(String) - Method in class org.miaixz.bus.http.UnoUrl
-
Resolves a relative link against this URL.
- response(Response) - Method in class org.miaixz.bus.http.plugin.httpv.CoverResult.Real
-
Sets the result to a success state with a response.
- Response - Class in org.miaixz.bus.http
-
An HTTP response, encapsulating all information from the server, including the request, protocol, status code, headers, and response body.
- RESPONSE_STATUS - Static variable in class org.miaixz.bus.http.metric.http.Http2Header
-
The ":status" pseudo-header.
- Response.Builder - Class in org.miaixz.bus.http
-
A builder for creating and modifying
Responseinstances. - ResponseBody - Class in org.miaixz.bus.http.bodys
-
The body of an HTTP response.
- ResponseBody() - Constructor for class org.miaixz.bus.http.bodys.ResponseBody
- responseBodyEnd(NewCall, long) - Method in class org.miaixz.bus.http.metric.EventListener
-
Invoked immediately after receiving a response body and completing reading it.
- responseBodyStart(NewCall) - Method in class org.miaixz.bus.http.metric.EventListener
-
Invoked just prior to receiving a response body.
- RESPONSED - Enum constant in enum class org.miaixz.bus.http.plugin.httpv.CoverResult.State
-
The task completed successfully and a response was received.
- responseFailed(NewCall, IOException) - Method in class org.miaixz.bus.http.metric.EventListener
-
Invoked when a response fails to be read.
- responseHeadersEnd(NewCall, Response) - Method in class org.miaixz.bus.http.metric.EventListener
-
Invoked immediately after receiving response headers.
- responseHeadersEnd(Response) - Method in class org.miaixz.bus.http.accord.Exchange
-
Notifies the event listener that the response headers have been read.
- responseHeadersStart() - Method in class org.miaixz.bus.http.accord.Exchange
-
Notifies the event listener that response headers are about to be read.
- responseHeadersStart(NewCall) - Method in class org.miaixz.bus.http.metric.EventListener
-
Invoked just prior to receiving response headers.
- responseListener() - Method in class org.miaixz.bus.http.Httpv.Builder
- responseListener(CoverTasks.Listener<CoverResult>) - Method in class org.miaixz.bus.http.Httpv.Builder
-
Sets a global listener for successful responses.
- ResultBody - Class in org.miaixz.bus.http.plugin.httpv
-
An implementation of
CoverResult.Bodythat wraps an HTTPResponse. - ResultBody(CoverHttp<?>, Response, CoverTasks.Executor) - Constructor for class org.miaixz.bus.http.plugin.httpv.ResultBody
-
Constructs a new ResultBody.
- resume() - Method in class org.miaixz.bus.http.plugin.httpv.Downloads.Control
-
Resumes the download if it is currently paused.
- RetryAndFollowUp - Class in org.miaixz.bus.http.metric.http
-
This interceptor recovers from failures and follows redirects as necessary.
- RetryAndFollowUp(Httpd) - Constructor for class org.miaixz.bus.http.metric.http.RetryAndFollowUp
- retryOnConnectionFailure() - Method in class org.miaixz.bus.http.Httpd
-
Returns true if this client retries requests on connection failures.
- retryOnConnectionFailure(boolean) - Method in class org.miaixz.bus.http.Httpd.Builder
-
Configures this client to retry or not to retry when a connectivity problem is encountered.
- retryOnConnectionFailure(boolean) - Method in class org.miaixz.bus.http.plugin.httpz.HttpBuilder
-
Configures this client to retry or not retry IO failures.
- reuseCallsPerHostFrom(RealCall.AsyncCall) - Method in class org.miaixz.bus.http.RealCall.AsyncCall
-
Reuses the host call count from another asynchronous call.
- route() - Method in interface org.miaixz.bus.http.accord.Connection
-
Returns the route that this connection follows.
- route() - Method in class org.miaixz.bus.http.accord.RealConnection
- Route - Class in org.miaixz.bus.http
-
Represents a specific route to an origin server chosen by the HTTP client when making a connection.
- Route(Address, Proxy, InetSocketAddress) - Constructor for class org.miaixz.bus.http.Route
-
Constructs a new
Routeinstance. - RouteDatabase - Class in org.miaixz.bus.http.accord
-
A blacklist of failed routes to avoid when creating new connections to a target address.
- 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
-
Selects routes to connect to an origin server.
- RouteSelector(Address, RouteDatabase, NewCall, EventListener) - Constructor for class org.miaixz.bus.http.accord.RouteSelector
- RouteSelector.Selection - Class in org.miaixz.bus.http.accord
-
A selection of routes to try.
- rstStream(int, Http2ErrorCode) - Method in class org.miaixz.bus.http.metric.http.Http2Writer
-
Sends a RST_STREAM frame to terminate a stream.
- run() - Method in class org.miaixz.bus.http.metric.NamedRunnable
-
Executes the runnable, setting the thread name before execution and restoring it afterwards.
- 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
-
Returns the number of calls that are currently being executed.
S
- sameConnection(UnoUrl, UnoUrl) - Static method in class org.miaixz.bus.http.Builder
-
Checks if two
UnoUrlinstances can share the same connection. - saveFromResponse(UnoUrl, List<Cookie>) - Method in interface org.miaixz.bus.http.metric.CookieJar
-
Saves
cookiesfrom an HTTP response to this store, according to this jar's policy. - 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 the scheme of this URL.
- scheme(String) - Method in class org.miaixz.bus.http.UnoUrl.Builder
-
Sets the scheme of the URL.
- secure() - Method in class org.miaixz.bus.http.Cookie.Builder
-
Sets the cookie to be secure (HTTPS only).
- secure() - Method in class org.miaixz.bus.http.Cookie
-
Returns
trueif this cookie should only be sent over HTTPS. - secureConnectEnd(NewCall, Handshake) - Method in class org.miaixz.bus.http.metric.EventListener
-
Invoked immediately after a TLS connection was attempted.
- secureConnectStart(NewCall) - Method in class org.miaixz.bus.http.metric.EventListener
-
Invoked prior to starting a TLS connection.
- select(URI) - Method in class org.miaixz.bus.http.metric.proxy.NullProxySelector
-
Selects a list of proxies to use for a given URI.
- send() - Method in class org.miaixz.bus.http.plugin.soap.SoapBuilder
-
Executes the web service request by sending the SOAP content.
- send(boolean) - Method in class org.miaixz.bus.http.plugin.soap.SoapBuilder
-
Executes the web service request by sending the SOAP content.
- send(Object) - Method in class org.miaixz.bus.http.plugin.httpv.CoverCall
-
Enqueues a message to be sent over the WebSocket.
- send(String) - Method in class org.miaixz.bus.http.socket.RealWebSocket
- send(String) - Method in interface org.miaixz.bus.http.socket.WebSocket
-
Attempts to enqueue
textto be transmitted as a text (type0x1) message. - send(ByteString) - Method in class org.miaixz.bus.http.socket.RealWebSocket
- send(ByteString) - Method in interface org.miaixz.bus.http.socket.WebSocket
-
Attempts to enqueue
bytesto be transmitted as a binary (type0x2) message. - send(Stomp.Message) - Method in class org.miaixz.bus.http.Stomp
-
Sends a STOMP message to the server.
- SEND - Static variable in class org.miaixz.bus.http.Builder
-
The STOMP SEND frame command.
- sendForMessage() - Method in class org.miaixz.bus.http.plugin.soap.SoapBuilder
-
Executes the web service request by sending the SOAP content.
- sendForResponse() - Method in class org.miaixz.bus.http.plugin.soap.SoapBuilder
-
Sends the request and gets an asynchronous response.
- sendTo(String, String) - Method in class org.miaixz.bus.http.Stomp
-
Sends a message to the specified destination.
- sentRequestAtMillis() - Method in class org.miaixz.bus.http.Response
-
Returns the timestamp when the request was sent.
- sentRequestAtMillis(long) - Method in class org.miaixz.bus.http.Response.Builder
-
Sets the timestamp when the request was sent.
- 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
-
Serializes a Java object into a byte array with a specified date format.
- 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
-
Serializes a Java object into a byte array.
- SerialPreprocessor(Preprocessor) - Constructor for class org.miaixz.bus.http.Httpv.SerialPreprocessor
-
Constructs a new
SerialPreprocessor. - set(int, int) - Method in class org.miaixz.bus.http.metric.http.Http2Settings
-
Sets a setting with the given ID and value.
- set(String, String) - Method in class org.miaixz.bus.http.Headers.Builder
-
Sets a header.
- set(String, Instant) - Method in class org.miaixz.bus.http.Headers.Builder
-
Sets an Instant header.
- set(String, Date) - Method in class org.miaixz.bus.http.Headers.Builder
-
Sets a date header.
- setAppended() - Method in class org.miaixz.bus.http.plugin.httpv.Downloads
-
Enables append mode.
- setBodyPara(Object) - Method in class org.miaixz.bus.http.plugin.httpv.CoverHttp
-
Sets the request body directly.
- setBuffSize(int) - Method in class org.miaixz.bus.http.plugin.httpv.Downloads
-
Sets the buffer size for reading from the input stream.
- setCharset(Charset) - Method in class org.miaixz.bus.http.plugin.httpv.CoverCall
-
Sets the character set to be used for message serialization.
- setClient(Httpz.Client) - Static method in class org.miaixz.bus.http.Httpz
-
Sets a custom client instance.
- setEncodedPathSegment(int, String) - Method in class org.miaixz.bus.http.UnoUrl.Builder
-
Sets an encoded path segment at a specific index.
- setEncodedQueryParameter(String, String) - Method in class org.miaixz.bus.http.UnoUrl.Builder
-
Sets an encoded query parameter, replacing any existing parameters with the same name.
- setFilePointer(long) - Method in class org.miaixz.bus.http.plugin.httpv.Downloads
-
Sets the file pointer to a specific position.
- setHttpd(Httpd) - Method in class org.miaixz.bus.http.Httpz.Client
-
Sets the
Httpdclient. - setIdleCallback(Runnable) - Method in class org.miaixz.bus.http.metric.Dispatcher
-
Set a callback to be invoked each time the dispatcher becomes idle (when the number of running calls returns to zero).
- setLegacyWhitespace(boolean) - Method in class org.miaixz.bus.http.Stomp
-
Sets whether to use legacy whitespace formatting.
- setMaxRequests(int) - Method in class org.miaixz.bus.http.metric.Dispatcher
-
Set the maximum number of requests to execute concurrently.
- setMaxRequestsPerHost(int) - Method in class org.miaixz.bus.http.metric.Dispatcher
-
Set the maximum number of requests for each host to execute concurrently.
- setMaxSize(long) - Method in class org.miaixz.bus.http.cache.DiskLruCache
-
Changes the maximum number of bytes the cache can store and queues a job to trim the existing store, if necessary.
- setMethod(Name, Map<String, Object>, boolean) - Method in class org.miaixz.bus.http.plugin.soap.SoapBuilder
-
Sets the request method.
- setMethod(String) - Method in class org.miaixz.bus.http.plugin.soap.SoapBuilder
-
Sets the request method.
- setMethod(String, String) - Method in class org.miaixz.bus.http.plugin.soap.SoapBuilder
-
Sets the request method.
- setMethod(QName) - Method in class org.miaixz.bus.http.plugin.soap.SoapBuilder
-
Sets the request method.
- setMethod(QName, Map<String, Object>, boolean) - Method in class org.miaixz.bus.http.plugin.soap.SoapBuilder
-
Sets the request method.
- setOnClosed(CoverCall.Register<CoverCall.Close>) - Method in class org.miaixz.bus.http.plugin.httpv.CoverCall.Client
-
Sets the closed listener (also called on cancellation or exception).
- setOnClosing(CoverCall.Register<CoverCall.Close>) - Method in class org.miaixz.bus.http.plugin.httpv.CoverCall.Client
-
Sets the closing listener.
- setOnComplete(Callback<CoverResult.State>) - Method in class org.miaixz.bus.http.plugin.httpv.CoverHttp.Async
-
Sets the callback for when the request is complete (will be called in all cases).
- setOnConnected(Callback<Stomp>) - Method in class org.miaixz.bus.http.Stomp
-
Sets the callback for when the connection is successfully established.
- setOnDisconnected(Callback<CoverCall.Close>) - Method in class org.miaixz.bus.http.Stomp
-
Sets the callback for when the connection is disconnected.
- setOnError(Callback<Stomp.Message>) - Method in class org.miaixz.bus.http.Stomp
-
Sets the callback for error messages.
- setOnException(Callback<IOException>) - Method in class org.miaixz.bus.http.plugin.httpv.CoverHttp.Async
-
Sets the callback for exceptions.
- setOnException(CoverCall.Register<Throwable>) - Method in class org.miaixz.bus.http.plugin.httpv.CoverCall.Client
-
Sets the connection exception listener.
- setOnFailure(Callback<Downloads.Failure>) - Method in class org.miaixz.bus.http.plugin.httpv.Downloads
-
Sets the callback to be executed when the download fails.
- setOnMessage(CoverCall.Register<CoverCall.Message>) - Method in class org.miaixz.bus.http.plugin.httpv.CoverCall.Client
-
Sets the message listener.
- setOnOpen(CoverCall.Register<CoverResult>) - Method in class org.miaixz.bus.http.plugin.httpv.CoverCall.Client
-
Sets the open connection listener.
- setOnProcess(Callback<Progress>) - Method in class org.miaixz.bus.http.plugin.httpv.CoverHttp
-
Sets a callback to monitor the progress of the request body upload.
- setOnProcess(Callback<Progress>) - Method in interface org.miaixz.bus.http.plugin.httpv.CoverResult.Body
-
Sets a progress callback for monitoring the download of the response 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
-
Sets the callback for a successful HTTP response.
- setOnSuccess(Callback<File>) - Method in class org.miaixz.bus.http.plugin.httpv.Downloads
-
Sets the callback to be executed when the download completes successfully.
- setParam(String, Object) - Method in class org.miaixz.bus.http.plugin.soap.SoapBuilder
-
Sets a method parameter, using the method's prefix.
- setParam(String, Object, boolean) - Method in class org.miaixz.bus.http.plugin.soap.SoapBuilder
-
Sets a method parameter.
- setParams(Map<String, Object>) - Method in class org.miaixz.bus.http.plugin.soap.SoapBuilder
-
Sets multiple parameters, using the method's prefix.
- setParams(Map<String, Object>, boolean) - Method in class org.miaixz.bus.http.plugin.soap.SoapBuilder
-
Sets multiple parameters.
- setPathSegment(int, String) - Method in class org.miaixz.bus.http.UnoUrl.Builder
-
Sets a path segment at a specific index.
- setQueryParameter(String, String) - Method in class org.miaixz.bus.http.UnoUrl.Builder
-
Sets a query parameter, replacing any existing parameters with the same name.
- setRange(long) - Method in class org.miaixz.bus.http.plugin.httpv.CoverHttp
-
Sets the Range header to resume a download.
- setRange(long, long) - Method in class org.miaixz.bus.http.plugin.httpv.CoverHttp
-
Sets the Range header to download a specific chunk of a file.
- setRangeIgnored() - Method in interface org.miaixz.bus.http.plugin.httpv.CoverResult.Body
-
Configures the progress callback to ignore the HTTP Range header, calculating progress from 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
settingsinto this peer's settings and sends them to the remote peer. - setTag(String) - Method in class org.miaixz.bus.http.Httpv.TagTask
-
Sets the tag for this task.
- settings(Http2Settings) - Method in class org.miaixz.bus.http.metric.http.Http2Writer
-
Writes HTTP/2 settings to the peer.
- setType(MediaType) - Method in class org.miaixz.bus.http.bodys.MultipartBody.Builder
-
Sets the media type.
- setUrl(String) - Method in class org.miaixz.bus.http.plugin.soap.SoapBuilder
-
Sets the web service request URL.
- shouldPostpone(Route) - Method in class org.miaixz.bus.http.accord.RouteDatabase
-
Returns true if
routehas recently failed and should be avoided. - shutdown() - Method in class org.miaixz.bus.http.plugin.httpv.CoverTasks.Executor
-
Shuts down the I/O and main thread pools if they are instances of
ExecutorService. - 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
-
The sink for writing outgoing data.
- 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
-
Returns the number of form fields.
- size() - Method in class org.miaixz.bus.http.bodys.MultipartBody
-
Returns the number of parts in this multipart body.
- size() - Method in class org.miaixz.bus.http.cache.Cache
-
Returns the current size of the cache in bytes.
- 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
-
Gets the number of headers.
- size() - Method in class org.miaixz.bus.http.metric.http.Http2Settings
-
Returns the number of settings that have been set.
- 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
-
Skips all bytes from the source until it is exhausted or the timeout is 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
-
Skips leading ASCII whitespace characters in a substring.
- skipPreproc - Variable in class org.miaixz.bus.http.plugin.httpv.CoverHttp
-
If true, all preprocessors (both serial and parallel) will be skipped for this request.
- skipPreproc() - Method in class org.miaixz.bus.http.plugin.httpv.CoverHttp
-
Specifies that this request should skip all preprocessors (both serial and parallel).
- skipSerialPreproc - Variable in class org.miaixz.bus.http.plugin.httpv.CoverHttp
-
If true, serial preprocessors will be skipped for this request.
- skipSerialPreproc() - Method in class org.miaixz.bus.http.plugin.httpv.CoverHttp
-
Specifies that this request should skip any serial preprocessors.
- skipTrailingAsciiWhitespace(String, int, int) - Static method in class org.miaixz.bus.http.Builder
-
Skips trailing ASCII whitespace characters in a substring.
- skipUntil(String, int, String) - Static method in class org.miaixz.bus.http.Headers
-
Skips until a character from the given set is found.
- skipWhitespace(String, int) - Static method in class org.miaixz.bus.http.Headers
-
Skips whitespace characters.
- sMaxAgeSeconds() - Method in class org.miaixz.bus.http.cache.CacheControl
-
Returns the "s-maxage" directive, which is the max age for shared caches.
- snapshots() - Method in class org.miaixz.bus.http.cache.DiskLruCache
-
Returns an iterator over the cache's current items.
- SoapBuilder - Class in org.miaixz.bus.http.plugin.soap
-
A builder for creating and sending SOAP messages.
- SoapBuilder(String) - Constructor for class org.miaixz.bus.http.plugin.soap.SoapBuilder
-
Constructs a new
SoapBuilderwith the default SOAP 1.2 protocol. - SoapBuilder(String, Protocol) - Constructor for class org.miaixz.bus.http.plugin.soap.SoapBuilder
-
Constructs a new
SoapBuilderwith a specified protocol version. - SoapBuilder(String, Protocol, String) - Constructor for class org.miaixz.bus.http.plugin.soap.SoapBuilder
-
Constructs a new
SoapBuilderwith a specified protocol version and namespace URI. - SoapX - Class in org.miaixz.bus.http
-
A utility class for SOAP-related operations.
- SoapX() - Constructor for class org.miaixz.bus.http.SoapX
- socket() - Method in interface org.miaixz.bus.http.accord.Connection
-
Returns the socket that this connection uses.
- 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
-
Returns the target socket address.
- socketFactory() - Method in class org.miaixz.bus.http.Address
-
Returns the socket factory for this address.
- socketFactory() - Method in class org.miaixz.bus.http.Httpd
-
Returns the socket factory used for creating plain TCP connections.
- socketFactory(SocketFactory) - Method in class org.miaixz.bus.http.Httpd.Builder
-
Sets the socket factory used to create connections.
- socketFactory(SocketFactory) - Method in class org.miaixz.bus.http.plugin.httpz.HttpBuilder
-
Sets the socket factory used to create connections.
- source - Variable in class org.miaixz.bus.http.metric.http.Http2Reader
-
The underlying source from which frames are read.
- source - Variable in class org.miaixz.bus.http.socket.RealWebSocket.Streams
-
The source for reading incoming data.
- source() - Method in class org.miaixz.bus.http.bodys.RealResponseBody
-
Returns the data source for this response body.
- source() - Method in class org.miaixz.bus.http.bodys.ResponseBody
-
Returns the data source for this response body.
- 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
-
A convenience method to configure a custom
SSLContext. - sslSocketFactory() - Method in class org.miaixz.bus.http.Address
-
Returns the SSL socket factory for this address, or null if this is not an HTTPS address.
- sslSocketFactory() - Method in class org.miaixz.bus.http.Httpd
-
Returns the SSL socket factory used for creating HTTPS connections.
- sslSocketFactory(SSLSocketFactory) - Method in class org.miaixz.bus.http.Httpd.Builder
-
Sets the SSL socket factory used to create HTTPS connections.
- sslSocketFactory(SSLSocketFactory) - Method in class org.miaixz.bus.http.plugin.httpz.HttpBuilder
-
Deprecated.
- sslSocketFactory(SSLSocketFactory, X509TrustManager) - Method in class org.miaixz.bus.http.Httpd.Builder
-
Sets the SSL socket factory and trust manager used for HTTPS connections.
- sslSocketFactory(SSLSocketFactory, X509TrustManager) - Method in class org.miaixz.bus.http.plugin.httpz.HttpBuilder
-
Sets the SSL socket factory and trust manager used to secure HTTPS connections.
- 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
-
Starts the download process asynchronously on an I/O thread.
- startTime - Static variable in class org.miaixz.bus.http.plugin.httpz.HttpzState
-
The time when the statistics tracking started.
- status() - Method in class org.miaixz.bus.http.plugin.httpv.Downloads.Control
-
Gets the current status of the download.
- STATUS__CANCELED - Static variable in class org.miaixz.bus.http.plugin.httpv.Downloads.Control
-
Status indicating the download has been canceled.
- STATUS__DONE - Static variable in class org.miaixz.bus.http.plugin.httpv.Downloads.Control
-
Status indicating the download has completed successfully.
- STATUS__DOWNLOADING - Static variable in class org.miaixz.bus.http.plugin.httpv.Downloads.Control
-
Status indicating the download is currently in progress.
- STATUS__ERROR - Static variable in class org.miaixz.bus.http.plugin.httpv.Downloads.Control
-
Status indicating an error occurred during the download.
- STATUS__PAUSED - Static variable in class org.miaixz.bus.http.plugin.httpv.Downloads.Control
-
Status indicating the download has been paused by the user.
- StatusLine - Class in org.miaixz.bus.http.metric.http
-
Represents the status line of an HTTP response, such as "HTTP/1.1 200 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
-
Sets the step size in bytes for progress callbacks.
- stepBytes(long) - Method in interface org.miaixz.bus.http.plugin.httpv.CoverResult.Body
-
Sets the interval in bytes for progress callback invocations.
- stepBytes(long) - Method in class org.miaixz.bus.http.plugin.httpv.ResultBody
- stepRate(double) - Method in class org.miaixz.bus.http.plugin.httpv.CoverHttp
-
Sets the step rate for progress callbacks.
- stepRate(double) - Method in interface org.miaixz.bus.http.plugin.httpv.CoverResult.Body
-
Sets the interval as a rate (percentage) for progress callback invocations.
- stepRate(double) - Method in class org.miaixz.bus.http.plugin.httpv.ResultBody
- Stomp - Class in org.miaixz.bus.http
-
A STOMP protocol client over WebSocket.
- Stomp.Header - Class in org.miaixz.bus.http
-
Represents a STOMP header.
- Stomp.Message - Class in org.miaixz.bus.http
-
Represents a STOMP message.
- stopStat() - Static method in class org.miaixz.bus.http.plugin.httpz.HttpzState
-
Stops the collection of statistics.
- StreamException - Exception Class in org.miaixz.bus.http.metric.http
-
An exception thrown when an HTTP/2 stream is reset without damaging the underlying socket.
- StreamException(Http2ErrorCode) - Constructor for exception class org.miaixz.bus.http.metric.http.StreamException
-
Constructs a new
StreamExceptionwith the specified error code. - 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 body as a string.
- subscribe(String, List<Stomp.Header>, Callback<Stomp.Message>) - Method in class org.miaixz.bus.http.Stomp
-
Subscribes to a destination.
- SUBSCRIBE - Static variable in class org.miaixz.bus.http.Builder
-
The STOMP SUBSCRIBE frame command.
- SUBSCRIPTION - Static variable in class org.miaixz.bus.http.Stomp.Header
-
The subscription identifier 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
-
The supported STOMP protocol versions.
- supportsTlsExtensions() - Method in class org.miaixz.bus.http.accord.ConnectionSuite
-
Returns true if TLS extensions like Server Name Indication (SNI) and Application-Layer Protocol Negotiation (ALPN) should be used.
- supportsTlsExtensions(boolean) - Method in class org.miaixz.bus.http.accord.ConnectionSuite.Builder
-
Configures whether TLS extensions like Server Name Indication (SNI) and Application-Layer Protocol Negotiation (ALPN) should be used.
- supportsUrl(UnoUrl) - Method in class org.miaixz.bus.http.accord.RealConnection
-
Returns true if this connection can be used for
url. - sync(String) - Method in class org.miaixz.bus.http.Httpv
-
Starts a synchronous HTTP request.
- Sync(Httpv, String) - Constructor for class org.miaixz.bus.http.plugin.httpv.CoverHttp.Sync
-
Constructs a new synchronous request builder.
- 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
-
A DNS implementation that uses
InetAddress.getAllByName(String)to ask the underlying operating system to look up IP addresses.
T
- tag - Variable in class org.miaixz.bus.http.plugin.httpz.RequestBuilder
-
An optional tag for the request, used for cancellation.
- tag() - Method in class org.miaixz.bus.http.Request
-
Returns the tag attached to this request with
Object.classas the key. - tag(Class<? extends T>) - Method in class org.miaixz.bus.http.Request
-
Returns the tag of the specified type attached to this request.
- tag(Class<? super T>, T) - Method in class org.miaixz.bus.http.Request.Builder
-
Attaches a tag to this request using the specified type as the key.
- tag(Object) - Method in class org.miaixz.bus.http.plugin.httpz.RequestBuilder
-
Sets the tag for this request, which can be used to cancel it later.
- tag(Object) - Method in class org.miaixz.bus.http.Request.Builder
-
Attaches a tag to this request using
Object.classas the key. - tag(String) - Method in class org.miaixz.bus.http.plugin.httpv.CoverHttp
-
Adds a tag to the request.
- tagTasks() - Method in class org.miaixz.bus.http.Httpv
-
Gets the list of tagged tasks.
- 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
-
The ":authority" pseudo-header.
- TARGET_METHOD - Static variable in class org.miaixz.bus.http.metric.http.Http2Header
-
The ":method" pseudo-header.
- TARGET_PATH - Static variable in class org.miaixz.bus.http.metric.http.Http2Header
-
The ":path" pseudo-header.
- TARGET_SCHEME - Static variable in class org.miaixz.bus.http.metric.http.Http2Header
-
The ":scheme" pseudo-header.
- TextCallback - Class in org.miaixz.bus.http.plugin.httpz
-
An abstract
Callbackimplementation for handling responses where the body is expected to be a text string. - TextCallback() - Constructor for class org.miaixz.bus.http.plugin.httpz.TextCallback
- threadFactory(String, boolean) - Static method in class org.miaixz.bus.http.Builder
-
Creates a
ThreadFactorythat produces threads with a given name and daemon status. - timeout() - Method in class org.miaixz.bus.http.accord.Transmitter
- timeout() - Method in interface org.miaixz.bus.http.NewCall
-
Returns a timeout that spans the entire call: resolving DNS, connecting, writing the request body, server processing, and reading the response body.
- timeout() - Method in class org.miaixz.bus.http.RealCall
-
Returns the timeout configuration for this call.
- TIMEOUT - Enum constant in enum class org.miaixz.bus.http.plugin.httpv.CoverResult.State
-
The task failed due to a network timeout.
- TIMEOUT - Static variable in class org.miaixz.bus.http.plugin.httpv.CoverCall.Close
-
Custom status code indicating the WebSocket was closed due to a timeout.
- timeoutAwait(CountDownLatch) - Method in class org.miaixz.bus.http.plugin.httpv.CoverHttp
-
Awaits on a CountDownLatch with a timeout.
- timeoutEarlyExit() - Method in class org.miaixz.bus.http.accord.Exchange
-
Notifies the transmitter that a timeout has occurred and the exchange should exit early.
- timeoutEarlyExit() - Method in class org.miaixz.bus.http.accord.Transmitter
-
Stops applying the timeout before the call is complete.
- timeoutEarlyExit() - Method in class org.miaixz.bus.http.RealCall
-
Marks this call for an early exit due to a timeout.
- timeoutEnter() - Method in class org.miaixz.bus.http.accord.Transmitter
- timeoutResult() - Method in class org.miaixz.bus.http.plugin.httpv.CoverHttp
-
Creates a result object for a timeout event.
- TLS_AES_128_CCM_8_SHA256 - Static variable in class org.miaixz.bus.http.secure.CipherSuite
-
A TLS 1.3
CipherSuitewith 128-bit AES-CCM (8-byte tag) encryption. - TLS_AES_128_CCM_SHA256 - Static variable in class org.miaixz.bus.http.secure.CipherSuite
-
A TLS 1.3
CipherSuitewith 128-bit AES-CCM encryption. - TLS_AES_128_GCM_SHA256 - Static variable in class org.miaixz.bus.http.secure.CipherSuite
-
A TLS 1.3
CipherSuitewith 128-bit AES-GCM encryption. - TLS_AES_256_GCM_SHA384 - Static variable in class org.miaixz.bus.http.secure.CipherSuite
-
A TLS 1.3
CipherSuitewith 256-bit AES-GCM encryption. - TLS_CHACHA20_POLY1305_SHA256 - Static variable in class org.miaixz.bus.http.secure.CipherSuite
-
A TLS 1.3
CipherSuitewith ChaCha20-Poly1305 encryption. - TLS_DH_anon_EXPORT_WITH_DES40_CBC_SHA - Static variable in class org.miaixz.bus.http.secure.CipherSuite
-
A legacy anonymous
CipherSuitewith Diffie-Hellman Export key exchange, 40-bit DES encryption, and SHA-1 MAC. - TLS_DH_anon_EXPORT_WITH_RC4_40_MD5 - Static variable in class org.miaixz.bus.http.secure.CipherSuite
-
A legacy anonymous
CipherSuitewith Diffie-Hellman Export key exchange, 40-bit RC4 encryption, and MD5 MAC. - TLS_DH_anon_WITH_3DES_EDE_CBC_SHA - Static variable in class org.miaixz.bus.http.secure.CipherSuite
-
An anonymous
CipherSuitewith Diffie-Hellman key exchange, 3DES encryption, and SHA-1 MAC. - TLS_DH_anon_WITH_AES_128_CBC_SHA - Static variable in class org.miaixz.bus.http.secure.CipherSuite
-
An anonymous
CipherSuitewith Diffie-Hellman key exchange, 128-bit AES-CBC encryption, and SHA-1 MAC. - TLS_DH_anon_WITH_AES_128_CBC_SHA256 - Static variable in class org.miaixz.bus.http.secure.CipherSuite
-
An anonymous
CipherSuitewith Diffie-Hellman key exchange, 128-bit AES-CBC encryption, and SHA-256 MAC. - TLS_DH_anon_WITH_AES_128_GCM_SHA256 - Static variable in class org.miaixz.bus.http.secure.CipherSuite
-
An anonymous
CipherSuitewith Diffie-Hellman key exchange, 128-bit AES-GCM encryption, and SHA-256 MAC. - TLS_DH_anon_WITH_AES_256_CBC_SHA - Static variable in class org.miaixz.bus.http.secure.CipherSuite
-
An anonymous
CipherSuitewith Diffie-Hellman key exchange, 256-bit AES-CBC encryption, and SHA-1 MAC. - TLS_DH_anon_WITH_AES_256_CBC_SHA256 - Static variable in class org.miaixz.bus.http.secure.CipherSuite
-
An anonymous
CipherSuitewith Diffie-Hellman key exchange, 256-bit AES-CBC encryption, and SHA-256 MAC. - TLS_DH_anon_WITH_AES_256_GCM_SHA384 - Static variable in class org.miaixz.bus.http.secure.CipherSuite
-
An anonymous
CipherSuitewith Diffie-Hellman key exchange, 256-bit AES-GCM encryption, and SHA-384 MAC. - TLS_DH_anon_WITH_DES_CBC_SHA - Static variable in class org.miaixz.bus.http.secure.CipherSuite
-
An anonymous
CipherSuitewith Diffie-Hellman key exchange, DES encryption, and SHA-1 MAC. - TLS_DH_anon_WITH_RC4_128_MD5 - Static variable in class org.miaixz.bus.http.secure.CipherSuite
-
An anonymous
CipherSuitewith Diffie-Hellman key exchange, 128-bit RC4 encryption, and MD5 MAC. - TLS_DHE_DSS_EXPORT_WITH_DES40_CBC_SHA - Static variable in class org.miaixz.bus.http.secure.CipherSuite
-
A legacy
CipherSuitewith DHE DSS Export key exchange, 40-bit DES encryption, and SHA-1 MAC. - TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA - Static variable in class org.miaixz.bus.http.secure.CipherSuite
-
A
CipherSuitewith DHE DSS key exchange, 3DES encryption, and SHA-1 MAC. - TLS_DHE_DSS_WITH_AES_128_CBC_SHA - Static variable in class org.miaixz.bus.http.secure.CipherSuite
-
A
CipherSuitewith DHE DSS key exchange, 128-bit AES-CBC encryption, and SHA-1 MAC. - TLS_DHE_DSS_WITH_AES_128_CBC_SHA256 - Static variable in class org.miaixz.bus.http.secure.CipherSuite
-
A
CipherSuitewith DHE DSS key exchange, 128-bit AES-CBC encryption, and SHA-256 MAC. - TLS_DHE_DSS_WITH_AES_128_GCM_SHA256 - Static variable in class org.miaixz.bus.http.secure.CipherSuite
-
A
CipherSuitewith DHE DSS key exchange, 128-bit AES-GCM encryption, and SHA-256 MAC. - TLS_DHE_DSS_WITH_AES_256_CBC_SHA - Static variable in class org.miaixz.bus.http.secure.CipherSuite
-
A
CipherSuitewith DHE DSS key exchange, 256-bit AES-CBC encryption, and SHA-1 MAC. - TLS_DHE_DSS_WITH_AES_256_CBC_SHA256 - Static variable in class org.miaixz.bus.http.secure.CipherSuite
-
A
CipherSuitewith DHE DSS key exchange, 256-bit AES-CBC encryption, and SHA-256 MAC. - TLS_DHE_DSS_WITH_AES_256_GCM_SHA384 - Static variable in class org.miaixz.bus.http.secure.CipherSuite
-
A
CipherSuitewith DHE DSS key exchange, 256-bit AES-GCM encryption, and SHA-384 MAC. - TLS_DHE_DSS_WITH_CAMELLIA_128_CBC_SHA - Static variable in class org.miaixz.bus.http.secure.CipherSuite
-
A
CipherSuitewith DHE DSS key exchange, 128-bit Camellia encryption, and SHA-1 MAC. - TLS_DHE_DSS_WITH_CAMELLIA_256_CBC_SHA - Static variable in class org.miaixz.bus.http.secure.CipherSuite
-
A
CipherSuitewith DHE DSS key exchange, 256-bit Camellia encryption, and SHA-1 MAC. - TLS_DHE_DSS_WITH_DES_CBC_SHA - Static variable in class org.miaixz.bus.http.secure.CipherSuite
-
A
CipherSuitewith DHE DSS key exchange, DES encryption, and SHA-1 MAC. - TLS_DHE_RSA_EXPORT_WITH_DES40_CBC_SHA - Static variable in class org.miaixz.bus.http.secure.CipherSuite
-
A legacy
CipherSuitewith DHE RSA Export key exchange, 40-bit DES encryption, and SHA-1 MAC. - TLS_DHE_RSA_WITH_3DES_EDE_CBC_SHA - Static variable in class org.miaixz.bus.http.secure.CipherSuite
-
A
CipherSuitewith DHE RSA key exchange, 3DES encryption, and SHA-1 MAC. - TLS_DHE_RSA_WITH_AES_128_CBC_SHA - Static variable in class org.miaixz.bus.http.secure.CipherSuite
-
A
CipherSuitewith DHE RSA key exchange, 128-bit AES-CBC encryption, and SHA-1 MAC. - TLS_DHE_RSA_WITH_AES_128_CBC_SHA256 - Static variable in class org.miaixz.bus.http.secure.CipherSuite
-
A
CipherSuitewith DHE RSA key exchange, 128-bit AES-CBC encryption, and SHA-256 MAC. - TLS_DHE_RSA_WITH_AES_128_GCM_SHA256 - Static variable in class org.miaixz.bus.http.secure.CipherSuite
-
A
CipherSuitewith DHE RSA key exchange, 128-bit AES-GCM encryption, and SHA-256 MAC. - TLS_DHE_RSA_WITH_AES_256_CBC_SHA - Static variable in class org.miaixz.bus.http.secure.CipherSuite
-
A
CipherSuitewith DHE RSA key exchange, 256-bit AES-CBC encryption, and SHA-1 MAC. - TLS_DHE_RSA_WITH_AES_256_CBC_SHA256 - Static variable in class org.miaixz.bus.http.secure.CipherSuite
-
A
CipherSuitewith DHE RSA key exchange, 256-bit AES-CBC encryption, and SHA-256 MAC. - TLS_DHE_RSA_WITH_AES_256_GCM_SHA384 - Static variable in class org.miaixz.bus.http.secure.CipherSuite
-
A
CipherSuitewith DHE RSA key exchange, 256-bit AES-GCM encryption, and SHA-384 MAC. - TLS_DHE_RSA_WITH_CAMELLIA_128_CBC_SHA - Static variable in class org.miaixz.bus.http.secure.CipherSuite
-
A
CipherSuitewith DHE RSA key exchange, 128-bit Camellia encryption, and SHA-1 MAC. - TLS_DHE_RSA_WITH_CAMELLIA_256_CBC_SHA - Static variable in class org.miaixz.bus.http.secure.CipherSuite
-
A
CipherSuitewith DHE RSA key exchange, 256-bit Camellia encryption, and SHA-1 MAC. - TLS_DHE_RSA_WITH_CHACHA20_POLY1305_SHA256 - Static variable in class org.miaixz.bus.http.secure.CipherSuite
-
A DHE
CipherSuitewith RSA authentication and ChaCha20-Poly1305 encryption. - TLS_DHE_RSA_WITH_DES_CBC_SHA - Static variable in class org.miaixz.bus.http.secure.CipherSuite
-
A
CipherSuitewith DHE RSA key exchange, DES encryption, and SHA-1 MAC. - TLS_ECDH_anon_WITH_3DES_EDE_CBC_SHA - Static variable in class org.miaixz.bus.http.secure.CipherSuite
-
An anonymous ECDH
CipherSuitewith 3DES encryption and SHA-1 MAC. - TLS_ECDH_anon_WITH_AES_128_CBC_SHA - Static variable in class org.miaixz.bus.http.secure.CipherSuite
-
An anonymous ECDH
CipherSuitewith 128-bit AES-CBC encryption and SHA-1 MAC. - TLS_ECDH_anon_WITH_AES_256_CBC_SHA - Static variable in class org.miaixz.bus.http.secure.CipherSuite
-
An anonymous ECDH
CipherSuitewith 256-bit AES-CBC encryption and SHA-1 MAC. - TLS_ECDH_anon_WITH_NULL_SHA - Static variable in class org.miaixz.bus.http.secure.CipherSuite
-
An anonymous ECDH
CipherSuitewith NULL encryption and SHA-1 MAC. - TLS_ECDH_anon_WITH_RC4_128_SHA - Static variable in class org.miaixz.bus.http.secure.CipherSuite
-
An anonymous ECDH
CipherSuitewith 128-bit RC4 encryption and SHA-1 MAC. - TLS_ECDH_ECDSA_WITH_3DES_EDE_CBC_SHA - Static variable in class org.miaixz.bus.http.secure.CipherSuite
-
An ECDH
CipherSuitewith ECDSA authentication, 3DES encryption, and SHA-1 MAC. - TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA - Static variable in class org.miaixz.bus.http.secure.CipherSuite
-
An ECDH
CipherSuitewith ECDSA authentication, 128-bit AES-CBC encryption, and SHA-1 MAC. - TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA256 - Static variable in class org.miaixz.bus.http.secure.CipherSuite
-
An ECDH
CipherSuitewith ECDSA authentication, 128-bit AES-CBC encryption, and SHA-256 MAC. - TLS_ECDH_ECDSA_WITH_AES_128_GCM_SHA256 - Static variable in class org.miaixz.bus.http.secure.CipherSuite
-
An ECDH
CipherSuitewith ECDSA authentication, 128-bit AES-GCM encryption, and SHA-256 MAC. - TLS_ECDH_ECDSA_WITH_AES_256_CBC_SHA - Static variable in class org.miaixz.bus.http.secure.CipherSuite
-
An ECDH
CipherSuitewith ECDSA authentication, 256-bit AES-CBC encryption, and SHA-1 MAC. - TLS_ECDH_ECDSA_WITH_AES_256_CBC_SHA384 - Static variable in class org.miaixz.bus.http.secure.CipherSuite
-
An ECDH
CipherSuitewith ECDSA authentication, 256-bit AES-CBC encryption, and SHA-384 MAC. - TLS_ECDH_ECDSA_WITH_AES_256_GCM_SHA384 - Static variable in class org.miaixz.bus.http.secure.CipherSuite
-
An ECDH
CipherSuitewith ECDSA authentication, 256-bit AES-GCM encryption, and SHA-384 MAC. - TLS_ECDH_ECDSA_WITH_NULL_SHA - Static variable in class org.miaixz.bus.http.secure.CipherSuite
-
An ECDH
CipherSuitewith ECDSA authentication, NULL encryption, and SHA-1 MAC. - TLS_ECDH_ECDSA_WITH_RC4_128_SHA - Static variable in class org.miaixz.bus.http.secure.CipherSuite
-
An ECDH
CipherSuitewith ECDSA authentication, 128-bit RC4 encryption, and SHA-1 MAC. - TLS_ECDH_RSA_WITH_3DES_EDE_CBC_SHA - Static variable in class org.miaixz.bus.http.secure.CipherSuite
-
An ECDH
CipherSuitewith RSA authentication, 3DES encryption, and SHA-1 MAC. - TLS_ECDH_RSA_WITH_AES_128_CBC_SHA - Static variable in class org.miaixz.bus.http.secure.CipherSuite
-
An ECDH
CipherSuitewith RSA authentication, 128-bit AES-CBC encryption, and SHA-1 MAC. - TLS_ECDH_RSA_WITH_AES_128_CBC_SHA256 - Static variable in class org.miaixz.bus.http.secure.CipherSuite
-
An ECDH
CipherSuitewith RSA authentication, 128-bit AES-CBC encryption, and SHA-256 MAC. - TLS_ECDH_RSA_WITH_AES_128_GCM_SHA256 - Static variable in class org.miaixz.bus.http.secure.CipherSuite
-
An ECDH
CipherSuitewith RSA authentication, 128-bit AES-GCM encryption, and SHA-256 MAC. - TLS_ECDH_RSA_WITH_AES_256_CBC_SHA - Static variable in class org.miaixz.bus.http.secure.CipherSuite
-
An ECDH
CipherSuitewith RSA authentication, 256-bit AES-CBC encryption, and SHA-1 MAC. - TLS_ECDH_RSA_WITH_AES_256_CBC_SHA384 - Static variable in class org.miaixz.bus.http.secure.CipherSuite
-
An ECDH
CipherSuitewith RSA authentication, 256-bit AES-CBC encryption, and SHA-384 MAC. - TLS_ECDH_RSA_WITH_AES_256_GCM_SHA384 - Static variable in class org.miaixz.bus.http.secure.CipherSuite
-
An ECDH
CipherSuitewith RSA authentication, 256-bit AES-GCM encryption, and SHA-384 MAC. - TLS_ECDH_RSA_WITH_NULL_SHA - Static variable in class org.miaixz.bus.http.secure.CipherSuite
-
An ECDH
CipherSuitewith RSA authentication, NULL encryption, and SHA-1 MAC. - TLS_ECDH_RSA_WITH_RC4_128_SHA - Static variable in class org.miaixz.bus.http.secure.CipherSuite
-
An ECDH
CipherSuitewith RSA authentication, 128-bit RC4 encryption, and SHA-1 MAC. - TLS_ECDHE_ECDSA_WITH_3DES_EDE_CBC_SHA - Static variable in class org.miaixz.bus.http.secure.CipherSuite
-
An ECDHE
CipherSuitewith ECDSA authentication, 3DES encryption, and SHA-1 MAC. - TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA - Static variable in class org.miaixz.bus.http.secure.CipherSuite
-
An ECDHE
CipherSuitewith ECDSA authentication, 128-bit AES-CBC encryption, and SHA-1 MAC. - TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256 - Static variable in class org.miaixz.bus.http.secure.CipherSuite
-
An ECDHE
CipherSuitewith ECDSA authentication, 128-bit AES-CBC encryption, and SHA-256 MAC. - TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256 - Static variable in class org.miaixz.bus.http.secure.CipherSuite
-
An ECDHE
CipherSuitewith ECDSA authentication, 128-bit AES-GCM encryption, and SHA-256 MAC. - TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA - Static variable in class org.miaixz.bus.http.secure.CipherSuite
-
An ECDHE
CipherSuitewith ECDSA authentication, 256-bit AES-CBC encryption, and SHA-1 MAC. - TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384 - Static variable in class org.miaixz.bus.http.secure.CipherSuite
-
An ECDHE
CipherSuitewith ECDSA authentication, 256-bit AES-CBC encryption, and SHA-384 MAC. - TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384 - Static variable in class org.miaixz.bus.http.secure.CipherSuite
-
An ECDHE
CipherSuitewith ECDSA authentication, 256-bit AES-GCM encryption, and SHA-384 MAC. - TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256 - Static variable in class org.miaixz.bus.http.secure.CipherSuite
-
An ECDHE
CipherSuitewith ECDSA authentication and ChaCha20-Poly1305 encryption. - TLS_ECDHE_ECDSA_WITH_NULL_SHA - Static variable in class org.miaixz.bus.http.secure.CipherSuite
-
An ECDHE
CipherSuitewith ECDSA authentication, NULL encryption, and SHA-1 MAC. - TLS_ECDHE_ECDSA_WITH_RC4_128_SHA - Static variable in class org.miaixz.bus.http.secure.CipherSuite
-
An ECDHE
CipherSuitewith ECDSA authentication, 128-bit RC4 encryption, and SHA-1 MAC. - TLS_ECDHE_PSK_WITH_AES_128_CBC_SHA - Static variable in class org.miaixz.bus.http.secure.CipherSuite
-
An ECDHE
CipherSuitewith PSK key exchange, 128-bit AES-CBC encryption, and SHA-1 MAC. - TLS_ECDHE_PSK_WITH_AES_256_CBC_SHA - Static variable in class org.miaixz.bus.http.secure.CipherSuite
-
An ECDHE
CipherSuitewith PSK key exchange, 256-bit AES-CBC encryption, and SHA-1 MAC. - TLS_ECDHE_PSK_WITH_CHACHA20_POLY1305_SHA256 - Static variable in class org.miaixz.bus.http.secure.CipherSuite
-
An ECDHE
CipherSuitewith PSK key exchange and ChaCha20-Poly1305 encryption. - TLS_ECDHE_RSA_WITH_3DES_EDE_CBC_SHA - Static variable in class org.miaixz.bus.http.secure.CipherSuite
-
An ECDHE
CipherSuitewith RSA authentication, 3DES encryption, and SHA-1 MAC. - TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA - Static variable in class org.miaixz.bus.http.secure.CipherSuite
-
An ECDHE
CipherSuitewith RSA authentication, 128-bit AES-CBC encryption, and SHA-1 MAC. - TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256 - Static variable in class org.miaixz.bus.http.secure.CipherSuite
-
An ECDHE
CipherSuitewith RSA authentication, 128-bit AES-CBC encryption, and SHA-256 MAC. - TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 - Static variable in class org.miaixz.bus.http.secure.CipherSuite
-
An ECDHE
CipherSuitewith RSA authentication, 128-bit AES-GCM encryption, and SHA-256 MAC. - TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA - Static variable in class org.miaixz.bus.http.secure.CipherSuite
-
An ECDHE
CipherSuitewith RSA authentication, 256-bit AES-CBC encryption, and SHA-1 MAC. - TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384 - Static variable in class org.miaixz.bus.http.secure.CipherSuite
-
An ECDHE
CipherSuitewith RSA authentication, 256-bit AES-CBC encryption, and SHA-384 MAC. - TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 - Static variable in class org.miaixz.bus.http.secure.CipherSuite
-
An ECDHE
CipherSuitewith RSA authentication, 256-bit AES-GCM encryption, and SHA-384 MAC. - TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256 - Static variable in class org.miaixz.bus.http.secure.CipherSuite
-
An ECDHE
CipherSuitewith RSA authentication and ChaCha20-Poly1305 encryption. - TLS_ECDHE_RSA_WITH_NULL_SHA - Static variable in class org.miaixz.bus.http.secure.CipherSuite
-
An ECDHE
CipherSuitewith RSA authentication, NULL encryption, and SHA-1 MAC. - TLS_ECDHE_RSA_WITH_RC4_128_SHA - Static variable in class org.miaixz.bus.http.secure.CipherSuite
-
An ECDHE
CipherSuitewith RSA authentication, 128-bit RC4 encryption, and SHA-1 MAC. - TLS_EMPTY_RENEGOTIATION_INFO_SCSV - Static variable in class org.miaixz.bus.http.secure.CipherSuite
-
A signaling
CipherSuiteto indicate support for secure renegotiation. - TLS_FALLBACK_SCSV - Static variable in class org.miaixz.bus.http.secure.CipherSuite
-
A signaling
CipherSuiteto prevent TLS downgrade attacks. - TLS_KRB5_EXPORT_WITH_DES_CBC_40_MD5 - Static variable in class org.miaixz.bus.http.secure.CipherSuite
-
A legacy
CipherSuitewith Kerberos Export key exchange, 40-bit DES encryption, and MD5 MAC. - TLS_KRB5_EXPORT_WITH_DES_CBC_40_SHA - Static variable in class org.miaixz.bus.http.secure.CipherSuite
-
A legacy
CipherSuitewith Kerberos Export key exchange, 40-bit DES encryption, and SHA-1 MAC. - TLS_KRB5_EXPORT_WITH_RC4_40_MD5 - Static variable in class org.miaixz.bus.http.secure.CipherSuite
-
A legacy
CipherSuitewith Kerberos Export key exchange, 40-bit RC4 encryption, and MD5 MAC. - TLS_KRB5_EXPORT_WITH_RC4_40_SHA - Static variable in class org.miaixz.bus.http.secure.CipherSuite
-
A legacy
CipherSuitewith Kerberos Export key exchange, 40-bit RC4 encryption, and SHA-1 MAC. - TLS_KRB5_WITH_3DES_EDE_CBC_MD5 - Static variable in class org.miaixz.bus.http.secure.CipherSuite
-
A
CipherSuitewith Kerberos key exchange, 3DES encryption, and MD5 MAC. - TLS_KRB5_WITH_3DES_EDE_CBC_SHA - Static variable in class org.miaixz.bus.http.secure.CipherSuite
-
A
CipherSuitewith Kerberos key exchange, 3DES encryption, and SHA-1 MAC. - TLS_KRB5_WITH_DES_CBC_MD5 - Static variable in class org.miaixz.bus.http.secure.CipherSuite
-
A
CipherSuitewith Kerberos key exchange, DES encryption, and MD5 MAC. - TLS_KRB5_WITH_DES_CBC_SHA - Static variable in class org.miaixz.bus.http.secure.CipherSuite
-
A
CipherSuitewith Kerberos key exchange, DES encryption, and SHA-1 MAC. - TLS_KRB5_WITH_RC4_128_MD5 - Static variable in class org.miaixz.bus.http.secure.CipherSuite
-
A
CipherSuitewith Kerberos key exchange, 128-bit RC4 encryption, and MD5 MAC. - TLS_KRB5_WITH_RC4_128_SHA - Static variable in class org.miaixz.bus.http.secure.CipherSuite
-
A
CipherSuitewith Kerberos key exchange, 128-bit RC4 encryption, and SHA-1 MAC. - TLS_PSK_WITH_3DES_EDE_CBC_SHA - Static variable in class org.miaixz.bus.http.secure.CipherSuite
-
A
CipherSuitewith PSK key exchange, 3DES encryption, and SHA-1 MAC. - TLS_PSK_WITH_AES_128_CBC_SHA - Static variable in class org.miaixz.bus.http.secure.CipherSuite
-
A
CipherSuitewith PSK key exchange, 128-bit AES-CBC encryption, and SHA-1 MAC. - TLS_PSK_WITH_AES_256_CBC_SHA - Static variable in class org.miaixz.bus.http.secure.CipherSuite
-
A
CipherSuitewith PSK key exchange, 256-bit AES-CBC encryption, and SHA-1 MAC. - TLS_PSK_WITH_RC4_128_SHA - Static variable in class org.miaixz.bus.http.secure.CipherSuite
-
A
CipherSuitewith PSK key exchange, 128-bit RC4 encryption, and SHA-1 MAC. - TLS_RSA_EXPORT_WITH_DES40_CBC_SHA - Static variable in class org.miaixz.bus.http.secure.CipherSuite
-
A legacy
CipherSuitewith RSA Export key exchange, 40-bit DES encryption, and SHA-1 MAC. - TLS_RSA_EXPORT_WITH_RC4_40_MD5 - Static variable in class org.miaixz.bus.http.secure.CipherSuite
-
A legacy
CipherSuitewith RSA Export key exchange, 40-bit RC4 encryption, and MD5 MAC. - TLS_RSA_WITH_3DES_EDE_CBC_SHA - Static variable in class org.miaixz.bus.http.secure.CipherSuite
-
A
CipherSuitewith RSA key exchange, 3DES encryption, and SHA-1 MAC. - TLS_RSA_WITH_AES_128_CBC_SHA - Static variable in class org.miaixz.bus.http.secure.CipherSuite
-
A
CipherSuitewith RSA key exchange, 128-bit AES-CBC encryption, and SHA-1 MAC. - TLS_RSA_WITH_AES_128_CBC_SHA256 - Static variable in class org.miaixz.bus.http.secure.CipherSuite
-
A
CipherSuitewith RSA key exchange, 128-bit AES-CBC encryption, and SHA-256 MAC. - TLS_RSA_WITH_AES_128_GCM_SHA256 - Static variable in class org.miaixz.bus.http.secure.CipherSuite
-
A
CipherSuitewith RSA key exchange, 128-bit AES-GCM encryption, and SHA-256 MAC. - TLS_RSA_WITH_AES_256_CBC_SHA - Static variable in class org.miaixz.bus.http.secure.CipherSuite
-
A
CipherSuitewith RSA key exchange, 256-bit AES-CBC encryption, and SHA-1 MAC. - TLS_RSA_WITH_AES_256_CBC_SHA256 - Static variable in class org.miaixz.bus.http.secure.CipherSuite
-
A
CipherSuitewith RSA key exchange, 256-bit AES-CBC encryption, and SHA-256 MAC. - TLS_RSA_WITH_AES_256_GCM_SHA384 - Static variable in class org.miaixz.bus.http.secure.CipherSuite
-
A
CipherSuitewith RSA key exchange, 256-bit AES-GCM encryption, and SHA-384 MAC. - TLS_RSA_WITH_CAMELLIA_128_CBC_SHA - Static variable in class org.miaixz.bus.http.secure.CipherSuite
-
A
CipherSuitewith RSA key exchange, 128-bit Camellia encryption, and SHA-1 MAC. - TLS_RSA_WITH_CAMELLIA_256_CBC_SHA - Static variable in class org.miaixz.bus.http.secure.CipherSuite
-
A
CipherSuitewith RSA key exchange, 256-bit Camellia encryption, and SHA-1 MAC. - TLS_RSA_WITH_DES_CBC_SHA - Static variable in class org.miaixz.bus.http.secure.CipherSuite
-
A
CipherSuitewith RSA key exchange, DES encryption, and SHA-1 MAC. - TLS_RSA_WITH_NULL_MD5 - Static variable in class org.miaixz.bus.http.secure.CipherSuite
-
A
CipherSuitewith RSA key exchange, NULL encryption, and MD5 MAC. - TLS_RSA_WITH_NULL_SHA - Static variable in class org.miaixz.bus.http.secure.CipherSuite
-
A
CipherSuitewith RSA key exchange, NULL encryption, and SHA-1 MAC. - TLS_RSA_WITH_NULL_SHA256 - Static variable in class org.miaixz.bus.http.secure.CipherSuite
-
A
CipherSuitewith RSA key exchange, NULL encryption, and SHA-256 MAC. - TLS_RSA_WITH_RC4_128_MD5 - Static variable in class org.miaixz.bus.http.secure.CipherSuite
-
A
CipherSuitewith RSA key exchange, 128-bit RC4 encryption, and MD5 MAC. - TLS_RSA_WITH_RC4_128_SHA - Static variable in class org.miaixz.bus.http.secure.CipherSuite
-
A
CipherSuitewith RSA key exchange, 128-bit RC4 encryption, and SHA-1 MAC. - TLS_RSA_WITH_SEED_CBC_SHA - Static variable in class org.miaixz.bus.http.secure.CipherSuite
-
A
CipherSuitewith RSA key exchange, SEED encryption, and SHA-1 MAC. - tlsVersion() - Method in class org.miaixz.bus.http.socket.Handshake
-
Returns the TLS version of the connection.
- tlsVersions() - Method in class org.miaixz.bus.http.accord.ConnectionSuite
-
Returns the TLS versions to use when negotiating a connection.
- tlsVersions(String...) - Method in class org.miaixz.bus.http.accord.ConnectionSuite.Builder
-
Configures the connection to use the specified TLS versions by their Java names.
- tlsVersions(TlsVersion...) - Method in class org.miaixz.bus.http.accord.ConnectionSuite.Builder
-
Configures the connection to use the specified TLS versions.
- toArray() - Method in interface org.miaixz.bus.http.plugin.httpv.CoverResult.Body
-
Deserializes the response body into a schemaless list-like object.
- 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
-
Parses an input stream into a
CoverArray. - toBean(Class<T>) - Method in interface org.miaixz.bus.http.plugin.httpv.CoverResult.Body
-
Deserializes the response body into an object of the specified type.
- 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
-
Parses an input stream into a Java bean of the specified type.
- toBytes() - Method in class org.miaixz.bus.http.plugin.httpv.CoverCall.Message
-
Converts the message content to a byte array.
- toBytes() - Method in interface org.miaixz.bus.http.plugin.httpv.CoverResult.Body
-
Reads the entire response body into a byte array.
- toBytes() - Method in class org.miaixz.bus.http.plugin.httpv.ResultBody
- toByteStream() - Method in class org.miaixz.bus.http.plugin.httpv.CoverCall.Message
-
Returns an
InputStreamfor the message content. - toByteStream() - Method in interface org.miaixz.bus.http.plugin.httpv.CoverResult.Body
-
Converts the response body to a byte stream.
- toByteStream() - Method in class org.miaixz.bus.http.plugin.httpv.ResultBody
- toByteString() - Method in class org.miaixz.bus.http.plugin.httpv.CoverCall.Message
-
Converts the message content to a
ByteString. - toByteString() - Method in interface org.miaixz.bus.http.plugin.httpv.CoverResult.Body
-
Reads the entire response body into a ByteString.
- toByteString() - Method in class org.miaixz.bus.http.plugin.httpv.ResultBody
- toCharStream() - Method in class org.miaixz.bus.http.plugin.httpv.CoverCall.Message
-
Returns a
Readerfor the message content. - toCharStream() - Method in interface org.miaixz.bus.http.plugin.httpv.CoverResult.Body
-
Converts the response body to a character stream using the response's charset.
- toCharStream() - Method in class org.miaixz.bus.http.plugin.httpv.ResultBody
- toFile(File) - Method in interface org.miaixz.bus.http.plugin.httpv.CoverResult.Body
-
Downloads the response body to the specified file.
- 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
-
Downloads the response body to a file at the specified path.
- 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
-
Downloads the response body to the specified directory.
- 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
-
Downloads the response body to the specified directory.
- toFolder(String) - Method in class org.miaixz.bus.http.plugin.httpv.ResultBody
- toHeaderBlock(Headers) - Static method in class org.miaixz.bus.http.Builder
-
Converts a
Headersobject to a list of HTTP/2 headers. - toHeaders(List<Http2Header>) - Static method in class org.miaixz.bus.http.Builder
-
Converts a list of HTTP/2 headers to a
Headersobject. - TOKEN_DELIMITERS - Static variable in class org.miaixz.bus.http.Builder
-
Byte string containing characters that delimit tokens.
- toList(Class<T>) - Method in interface org.miaixz.bus.http.plugin.httpv.CoverResult.Body
-
Deserializes the response body into a list of objects of the specified type.
- 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
-
Parses an input stream into a list of Java objects of the specified type.
- toLoggableString() - Method in class org.miaixz.bus.http.RealCall
-
Returns a loggable string representation of this call.
- 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
-
Parses an input stream into a
CoverWapper. - toMultimap() - Method in class org.miaixz.bus.http.Headers
-
Converts to a multi-valued map.
- topic(String, List<Stomp.Header>, Callback<Stomp.Message>) - Method in class org.miaixz.bus.http.Stomp
-
Subscribes to a topic with additional headers.
- topic(String, Callback<Stomp.Message>) - Method in class org.miaixz.bus.http.Stomp
-
Subscribes to a topic.
- toState(IOException) - Method in class org.miaixz.bus.http.plugin.httpv.CoverHttp
-
Converts an IOException into a CoverResult.State.
- 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
-
Returns a string representation of this address, including the host, port, and proxy information.
- toString() - Method in class org.miaixz.bus.http.cache.CacheControl
- toString() - Method in class org.miaixz.bus.http.Cookie
-
Returns the string representation of this cookie.
- toString() - Method in class org.miaixz.bus.http.Headers
-
Returns the string representation of the headers.
- toString() - Method in class org.miaixz.bus.http.metric.anget.UserAgent
- toString() - Method in class org.miaixz.bus.http.metric.http.Http2Header
-
Returns a string representation of this 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
-
Returns the string representation of the message.
- toString() - Method in interface org.miaixz.bus.http.plugin.httpv.CoverResult.Body
-
Reads the entire response body into a string using the response's charset.
- 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
-
Returns a string representation of this request.
- toString() - Method in class org.miaixz.bus.http.Response
-
Returns a string representation of this response.
- toString() - Method in class org.miaixz.bus.http.Route
-
Returns a string representation of this 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
-
Returns a string representation of this Handshake.
- toString() - Method in class org.miaixz.bus.http.Stomp.Header
-
Returns the string representation of the header.
- toString() - Method in class org.miaixz.bus.http.Stomp.Message
-
Returns the string representation of the message.
- toString() - Method in class org.miaixz.bus.http.UnoUrl.Builder
-
Returns the string representation of the URL.
- toString() - Method in class org.miaixz.bus.http.UnoUrl
-
Returns the string representation of this URL.
- toString(SOAPMessage, boolean) - Static method in class org.miaixz.bus.http.SoapX
-
Converts a
SOAPMessageto its string representation. - toString(SOAPMessage, boolean, Charset) - Static method in class org.miaixz.bus.http.SoapX
-
Converts a
SOAPMessageto its string representation with a specified character set. - toWapper() - Method in interface org.miaixz.bus.http.plugin.httpv.CoverResult.Body
-
Deserializes the response body into a schemaless map-like object.
- toWapper() - Method in class org.miaixz.bus.http.plugin.httpv.ResultBody
- trackConditionalCacheHit() - Method in interface org.miaixz.bus.http.cache.InternalCache
-
Tracks a conditional GET that was satisfied by this cache.
- trackResponse(CacheStrategy) - Method in interface org.miaixz.bus.http.cache.InternalCache
-
Tracks an HTTP response that was satisfied by the given
cacheStrategy. - trailers() - Method in class org.miaixz.bus.http.accord.Exchange
-
Returns the trailer headers for this exchange.
- trailers() - Method in class org.miaixz.bus.http.metric.http.Http1Codec
- trailers() - Method in class org.miaixz.bus.http.metric.http.Http2Codec
-
Returns the trailers of the response.
- 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
-
Returns the trailer headers after the HTTP response.
- trailers() - Method in class org.miaixz.bus.http.Response
-
Returns the trailer headers of the response.
- transmitter - Variable in class org.miaixz.bus.http.RealCall
-
The transmitter for this call, which manages the connection and exchange.
- transmitter() - Method in class org.miaixz.bus.http.metric.http.RealInterceptorChain
- Transmitter - Class in org.miaixz.bus.http.accord
-
Bridges the application layer with the network layer, managing the lifecycle of a single call.
- 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
-
Trims leading and trailing ASCII whitespace from a substring.
- trustManager(SSLSocketFactory) - Method in class org.miaixz.bus.http.accord.platform.Platform
-
Manages which X.509 certificates can be used to authenticate the remote end of a secure socket.
- TrustRootIndex - Interface in org.miaixz.bus.http.secure
-
An index of trusted root certificates.
- type - Variable in class org.miaixz.bus.http.plugin.httpx.HttpProxy
-
The type of proxy (e.g., HTTP, SOCKS).
- type() - Method in class org.miaixz.bus.http.bodys.MultipartBody
-
Returns the original media type.
U
- UNKNOWN - Static variable in class org.miaixz.bus.http.Builder
-
The STOMP UNKNOWN frame command.
- UNKNOWN - Static variable in class org.miaixz.bus.http.metric.anget.Browser
-
Constant for an unknown browser.
- UNKNOWN - Static variable in class org.miaixz.bus.http.metric.anget.Device
-
Represents an unknown device.
- UNKNOWN - Static variable in class org.miaixz.bus.http.metric.anget.Engine
-
Constant for an unknown engine.
- UNKNOWN - Static variable in class org.miaixz.bus.http.metric.anget.NOS
-
Constant for an unknown operating system.
- UnoUrl - Class in org.miaixz.bus.http
-
A Uniform Resource Locator (URL) for HTTP or HTTPS.
- UnoUrl.Builder - Class in org.miaixz.bus.http
-
A builder for creating
UnoUrlinstances. - unqueue(String) - Method in class org.miaixz.bus.http.Stomp
-
Unsubscribes from a queue.
- unsubscribe(String) - Method in class org.miaixz.bus.http.Stomp
-
Unsubscribes from a destination.
- UNSUBSCRIBE - Static variable in class org.miaixz.bus.http.Builder
-
The STOMP UNSUBSCRIBE frame command.
- untopic(String) - Method in class org.miaixz.bus.http.Stomp
-
Unsubscribes from a topic.
- update(Response, Response) - Method in interface org.miaixz.bus.http.cache.InternalCache
-
Updates the stored cached response with headers from the new
networkresponse. - updateProgress(long, long, boolean) - Method in class org.miaixz.bus.http.plugin.httpz.FileInterceptor
-
An abstract callback method that is invoked with download progress updates.
- updateProgress(long, long, boolean) - Method in interface org.miaixz.bus.http.plugin.httpz.ProgressListener
-
Callback invoked to update the progress of a data transfer.
- uri() - Method in class org.miaixz.bus.http.UnoUrl
-
Converts this
UnoUrlto aURIobject. - url - Variable in class org.miaixz.bus.http.plugin.httpz.HttpRequest
-
The request URL.
- url - Variable in class org.miaixz.bus.http.plugin.httpz.RequestBuilder
-
The URL for the request.
- url() - Method in class org.miaixz.bus.http.Address
-
Returns the URL of the origin server.
- url() - Method in class org.miaixz.bus.http.Request
-
Returns the URL for this request.
- url() - Method in class org.miaixz.bus.http.UnoUrl
-
Converts this
UnoUrlto aURLobject. - url(String) - Method in class org.miaixz.bus.http.plugin.httpz.RequestBuilder
-
Sets the URL for this request.
- url(String) - Method in class org.miaixz.bus.http.Request.Builder
-
Sets the URL for this request from a string.
- url(URL) - Method in class org.miaixz.bus.http.Request.Builder
-
Sets the URL for this request from a
URLobject. - url(UnoUrl) - Method in class org.miaixz.bus.http.Request.Builder
-
Sets the URL for this request.
- urls() - Method in class org.miaixz.bus.http.cache.Cache
-
Returns an iterator over the URLs in this cache.
- user - Variable in class org.miaixz.bus.http.plugin.httpx.HttpProxy
-
The username for proxy authentication.
- UserAgent - Class in org.miaixz.bus.http.metric.anget
-
Represents a User-Agent, providing information about the browser, engine, OS, and device.
- UserAgent() - Constructor for class org.miaixz.bus.http.metric.anget.UserAgent
-
Default constructor.
- UserAgent(String, String) - Constructor for class org.miaixz.bus.http.metric.anget.UserAgent
-
Constructs a new
UserAgentinstance. - UserAgent(String, Pattern) - Constructor for class org.miaixz.bus.http.metric.anget.UserAgent
-
Constructs a new
UserAgentinstance. - username() - Method in class org.miaixz.bus.http.UnoUrl
-
Returns the decoded username.
- username(String) - Method in class org.miaixz.bus.http.UnoUrl.Builder
-
Sets the username.
- USERNAME_ENCODE_SET - Static variable in class org.miaixz.bus.http.UnoUrl
-
The character set for encoding usernames.
- UTC - Static variable in class org.miaixz.bus.http.Builder
-
The UTC (Coordinated Universal Time) timezone.
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
-
Returns the value of this cookie.
- value(int) - Method in class org.miaixz.bus.http.bodys.FormBody
-
Returns the decoded field value at the specified index.
- value(int) - Method in class org.miaixz.bus.http.Headers
-
Gets the header value at the specified index.
- value(String) - Method in class org.miaixz.bus.http.Cookie.Builder
-
Sets the value of the cookie.
- valueOf(String) - Static method in enum class org.miaixz.bus.http.metric.http.Http2ErrorCode
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.miaixz.bus.http.plugin.httpv.CoverResult.State
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class org.miaixz.bus.http.metric.http.Http2ErrorCode
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.miaixz.bus.http.plugin.httpv.CoverResult.State
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values(String) - Method in class org.miaixz.bus.http.Headers
-
Gets the list of values for the given header name.
- varyFields(Headers) - Static method in class org.miaixz.bus.http.Headers
-
Gets the set of Vary fields.
- varyHeaders(Headers, Headers) - Static method in class org.miaixz.bus.http.Headers
-
Gets the request headers that affect the response body.
- varyHeaders(Response) - Static method in class org.miaixz.bus.http.Headers
-
Gets the request headers that affect the response body.
- varyMatches(Response, Headers, Request) - Static method in class org.miaixz.bus.http.Headers
-
Checks if the Vary header matches.
- verifyAsIpAddress(String) - Static method in class org.miaixz.bus.http.Builder
-
Verifies if the given host string is a valid IP address.
- VERSION - Static variable in class org.miaixz.bus.http.Stomp.Header
-
The STOMP protocol version header.
W
- webSocket(String) - Method in class org.miaixz.bus.http.Httpv
-
Starts a WebSocket connection.
- webSocket(Request, WebSocketListener) - Method in class org.miaixz.bus.http.Httpv
-
Creates a new WebSocket connection using the underlying
Httpdclient. - WebSocket - Interface in org.miaixz.bus.http.socket
-
A non-blocking interface to a WebSocket.
- WebSocket.Factory - Interface in org.miaixz.bus.http.socket
-
A factory for creating WebSockets.
- WebSocketListener - Class in org.miaixz.bus.http.socket
-
A listener for events related to a WebSocket connection.
- WebSocketListener() - Constructor for class org.miaixz.bus.http.socket.WebSocketListener
- WebSocketProtocol - Class in org.miaixz.bus.http.socket
-
Constants and utility methods for the WebSocket protocol (RFC 6455).
- WebSocketProtocol() - Constructor for class org.miaixz.bus.http.socket.WebSocketProtocol
- WebSocketReader - Class in org.miaixz.bus.http.socket
-
A reader for WebSocket protocol frames.
- WebSocketReader.FrameCallback - Interface in org.miaixz.bus.http.socket
-
A callback interface for WebSocket frame events.
- webSocketUpgradeFailed() - Method in class org.miaixz.bus.http.accord.Exchange
-
Notifies this exchange that a WebSocket upgrade has failed.
- WebSocketWriter - Class in org.miaixz.bus.http.socket
-
A writer for WebSocket protocol frames.
- WINDOWS_PHONE - Static variable in class org.miaixz.bus.http.metric.anget.Device
-
Represents a Windows Phone device.
- windowUpdate(int, long) - Method in class org.miaixz.bus.http.metric.http.Http2Writer
-
Inform peer that an additional
windowSizeIncrementbytes can be sent onstreamId, or on the connection ifstreamIdis zero. - withCertificateChainCleaner(CertificateChainCleaner) - Method in class org.miaixz.bus.http.secure.CertificatePinner
-
Returns a new certificate pinner that uses
certificateChainCleaner. - withCharset(Charset) - Method in class org.miaixz.bus.http.secure.Challenge
-
Returns a copy of this challenge with the
charsetauth param set. - 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
-
Sets the connect timeout for this chain.
- 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
-
Configures the read timeout for this chain.
- 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
-
Configures the write timeout for this chain.
- write(OutputStream) - Method in class org.miaixz.bus.http.plugin.soap.SoapBuilder
-
Writes the XML content of the SOAP message to an output stream.
- writeAbortCount() - Method in class org.miaixz.bus.http.cache.Cache
-
Returns the number of writes to the cache that were aborted.
- writeData(int, boolean, Buffer, long) - Method in class org.miaixz.bus.http.metric.http.Http2Connection
-
The caller of this method is not thread-safe and may be on an application thread.
- 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
-
Writes the request headers to the network.
- 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
-
Writes the request headers to the stream.
- writeRequestHeaders(Request) - Method in interface org.miaixz.bus.http.metric.http.HttpCodec
-
Writes the request headers to the network.
- writeSuccessCount() - Method in class org.miaixz.bus.http.cache.Cache
-
Returns the number of writes to the cache that were successful.
- writeTimeout() - Method in class org.miaixz.bus.http.metric.http.Http2Stream
-
Returns the timeout for writing to this stream.
- writeTimeout(long, TimeUnit) - Method in class org.miaixz.bus.http.Httpd.Builder
-
Sets the default write timeout for new connections.
- writeTimeout(long, TimeUnit) - Method in class org.miaixz.bus.http.plugin.httpz.HttpBuilder
-
Sets the default write timeout for new connections.
- writeTimeout(Duration) - Method in class org.miaixz.bus.http.Httpd.Builder
-
Sets the default write timeout for new connections.
- writeTimeoutMillis() - Method in class org.miaixz.bus.http.Httpd
-
Returns the default timeout for writing data to a connection in milliseconds.
- writeTimeoutMillis() - Method in class org.miaixz.bus.http.metric.http.RealInterceptorChain
- writeTimeoutMillis() - Method in interface org.miaixz.bus.http.metric.NewChain
-
Returns the write timeout in milliseconds.
- writeTo(BufferSink) - Method in class org.miaixz.bus.http.bodys.FormBody
-
Writes the content of this request body to the given sink.
- writeTo(BufferSink) - Method in class org.miaixz.bus.http.bodys.MultipartBody
-
Writes the content of this request body to the given sink.
- writeTo(BufferSink) - Method in class org.miaixz.bus.http.bodys.RequestBody
-
Writes the content of this request body to the given sink.
- writeTo(BufferSink) - Method in class org.miaixz.bus.http.plugin.httpv.ProgressBody
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
HttpBuilder.sslSocketFactory(SSLSocketFactory, X509TrustManager)instead.