Package io.github.resilience4j.retrofit
Class RetrofitRateLimiter.RateLimitingCall<T>
java.lang.Object
io.github.resilience4j.retrofit.internal.DecoratedCall<T>
io.github.resilience4j.retrofit.RetrofitRateLimiter.RateLimitingCall<T>
- All Implemented Interfaces:
java.lang.Cloneable,retrofit2.Call<T>
- Enclosing interface:
- RetrofitRateLimiter
public static class RetrofitRateLimiter.RateLimitingCall<T> extends DecoratedCall<T>
-
Constructor Summary
Constructors Constructor Description RateLimitingCall(retrofit2.Call<T> call, io.github.resilience4j.ratelimiter.RateLimiter rateLimiter) -
Method Summary
Methods inherited from class io.github.resilience4j.retrofit.internal.DecoratedCall
cancel, isCanceled, isExecuted, request
-
Constructor Details
-
RateLimitingCall
public RateLimitingCall(retrofit2.Call<T> call, io.github.resilience4j.ratelimiter.RateLimiter rateLimiter)
-
-
Method Details
-
enqueue
- Specified by:
enqueuein interfaceretrofit2.Call<T>- Overrides:
enqueuein classDecoratedCall<T>
-
execute
- Specified by:
executein interfaceretrofit2.Call<T>- Overrides:
executein classDecoratedCall<T>- Throws:
java.io.IOException
-
clone
- Specified by:
clonein interfaceretrofit2.Call<T>- Specified by:
clonein classDecoratedCall<T>
-