Uses of Class
com.guinetik.rr.http.RocketRestException
-
Packages that use RocketRestException Package Description com.guinetik.rr.api com.guinetik.rr.auth com.guinetik.rr.http com.guinetik.rr.interceptor -
-
Uses of RocketRestException in com.guinetik.rr.api
Subclasses of RocketRestException in com.guinetik.rr.api Modifier and Type Class Description classApiExceptionException thrown when an API request fails with rich error details. -
Uses of RocketRestException in com.guinetik.rr.auth
Subclasses of RocketRestException in com.guinetik.rr.auth Modifier and Type Class Description classTokenExpiredExceptionException thrown when an API request fails due to token expiration. -
Uses of RocketRestException in com.guinetik.rr.http
Subclasses of RocketRestException in com.guinetik.rr.http Modifier and Type Class Description classCircuitBreakerOpenExceptionException thrown when a request is rejected due to an open circuit breaker.Method parameters in com.guinetik.rr.http with type arguments of type RocketRestException Modifier and Type Method Description RocketClientFactory.BuilderRocketClientFactory.Builder. withFailurePredicate(Predicate<RocketRestException> failurePredicate)Sets a custom failure predicate for the circuit breaker.Methods in com.guinetik.rr.http that throw RocketRestException Modifier and Type Method Description <Req,Res>
ResAsyncHttpClient. execute(RequestSpec<Req,Res> requestSpec)<Req,Res>
ResCircuitBreakerClient. execute(RequestSpec<Req,Res> requestSpec)<Req,Res>
ResDefaultHttpClient. execute(RequestSpec<Req,Res> requestSpec)<Req,Res>
ResFluentHttpClient. execute(RequestSpec<Req,Res> requestSpec)<Req,Res>
ResMockRocketClient. execute(RequestSpec<Req,Res> requestSpec)<Req,Res>
ResRocketClient. execute(RequestSpec<Req,Res> requestSpec)Executes an HTTP request based on the provided request specification.Constructor parameters in com.guinetik.rr.http with type arguments of type RocketRestException Constructor Description CircuitBreakerClient(RocketClient delegate, int failureThreshold, long resetTimeoutMs, long failureDecayTimeMs, CircuitBreakerClient.FailurePolicy failurePolicy, Predicate<RocketRestException> failurePredicate)Creates a fully customized circuit breaker -
Uses of RocketRestException in com.guinetik.rr.interceptor
Methods in com.guinetik.rr.interceptor with parameters of type RocketRestException Modifier and Type Method Description default <Req,Res>
ResRequestInterceptor. onError(RocketRestException e, RequestSpec<Req,Res> request, InterceptorChain chain)Called when an exception occurs during request execution.<Req,Res>
ResRetryInterceptor. onError(RocketRestException e, RequestSpec<Req,Res> request, InterceptorChain chain)Method parameters in com.guinetik.rr.interceptor with type arguments of type RocketRestException Modifier and Type Method Description RetryInterceptor.BuilderRetryInterceptor.Builder. retryOn(Predicate<RocketRestException> predicate)Sets a custom predicate to determine if an exception should trigger retry.Methods in com.guinetik.rr.interceptor that throw RocketRestException Modifier and Type Method Description <Req,Res>
ResInterceptingClient. execute(RequestSpec<Req,Res> requestSpec)default <Req,Res>
ResRequestInterceptor. onError(RocketRestException e, RequestSpec<Req,Res> request, InterceptorChain chain)Called when an exception occurs during request execution.<Req,Res>
ResRetryInterceptor. onError(RocketRestException e, RequestSpec<Req,Res> request, InterceptorChain chain)<Req,Res>
ResInterceptorChain. retry(RequestSpec<Req,Res> request)Retries the request from the beginning of the chain.Constructor parameters in com.guinetik.rr.interceptor with type arguments of type RocketRestException Constructor Description RetryInterceptor(int maxRetries, long initialDelayMs, double backoffMultiplier, long maxDelayMs, Predicate<RocketRestException> retryPredicate)Creates a fully customized retry interceptor.
-