Uses of Class
com.guinetik.rr.result.ApiError
-
Packages that use ApiError Package Description com.guinetik.rr com.guinetik.rr.api com.guinetik.rr.http com.guinetik.rr.result -
-
Uses of ApiError in com.guinetik.rr
Methods in com.guinetik.rr that return types with arguments of type ApiError Modifier and Type Method Description <T> Result<T,ApiError>RocketRest.FluentApi. delete(String endpoint, Class<T> responseType)<Req,Res>
Result<Res,ApiError>RocketRest.FluentApi. execute(RequestSpec<Req,Res> requestSpec)<T> Result<T,ApiError>RocketRest.FluentApi. get(String endpoint, Class<T> responseType)<T> Result<T,ApiError>RocketRest.FluentApi. get(String endpoint, Class<T> responseType, Map<String,String> queryParams)<Res> Result<Res,ApiError>RocketRest.FluentApi. post(String endpoint, Class<Res> responseType)<Req,Res>
Result<Res,ApiError>RocketRest.FluentApi. post(String endpoint, Req body, Class<Res> responseType)<Res> Result<Res,ApiError>RocketRest.FluentApi. put(String endpoint, Class<Res> responseType)<Req,Res>
Result<Res,ApiError>RocketRest.FluentApi. put(String endpoint, Req body, Class<Res> responseType) -
Uses of ApiError in com.guinetik.rr.api
Methods in com.guinetik.rr.api that return types with arguments of type ApiError Modifier and Type Method Description <Res> Result<Res,ApiError>FluentApiClient. delete(String endpoint, Class<Res> responseType)Performs a DELETE request using the Result pattern.<Res> Result<Res,ApiError>FluentApiClient. delete(String endpoint, Map<String,String> headers, Class<Res> responseType)Performs a DELETE request with headers using the Result pattern.<Req,Res>
Result<Res,ApiError>FluentApiClient. executeWithResult(RequestSpec<Req,Res> requestSpec)Executes a request and returns a Result object instead of throwing exceptions.<Res> Result<Res,ApiError>FluentApiClient. get(String endpoint, Class<Res> responseType)Performs a GET request using the Result pattern.<Res> Result<Res,ApiError>FluentApiClient. get(String endpoint, Map<String,String> headers, Class<Res> responseType)Performs a GET request with headers using the Result pattern.<Req,Res>
Result<Res,ApiError>FluentApiClient. post(String endpoint, Req body, Class<Res> responseType)Performs a POST request using the Result pattern.<Req,Res>
Result<Res,ApiError>FluentApiClient. post(String endpoint, Req body, Map<String,String> headers, Class<Res> responseType)Performs a POST request with headers using the Result pattern.<Req,Res>
Result<Res,ApiError>FluentApiClient. put(String endpoint, Req body, Class<Res> responseType)Performs a PUT request using the Result pattern.<Req,Res>
Result<Res,ApiError>FluentApiClient. put(String endpoint, Req body, Map<String,String> headers, Class<Res> responseType)Performs a PUT request with headers using the Result pattern. -
Uses of ApiError in com.guinetik.rr.http
Methods in com.guinetik.rr.http that return types with arguments of type ApiError Modifier and Type Method Description <Req,Res>
Result<Res,ApiError>FluentHttpClient. executeWithResult(RequestSpec<Req,Res> requestSpec)Executes a request and returns a Result object containing either the response or an error. -
Uses of ApiError in com.guinetik.rr.result
Methods in com.guinetik.rr.result that return ApiError Modifier and Type Method Description static ApiErrorApiError. authError(String message, int statusCode, String responseBody)Constructs an authentication error.static ApiErrorApiError. circuitOpenError(String message)Constructs a circuit breaker open error.static ApiErrorApiError. configError(String message)Constructs a configuration error.static ApiErrorApiError. httpError(String message, int statusCode, String responseBody)Constructs an HTTP error with status code.static ApiErrorApiError. networkError(String message)Constructs a network error.static ApiErrorApiError. parseError(String message, String responseBody)Constructs a parse error.
-