Package io.helidon.integrations.common.rest
package io.helidon.integrations.common.rest
Common classes for accessing JSON based REST APIs of third party systems.
-
ClassDescriptionResponse from a remote server with an entity.Fluent API builder base to build subclasses of
ApiEntityResponse
.API exception that is not related to processing of a response.ApiJsonBuilder<T extends ApiJsonBuilder<T>>Common base class for builders that construct a JSON object.Helper methods to process a returned JSON.ApiJsonRequest<T extends ApiJsonRequest<T>>Common base class for REST requests that have an entity.A response for requests that may or may not return an entity, such as GET requests that may have a404
response code.Fluent API builder forApiOptionalResponse
.ApiOptionalResponse.BuilderBase<B extends ApiOptionalResponse.BuilderBase<B,T, X, R>, T extends ApiOptionalResponse<R>, X, R> Fluent API builder base for subclasses ofApiOptionalResponse
.ApiRequest<T extends ApiRequest<T>>Common base class for REST requests.A base for responses without an entity.Abstract fluent API builder to build subclasses ofApiResponse
.Exception when invoking remote REST API caused by wrong response from the API call.ApiRestException.BaseBuilder<B extends ApiRestException.BaseBuilder<B>>Base builder extended by specific builder class.ApiRestRequest<T extends ApiRequest<T>>Common base class for REST requests.Implementation of aApiRequest
that allows free configuration of the JSON object.Response builder extracted as an interface, to work around the restriction that we cannot have multiple inheritance in Java.JSON based REST API operations.Base builder for REST APIs.Base REST API implementation.Implementation of theApiRestException
.Fluent API builder forRestException
.Simple REST request.