Uses of Interface
com.github.mizosoft.methanol.Methanol.Interceptor
Packages that use Methanol.Interceptor
-
Uses of Methanol.Interceptor in com.github.mizosoft.methanol
Classes in com.github.mizosoft.methanol that implement Methanol.InterceptorModifier and TypeClassDescriptionfinal classAn interceptor that retries HTTP requests based on configurable conditions.Methods in com.github.mizosoft.methanol that return Methanol.InterceptorModifier and TypeMethodDescriptionstatic Methanol.InterceptorMethanol.Interceptor.create(Function<HttpRequest, HttpRequest> operator) Returns an interceptor that forwards the request after applying the given operator.Methods in com.github.mizosoft.methanol that return types with arguments of type Methanol.InterceptorModifier and TypeMethodDescriptionMethanol.backendInterceptors()Returns an immutable list of this client'sbackend interceptors.Methanol.interceptors()Returns an immutable list of this client'sinterceptors.Methanol.postDecorationInterceptors()Deprecated.Methods in com.github.mizosoft.methanol with parameters of type Methanol.InterceptorModifier and TypeMethodDescriptionMethanol.BaseBuilder.backendInterceptor(Methanol.Interceptor interceptor) Adds an interceptor that is invoked right before the request is forwarded to the client's backend.Methanol.BaseBuilder.interceptor(Methanol.Interceptor interceptor) Adds an interceptor that is invoked right after the client receives a request.final BMethanol.BaseBuilder.postDecorationInterceptor(Methanol.Interceptor interceptor) Deprecated. -
Uses of Methanol.Interceptor in com.github.mizosoft.methanol.internal.cache
Classes in com.github.mizosoft.methanol.internal.cache that implement Methanol.InterceptorModifier and TypeClassDescriptionfinal classAnMethanol.Interceptorthat serves incoming requests from cache, network, both (in case of successful/failed revalidation), or none (in case of unsatisfiable requests).final classAnMethanol.Interceptorthat follows redirects.
Methanol.backendInterceptors()