Uses of Interface
com.guinetik.rr.http.RocketClient
-
Packages that use RocketClient Package Description com.guinetik.rr.api com.guinetik.rr.auth com.guinetik.rr.http com.guinetik.rr.interceptor -
-
Uses of RocketClient in com.guinetik.rr.api
Fields in com.guinetik.rr.api declared as RocketClient Modifier and Type Field Description protected RocketClientAbstractApiClient. httpClientConstructors in com.guinetik.rr.api with parameters of type RocketClient Constructor Description AbstractApiClient(String baseUrl, RocketRestConfig config, RocketClient httpClient)Creates a new API client.DefaultApiClient(String baseUrl, RocketRestConfig config, RocketClient client)Creates a new DefaultApiClient with the specified base URL, configuration and a custom client. -
Uses of RocketClient in com.guinetik.rr.auth
Methods in com.guinetik.rr.auth with parameters of type RocketClient Modifier and Type Method Description static booleanRocketSSL. configureSsl(RocketClient client, RocketRestConfig config)Configures SSL for a client if the provided config implements SSLAware and has a custom certificate enabled. -
Uses of RocketClient in com.guinetik.rr.http
Classes in com.guinetik.rr.http that implement RocketClient Modifier and Type Class Description classAsyncHttpClientAsynchronous HTTP client that executes requests on a dedicated thread pool.classCircuitBreakerClientDecorator that adds circuit breaker resilience pattern to anyRocketClient.classDefaultHttpClientDefault implementation ofRocketClientusing Java's built-inHttpURLConnection.classFluentHttpClientHTTP client using the Result pattern for exception-free error handling.classMockRocketClientMock implementation ofRocketClientfor unit testing without network requests.Methods in com.guinetik.rr.http that return RocketClient Modifier and Type Method Description RocketClientRocketClientFactory.Builder. build()Builds a synchronous RocketClient with the configured settings.static RocketClientRocketClientFactory. createDefaultClient(RocketRestConfig config)Creates a default HTTP client with the given config.Method parameters in com.guinetik.rr.http with type arguments of type RocketClient Modifier and Type Method Description RocketClientFactory.BuilderRocketClientFactory.Builder. withCustomDecorator(UnaryOperator<RocketClient> decorator)Adds a custom decorator function that will be applied to the client.Constructors in com.guinetik.rr.http with parameters of type RocketClient Constructor Description AsyncHttpClient(RocketClient delegate, ExecutorService executor)Creates a new AsyncHttpClient with the specified delegate client and executor.CircuitBreakerClient(RocketClient delegate)Creates a circuit breaker with default settingsCircuitBreakerClient(RocketClient delegate, int failureThreshold, long resetTimeoutMs)Creates a circuit breaker with custom threshold and timeoutCircuitBreakerClient(RocketClient delegate, int failureThreshold, long resetTimeoutMs, long failureDecayTimeMs, CircuitBreakerClient.FailurePolicy failurePolicy, Predicate<RocketRestException> failurePredicate)Creates a fully customized circuit breakerFluentHttpClient(RocketClient delegate, String baseUrl, RocketRestOptions clientOptions)Creates a new FluentHttpClient that delegates to the specified RocketClient. -
Uses of RocketClient in com.guinetik.rr.interceptor
Classes in com.guinetik.rr.interceptor that implement RocketClient Modifier and Type Class Description classInterceptingClientDecorator that adds interceptor chain support to anyRocketClient.Constructors in com.guinetik.rr.interceptor with parameters of type RocketClient Constructor Description InterceptingClient(RocketClient delegate, List<RequestInterceptor> interceptors)Creates an intercepting client with the given interceptors.InterceptingClient(RocketClient delegate, List<RequestInterceptor> interceptors, int maxRetries)Creates an intercepting client with the given interceptors and retry limit.
-