Uses of Interface
org.miaixz.bus.http.metric.Interceptor
Packages that use Interceptor
Package
Description
An HTTP client for Java applications.
Provides internal implementation details for the HTTP client, including connection management, streams, and routing.
Provides classes for caching HTTP responses.
Provides the internal implementation of the HTTP/1.1 and HTTP/2 protocols.
Provides a fluent, builder-based API (Httpz) for making HTTP requests, simplifying interactions with the core
Httpd client.-
Uses of Interceptor in org.miaixz.bus.http
Methods in org.miaixz.bus.http that return types with arguments of type InterceptorModifier and TypeMethodDescriptionHttpd.Builder.interceptors()Returns a mutable list of the application interceptors that observe the full span of each call.Httpd.interceptors()Returns the list of application interceptors.Httpd.Builder.networkInterceptors()Returns a mutable list of the network interceptors that observe a single network request and response.Httpd.networkInterceptors()Returns the list of network interceptors.Methods in org.miaixz.bus.http with parameters of type InterceptorModifier and TypeMethodDescriptionHttpd.Builder.addInterceptor(Interceptor interceptor) Adds an application interceptor.Httpd.Builder.addNetworkInterceptor(Interceptor interceptor) Adds a network interceptor. -
Uses of Interceptor in org.miaixz.bus.http.accord
Classes in org.miaixz.bus.http.accord that implement InterceptorModifier and TypeClassDescriptionfinal classAn interceptor that opens a connection to the target server and proceeds to the next interceptor. -
Uses of Interceptor in org.miaixz.bus.http.cache
Classes in org.miaixz.bus.http.cache that implement InterceptorModifier and TypeClassDescriptionclassAn interceptor that serves requests from the cache and writes responses to the cache. -
Uses of Interceptor in org.miaixz.bus.http.metric.http
Classes in org.miaixz.bus.http.metric.http that implement InterceptorModifier and TypeClassDescriptionfinal classBridges from application code to network code.classThis is the last interceptor in the chain.classThis interceptor recovers from failures and follows redirects as necessary.Constructor parameters in org.miaixz.bus.http.metric.http with type arguments of type InterceptorModifierConstructorDescriptionRealInterceptorChain(List<Interceptor> interceptors, Transmitter transmitter, Exchange exchange, int index, Request request, NewCall call, int connectTimeout, int readTimeout, int writeTimeout) -
Uses of Interceptor in org.miaixz.bus.http.plugin.httpz
Classes in org.miaixz.bus.http.plugin.httpz that implement InterceptorModifier and TypeClassDescriptionclassAn abstractInterceptorthat adds a download progress listener to the response body.Methods in org.miaixz.bus.http.plugin.httpz with parameters of type InterceptorModifier and TypeMethodDescriptionHttpBuilder.addInterceptor(Interceptor interceptor) Adds an application interceptor to this client.HttpBuilder.addNetworkInterceptor(Interceptor interceptor) Adds a network interceptor to this client.