A B C D E F G H I J L M N O P Q R S T U V W
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- AbilityInfo() - Constructor for class com.guinetik.examples.PokeApiExample.AbilityInfo
- AbilityListResponse() - Constructor for class com.guinetik.examples.PokeApiExample.AbilityListResponse
- AbstractApiClient - Class in com.guinetik.rr.api
-
Abstract base class for API clients providing common HTTP request handling.
- AbstractApiClient(String, RocketRestConfig, RocketClient) - Constructor for class com.guinetik.rr.api.AbstractApiClient
-
Creates a new API client.
- AbstractOAuth2Strategy - Class in com.guinetik.rr.auth
-
Abstract base class for OAuth 2.0 authentication strategies.
- AbstractOAuth2Strategy(String, Map<String, String>) - Constructor for class com.guinetik.rr.auth.AbstractOAuth2Strategy
-
Creates a new OAuth 2.0 strategy with additional parameters.
- accept(String) - Method in class com.guinetik.rr.http.RocketHeaders
-
Sets the Accept header.
- ACCEPT - Static variable in class com.guinetik.rr.http.RocketHeaders.Names
- ACCEPTED - Static variable in class com.guinetik.rr.http.HttpConstants.StatusCodes
-
Status code (202): Request has been accepted for processing
- accessToken - Variable in class com.guinetik.rr.auth.AbstractOAuth2Strategy
- additionalParams - Variable in class com.guinetik.rr.auth.AbstractOAuth2Strategy
- addMockResponse(String, String, BiFunction<String, Object, Object>) - Method in class com.guinetik.rr.http.MockRocketClient
-
Adds a mock response for a specific HTTP method and URL pattern.
- addMockResponse(String, String, BiFunction<String, Object, Object>) - Method in class com.guinetik.rr.RocketRestMock
-
Adds a mock response for a specific HTTP method and exact URL match.
- addMockResponse(String, String, BiFunction<String, Object, Object>, boolean) - Method in class com.guinetik.rr.RocketRestMock
-
Adds a mock response with the option to use regex pattern matching for URLs.
- AdpApiExample - Class in com.guinetik.examples
-
Example demonstrating how to call the ADP API using: 1.
- AdpApiExample() - Constructor for class com.guinetik.examples.AdpApiExample
- afterResponse(Res, RequestSpec<?, Res>) - Method in interface com.guinetik.rr.interceptor.RequestInterceptor
-
Called after a successful response is received.
- ALL_EXCEPTIONS - com.guinetik.rr.http.CircuitBreakerClient.FailurePolicy
-
Counts all exceptions as failures
- ApiError - Class in com.guinetik.rr.result
-
Represents an API error in the
Resultpattern. - ApiError(String, int, String, ApiError.ErrorType) - Constructor for class com.guinetik.rr.result.ApiError
-
Constructs a new ApiError with the specified parameters.
- ApiError.ErrorType - Enum in com.guinetik.rr.result
-
Enum representing different types of errors that can occur.
- ApiException - Exception in com.guinetik.rr.api
-
Exception thrown when an API request fails with rich error details.
- ApiException(String) - Constructor for exception com.guinetik.rr.api.ApiException
-
Creates a new ApiException with just a message.
- ApiException(String, String, String, int) - Constructor for exception com.guinetik.rr.api.ApiException
-
Creates a new ApiException with full error details.
- ApiException(String, Throwable) - Constructor for exception com.guinetik.rr.api.ApiException
-
Creates a new ApiException with a message and cause.
- ApodResponse() - Constructor for class com.guinetik.examples.NasaApodExample.ApodResponse
- APPLICATION_FORM - Static variable in class com.guinetik.rr.http.RocketHeaders.ContentTypes
- APPLICATION_JSON - Static variable in class com.guinetik.rr.http.RocketHeaders.ContentTypes
- applyAuthHeaders(RocketHeaders) - Method in class com.guinetik.rr.auth.AbstractOAuth2Strategy
- applyAuthHeaders(RocketHeaders) - Method in interface com.guinetik.rr.auth.AuthStrategy
-
Applies authentication headers to an existing HttpHeader object.
- applyAuthHeaders(RocketHeaders) - Method in class com.guinetik.rr.auth.BasicAuthStrategy
- applyAuthHeaders(RocketHeaders) - Method in class com.guinetik.rr.auth.BearerTokenStrategy
- applyAuthHeaders(RocketHeaders) - Method in class com.guinetik.rr.auth.NoAuthStrategy
- asMap() - Method in class com.guinetik.rr.http.RocketHeaders
-
Gets all headers as a Map.
- Astronomy() - Constructor for class com.guinetik.examples.WeatherExample.Astronomy
- async() - Method in class com.guinetik.rr.RocketRest
-
Gets the asynchronous API interface.
- async() - Method in class com.guinetik.rr.RocketRestMock
-
Provides a mock implementation for async API calls.
- ASYNC_POOL_SIZE - Static variable in class com.guinetik.rr.RocketRestOptions
- AsyncApiClient - Class in com.guinetik.rr.api
-
Asynchronous API client that returns
CompletableFuturefor non-blocking operations. - AsyncApiClient(String, RocketRestConfig, AsyncHttpClient) - Constructor for class com.guinetik.rr.api.AsyncApiClient
-
Creates a new AsyncApiClient with the specified base URL, configuration, and a pre-configured AsyncHttpClient instance.
- AsyncApiClient(String, RocketRestConfig, ExecutorService) - Constructor for class com.guinetik.rr.api.AsyncApiClient
-
Creates a new AsyncApiClient with the specified base URL, configuration, and executor.
- AsyncHttpClient - Class in com.guinetik.rr.http
-
Asynchronous HTTP client that executes requests on a dedicated thread pool.
- AsyncHttpClient(RocketClient, ExecutorService) - Constructor for class com.guinetik.rr.http.AsyncHttpClient
-
Creates a new AsyncHttpClient with the specified delegate client and executor.
- AsyncHttpClient(String, RocketRestOptions, ExecutorService) - Constructor for class com.guinetik.rr.http.AsyncHttpClient
-
Creates a new AsyncHttpClient with a DefaultHttpClient as the delegate and client options.
- AsyncHttpClient(String, ExecutorService) - Constructor for class com.guinetik.rr.http.AsyncHttpClient
-
Creates a new AsyncHttpClient with a DefaultHttpClient as the delegate.
- AUTH_ERROR - com.guinetik.rr.result.ApiError.ErrorType
-
Authentication/authorization error
- authError(String, int, String) - Static method in class com.guinetik.rr.result.ApiError
-
Constructs an authentication error.
- AUTHORIZATION - Static variable in class com.guinetik.rr.http.RocketHeaders.Names
- authStrategy(AuthStrategy) - Method in class com.guinetik.rr.RocketRestConfig.Builder
-
Sets the authentication strategy.
- authStrategy(AuthStrategy) - Method in class com.guinetik.rr.RocketRestSecureConfig.SecureBuilder
- AuthStrategy - Interface in com.guinetik.rr.auth
-
Interface for authentication strategies used by RocketRest.
- AuthStrategy.AuthType - Enum in com.guinetik.rr.auth
-
Enum representing different authentication types.
- AuthStrategyFactory - Class in com.guinetik.rr.auth
-
Factory for creating
AuthStrategyinstances. - AuthStrategyFactory() - Constructor for class com.guinetik.rr.auth.AuthStrategyFactory
B
- backoffMultiplier(double) - Method in class com.guinetik.rr.interceptor.RetryInterceptor.Builder
-
Sets the backoff multiplier for exponential backoff.
- BAD_GATEWAY - Static variable in class com.guinetik.rr.http.HttpConstants.StatusCodes
-
Status code (502): Server received an invalid response from an upstream server
- BAD_REQUEST - Static variable in class com.guinetik.rr.http.HttpConstants.StatusCodes
-
Status code (400): Server cannot process request due to client error
- baseUrl - Variable in class com.guinetik.rr.api.AbstractApiClient
- BASIC - com.guinetik.rr.auth.AuthStrategy.AuthType
- basicAuth(String, String) - Method in class com.guinetik.rr.http.RocketHeaders
-
Sets the Authorization header with Basic authentication.
- BasicAuthStrategy - Class in com.guinetik.rr.auth
-
Authentication strategy that uses HTTP Basic authentication.
- BasicAuthStrategy(String, String) - Constructor for class com.guinetik.rr.auth.BasicAuthStrategy
-
Creates a new BasicAuthStrategy.
- BEARER_TOKEN - com.guinetik.rr.auth.AuthStrategy.AuthType
- bearerAuth(String) - Method in class com.guinetik.rr.http.RocketHeaders
-
Sets the Authorization header with a Bearer token.
- BearerTokenStrategy - Class in com.guinetik.rr.auth
-
Authentication strategy that uses Bearer token authentication.
- BearerTokenStrategy(String) - Constructor for class com.guinetik.rr.auth.BearerTokenStrategy
-
Creates a new BearerTokenStrategy with no custom refresh logic.
- BearerTokenStrategy(String, BooleanSupplier) - Constructor for class com.guinetik.rr.auth.BearerTokenStrategy
-
Creates a new BearerTokenStrategy with custom token refresh logic.
- beforeRequest(RequestSpec<Req, Res>) - Method in interface com.guinetik.rr.interceptor.RequestInterceptor
-
Called before a request is executed.
- body(Req) - Method in class com.guinetik.rr.request.RequestBuilder
-
Sets the body of the request.
- build() - Method in class com.guinetik.rr.http.RocketClientFactory.Builder
-
Builds a synchronous RocketClient with the configured settings.
- build() - Method in class com.guinetik.rr.interceptor.RetryInterceptor.Builder
-
Builds the RetryInterceptor with configured settings.
- build() - Method in class com.guinetik.rr.request.RequestBuilder
-
Builds and returns a
RequestSpecinstance. - build() - Method in class com.guinetik.rr.RocketRestConfig.Builder
-
Builds a new RocketRestConfig instance.
- build() - Method in class com.guinetik.rr.RocketRestSecureConfig.SecureBuilder
-
Builds a new RocketRestSecureConfig instance.
- buildAsync() - Method in class com.guinetik.rr.http.RocketClientFactory.Builder
-
Builds an asynchronous RocketClient with the configured settings.
- builder() - Static method in class com.guinetik.rr.interceptor.RetryInterceptor
-
Creates a builder for custom retry configuration.
- builder(String) - Static method in class com.guinetik.rr.http.RocketClientFactory
-
Creates a builder for constructing RocketClient instances.
- builder(String) - Static method in class com.guinetik.rr.RocketRestConfig
-
Creates a new builder for RocketRestConfig.
- Builder() - Constructor for class com.guinetik.rr.interceptor.RetryInterceptor.Builder
- Builder(String) - Constructor for class com.guinetik.rr.RocketRestConfig.Builder
- buildFluent() - Method in class com.guinetik.rr.http.RocketClientFactory.Builder
-
Builds a fluent HTTP client with the configured settings.
C
- CIRCUIT_BREAKER_ENABLED - Static variable in class com.guinetik.rr.http.HttpConstants.CircuitBreaker
-
Configuration option key for enabling/disabling circuit breaker
- CIRCUIT_BREAKER_FAILURE_POLICY - Static variable in class com.guinetik.rr.http.HttpConstants.CircuitBreaker
-
Configuration option key for setting failure policy
- CIRCUIT_BREAKER_FAILURE_THRESHOLD - Static variable in class com.guinetik.rr.http.HttpConstants.CircuitBreaker
-
Configuration option key for setting failure threshold
- CIRCUIT_BREAKER_POLICY_SERVER_ONLY - Static variable in class com.guinetik.rr.http.HttpConstants.CircuitBreaker
-
Configuration option value for server-errors-only failure policy
- CIRCUIT_BREAKER_RESET_TIMEOUT_MS - Static variable in class com.guinetik.rr.http.HttpConstants.CircuitBreaker
-
Configuration option key for setting reset timeout
- CIRCUIT_OPEN - com.guinetik.rr.result.ApiError.ErrorType
-
Circuit breaker is open
- CIRCUIT_OPEN - Static variable in class com.guinetik.rr.http.HttpConstants.CircuitBreaker
-
Error message when the circuit is open
- CircuitBreaker() - Constructor for class com.guinetik.rr.http.HttpConstants.CircuitBreaker
- CircuitBreakerClient - Class in com.guinetik.rr.http
-
Decorator that adds circuit breaker resilience pattern to any
RocketClient. - CircuitBreakerClient(RocketClient) - Constructor for class com.guinetik.rr.http.CircuitBreakerClient
-
Creates a circuit breaker with default settings
- CircuitBreakerClient(RocketClient, int, long) - Constructor for class com.guinetik.rr.http.CircuitBreakerClient
-
Creates a circuit breaker with custom threshold and timeout
- CircuitBreakerClient(RocketClient, int, long, long, CircuitBreakerClient.FailurePolicy, Predicate<RocketRestException>) - Constructor for class com.guinetik.rr.http.CircuitBreakerClient
-
Creates a fully customized circuit breaker
- CircuitBreakerClient.FailurePolicy - Enum in com.guinetik.rr.http
-
Strategy for differentiating between failures
- CircuitBreakerClient.State - Enum in com.guinetik.rr.http
-
Circuit breaker state
- CircuitBreakerOpenException - Exception in com.guinetik.rr.http
-
Exception thrown when a request is rejected due to an open circuit breaker.
- CircuitBreakerOpenException(String) - Constructor for exception com.guinetik.rr.http.CircuitBreakerOpenException
-
Creates a new CircuitBreakerOpenException with the specified message.
- CircuitBreakerOpenException(String, long, long) - Constructor for exception com.guinetik.rr.http.CircuitBreakerOpenException
-
Creates a new CircuitBreakerOpenException with the specified message and timing information about when the circuit might reset.
- CircuitBreakerOpenException(String, Throwable, long, long) - Constructor for exception com.guinetik.rr.http.CircuitBreakerOpenException
-
Creates a new CircuitBreakerOpenException with the specified message, cause, and timing information about when the circuit might reset.
- circuitOpenError(String) - Static method in class com.guinetik.rr.result.ApiError
-
Constructs a circuit breaker open error.
- CLIENT_ERROR_MAX - Static variable in class com.guinetik.rr.http.HttpConstants.StatusCodes
-
Maximum status code for client error responses (400-499)
- CLIENT_ERROR_MIN - Static variable in class com.guinetik.rr.http.HttpConstants.StatusCodes
-
Minimum status code for client error responses (400-499)
- CLOSED - com.guinetik.rr.http.CircuitBreakerClient.State
-
Normal operation -
HttpConstants.CircuitBreaker.STATUS_CLOSED - com.guinetik.examples - package com.guinetik.examples
- com.guinetik.rr - package com.guinetik.rr
- com.guinetik.rr.api - package com.guinetik.rr.api
- com.guinetik.rr.auth - package com.guinetik.rr.auth
- com.guinetik.rr.http - package com.guinetik.rr.http
- com.guinetik.rr.interceptor - package com.guinetik.rr.interceptor
- com.guinetik.rr.json - package com.guinetik.rr.json
- com.guinetik.rr.request - package com.guinetik.rr.request
- com.guinetik.rr.result - package com.guinetik.rr.result
- com.guinetik.rr.util - package com.guinetik.rr.util
- config - Variable in class com.guinetik.rr.api.AbstractApiClient
- CONFIG_ERROR - com.guinetik.rr.result.ApiError.ErrorType
-
Client configuration error
- configError(String) - Static method in class com.guinetik.rr.result.ApiError
-
Constructs a configuration error.
- configure(String, Object) - Method in class com.guinetik.rr.api.AbstractApiClient
-
Sets a client option value.
- configure(String, Object) - Method in class com.guinetik.rr.RocketRest
-
Configures a client option with the specified value.
- configureSsl(RocketClient, RocketRestConfig) - Static method in class com.guinetik.rr.auth.RocketSSL
-
Configures SSL for a client if the provided config implements SSLAware and has a custom certificate enabled.
- configureSsl(SSLContext) - Method in class com.guinetik.rr.auth.AbstractOAuth2Strategy
-
Sets the SSL context for secure token requests.
- configureSsl(SSLContext) - Method in interface com.guinetik.rr.auth.RocketSSL.SSLAware
-
Sets the SSL context to be used for HTTPS requests made by the strategy.
- configureSsl(SSLContext) - Method in class com.guinetik.rr.http.AsyncHttpClient
- configureSsl(SSLContext) - Method in class com.guinetik.rr.http.CircuitBreakerClient
- configureSsl(SSLContext) - Method in class com.guinetik.rr.http.DefaultHttpClient
- configureSsl(SSLContext) - Method in class com.guinetik.rr.http.FluentHttpClient
- configureSsl(SSLContext) - Method in class com.guinetik.rr.http.MockRocketClient
- configureSsl(SSLContext) - Method in interface com.guinetik.rr.http.RocketClient
-
Sets the SSL context to be used for HTTPS requests.
- configureSsl(SSLContext) - Method in class com.guinetik.rr.interceptor.InterceptingClient
- CONFLICT - Static variable in class com.guinetik.rr.http.HttpConstants.StatusCodes
-
Status code (409): Request conflicts with current state of the server
- contains(String) - Method in class com.guinetik.rr.http.RocketHeaders
-
Checks if a header is present.
- contains(String) - Method in class com.guinetik.rr.RocketRestOptions
- CONTENT_LENGTH - Static variable in class com.guinetik.rr.http.RocketHeaders.Names
- CONTENT_TYPE - Static variable in class com.guinetik.rr.http.RocketHeaders.Names
- contentType(String) - Method in class com.guinetik.rr.http.RocketHeaders
-
Sets the Content-Type header.
- ContentTypes() - Constructor for class com.guinetik.rr.http.RocketHeaders.ContentTypes
- copyright - Variable in class com.guinetik.examples.NasaApodExample.ApodResponse
- createBasicAuth(String, String) - Static method in class com.guinetik.rr.auth.AuthStrategyFactory
-
Creates a strategy that uses HTTP Basic authentication.
- createBearerToken(String) - Static method in class com.guinetik.rr.auth.AuthStrategyFactory
-
Creates a strategy that uses Bearer token authentication.
- createBearerToken(String, BooleanSupplier) - Static method in class com.guinetik.rr.auth.AuthStrategyFactory
-
Creates a strategy that uses Bearer token authentication with custom refresh logic.
- CREATED - Static variable in class com.guinetik.rr.http.HttpConstants.StatusCodes
-
Status code (201): Request has succeeded and new resource has been created
- createDefaultClient(RocketRestConfig) - Static method in class com.guinetik.rr.http.RocketClientFactory
-
Creates a default HTTP client with the given config.
- createFluentClient(RocketRestConfig) - Static method in class com.guinetik.rr.http.RocketClientFactory
-
Creates a fluent HTTP client with the given config.
- createFluentClient(String) - Static method in class com.guinetik.rr.http.RocketClientFactory
-
Creates a fluent HTTP client with the given base URL.
- createHeaders(Map<String, String>) - Method in class com.guinetik.rr.api.AbstractApiClient
-
Creates a map of HTTP headers, including default headers, authorization headers, and any custom headers provided.
- createNoAuth() - Static method in class com.guinetik.rr.auth.AuthStrategyFactory
-
Creates a strategy that does not perform authentication.
- createOAuth2Assertion(String, String, String, String, String, String, String) - Static method in class com.guinetik.rr.auth.AuthStrategyFactory
-
Creates a strategy that uses OAuth 2.0 assertion flow.
- createOAuth2Assertion(String, String, String, String, String, String, String, Map<String, String>, Map<String, String>) - Static method in class com.guinetik.rr.auth.AuthStrategyFactory
-
Creates a strategy that uses OAuth 2.0 assertion flow with additional parameters.
- createOAuth2ClientCredentials(String, String, String) - Static method in class com.guinetik.rr.auth.AuthStrategyFactory
-
Creates a strategy that uses OAuth 2.0 client credentials flow.
- createOAuth2ClientCredentials(String, String, String, Map<String, String>) - Static method in class com.guinetik.rr.auth.AuthStrategyFactory
-
Creates a strategy that uses OAuth 2.0 client credentials flow with additional parameters.
- createOAuth2Password(String, String, String) - Static method in class com.guinetik.rr.auth.AuthStrategyFactory
-
Creates a strategy that uses OAuth 2.0 password flow.
- createOAuth2Password(String, String, String, String, String) - Static method in class com.guinetik.rr.auth.AuthStrategyFactory
-
Creates a strategy that uses OAuth 2.0 password flow with client credentials.
- createOAuth2Password(String, String, String, String, String, Map<String, String>) - Static method in class com.guinetik.rr.auth.AuthStrategyFactory
-
Creates a strategy that uses OAuth 2.0 password flow with client credentials and additional parameters.
- CurrentCondition() - Constructor for class com.guinetik.examples.WeatherExample.CurrentCondition
- CUSTOM - com.guinetik.rr.http.CircuitBreakerClient.FailurePolicy
-
Use custom predicate
D
- DamageRelations() - Constructor for class com.guinetik.examples.PokeApiExample.DamageRelations
- date - Variable in class com.guinetik.examples.NasaApodExample.ApodResponse
- DEFAULT_CONNECT_TIMEOUT - Static variable in class com.guinetik.rr.http.HttpConstants.Timeouts
-
Default connection timeout in milliseconds (10 seconds)
- DEFAULT_FAILURE_DECAY_TIME_MS - Static variable in class com.guinetik.rr.http.HttpConstants.CircuitBreaker
-
Default time in milliseconds before failure count begins to decay (1 minute)
- DEFAULT_FAILURE_THRESHOLD - Static variable in class com.guinetik.rr.http.HttpConstants.CircuitBreaker
-
Default number of failures before opening the circuit
- DEFAULT_READ_TIMEOUT - Static variable in class com.guinetik.rr.http.HttpConstants.Timeouts
-
Default read timeout in milliseconds (30 seconds)
- DEFAULT_RESET_TIMEOUT_MS - Static variable in class com.guinetik.rr.http.HttpConstants.CircuitBreaker
-
Default timeout in milliseconds before attempting to half-open the circuit (30 seconds)
- DefaultApiClient - Class in com.guinetik.rr.api
-
Default synchronous API client implementation.
- DefaultApiClient(String, RocketRestConfig) - Constructor for class com.guinetik.rr.api.DefaultApiClient
-
Creates a new DefaultApiClient with the specified base URL and configuration.
- DefaultApiClient(String, RocketRestConfig, RocketClient) - Constructor for class com.guinetik.rr.api.DefaultApiClient
-
Creates a new DefaultApiClient with the specified base URL, configuration and a custom client.
- DefaultHttpClient - Class in com.guinetik.rr.http
-
Default implementation of
RocketClientusing Java's built-inHttpURLConnection. - DefaultHttpClient(String) - Constructor for class com.guinetik.rr.http.DefaultHttpClient
-
Creates a new DefaultHttpClient with the specified base URL.
- DefaultHttpClient(String, RocketRestOptions) - Constructor for class com.guinetik.rr.http.DefaultHttpClient
-
Creates a new DefaultHttpClient with the specified base URL and client options.
- defaultJson() - Static method in class com.guinetik.rr.http.RocketHeaders
-
Creates a set of default headers with JSON content type.
- defaultOption(String, Object) - Method in class com.guinetik.rr.RocketRestConfig.Builder
-
Sets a specific default client option.
- defaultOption(String, Object) - Method in class com.guinetik.rr.RocketRestSecureConfig.SecureBuilder
- defaultOptions(Consumer<RocketRestOptions>) - Method in class com.guinetik.rr.RocketRestConfig.Builder
-
Sets default client options that will be used by clients created with this config.
- defaultOptions(Consumer<RocketRestOptions>) - Method in class com.guinetik.rr.RocketRestSecureConfig.SecureBuilder
- delete(String) - Static method in class com.guinetik.rr.request.RequestBuilder
-
Creates a DELETE request builder for the specified endpoint.
- delete(String, Class<Res>) - Method in class com.guinetik.rr.api.FluentApiClient
-
Performs a DELETE request using the Result pattern.
- delete(String, Class<T>) - Method in interface com.guinetik.rr.RocketRest.AsyncApi
- delete(String, Class<T>) - Method in class com.guinetik.rr.RocketRest
-
Performs a synchronous DELETE request.
- delete(String, Class<T>) - Method in interface com.guinetik.rr.RocketRest.FluentApi
- delete(String, Class<T>) - Method in interface com.guinetik.rr.RocketRest.SyncApi
- delete(String, Map<String, String>, Class<Res>) - Method in class com.guinetik.rr.api.FluentApiClient
-
Performs a DELETE request with headers using the Result pattern.
- DELETE - Static variable in class com.guinetik.rr.http.HttpConstants.Methods
-
HTTP DELETE method
E
- ENCODE_PARAM - Static variable in class com.guinetik.rr.http.HttpConstants.Errors
-
Error message template for parameter encoding failure
- Encoding() - Constructor for class com.guinetik.rr.http.HttpConstants.Encoding
- endpoint(String) - Method in class com.guinetik.rr.request.RequestBuilder
-
Sets the API endpoint for the request.
- Errors() - Constructor for class com.guinetik.rr.http.HttpConstants.Errors
- Example - Interface in com.guinetik.examples
-
Interface for all RocketRest examples
- EXCLUDE_CLIENT_ERRORS - com.guinetik.rr.http.CircuitBreakerClient.FailurePolicy
-
Exclude status codes in range
HttpConstants.StatusCodes.CLIENT_ERROR_MIN(400) toHttpConstants.StatusCodes.CLIENT_ERROR_MAX(499) - execute(RequestSpec<Req, Res>) - Method in class com.guinetik.rr.api.AbstractApiClient
-
Executes the given request specification and returns the response.
- execute(RequestSpec<Req, Res>) - Method in class com.guinetik.rr.http.AsyncHttpClient
- execute(RequestSpec<Req, Res>) - Method in class com.guinetik.rr.http.CircuitBreakerClient
- execute(RequestSpec<Req, Res>) - Method in class com.guinetik.rr.http.DefaultHttpClient
- execute(RequestSpec<Req, Res>) - Method in class com.guinetik.rr.http.FluentHttpClient
- execute(RequestSpec<Req, Res>) - Method in class com.guinetik.rr.http.MockRocketClient
- execute(RequestSpec<Req, Res>) - Method in interface com.guinetik.rr.http.RocketClient
-
Executes an HTTP request based on the provided request specification.
- execute(RequestSpec<Req, Res>) - Method in class com.guinetik.rr.interceptor.InterceptingClient
- execute(RequestSpec<Req, Res>) - Method in interface com.guinetik.rr.RocketRest.AsyncApi
- execute(RequestSpec<Req, Res>) - Method in class com.guinetik.rr.RocketRest
-
Executes a synchronous request with the given request specification.
- execute(RequestSpec<Req, Res>) - Method in interface com.guinetik.rr.RocketRest.FluentApi
- execute(RequestSpec<Req, Res>) - Method in interface com.guinetik.rr.RocketRest.SyncApi
- execute(RequestSpec<Req, Res>) - Method in class com.guinetik.rr.RocketRestMock
- EXECUTE_REQUEST - Static variable in class com.guinetik.rr.http.HttpConstants.Errors
-
Error message for request execution failure
- executeAsync(RequestSpec<Req, Res>) - Method in class com.guinetik.rr.api.AsyncApiClient
-
Executes a request asynchronously.
- executeAsync(RequestSpec<Req, Res>) - Method in class com.guinetik.rr.http.AsyncHttpClient
-
Executes an HTTP request asynchronously.
- executeAsync(RequestSpec<Req, Res>) - Method in class com.guinetik.rr.RocketRestMock
- executeWithResult(RequestSpec<Req, Res>) - Method in class com.guinetik.rr.api.FluentApiClient
-
Executes a request and returns a Result object instead of throwing exceptions.
- executeWithResult(RequestSpec<Req, Res>) - Method in class com.guinetik.rr.http.FluentHttpClient
-
Executes a request and returns a Result object containing either the response or an error.
- executeWithRetry(RequestSpec<Req, Res>, int) - Method in class com.guinetik.rr.api.AbstractApiClient
-
Executes an API request with retry logic.
- executeWithTiming(RequestSpec<Req, Res>) - Method in class com.guinetik.rr.api.AbstractApiClient
-
Executes a request with timing measurement if enabled.
- explanation - Variable in class com.guinetik.examples.NasaApodExample.ApodResponse
- EXTENDED_TIMEOUT - Static variable in class com.guinetik.rr.http.HttpConstants.Timeouts
-
Extended timeout in milliseconds for operations that might take longer (60 seconds)
F
- failure(E) - Static method in class com.guinetik.rr.result.Result
-
Creates a failed Result containing the given error.
- FakeJsonApiExample - Class in com.guinetik.examples
-
Example that demonstrates fetching data from multiple endpoints of a Fake-JSON API
- FakeJsonApiExample() - Constructor for class com.guinetik.examples.FakeJsonApiExample
- fluent() - Method in class com.guinetik.rr.RocketRest
-
Gets the fluent API interface with Result pattern.
- fluent() - Method in class com.guinetik.rr.RocketRestMock
-
Provides a mock implementation for fluent API calls.
- FluentApiClient - Class in com.guinetik.rr.api
-
A fluent API client that uses the
Resultpattern instead of exceptions. - FluentApiClient(String, RocketRestConfig) - Constructor for class com.guinetik.rr.api.FluentApiClient
-
Creates a new FluentApiClient with the specified base URL and configuration.
- FluentApiClient(String, RocketRestConfig, FluentHttpClient) - Constructor for class com.guinetik.rr.api.FluentApiClient
-
Creates a new FluentApiClient with the specified base URL, configuration, and a pre-configured FluentHttpClient instance.
- FluentApiExample - Class in com.guinetik.examples
-
Example demonstrating the Result-based API for developers who prefer a more declarative approach without exceptions.
- FluentApiExample() - Constructor for class com.guinetik.examples.FluentApiExample
- FluentHttpClient - Class in com.guinetik.rr.http
-
HTTP client using the Result pattern for exception-free error handling.
- FluentHttpClient(RocketClient, String, RocketRestOptions) - Constructor for class com.guinetik.rr.http.FluentHttpClient
-
Creates a new FluentHttpClient that delegates to the specified RocketClient.
- FluentHttpClient(String) - Constructor for class com.guinetik.rr.http.FluentHttpClient
-
Creates a new FluentHttpClient with the specified base URL.
- FluentHttpClient(String, RocketRestOptions) - Constructor for class com.guinetik.rr.http.FluentHttpClient
-
Creates a new FluentHttpClient with the specified base URL and client options.
- FORBIDDEN - Static variable in class com.guinetik.rr.http.HttpConstants.StatusCodes
-
Status code (403): Server understood request but refuses to authorize it
- FOUND - Static variable in class com.guinetik.rr.http.HttpConstants.StatusCodes
-
Status code (302): Requested resource has been temporarily moved
- FRAGMENT_PREFIX - Static variable in class com.guinetik.rr.http.HttpConstants.Url
-
Fragment identifier prefix for URLs
- fromConfig(RocketRestConfig) - Static method in class com.guinetik.rr.http.RocketClientFactory
-
Creates a builder from an existing RocketRestConfig.
G
- get() - Static method in class com.guinetik.rr.json.JsonObjectMapper
- get(String) - Method in class com.guinetik.rr.http.RocketHeaders
-
Gets a header value.
- get(String) - Static method in class com.guinetik.rr.request.RequestBuilder
-
Creates a GET request builder for the specified endpoint.
- get(String, Class<Res>) - Method in class com.guinetik.rr.api.FluentApiClient
-
Performs a GET request using the Result pattern.
- get(String, Class<T>) - Method in interface com.guinetik.rr.RocketRest.AsyncApi
- get(String, Class<T>) - Method in interface com.guinetik.rr.RocketRest.FluentApi
- get(String, Class<T>) - Method in class com.guinetik.rr.RocketRest
-
Performs a synchronous GET request to the specified endpoint.
- get(String, Class<T>) - Method in interface com.guinetik.rr.RocketRest.SyncApi
- get(String, Class<T>, Map<String, String>) - Method in interface com.guinetik.rr.RocketRest.AsyncApi
- get(String, Class<T>, Map<String, String>) - Method in interface com.guinetik.rr.RocketRest.FluentApi
- get(String, Class<T>, Map<String, String>) - Method in class com.guinetik.rr.RocketRest
-
Performs a synchronous GET request with query parameters.
- get(String, Class<T>, Map<String, String>) - Method in interface com.guinetik.rr.RocketRest.SyncApi
- get(String, Map<String, String>, Class<Res>) - Method in class com.guinetik.rr.api.FluentApiClient
-
Performs a GET request with headers using the Result pattern.
- get(String, T) - Method in class com.guinetik.rr.RocketRestOptions
-
Gets an option value.
- GET - Static variable in class com.guinetik.rr.http.HttpConstants.Methods
-
HTTP GET method
- getAbilities() - Method in class com.guinetik.examples.PokeApiExample.PokemonDetailResponse
- getAbility() - Method in class com.guinetik.examples.PokeApiExample.AbilityInfo
- getAccessToken() - Method in class com.guinetik.rr.auth.AbstractOAuth2Strategy
-
Gets the current access token.
- getAccessToken() - Method in class com.guinetik.rr.RocketRest
- getAreaName() - Method in class com.guinetik.examples.WeatherExample.NearestArea
- getAstronomy() - Method in class com.guinetik.examples.WeatherExample.Weather
- getAuthStrategy() - Method in class com.guinetik.rr.RocketRestConfig
-
Gets the authentication strategy.
- getAvgtempC() - Method in class com.guinetik.examples.WeatherExample.Weather
- getAvgtempF() - Method in class com.guinetik.examples.WeatherExample.Weather
- getBase_stat() - Method in class com.guinetik.examples.PokeApiExample.StatInfo
-
Gets the base stat value directly.
- getBaseStat() - Method in class com.guinetik.examples.PokeApiExample.StatInfo
-
Gets the base stat value.
- getBaseUrl() - Method in class com.guinetik.rr.http.FluentHttpClient
-
Gets the base URL.
- getBody() - Method in class com.guinetik.rr.request.RequestSpec
- getBoolean(String, boolean) - Method in class com.guinetik.rr.RocketRestOptions
-
Gets a boolean option value.
- getCause() - Method in exception com.guinetik.rr.http.CircuitBreakerOpenException
-
Gets the underlying cause of the circuit opening.
- getCertificateFilename() - Method in class com.guinetik.rr.auth.RocketSSL.SSLCertificate
- getCertificatePassword() - Method in class com.guinetik.rr.auth.RocketSSL.SSLCertificate
- getClientOptions() - Method in class com.guinetik.rr.http.DefaultHttpClient
-
Gets the client options.
- getClientOptions() - Method in class com.guinetik.rr.http.FluentHttpClient
-
Gets the client options.
- getCloudcover() - Method in class com.guinetik.examples.WeatherExample.CurrentCondition
- getCopyright() - Method in class com.guinetik.examples.NasaApodExample.ApodResponse
- getCount() - Method in class com.guinetik.examples.PokeApiExample.PaginatedResponse
- getCountry() - Method in class com.guinetik.examples.WeatherExample.NearestArea
- getCurrent_condition() - Method in class com.guinetik.examples.WeatherExample.WeatherResponse
- getCustomCertificateFilename() - Method in interface com.guinetik.rr.auth.RocketSSL.SSLConfig
- getCustomCertificateFilename() - Method in class com.guinetik.rr.RocketRestSecureConfig
-
Gets the custom certificate filename.
- getCustomCertificatePassword() - Method in interface com.guinetik.rr.auth.RocketSSL.SSLConfig
- getCustomCertificatePassword() - Method in class com.guinetik.rr.RocketRestSecureConfig
-
Gets the custom certificate password.
- getDamageRelations() - Method in class com.guinetik.examples.PokeApiExample.TypeDetailResponse
- getDate() - Method in class com.guinetik.examples.NasaApodExample.ApodResponse
- getDate() - Method in class com.guinetik.examples.WeatherExample.Weather
- getDefault() - Static method in class com.guinetik.rr.json.JsonObjectMapper
- getDefaultOptions() - Method in class com.guinetik.rr.RocketRestConfig
-
Gets the default client options for clients created with this config.
- getDoubleDamageFrom() - Method in class com.guinetik.examples.PokeApiExample.DamageRelations
- getDoubleDamageTo() - Method in class com.guinetik.examples.PokeApiExample.DamageRelations
- getEffort() - Method in class com.guinetik.examples.PokeApiExample.StatInfo
- getEndpoint() - Method in class com.guinetik.rr.request.RequestSpec
- getError() - Method in class com.guinetik.rr.result.Result
-
Gets the error contained in this Result.
- getErrorMessage() - Method in exception com.guinetik.rr.api.ApiException
-
Gets the parsed error message from the server response.
- getErrorType() - Method in class com.guinetik.rr.result.ApiError
-
Gets the error type.
- getEstimatedMillisUntilReset() - Method in exception com.guinetik.rr.http.CircuitBreakerOpenException
-
Gets an estimated time in milliseconds until the circuit might reset.
- getExplanation() - Method in class com.guinetik.examples.NasaApodExample.ApodResponse
- getFailureCount() - Method in class com.guinetik.rr.http.CircuitBreakerClient
-
Gets current failure count
- getFeelsLikeC() - Method in class com.guinetik.examples.WeatherExample.CurrentCondition
- getFeelsLikeF() - Method in class com.guinetik.examples.WeatherExample.CurrentCondition
- getHalfDamageFrom() - Method in class com.guinetik.examples.PokeApiExample.DamageRelations
- getHalfDamageTo() - Method in class com.guinetik.examples.PokeApiExample.DamageRelations
- getHdurl() - Method in class com.guinetik.examples.NasaApodExample.ApodResponse
- getHeaders() - Method in class com.guinetik.rr.request.RequestSpec
- getHeight() - Method in class com.guinetik.examples.PokeApiExample.PokemonDetailResponse
- getHumidity() - Method in class com.guinetik.examples.WeatherExample.CurrentCondition
- getId() - Method in class com.guinetik.examples.PokeApiExample.PokemonDetailResponse
- getId() - Method in class com.guinetik.examples.PokeApiExample.TypeDetailResponse
- getId() - Method in class com.guinetik.examples.Todo
- getInt(String, int) - Method in class com.guinetik.rr.RocketRestOptions
-
Gets an integer option value.
- getInterceptors() - Method in class com.guinetik.rr.interceptor.InterceptingClient
-
Gets the list of interceptors in execution order.
- getInvocationCount(String, String) - Method in class com.guinetik.rr.http.MockRocketClient
-
Gets the number of times a specific endpoint has been invoked
- getInvocationCount(String, String) - Method in class com.guinetik.rr.RocketRestMock
-
Gets the number of times an endpoint was called.
- getJsonNode(String) - Static method in class com.guinetik.rr.json.JsonObjectMapper
- getKeys() - Method in class com.guinetik.rr.RocketRestOptions
-
Gets all option keys.
- getLatitude() - Method in class com.guinetik.examples.WeatherExample.NearestArea
- getLocalObsDateTime() - Method in class com.guinetik.examples.WeatherExample.CurrentCondition
- getLong(String, long) - Method in class com.guinetik.rr.RocketRestOptions
-
Gets a long option value.
- getLongitude() - Method in class com.guinetik.examples.WeatherExample.NearestArea
- getMaxRetries() - Method in interface com.guinetik.rr.interceptor.InterceptorChain
-
Gets the maximum retry count configured for this chain.
- getMaxtempC() - Method in class com.guinetik.examples.WeatherExample.Weather
- getMaxtempF() - Method in class com.guinetik.examples.WeatherExample.Weather
- getMediaType() - Method in class com.guinetik.examples.NasaApodExample.ApodResponse
- getMessage() - Method in class com.guinetik.rr.result.ApiError
-
Gets the error message.
- getMethod() - Method in class com.guinetik.rr.request.RequestSpec
- getMetrics() - Method in class com.guinetik.rr.http.CircuitBreakerClient
-
Gets circuit breaker metrics
- getMillisSinceLastFailure() - Method in exception com.guinetik.rr.http.CircuitBreakerOpenException
-
Gets the milliseconds since the last failure that caused the circuit to open.
- getMintempC() - Method in class com.guinetik.examples.WeatherExample.Weather
- getMintempF() - Method in class com.guinetik.examples.WeatherExample.Weather
- getMoon_illumination() - Method in class com.guinetik.examples.WeatherExample.Astronomy
- getMoon_phase() - Method in class com.guinetik.examples.WeatherExample.Astronomy
- getMoonrise() - Method in class com.guinetik.examples.WeatherExample.Astronomy
- getMoonset() - Method in class com.guinetik.examples.WeatherExample.Astronomy
- getMove() - Method in class com.guinetik.examples.PokeApiExample.MoveInfo
- getMoves() - Method in class com.guinetik.examples.PokeApiExample.PokemonDetailResponse
- getMoves() - Method in class com.guinetik.examples.PokeApiExample.TypeDetailResponse
- getName() - Method in class com.guinetik.examples.AdpApiExample
- getName() - Method in interface com.guinetik.examples.Example
-
Get the name of the example to display in the menu
- getName() - Method in class com.guinetik.examples.FakeJsonApiExample
- getName() - Method in class com.guinetik.examples.FluentApiExample
- getName() - Method in class com.guinetik.examples.JsonTodoExample
- getName() - Method in class com.guinetik.examples.NasaApodExample
- getName() - Method in class com.guinetik.examples.PokeApiExample
- getName() - Method in class com.guinetik.examples.PokeApiExample.NamedResource
- getName() - Method in class com.guinetik.examples.PokeApiExample.PokemonDetailResponse
- getName() - Method in class com.guinetik.examples.PokeApiExample.TypeDetailResponse
- getName() - Method in class com.guinetik.examples.RocketRestCircuitBreakerExample
- getName() - Method in class com.guinetik.examples.RocketRestFluentExample
- getName() - Method in class com.guinetik.examples.SapIdpExample
- getName() - Method in class com.guinetik.examples.WeatherExample
- getNearest_area() - Method in class com.guinetik.examples.WeatherExample.WeatherResponse
- getNext() - Method in class com.guinetik.examples.PokeApiExample.PaginatedResponse
- getNoDamageFrom() - Method in class com.guinetik.examples.PokeApiExample.DamageRelations
- getNoDamageTo() - Method in class com.guinetik.examples.PokeApiExample.DamageRelations
- getObservation_time() - Method in class com.guinetik.examples.WeatherExample.CurrentCondition
- getOrder() - Method in interface com.guinetik.rr.interceptor.RequestInterceptor
-
Returns the order of this interceptor in the chain.
- getOrder() - Method in class com.guinetik.rr.interceptor.RetryInterceptor
- getOrElse(T) - Method in class com.guinetik.rr.result.Result
-
Gets the value contained in this Result or the given default value if this Result is a failure.
- getOrElseGet(Supplier<? extends T>) - Method in class com.guinetik.rr.result.Result
-
Gets the value contained in this Result or the value supplied by the given Supplier if this Result is a failure.
- getOrElseThrow(Supplier<? extends X>) - Method in class com.guinetik.rr.result.Result
-
Gets the value contained in this Result or throws the given exception if this Result is a failure.
- getPopulation() - Method in class com.guinetik.examples.WeatherExample.NearestArea
- getPrecipInches() - Method in class com.guinetik.examples.WeatherExample.CurrentCondition
- getPrecipMM() - Method in class com.guinetik.examples.WeatherExample.CurrentCondition
- getPressure() - Method in class com.guinetik.examples.WeatherExample.CurrentCondition
- getPressureInches() - Method in class com.guinetik.examples.WeatherExample.CurrentCondition
- getPrevious() - Method in class com.guinetik.examples.PokeApiExample.PaginatedResponse
- getQueryParams() - Method in class com.guinetik.rr.request.RequestSpec
- getRaw(String) - Method in class com.guinetik.rr.RocketRestOptions
-
Gets the raw option value without type casting.
- getRefreshToken() - Method in class com.guinetik.rr.auth.OAuth2PasswordStrategy
-
Gets the current refresh token.
- getRegion() - Method in class com.guinetik.examples.WeatherExample.NearestArea
- getResetTimeoutMs() - Method in exception com.guinetik.rr.http.CircuitBreakerOpenException
-
Gets the configured timeout after which the circuit will try to reset.
- getResponseBody() - Method in exception com.guinetik.rr.http.RocketRestException
-
Gets the response body.
- getResponseBody() - Method in class com.guinetik.rr.result.ApiError
-
Gets the response body.
- getResponseType() - Method in class com.guinetik.rr.request.RequestSpec
- getResults() - Method in class com.guinetik.examples.PokeApiExample.PaginatedResponse
- getRetryCount() - Method in interface com.guinetik.rr.interceptor.InterceptorChain
-
Gets the current retry count for this execution.
- getServiceUrl() - Method in class com.guinetik.rr.RocketRestConfig
-
Gets the service URL.
- getServiceVersion() - Method in class com.guinetik.examples.NasaApodExample.ApodResponse
- getSlot() - Method in class com.guinetik.examples.PokeApiExample.AbilityInfo
- getSlot() - Method in class com.guinetik.examples.PokeApiExample.TypeInfo
- getSSLContext(RocketSSL.SSLCertificate) - Method in class com.guinetik.rr.auth.RocketSSL
-
Gets the SSL context for the given certificate information.
- getSSLContext(String, String) - Method in class com.guinetik.rr.auth.RocketSSL
-
Gets the SSL context for the given certificate file and password.
- getStat() - Method in class com.guinetik.examples.PokeApiExample.StatInfo
- getState() - Method in class com.guinetik.rr.http.CircuitBreakerClient
-
Gets current circuit breaker state
- getStats() - Method in class com.guinetik.examples.PokeApiExample.PokemonDetailResponse
- getStatusCode() - Method in exception com.guinetik.rr.http.RocketRestException
-
Gets the HTTP status code.
- getStatusCode() - Method in class com.guinetik.rr.result.ApiError
-
Gets the HTTP status code.
- getString(String, String) - Method in class com.guinetik.rr.RocketRestOptions
- getSunHour() - Method in class com.guinetik.examples.WeatherExample.Weather
- getSunrise() - Method in class com.guinetik.examples.WeatherExample.Astronomy
- getSunset() - Method in class com.guinetik.examples.WeatherExample.Astronomy
- getTemp_C() - Method in class com.guinetik.examples.WeatherExample.CurrentCondition
- getTemp_F() - Method in class com.guinetik.examples.WeatherExample.CurrentCondition
- getTitle() - Method in class com.guinetik.examples.NasaApodExample.ApodResponse
- getTitle() - Method in class com.guinetik.examples.Todo
- getTokenExpiryTime() - Method in class com.guinetik.rr.auth.AbstractOAuth2Strategy
-
Gets the token expiry time.
- getTokenExpiryTime() - Method in class com.guinetik.rr.RocketRest
- getTokenUrl() - Method in class com.guinetik.rr.RocketRestConfig
-
Gets the token URL for OAuth flows.
- getTotalSnow_cm() - Method in class com.guinetik.examples.WeatherExample.Weather
- getType() - Method in class com.guinetik.examples.PokeApiExample.TypeInfo
- getType() - Method in interface com.guinetik.rr.auth.AuthStrategy
-
Returns the auth type of this strategy.
- getType() - Method in class com.guinetik.rr.auth.BasicAuthStrategy
- getType() - Method in class com.guinetik.rr.auth.BearerTokenStrategy
- getType() - Method in class com.guinetik.rr.auth.NoAuthStrategy
- getType() - Method in class com.guinetik.rr.auth.OAuth2AssertionStrategy
- getType() - Method in class com.guinetik.rr.auth.OAuth2ClientCredentialsStrategy
- getType() - Method in class com.guinetik.rr.auth.OAuth2PasswordStrategy
- getTypes() - Method in class com.guinetik.examples.PokeApiExample.PokemonDetailResponse
- getUrl() - Method in class com.guinetik.examples.NasaApodExample.ApodResponse
- getUrl() - Method in class com.guinetik.examples.PokeApiExample.NamedResource
- getUserId() - Method in class com.guinetik.examples.Todo
- getUvIndex() - Method in class com.guinetik.examples.WeatherExample.CurrentCondition
- getUvIndex() - Method in class com.guinetik.examples.WeatherExample.Weather
- getValue() - Method in class com.guinetik.examples.WeatherExample.Value
- getValue() - Method in class com.guinetik.examples.WeatherExample.WeatherDesc
- getValue() - Method in class com.guinetik.rr.result.Result
-
Gets the value contained in this Result.
- getVisibility() - Method in class com.guinetik.examples.WeatherExample.CurrentCondition
- getVisibilityMiles() - Method in class com.guinetik.examples.WeatherExample.CurrentCondition
- getWeather() - Method in class com.guinetik.examples.WeatherExample.WeatherResponse
- getWeatherCode() - Method in class com.guinetik.examples.WeatherExample.CurrentCondition
- getWeatherDesc() - Method in class com.guinetik.examples.WeatherExample.CurrentCondition
- getWeight() - Method in class com.guinetik.examples.PokeApiExample.PokemonDetailResponse
- getWinddir16Point() - Method in class com.guinetik.examples.WeatherExample.CurrentCondition
- getWinddirDegree() - Method in class com.guinetik.examples.WeatherExample.CurrentCondition
- getWindspeedKmph() - Method in class com.guinetik.examples.WeatherExample.CurrentCondition
- getWindspeedMiles() - Method in class com.guinetik.examples.WeatherExample.CurrentCondition
- GONE - Static variable in class com.guinetik.rr.http.HttpConstants.StatusCodes
-
Status code (410): Requested resource is no longer available
H
- HALF_OPEN - com.guinetik.rr.http.CircuitBreakerClient.State
-
Testing if service is back -
HttpConstants.CircuitBreaker.STATUS_HALF_OPEN - hasStatusCode(int) - Method in class com.guinetik.rr.result.ApiError
-
Checks if this error is an HTTP error with the specified status code.
- hdurl - Variable in class com.guinetik.examples.NasaApodExample.ApodResponse
- HEAD - Static variable in class com.guinetik.rr.http.HttpConstants.Methods
-
HTTP HEAD method
- headers(RocketHeaders) - Method in class com.guinetik.rr.request.RequestBuilder
-
Sets the headers for the request.
- HelloWorld - Class in com.guinetik.examples
-
Main example runner that presents a menu of examples to run
- HelloWorld() - Constructor for class com.guinetik.examples.HelloWorld
- HTTP_ERROR - com.guinetik.rr.result.ApiError.ErrorType
-
HTTP error from server
- httpClient - Variable in class com.guinetik.rr.api.AbstractApiClient
- httpClient - Variable in class com.guinetik.rr.auth.AbstractOAuth2Strategy
- HttpConstants - Class in com.guinetik.rr.http
-
Centralized constants for HTTP operations used throughout RocketRest.
- HttpConstants.CircuitBreaker - Class in com.guinetik.rr.http
-
CircuitBreaker-related constants
- HttpConstants.Encoding - Class in com.guinetik.rr.http
-
Encoding constants
- HttpConstants.Errors - Class in com.guinetik.rr.http
-
Common error messages
- HttpConstants.Methods - Class in com.guinetik.rr.http
-
HTTP methods
- HttpConstants.StatusCodes - Class in com.guinetik.rr.http
-
HTTP status codes
- HttpConstants.Timeouts - Class in com.guinetik.rr.http
-
Connection timeouts in milliseconds
- HttpConstants.Url - Class in com.guinetik.rr.http
-
URL and encoding constants
- httpError(String, int, String) - Static method in class com.guinetik.rr.result.ApiError
-
Constructs an HTTP error with status code.
I
- ifFailure(Consumer<? super E>) - Method in class com.guinetik.rr.result.Result
-
Executes the given consumer if this Result is a failure.
- ifSuccess(Consumer<? super T>) - Method in class com.guinetik.rr.result.Result
-
Executes the given consumer if this Result is a success.
- initialDelayMs(long) - Method in class com.guinetik.rr.interceptor.RetryInterceptor.Builder
-
Sets the initial delay between retries.
- InterceptingClient - Class in com.guinetik.rr.interceptor
-
Decorator that adds interceptor chain support to any
RocketClient. - InterceptingClient(RocketClient, List<RequestInterceptor>) - Constructor for class com.guinetik.rr.interceptor.InterceptingClient
-
Creates an intercepting client with the given interceptors.
- InterceptingClient(RocketClient, List<RequestInterceptor>, int) - Constructor for class com.guinetik.rr.interceptor.InterceptingClient
-
Creates an intercepting client with the given interceptors and retry limit.
- InterceptorChain - Interface in com.guinetik.rr.interceptor
-
Represents the interceptor chain during request execution.
- INTERNAL_SERVER_ERROR - Static variable in class com.guinetik.rr.http.HttpConstants.StatusCodes
-
Status code (500): Server encountered an unexpected condition
- isCompleted() - Method in class com.guinetik.examples.Todo
- isCustomCertificateEnabled() - Method in interface com.guinetik.rr.auth.RocketSSL.SSLConfig
- isCustomCertificateEnabled() - Method in class com.guinetik.rr.RocketRestSecureConfig
-
Checks if a custom SSL certificate is enabled.
- isFailure() - Method in class com.guinetik.rr.result.Result
-
Returns whether this Result is a failure.
- isHidden() - Method in class com.guinetik.examples.PokeApiExample.AbilityInfo
- ISO_8859_1 - Static variable in class com.guinetik.rr.http.HttpConstants.Encoding
-
ISO-8859-1 character encoding
- isRefreshing - Variable in class com.guinetik.rr.auth.AbstractOAuth2Strategy
- isSuccess() - Method in class com.guinetik.rr.result.Result
-
Returns whether this Result is a success.
- isType(ApiError.ErrorType) - Method in class com.guinetik.rr.result.ApiError
-
Checks if this error is of the specified type.
J
- jsonNodeToMap(JsonNode) - Static method in class com.guinetik.rr.json.JsonObjectMapper
- JsonObjectMapper - Class in com.guinetik.rr.json
-
Pre-configured Jackson
ObjectMapperwith utility methods for JSON operations. - JsonObjectMapper() - Constructor for class com.guinetik.rr.json.JsonObjectMapper
- JsonTodoExample - Class in com.guinetik.examples
-
Example that demonstrates fetching a Todo from JSONPlaceholder API
- JsonTodoExample() - Constructor for class com.guinetik.examples.JsonTodoExample
- jsonToListOfMap(String) - Static method in class com.guinetik.rr.json.JsonObjectMapper
- jsonToMap(String) - Static method in class com.guinetik.rr.json.JsonObjectMapper
- jsonToObject(String, Class<T>) - Static method in class com.guinetik.rr.json.JsonObjectMapper
L
- LOG_CIRCUIT_CLOSED - Static variable in class com.guinetik.rr.http.HttpConstants.CircuitBreaker
-
Log message when circuit is closed
- LOG_CIRCUIT_HALF_OPEN - Static variable in class com.guinetik.rr.http.HttpConstants.CircuitBreaker
-
Log message when circuit moves to half-open state
- LOG_CIRCUIT_OPENED - Static variable in class com.guinetik.rr.http.HttpConstants.CircuitBreaker
-
Log message template when circuit is opened
- LOG_DECAY_RESET - Static variable in class com.guinetik.rr.http.HttpConstants.CircuitBreaker
-
Log message when failure count is reset due to decay timeout
- LOG_HALF_OPEN_TEST_IN_PROGRESS - Static variable in class com.guinetik.rr.http.HttpConstants.CircuitBreaker
-
Log message when a request is rejected during HALF_OPEN because another test is in progress
- LOG_RAW_RESPONSE - Static variable in class com.guinetik.rr.RocketRestOptions
- LOG_REQUEST_BODY - Static variable in class com.guinetik.rr.RocketRestOptions
- LOG_RESPONSE_BODY - Static variable in class com.guinetik.rr.RocketRestOptions
- LOG_TEST_FAILED - Static variable in class com.guinetik.rr.http.HttpConstants.CircuitBreaker
-
Log message when test request fails
- logger - Variable in class com.guinetik.rr.api.AbstractApiClient
- logger - Variable in class com.guinetik.rr.auth.AbstractOAuth2Strategy
- logger - Variable in class com.guinetik.rr.RocketRest
- LOGGING_ENABLED - Static variable in class com.guinetik.rr.RocketRestOptions
- logRawResponse(int, Map<String, String>, RocketRestOptions) - Static method in class com.guinetik.rr.util.ResponseLogger
-
Logs the raw HTTP response if enabled in the client options.
- logRequest(RequestSpec<Req, Res>) - Method in class com.guinetik.rr.api.AbstractApiClient
-
Logs information about the request if logging is enabled.
- logResponseBody(String, RocketRestOptions) - Static method in class com.guinetik.rr.util.ResponseLogger
-
Logs the response body if enabled in the client options.
M
- main(String[]) - Static method in class com.guinetik.examples.AdpApiExample
- main(String[]) - Static method in class com.guinetik.examples.HelloWorld
- main(String[]) - Static method in class com.guinetik.examples.SapIdpExample
- map(Function<? super T, ? extends U>) - Method in class com.guinetik.rr.result.Result
-
Maps the value of this Result if it's a success, using the given mapping function.
- mapError(Function<? super E, ? extends F>) - Method in class com.guinetik.rr.result.Result
-
Maps the error of this Result if it's a failure, using the given mapping function.
- match(Consumer<? super T>, Consumer<? super E>) - Method in class com.guinetik.rr.result.Result
-
Pattern-matches over this Result, executing one of the consumers depending on success/failure.
- MAX_LOGGED_BODY_LENGTH - Static variable in class com.guinetik.rr.RocketRestOptions
- MAX_RETRIES - Static variable in class com.guinetik.rr.RocketRestOptions
- maxDelayMs(long) - Method in class com.guinetik.rr.interceptor.RetryInterceptor.Builder
-
Sets the maximum delay cap.
- maxRetries(int) - Method in class com.guinetik.rr.interceptor.RetryInterceptor.Builder
-
Sets the maximum number of retries.
- media_type - Variable in class com.guinetik.examples.NasaApodExample.ApodResponse
- merge(RocketHeaders) - Method in class com.guinetik.rr.http.RocketHeaders
-
Merges this header with another, with values from the other taking precedence.
- method(String) - Method in class com.guinetik.rr.request.RequestBuilder
-
Sets the HTTP method for the request.
- METHOD_NOT_ALLOWED - Static variable in class com.guinetik.rr.http.HttpConstants.StatusCodes
-
Status code (405): Request method is not supported for the requested resource
- Methods() - Constructor for class com.guinetik.rr.http.HttpConstants.Methods
- MockRocketClient - Class in com.guinetik.rr.http
-
Mock implementation of
RocketClientfor unit testing without network requests. - MockRocketClient() - Constructor for class com.guinetik.rr.http.MockRocketClient
-
Creates a new mock client instance.
- MOVED_PERMANENTLY - Static variable in class com.guinetik.rr.http.HttpConstants.StatusCodes
-
Status code (301): Requested resource has been permanently moved
- MoveInfo() - Constructor for class com.guinetik.examples.PokeApiExample.MoveInfo
- MULTIPART_FORM - Static variable in class com.guinetik.rr.http.RocketHeaders.ContentTypes
N
- NamedResource() - Constructor for class com.guinetik.examples.PokeApiExample.NamedResource
- Names() - Constructor for class com.guinetik.rr.http.RocketHeaders.Names
- NasaApodExample - Class in com.guinetik.examples
-
Example demonstrating how to fetch NASA's Astronomy Picture of the Day (APOD) using RocketRest's fluent API.
- NasaApodExample() - Constructor for class com.guinetik.examples.NasaApodExample
- NasaApodExample.ApodResponse - Class in com.guinetik.examples
-
POJO class representing the NASA APOD API response
- NearestArea() - Constructor for class com.guinetik.examples.WeatherExample.NearestArea
- needsTokenRefresh() - Method in class com.guinetik.rr.auth.AbstractOAuth2Strategy
- needsTokenRefresh() - Method in interface com.guinetik.rr.auth.AuthStrategy
-
Indicates whether this strategy needs a token refresh.
- needsTokenRefresh() - Method in class com.guinetik.rr.auth.BasicAuthStrategy
- needsTokenRefresh() - Method in class com.guinetik.rr.auth.BearerTokenStrategy
- needsTokenRefresh() - Method in class com.guinetik.rr.auth.NoAuthStrategy
- NETWORK_ERROR - com.guinetik.rr.result.ApiError.ErrorType
-
Network connectivity error
- networkError(String) - Static method in class com.guinetik.rr.result.ApiError
-
Constructs a network error.
- NO_CONTENT - Static variable in class com.guinetik.rr.http.HttpConstants.StatusCodes
-
Status code (204): Server fulfilled request but does not need to return content
- NoAuthStrategy - Class in com.guinetik.rr.auth
-
Authentication strategy that performs no authentication.
- NoAuthStrategy() - Constructor for class com.guinetik.rr.auth.NoAuthStrategy
- NONE - com.guinetik.rr.auth.AuthStrategy.AuthType
- NOT_FOUND - Static variable in class com.guinetik.rr.http.HttpConstants.StatusCodes
-
Status code (404): Server cannot find requested resource
- NOT_IMPLEMENTED - Static variable in class com.guinetik.rr.http.HttpConstants.StatusCodes
-
Status code (501): Server does not support the functionality required
- NOT_MODIFIED - Static variable in class com.guinetik.rr.http.HttpConstants.StatusCodes
-
Status code (304): Resource has not been modified since last request
O
- OAUTH_ASSERTION - com.guinetik.rr.auth.AuthStrategy.AuthType
- OAUTH_CLIENT_CREDENTIALS - com.guinetik.rr.auth.AuthStrategy.AuthType
- OAUTH_IDP - com.guinetik.rr.auth.AuthStrategy.AuthType
- OAUTH_PASSWORD - com.guinetik.rr.auth.AuthStrategy.AuthType
- OAuth2AssertionStrategy - Class in com.guinetik.rr.auth
-
Authentication strategy that implements OAuth 2.0 assertion flow.
- OAuth2AssertionStrategy(String, String, String, String, String, String, String) - Constructor for class com.guinetik.rr.auth.OAuth2AssertionStrategy
-
Creates a new OAuth 2.0 assertion strategy.
- OAuth2AssertionStrategy(String, String, String, String, String, String, String, Map<String, String>, Map<String, String>) - Constructor for class com.guinetik.rr.auth.OAuth2AssertionStrategy
-
Creates a new OAuth 2.0 assertion strategy with additional parameters.
- OAuth2ClientCredentialsStrategy - Class in com.guinetik.rr.auth
-
Authentication strategy that implements OAuth 2.0 client credentials flow.
- OAuth2ClientCredentialsStrategy(String, String, String) - Constructor for class com.guinetik.rr.auth.OAuth2ClientCredentialsStrategy
-
Creates a new OAuth 2.0 client credentials strategy.
- OAuth2ClientCredentialsStrategy(String, String, String, Map<String, String>) - Constructor for class com.guinetik.rr.auth.OAuth2ClientCredentialsStrategy
-
Creates a new OAuth 2.0 client credentials strategy with additional parameters.
- OAuth2PasswordStrategy - Class in com.guinetik.rr.auth
-
Authentication strategy that implements OAuth 2.0 password flow.
- OAuth2PasswordStrategy(String, String, String, String, String) - Constructor for class com.guinetik.rr.auth.OAuth2PasswordStrategy
-
Creates a new OAuth 2.0 password strategy.
- OAuth2PasswordStrategy(String, String, String, String, String, Map<String, String>) - Constructor for class com.guinetik.rr.auth.OAuth2PasswordStrategy
-
Creates a new OAuth 2.0 password strategy with additional parameters.
- oauthTokenUrl - Variable in class com.guinetik.rr.auth.AbstractOAuth2Strategy
-
OAuth 2.0 token endpoint URL to be used when refreshing credentials.
- OK - Static variable in class com.guinetik.rr.http.HttpConstants.StatusCodes
-
Status code (200): Request has succeeded
- onError(RocketRestException, RequestSpec<Req, Res>, InterceptorChain) - Method in interface com.guinetik.rr.interceptor.RequestInterceptor
-
Called when an exception occurs during request execution.
- onError(RocketRestException, RequestSpec<Req, Res>, InterceptorChain) - Method in class com.guinetik.rr.interceptor.RetryInterceptor
- OPEN - com.guinetik.rr.http.CircuitBreakerClient.State
-
Circuit is open, fast-fail -
HttpConstants.CircuitBreaker.STATUS_OPEN - options - Variable in class com.guinetik.rr.api.AbstractApiClient
- OPTIONS - Static variable in class com.guinetik.rr.http.HttpConstants.Methods
-
HTTP OPTIONS method
P
- PaginatedResponse() - Constructor for class com.guinetik.examples.PokeApiExample.PaginatedResponse
- PARAM_EQUALS - Static variable in class com.guinetik.rr.http.HttpConstants.Url
-
Parameter name-value separator for URLs
- PARSE_ERROR - com.guinetik.rr.result.ApiError.ErrorType
-
Error parsing response
- parseError(String, String) - Static method in class com.guinetik.rr.result.ApiError
-
Constructs a parse error.
- parseResponse(HttpURLConnection) - Static method in class com.guinetik.rr.json.JsonObjectMapper
- PATCH - Static variable in class com.guinetik.rr.http.HttpConstants.Methods
-
HTTP PATCH method
- PATH_SEPARATOR - Static variable in class com.guinetik.rr.http.HttpConstants.Url
-
Path separator character for URLs
- performHealthCheck(RequestSpec<Req, Res>) - Method in class com.guinetik.rr.http.CircuitBreakerClient
-
Performs a health check by trying to execute the given request.
- PokeApiExample - Class in com.guinetik.examples
-
Example demonstrating how to use the PokéAPI with RocketRest's fluent API, including pagination support.
- PokeApiExample() - Constructor for class com.guinetik.examples.PokeApiExample
- PokeApiExample.AbilityInfo - Class in com.guinetik.examples
-
Ability information for a Pokémon
- PokeApiExample.AbilityListResponse - Class in com.guinetik.examples
-
Response for the Abilities list endpoint
- PokeApiExample.DamageRelations - Class in com.guinetik.examples
-
Damage relations information for a type
- PokeApiExample.MoveInfo - Class in com.guinetik.examples
-
Move information for a Pokémon
- PokeApiExample.NamedResource - Class in com.guinetik.examples
-
Named resource (name and URL) used throughout the API
- PokeApiExample.PaginatedResponse<T> - Class in com.guinetik.examples
-
Base response for paginated results
- PokeApiExample.PokemonDetailResponse - Class in com.guinetik.examples
-
Detailed Pokémon response
- PokeApiExample.PokemonListResponse - Class in com.guinetik.examples
-
Response for the Pokémon list endpoint
- PokeApiExample.StatInfo - Class in com.guinetik.examples
-
Stat information for a Pokémon
- PokeApiExample.TypeDetailResponse - Class in com.guinetik.examples
-
Response for the Type details endpoint
- PokeApiExample.TypeInfo - Class in com.guinetik.examples
-
Type information for a Pokémon
- PokeApiExample.TypeListResponse - Class in com.guinetik.examples
-
Response for the Types list endpoint
- PokemonDetailResponse() - Constructor for class com.guinetik.examples.PokeApiExample.PokemonDetailResponse
- PokemonListResponse() - Constructor for class com.guinetik.examples.PokeApiExample.PokemonListResponse
- post(String) - Static method in class com.guinetik.rr.request.RequestBuilder
-
Creates a POST request builder for the specified endpoint.
- post(String, Class<Res>) - Method in interface com.guinetik.rr.RocketRest.AsyncApi
- post(String, Class<Res>) - Method in interface com.guinetik.rr.RocketRest.FluentApi
- post(String, Class<Res>) - Method in class com.guinetik.rr.RocketRest
-
Performs a synchronous POST request.
- post(String, Class<Res>) - Method in interface com.guinetik.rr.RocketRest.SyncApi
- post(String, Map<String, String>) - Method in class com.guinetik.rr.auth.AbstractOAuth2Strategy
-
Helper method to perform POST requests.
- post(String, Req, Class<Res>) - Method in class com.guinetik.rr.api.FluentApiClient
-
Performs a POST request using the Result pattern.
- post(String, Req, Class<Res>) - Method in interface com.guinetik.rr.RocketRest.AsyncApi
- post(String, Req, Class<Res>) - Method in interface com.guinetik.rr.RocketRest.FluentApi
- post(String, Req, Class<Res>) - Method in class com.guinetik.rr.RocketRest
-
Performs a synchronous POST request with a body.
- post(String, Req, Class<Res>) - Method in interface com.guinetik.rr.RocketRest.SyncApi
- post(String, Req, Map<String, String>, Class<Res>) - Method in class com.guinetik.rr.api.FluentApiClient
-
Performs a POST request with headers using the Result pattern.
- POST - Static variable in class com.guinetik.rr.http.HttpConstants.Methods
-
HTTP POST method
- prepareTokenRequestParams() - Method in class com.guinetik.rr.auth.AbstractOAuth2Strategy
-
Prepares the parameters for the token request.
- prepareTokenRequestParams() - Method in class com.guinetik.rr.auth.OAuth2AssertionStrategy
-
Prepares the parameters for the token request.
- prepareTokenRequestParams() - Method in class com.guinetik.rr.auth.OAuth2ClientCredentialsStrategy
-
Prepares the parameters for the token request.
- prepareTokenRequestParams() - Method in class com.guinetik.rr.auth.OAuth2PasswordStrategy
-
Prepares the parameters for the token request.
- processTokenResponse(Map<String, Object>) - Method in class com.guinetik.rr.auth.AbstractOAuth2Strategy
-
Processes the token response and extracts relevant information.
- processTokenResponse(Map<String, Object>) - Method in class com.guinetik.rr.auth.OAuth2PasswordStrategy
-
Processes the token response and extracts relevant information.
- put(String) - Static method in class com.guinetik.rr.request.RequestBuilder
-
Creates a PUT request builder for the specified endpoint.
- put(String, Class<Res>) - Method in interface com.guinetik.rr.RocketRest.AsyncApi
- put(String, Class<Res>) - Method in interface com.guinetik.rr.RocketRest.FluentApi
- put(String, Class<Res>) - Method in class com.guinetik.rr.RocketRest
-
Performs a synchronous PUT request.
- put(String, Class<Res>) - Method in interface com.guinetik.rr.RocketRest.SyncApi
- put(String, Req, Class<Res>) - Method in class com.guinetik.rr.api.FluentApiClient
-
Performs a PUT request using the Result pattern.
- put(String, Req, Class<Res>) - Method in interface com.guinetik.rr.RocketRest.AsyncApi
- put(String, Req, Class<Res>) - Method in interface com.guinetik.rr.RocketRest.FluentApi
- put(String, Req, Class<Res>) - Method in class com.guinetik.rr.RocketRest
-
Performs a synchronous PUT request with a body.
- put(String, Req, Class<Res>) - Method in interface com.guinetik.rr.RocketRest.SyncApi
- put(String, Req, Map<String, String>, Class<Res>) - Method in class com.guinetik.rr.api.FluentApiClient
-
Performs a PUT request with headers using the Result pattern.
- PUT - Static variable in class com.guinetik.rr.http.HttpConstants.Methods
-
HTTP PUT method
Q
- QUERY_PREFIX - Static variable in class com.guinetik.rr.http.HttpConstants.Url
-
Query string prefix for URLs
- QUERY_SEPARATOR - Static variable in class com.guinetik.rr.http.HttpConstants.Url
-
Query parameter separator for URLs
- queryParam(String, String) - Method in class com.guinetik.rr.request.RequestBuilder
-
Adds a single query parameter to the request.
- queryParams(Map<String, String>) - Method in class com.guinetik.rr.request.RequestBuilder
-
Sets the query parameters for the request.
- QUICK_TIMEOUT - Static variable in class com.guinetik.rr.http.HttpConstants.Timeouts
-
Quick timeout in milliseconds for time-sensitive operations (5 seconds)
R
- readErrorStream(InputStream) - Static method in class com.guinetik.rr.util.StreamUtils
-
Attempts to read from an error stream, handling possible exceptions gracefully.
- readInputStreamAsString(InputStream) - Static method in class com.guinetik.rr.util.StreamUtils
-
Reads an input stream into a string, handling resource cleanup properly.
- REDIRECT_MAX - Static variable in class com.guinetik.rr.http.HttpConstants.StatusCodes
-
Maximum status code for redirection responses (300-399)
- REDIRECT_MIN - Static variable in class com.guinetik.rr.http.HttpConstants.StatusCodes
-
Minimum status code for redirection responses (300-399)
- refreshCredentials() - Method in class com.guinetik.rr.auth.AbstractOAuth2Strategy
- refreshCredentials() - Method in interface com.guinetik.rr.auth.AuthStrategy
-
Handles refreshing the authentication credentials for strategies that support it.
- refreshCredentials() - Method in class com.guinetik.rr.auth.BasicAuthStrategy
- refreshCredentials() - Method in class com.guinetik.rr.auth.BearerTokenStrategy
-
Handles refreshing the authentication credentials for strategies that support it.
- refreshCredentials() - Method in class com.guinetik.rr.auth.NoAuthStrategy
- refreshCredentials() - Method in class com.guinetik.rr.auth.OAuth2AssertionStrategy
-
Handles refreshing the authentication credentials for strategies that support it.
- refreshToken() - Method in class com.guinetik.rr.api.AbstractApiClient
-
Method to handle token refresh.
- remove(String) - Method in class com.guinetik.rr.http.RocketHeaders
-
Removes a header.
- REQUEST_FAILED - Static variable in class com.guinetik.rr.http.HttpConstants.Errors
-
Prefix for HTTP request failure message
- RequestBuilder<Req,Res> - Class in com.guinetik.rr.request
-
Fluent builder for constructing
RequestSpecinstances. - RequestBuilder() - Constructor for class com.guinetik.rr.request.RequestBuilder
- RequestInterceptor - Interface in com.guinetik.rr.interceptor
-
Interceptor for adding cross-cutting behavior to HTTP request execution.
- RequestSpec<Req,Res> - Class in com.guinetik.rr.request
-
Immutable specification of an HTTP request containing all parameters needed for execution.
- RequestSpec(String, String, Map<String, String>, RocketHeaders, Req, Class<Res>) - Constructor for class com.guinetik.rr.request.RequestSpec
- resetCircuit() - Method in class com.guinetik.rr.http.CircuitBreakerClient
-
Manually resets the circuit to closed state.
- resetCounts() - Method in class com.guinetik.rr.http.MockRocketClient
-
Resets all invocation counts
- resetInvocationCounts() - Method in class com.guinetik.rr.RocketRestMock
-
Resets all invocation counters.
- resetToDefault() - Static method in class com.guinetik.rr.http.RocketClientFactory
-
Resets the client provider to the default.
- ResponseLogger - Class in com.guinetik.rr.util
-
Utility class for configurable HTTP response logging.
- responseType(Class<Res>) - Method in class com.guinetik.rr.request.RequestBuilder
-
Sets the expected response type of the request.
- Result<T,E> - Class in com.guinetik.rr.result
-
A container object representing either a successful result or an error.
- retry(RequestSpec<Req, Res>) - Method in interface com.guinetik.rr.interceptor.InterceptorChain
-
Retries the request from the beginning of the chain.
- RETRY_DELAY - Static variable in class com.guinetik.rr.RocketRestOptions
- RETRY_ENABLED - Static variable in class com.guinetik.rr.RocketRestOptions
- RetryInterceptor - Class in com.guinetik.rr.interceptor
-
Interceptor that retries failed requests with configurable backoff.
- RetryInterceptor() - Constructor for class com.guinetik.rr.interceptor.RetryInterceptor
-
Creates a retry interceptor with default settings.
- RetryInterceptor(int, long) - Constructor for class com.guinetik.rr.interceptor.RetryInterceptor
-
Creates a retry interceptor with custom retry count and delay.
- RetryInterceptor(int, long, double) - Constructor for class com.guinetik.rr.interceptor.RetryInterceptor
-
Creates a retry interceptor with exponential backoff.
- RetryInterceptor(int, long, double, long, Predicate<RocketRestException>) - Constructor for class com.guinetik.rr.interceptor.RetryInterceptor
-
Creates a fully customized retry interceptor.
- RetryInterceptor.Builder - Class in com.guinetik.rr.interceptor
-
Builder for creating customized RetryInterceptor instances.
- retryOn(Predicate<RocketRestException>) - Method in class com.guinetik.rr.interceptor.RetryInterceptor.Builder
-
Sets a custom predicate to determine if an exception should trigger retry.
- RocketClient - Interface in com.guinetik.rr.http
-
Core interface for HTTP request execution in RocketRest.
- RocketClientFactory - Class in com.guinetik.rr.http
-
Factory for creating and configuring HTTP clients with decorators and settings.
- RocketClientFactory() - Constructor for class com.guinetik.rr.http.RocketClientFactory
- RocketClientFactory.Builder - Class in com.guinetik.rr.http
-
Builder class for constructing RocketClient instances with various decorators.
- RocketHeaders - Class in com.guinetik.rr.http
-
Fluent builder for HTTP request headers with convenience methods for common headers.
- RocketHeaders() - Constructor for class com.guinetik.rr.http.RocketHeaders
-
Creates a new empty header container.
- RocketHeaders(Map<String, String>) - Constructor for class com.guinetik.rr.http.RocketHeaders
-
Creates a new header container with the specified headers.
- RocketHeaders.ContentTypes - Class in com.guinetik.rr.http
-
Common content types as constants.
- RocketHeaders.Names - Class in com.guinetik.rr.http
-
Standard HTTP header names as constants.
- RocketRest - Class in com.guinetik.rr
-
Main entry point for interacting with REST APIs using RocketRest.
- RocketRest(RocketRestConfig) - Constructor for class com.guinetik.rr.RocketRest
-
Creates a new
RocketRestinstance. - RocketRest(String, RocketRestConfig) - Constructor for class com.guinetik.rr.RocketRest
-
Creates a new
RocketRestinstance with a specific base URL. - RocketRest.AsyncApi - Interface in com.guinetik.rr
-
Interface for asynchronous API operations.
- RocketRest.FluentApi - Interface in com.guinetik.rr
-
Interface for fluent API operations with a Result pattern.
- RocketRest.SyncApi - Interface in com.guinetik.rr
-
Interface for synchronous API operations.
- RocketRestCircuitBreakerExample - Class in com.guinetik.examples
-
Example demonstrating the Circuit Breaker pattern using RocketRest with https://httpstat.us/ as a test service.
- RocketRestCircuitBreakerExample() - Constructor for class com.guinetik.examples.RocketRestCircuitBreakerExample
- RocketRestConfig - Class in com.guinetik.rr
-
Configuration container for
RocketRestclients. - RocketRestConfig(RocketRestConfig.Builder) - Constructor for class com.guinetik.rr.RocketRestConfig
- RocketRestConfig.Builder - Class in com.guinetik.rr
-
Builder for creating RocketRestConfig instances.
- RocketRestException - Exception in com.guinetik.rr.http
-
Base runtime exception for all HTTP-related errors in RocketRest.
- RocketRestException(String) - Constructor for exception com.guinetik.rr.http.RocketRestException
-
Constructs a new exception with the specified detail message.
- RocketRestException(String, int, String) - Constructor for exception com.guinetik.rr.http.RocketRestException
-
Constructs a new exception with the specified detail message, status code, and response body.
- RocketRestException(String, Throwable) - Constructor for exception com.guinetik.rr.http.RocketRestException
-
Constructs a new exception with the specified detail message and cause.
- RocketRestFluentExample - Class in com.guinetik.examples
-
Example demonstrating the Fluent API interface with Result pattern using the main RocketRest class.
- RocketRestFluentExample() - Constructor for class com.guinetik.examples.RocketRestFluentExample
- RocketRestMock - Class in com.guinetik.rr
-
Mock implementation of
RocketRestfor unit testing without actual HTTP requests. - RocketRestMock(RocketRestConfig) - Constructor for class com.guinetik.rr.RocketRestMock
-
Creates a new mock client instance.
- RocketRestOptions - Class in com.guinetik.rr
-
Configuration options for RocketRest API clients.
- RocketRestOptions() - Constructor for class com.guinetik.rr.RocketRestOptions
-
Creates a new ClientOptions with default values.
- RocketRestSecureConfig - Class in com.guinetik.rr
-
Extended configuration for
RocketRestclients requiring custom SSL/TLS certificates. - RocketRestSecureConfig(RocketRestSecureConfig.SecureBuilder) - Constructor for class com.guinetik.rr.RocketRestSecureConfig
- RocketRestSecureConfig.SecureBuilder - Class in com.guinetik.rr
-
Builder for creating RocketRestSecureConfig instances.
- RocketSSL - Class in com.guinetik.rr.auth
-
Utility class for handling SSL (TLS 1.2 and 1.3) certificates and contexts.
- RocketSSL() - Constructor for class com.guinetik.rr.auth.RocketSSL
- RocketSSL.SSLAware - Interface in com.guinetik.rr.auth
-
Interface for authentication strategies that can be configured with an SSL context.
- RocketSSL.SSLCertificate - Class in com.guinetik.rr.auth
-
Class representing certificate information.
- RocketSSL.SSLConfig - Interface in com.guinetik.rr.auth
-
Interface for objects that can provide certificate information.
- run() - Method in class com.guinetik.examples.AdpApiExample
- run() - Method in interface com.guinetik.examples.Example
-
Run the example
- run() - Method in class com.guinetik.examples.FakeJsonApiExample
- run() - Method in class com.guinetik.examples.FluentApiExample
- run() - Method in class com.guinetik.examples.JsonTodoExample
- run() - Method in class com.guinetik.examples.NasaApodExample
- run() - Method in class com.guinetik.examples.PokeApiExample
- run() - Method in class com.guinetik.examples.RocketRestCircuitBreakerExample
- run() - Method in class com.guinetik.examples.RocketRestFluentExample
- run() - Method in class com.guinetik.examples.SapIdpExample
- run() - Method in class com.guinetik.examples.WeatherExample
S
- SapIdpExample - Class in com.guinetik.examples
-
Example demonstrating SAP IDP authentication and API usage.
- SapIdpExample() - Constructor for class com.guinetik.examples.SapIdpExample
- secureBuilder(String) - Static method in class com.guinetik.rr.RocketRestSecureConfig
-
Creates a new secure builder for RocketRestConfig.
- SecureBuilder(String) - Constructor for class com.guinetik.rr.RocketRestSecureConfig.SecureBuilder
- SEE_OTHER - Static variable in class com.guinetik.rr.http.HttpConstants.StatusCodes
-
Status code (303): Response to request can be found under different URI
- SERVER_ERROR_MAX - Static variable in class com.guinetik.rr.http.HttpConstants.StatusCodes
-
Maximum status code for server error responses (500-599)
- SERVER_ERROR_MIN - Static variable in class com.guinetik.rr.http.HttpConstants.StatusCodes
-
Minimum status code for server error responses (500-599)
- SERVER_ERRORS_ONLY - com.guinetik.rr.http.CircuitBreakerClient.FailurePolicy
-
Only count status codes
HttpConstants.StatusCodes.SERVER_ERROR_MIN(500) - SERVICE_UNAVAILABLE - Static variable in class com.guinetik.rr.http.HttpConstants.StatusCodes
-
Status code (503): Server is currently unavailable
- service_version - Variable in class com.guinetik.examples.NasaApodExample.ApodResponse
- set(String, Object) - Method in class com.guinetik.rr.RocketRestOptions
-
Sets an option value.
- set(String, String) - Method in class com.guinetik.rr.http.RocketHeaders
-
Sets a header value.
- setAbilities(List<PokeApiExample.AbilityInfo>) - Method in class com.guinetik.examples.PokeApiExample.PokemonDetailResponse
- setAbility(PokeApiExample.NamedResource) - Method in class com.guinetik.examples.PokeApiExample.AbilityInfo
- setAreaName(List<WeatherExample.Value>) - Method in class com.guinetik.examples.WeatherExample.NearestArea
- setAstronomy(List<WeatherExample.Astronomy>) - Method in class com.guinetik.examples.WeatherExample.Weather
- setAvgtempC(String) - Method in class com.guinetik.examples.WeatherExample.Weather
- setAvgtempF(String) - Method in class com.guinetik.examples.WeatherExample.Weather
- setBase_stat(int) - Method in class com.guinetik.examples.PokeApiExample.StatInfo
-
Sets the base stat value directly.
- setBaseStat(int) - Method in class com.guinetik.examples.PokeApiExample.StatInfo
-
Sets the base stat value.
- setBaseUrl(String) - Method in class com.guinetik.rr.api.AbstractApiClient
- setBaseUrl(String) - Method in class com.guinetik.rr.http.AsyncHttpClient
- setBaseUrl(String) - Method in class com.guinetik.rr.http.CircuitBreakerClient
- setBaseUrl(String) - Method in class com.guinetik.rr.http.DefaultHttpClient
- setBaseUrl(String) - Method in class com.guinetik.rr.http.FluentHttpClient
- setBaseUrl(String) - Method in class com.guinetik.rr.http.MockRocketClient
- setBaseUrl(String) - Method in interface com.guinetik.rr.http.RocketClient
- setBaseUrl(String) - Method in class com.guinetik.rr.interceptor.InterceptingClient
- setBaseUrl(String) - Method in class com.guinetik.rr.RocketRest
- setCertificateFilename(String) - Method in class com.guinetik.rr.auth.RocketSSL.SSLCertificate
- setCertificatePassword(String) - Method in class com.guinetik.rr.auth.RocketSSL.SSLCertificate
- setClientProvider(UnaryOperator<RocketRestConfig>) - Static method in class com.guinetik.rr.http.RocketClientFactory
-
Sets a custom client provider for testing/mocking.
- setCloudcover(String) - Method in class com.guinetik.examples.WeatherExample.CurrentCondition
- setCompleted(boolean) - Method in class com.guinetik.examples.Todo
- setCopyright(String) - Method in class com.guinetik.examples.NasaApodExample.ApodResponse
- setCount(int) - Method in class com.guinetik.examples.PokeApiExample.PaginatedResponse
- setCountry(List<WeatherExample.Value>) - Method in class com.guinetik.examples.WeatherExample.NearestArea
- setCurrent_condition(List<WeatherExample.CurrentCondition>) - Method in class com.guinetik.examples.WeatherExample.WeatherResponse
- setDamageRelations(PokeApiExample.DamageRelations) - Method in class com.guinetik.examples.PokeApiExample.TypeDetailResponse
- setDate(String) - Method in class com.guinetik.examples.NasaApodExample.ApodResponse
- setDate(String) - Method in class com.guinetik.examples.WeatherExample.Weather
- setDoubleDamageFrom(List<PokeApiExample.NamedResource>) - Method in class com.guinetik.examples.PokeApiExample.DamageRelations
- setDoubleDamageTo(List<PokeApiExample.NamedResource>) - Method in class com.guinetik.examples.PokeApiExample.DamageRelations
- setEffort(int) - Method in class com.guinetik.examples.PokeApiExample.StatInfo
- setExplanation(String) - Method in class com.guinetik.examples.NasaApodExample.ApodResponse
- setFeelsLikeC(String) - Method in class com.guinetik.examples.WeatherExample.CurrentCondition
- setFeelsLikeF(String) - Method in class com.guinetik.examples.WeatherExample.CurrentCondition
- setHalfDamageFrom(List<PokeApiExample.NamedResource>) - Method in class com.guinetik.examples.PokeApiExample.DamageRelations
- setHalfDamageTo(List<PokeApiExample.NamedResource>) - Method in class com.guinetik.examples.PokeApiExample.DamageRelations
- setHdurl(String) - Method in class com.guinetik.examples.NasaApodExample.ApodResponse
- setHeight(int) - Method in class com.guinetik.examples.PokeApiExample.PokemonDetailResponse
- setHidden(boolean) - Method in class com.guinetik.examples.PokeApiExample.AbilityInfo
- setHumidity(String) - Method in class com.guinetik.examples.WeatherExample.CurrentCondition
- setId(int) - Method in class com.guinetik.examples.PokeApiExample.PokemonDetailResponse
- setId(int) - Method in class com.guinetik.examples.PokeApiExample.TypeDetailResponse
- setId(int) - Method in class com.guinetik.examples.Todo
- setLatitude(String) - Method in class com.guinetik.examples.WeatherExample.NearestArea
- setLocalObsDateTime(String) - Method in class com.guinetik.examples.WeatherExample.CurrentCondition
- setLongitude(String) - Method in class com.guinetik.examples.WeatherExample.NearestArea
- setMaxtempC(String) - Method in class com.guinetik.examples.WeatherExample.Weather
- setMaxtempF(String) - Method in class com.guinetik.examples.WeatherExample.Weather
- setMediaType(String) - Method in class com.guinetik.examples.NasaApodExample.ApodResponse
- setMintempC(String) - Method in class com.guinetik.examples.WeatherExample.Weather
- setMintempF(String) - Method in class com.guinetik.examples.WeatherExample.Weather
- setMoon_illumination(String) - Method in class com.guinetik.examples.WeatherExample.Astronomy
- setMoon_phase(String) - Method in class com.guinetik.examples.WeatherExample.Astronomy
- setMoonrise(String) - Method in class com.guinetik.examples.WeatherExample.Astronomy
- setMoonset(String) - Method in class com.guinetik.examples.WeatherExample.Astronomy
- setMove(PokeApiExample.NamedResource) - Method in class com.guinetik.examples.PokeApiExample.MoveInfo
- setMoves(List<PokeApiExample.MoveInfo>) - Method in class com.guinetik.examples.PokeApiExample.PokemonDetailResponse
- setMoves(List<PokeApiExample.NamedResource>) - Method in class com.guinetik.examples.PokeApiExample.TypeDetailResponse
- setName(String) - Method in class com.guinetik.examples.PokeApiExample.NamedResource
- setName(String) - Method in class com.guinetik.examples.PokeApiExample.PokemonDetailResponse
- setName(String) - Method in class com.guinetik.examples.PokeApiExample.TypeDetailResponse
- setNearest_area(List<WeatherExample.NearestArea>) - Method in class com.guinetik.examples.WeatherExample.WeatherResponse
- setNext(String) - Method in class com.guinetik.examples.PokeApiExample.PaginatedResponse
- setNoDamageFrom(List<PokeApiExample.NamedResource>) - Method in class com.guinetik.examples.PokeApiExample.DamageRelations
- setNoDamageTo(List<PokeApiExample.NamedResource>) - Method in class com.guinetik.examples.PokeApiExample.DamageRelations
- setObservation_time(String) - Method in class com.guinetik.examples.WeatherExample.CurrentCondition
- setPopulation(String) - Method in class com.guinetik.examples.WeatherExample.NearestArea
- setPrecipInches(String) - Method in class com.guinetik.examples.WeatherExample.CurrentCondition
- setPrecipMM(String) - Method in class com.guinetik.examples.WeatherExample.CurrentCondition
- setPressure(String) - Method in class com.guinetik.examples.WeatherExample.CurrentCondition
- setPressureInches(String) - Method in class com.guinetik.examples.WeatherExample.CurrentCondition
- setPrevious(String) - Method in class com.guinetik.examples.PokeApiExample.PaginatedResponse
- setRegion(List<WeatherExample.Value>) - Method in class com.guinetik.examples.WeatherExample.NearestArea
- setResults(List<T>) - Method in class com.guinetik.examples.PokeApiExample.PaginatedResponse
- setServiceUrl(String) - Method in class com.guinetik.rr.RocketRestConfig
- setServiceVersion(String) - Method in class com.guinetik.examples.NasaApodExample.ApodResponse
- setSlot(int) - Method in class com.guinetik.examples.PokeApiExample.AbilityInfo
- setSlot(int) - Method in class com.guinetik.examples.PokeApiExample.TypeInfo
- setStat(PokeApiExample.NamedResource) - Method in class com.guinetik.examples.PokeApiExample.StatInfo
- setStats(List<PokeApiExample.StatInfo>) - Method in class com.guinetik.examples.PokeApiExample.PokemonDetailResponse
- setSunHour(String) - Method in class com.guinetik.examples.WeatherExample.Weather
- setSunrise(String) - Method in class com.guinetik.examples.WeatherExample.Astronomy
- setSunset(String) - Method in class com.guinetik.examples.WeatherExample.Astronomy
- setTemp_C(String) - Method in class com.guinetik.examples.WeatherExample.CurrentCondition
- setTemp_F(String) - Method in class com.guinetik.examples.WeatherExample.CurrentCondition
- setTitle(String) - Method in class com.guinetik.examples.NasaApodExample.ApodResponse
- setTitle(String) - Method in class com.guinetik.examples.Todo
- setTotalSnow_cm(String) - Method in class com.guinetik.examples.WeatherExample.Weather
- setType(PokeApiExample.NamedResource) - Method in class com.guinetik.examples.PokeApiExample.TypeInfo
- setTypes(List<PokeApiExample.TypeInfo>) - Method in class com.guinetik.examples.PokeApiExample.PokemonDetailResponse
- setUrl(String) - Method in class com.guinetik.examples.NasaApodExample.ApodResponse
- setUrl(String) - Method in class com.guinetik.examples.PokeApiExample.NamedResource
- setUserId(int) - Method in class com.guinetik.examples.Todo
- setUvIndex(String) - Method in class com.guinetik.examples.WeatherExample.CurrentCondition
- setUvIndex(String) - Method in class com.guinetik.examples.WeatherExample.Weather
- setValue(String) - Method in class com.guinetik.examples.WeatherExample.Value
- setValue(String) - Method in class com.guinetik.examples.WeatherExample.WeatherDesc
- setVisibility(String) - Method in class com.guinetik.examples.WeatherExample.CurrentCondition
- setVisibilityMiles(String) - Method in class com.guinetik.examples.WeatherExample.CurrentCondition
- setWeather(List<WeatherExample.Weather>) - Method in class com.guinetik.examples.WeatherExample.WeatherResponse
- setWeatherCode(String) - Method in class com.guinetik.examples.WeatherExample.CurrentCondition
- setWeatherDesc(List<WeatherExample.WeatherDesc>) - Method in class com.guinetik.examples.WeatherExample.CurrentCondition
- setWeight(int) - Method in class com.guinetik.examples.PokeApiExample.PokemonDetailResponse
- setWinddir16Point(String) - Method in class com.guinetik.examples.WeatherExample.CurrentCondition
- setWinddirDegree(String) - Method in class com.guinetik.examples.WeatherExample.CurrentCondition
- setWindspeedKmph(String) - Method in class com.guinetik.examples.WeatherExample.CurrentCondition
- setWindspeedMiles(String) - Method in class com.guinetik.examples.WeatherExample.CurrentCondition
- shutdown() - Method in class com.guinetik.rr.api.AsyncApiClient
-
Shuts down the executor service.
- shutdown() - Method in class com.guinetik.rr.api.FluentApiClient
-
Shutdown the client and release resources.
- shutdown() - Method in class com.guinetik.rr.http.AsyncHttpClient
-
Shuts down the executor service.
- shutdown() - Method in interface com.guinetik.rr.RocketRest.AsyncApi
- shutdown() - Method in class com.guinetik.rr.RocketRest
-
Shuts down all resources used by this client.
- SSL_ERROR - Static variable in class com.guinetik.rr.http.HttpConstants.Errors
-
Error message for SSL configuration issues
- SSLCertificate() - Constructor for class com.guinetik.rr.auth.RocketSSL.SSLCertificate
- SSLCertificate(String, String) - Constructor for class com.guinetik.rr.auth.RocketSSL.SSLCertificate
- StatInfo() - Constructor for class com.guinetik.examples.PokeApiExample.StatInfo
- STATUS_CLOSED - Static variable in class com.guinetik.rr.http.HttpConstants.CircuitBreaker
-
Circuit breaker status: closed (allowing requests)
- STATUS_HALF_OPEN - Static variable in class com.guinetik.rr.http.HttpConstants.CircuitBreaker
-
Circuit breaker status: half-open (allowing test requests)
- STATUS_OPEN - Static variable in class com.guinetik.rr.http.HttpConstants.CircuitBreaker
-
Circuit breaker status: open (not allowing requests)
- StatusCodes() - Constructor for class com.guinetik.rr.http.HttpConstants.StatusCodes
- StreamUtils - Class in com.guinetik.rr.util
-
Utility class for safe input stream operations with proper resource management.
- success(T) - Static method in class com.guinetik.rr.result.Result
-
Creates a successful Result containing the given value.
- SUCCESS_MAX - Static variable in class com.guinetik.rr.http.HttpConstants.StatusCodes
-
Maximum status code for success responses (200-299)
- SUCCESS_MIN - Static variable in class com.guinetik.rr.http.HttpConstants.StatusCodes
-
Minimum status code for success responses (200-299)
- sync() - Method in class com.guinetik.rr.RocketRest
-
Gets the synchronous API interface.
- sync() - Method in class com.guinetik.rr.RocketRestMock
-
Provides a mock implementation for sync API calls.
T
- TEXT_PLAIN - Static variable in class com.guinetik.rr.http.RocketHeaders.ContentTypes
- TIMEOUT - Static variable in class com.guinetik.rr.http.HttpConstants.Errors
-
Error message for request timeout
- Timeouts() - Constructor for class com.guinetik.rr.http.HttpConstants.Timeouts
- TIMING_ENABLED - Static variable in class com.guinetik.rr.RocketRestOptions
- title - Variable in class com.guinetik.examples.NasaApodExample.ApodResponse
- Todo - Class in com.guinetik.examples
-
Model class for JSON response from JSONPlaceholder Todo API
- Todo() - Constructor for class com.guinetik.examples.Todo
- Todo(int, int, String, boolean) - Constructor for class com.guinetik.examples.Todo
- toJsonString(Object) - Static method in class com.guinetik.rr.json.JsonObjectMapper
- toJsonStringNoIdent(Object) - Static method in class com.guinetik.rr.json.JsonObjectMapper
- TOKEN_EXPIRED - Static variable in class com.guinetik.rr.http.HttpConstants.Errors
-
Error message for expired or invalid token
- TOKEN_URL - Static variable in class com.guinetik.rr.RocketRestOptions
- TokenExpiredException - Exception in com.guinetik.rr.auth
-
Exception thrown when an API request fails due to token expiration.
- TokenExpiredException(String) - Constructor for exception com.guinetik.rr.auth.TokenExpiredException
-
Creates a new TokenExpiredException with the specified message.
- TokenExpiredException(String, Throwable) - Constructor for exception com.guinetik.rr.auth.TokenExpiredException
-
Creates a new TokenExpiredException with the specified message and cause.
- tokenExpiryTime - Variable in class com.guinetik.rr.auth.AbstractOAuth2Strategy
- TokenRefreshException - Exception in com.guinetik.rr.auth
-
Exception thrown when token refresh fails.
- TokenRefreshException(String) - Constructor for exception com.guinetik.rr.auth.TokenRefreshException
- TokenRefreshException(String, Throwable) - Constructor for exception com.guinetik.rr.auth.TokenRefreshException
- tokenUrl(String) - Method in class com.guinetik.rr.RocketRestConfig.Builder
-
Sets the token URL for OAuth flows.
- tokenUrl(String) - Method in class com.guinetik.rr.RocketRestSecureConfig.SecureBuilder
- toOptional() - Method in class com.guinetik.rr.result.Result
-
Converts this Result to an Optional containing the value if this Result is a success, or an empty Optional if this Result is a failure.
- toString() - Method in class com.guinetik.examples.NasaApodExample.ApodResponse
- toString() - Method in class com.guinetik.examples.PokeApiExample.StatInfo
- toString() - Method in class com.guinetik.examples.Todo
- toString() - Method in class com.guinetik.examples.WeatherExample.CurrentCondition
- toString() - Method in class com.guinetik.rr.result.ApiError
- toString() - Method in class com.guinetik.rr.result.Result
- TypeDetailResponse() - Constructor for class com.guinetik.examples.PokeApiExample.TypeDetailResponse
- TypeInfo() - Constructor for class com.guinetik.examples.PokeApiExample.TypeInfo
- TypeListResponse() - Constructor for class com.guinetik.examples.PokeApiExample.TypeListResponse
U
- UNAUTHORIZED - Static variable in class com.guinetik.rr.http.HttpConstants.StatusCodes
-
Status code (401): Authentication is required and has failed or not been provided
- UNKNOWN - com.guinetik.rr.result.ApiError.ErrorType
-
Unknown error
- unwrap() - Method in class com.guinetik.rr.result.Result
-
Returns the value if this Result is a success, or unwraps the error by throwing an exception.
- url - Variable in class com.guinetik.examples.NasaApodExample.ApodResponse
- Url() - Constructor for class com.guinetik.rr.http.HttpConstants.Url
- USER_AGENT - Static variable in class com.guinetik.rr.http.RocketHeaders.Names
- UTF8 - Static variable in class com.guinetik.rr.http.HttpConstants.Encoding
-
UTF-8 character encoding
V
- validateCredentials() - Method in class com.guinetik.rr.auth.AbstractOAuth2Strategy
-
Validates that all required credentials are present.
- validateCredentials() - Method in class com.guinetik.rr.auth.OAuth2AssertionStrategy
-
Validates that all required credentials are present.
- validateCredentials() - Method in class com.guinetik.rr.auth.OAuth2ClientCredentialsStrategy
-
Validates that all required credentials are present.
- validateCredentials() - Method in class com.guinetik.rr.auth.OAuth2PasswordStrategy
-
Validates that all required credentials are present.
- Value() - Constructor for class com.guinetik.examples.WeatherExample.Value
- valueOf(String) - Static method in enum com.guinetik.rr.auth.AuthStrategy.AuthType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.guinetik.rr.http.CircuitBreakerClient.FailurePolicy
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.guinetik.rr.http.CircuitBreakerClient.State
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.guinetik.rr.result.ApiError.ErrorType
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum com.guinetik.rr.auth.AuthStrategy.AuthType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.guinetik.rr.http.CircuitBreakerClient.FailurePolicy
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.guinetik.rr.http.CircuitBreakerClient.State
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.guinetik.rr.result.ApiError.ErrorType
-
Returns an array containing the constants of this enum type, in the order they are declared.
W
- Weather() - Constructor for class com.guinetik.examples.WeatherExample.Weather
- WeatherDesc() - Constructor for class com.guinetik.examples.WeatherExample.WeatherDesc
- WeatherExample - Class in com.guinetik.examples
-
Example demonstrating how to use RocketRest's async API to fetch weather data from wttr.in service.
- WeatherExample() - Constructor for class com.guinetik.examples.WeatherExample
- WeatherExample.Astronomy - Class in com.guinetik.examples
-
Astronomy information
- WeatherExample.CurrentCondition - Class in com.guinetik.examples
-
Current weather conditions
- WeatherExample.NearestArea - Class in com.guinetik.examples
-
Nearest area information
- WeatherExample.Value - Class in com.guinetik.examples
-
Generic value class for nested structures
- WeatherExample.Weather - Class in com.guinetik.examples
-
Weather forecast information
- WeatherExample.WeatherDesc - Class in com.guinetik.examples
-
Weather description
- WeatherExample.WeatherResponse - Class in com.guinetik.examples
-
Main weather response class
- WeatherResponse() - Constructor for class com.guinetik.examples.WeatherExample.WeatherResponse
- withCircuitBreaker() - Method in class com.guinetik.rr.http.RocketClientFactory.Builder
-
Enables the circuit breaker pattern with default settings.
- withCircuitBreaker(int, long) - Method in class com.guinetik.rr.http.RocketClientFactory.Builder
-
Enables the circuit breaker pattern with custom settings.
- withCircuitBreaker(int, long, long, CircuitBreakerClient.FailurePolicy) - Method in class com.guinetik.rr.http.RocketClientFactory.Builder
-
Enables the circuit breaker pattern with fully customized settings.
- withCustomCertificate(String, String) - Method in class com.guinetik.rr.RocketRestSecureConfig.SecureBuilder
-
Enables a custom SSL certificate with the given filename and password.
- withCustomDecorator(UnaryOperator<RocketClient>) - Method in class com.guinetik.rr.http.RocketClientFactory.Builder
-
Adds a custom decorator function that will be applied to the client.
- withExecutorService(ExecutorService) - Method in class com.guinetik.rr.http.RocketClientFactory.Builder
-
Sets the executor service for async operations.
- withFailurePredicate(Predicate<RocketRestException>) - Method in class com.guinetik.rr.http.RocketClientFactory.Builder
-
Sets a custom failure predicate for the circuit breaker.
- withHeader(String, String) - Method in class com.guinetik.rr.http.MockRocketClient
-
Sets a custom header value that will be included in response data
- withInterceptor(RequestInterceptor) - Method in class com.guinetik.rr.http.RocketClientFactory.Builder
-
Adds an interceptor to the client.
- withLatency(String, long) - Method in class com.guinetik.rr.http.MockRocketClient
-
Sets the latency for a specific endpoint in milliseconds
- withLatency(String, long) - Method in class com.guinetik.rr.RocketRestMock
-
Adds simulated network latency for a specific URL pattern.
- withMaxRetries(int) - Method in class com.guinetik.rr.http.RocketClientFactory.Builder
-
Sets the maximum number of retries allowed by the interceptor chain.
- withOptions(RocketRestOptions) - Method in class com.guinetik.rr.http.RocketClientFactory.Builder
-
Sets the client options.
- withRetry() - Method in class com.guinetik.rr.http.RocketClientFactory.Builder
-
Adds retry capability with default settings.
- withRetry(int, long) - Method in class com.guinetik.rr.http.RocketClientFactory.Builder
-
Adds retry capability with custom retry count and delay.
- withRetry(int, long, double) - Method in class com.guinetik.rr.http.RocketClientFactory.Builder
-
Adds retry capability with exponential backoff.
- withStatusCode(String, int) - Method in class com.guinetik.rr.http.MockRocketClient
-
Sets the status code for a specific endpoint
All Classes All Packages