Uses of Interface
com.github.mizosoft.methanol.Methanol.Interceptor
-
Packages that use Methanol.Interceptor Package Description com.github.mizosoft.methanol com.github.mizosoft.methanol.internal.cache -
-
Uses of Methanol.Interceptor in com.github.mizosoft.methanol
Classes in com.github.mizosoft.methanol that implement Methanol.Interceptor Modifier and Type Class Description classRetryInterceptorAn interceptor that retries HTTP requests based on configurable conditions.Methods in com.github.mizosoft.methanol that return Methanol.Interceptor Modifier and Type Method Description static Methanol.InterceptorMethanol.Interceptor. create(java.util.function.Function<java.net.http.HttpRequest,java.net.http.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.Interceptor Modifier and Type Method Description java.util.List<Methanol.Interceptor>Methanol. backendInterceptors()Returns an immutable list of this client'sbackend interceptors.java.util.List<Methanol.Interceptor>Methanol. interceptors()Returns an immutable list of this client'sinterceptors.java.util.List<Methanol.Interceptor>Methanol. postDecorationInterceptors()Deprecated.Methods in com.github.mizosoft.methanol with parameters of type Methanol.Interceptor Modifier and Type Method Description BMethanol.BaseBuilder. backendInterceptor(Methanol.Interceptor interceptor)Adds an interceptor that is invoked right before the request is forwarded to the client's backend.BMethanol.BaseBuilder. interceptor(Methanol.Interceptor interceptor)Adds an interceptor that is invoked right after the client receives a request.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.Interceptor Modifier and Type Class Description classCacheInterceptorAnMethanol.Interceptorthat serves incoming requests from cache, network, both (in case of successful/failed revalidation), or none (in case of unsatisfiable requests).classRedirectingInterceptorAnMethanol.Interceptorthat follows redirects.
-