Uses of Class
io.helidon.integrations.common.rest.ApiEntityResponse.Builder
Package
Description
Common classes for accessing JSON based REST APIs of third party systems.
Vault integration.
Token authentication method for Vault.
-
Uses of ApiEntityResponse.Builder in io.helidon.integrations.common.rest
Modifier and TypeClassDescriptionstatic class
ApiEntityResponse.Builder<B extends ApiEntityResponse.Builder<B,
T, X>, T extends ApiEntityResponse, X> Fluent API builder base to build subclasses ofApiEntityResponse
.Modifier and TypeMethodDescriptionprotected <T extends ApiEntityResponse>
Single<T>RestApiBase.handleJsonResponse
(String path, ApiRequest<?> request, Http.RequestMethod method, String requestId, WebClientResponse response, ApiEntityResponse.Builder<?, T, JsonObject> responseBuilder) Reads JsonObject from response entity and either calls thejsonOkResponse
orerrorResponse
depending on its success.<T extends ApiEntityResponse>
Single<T>RestApi.invokeWithResponse
(Http.RequestMethod method, String path, ApiRequest<?> request, ApiEntityResponse.Builder<?, T, JsonObject> responseBuilder) Invoke a request that is expected to yield an entity.<T extends ApiEntityResponse>
Single<T>RestApiBase.invokeWithResponse
(Http.RequestMethod method, String path, ApiRequest<?> request, ApiEntityResponse.Builder<?, T, JsonObject> responseBuilder) ModifierConstructorDescriptionprotected
ApiEntityResponse
(ApiEntityResponse.Builder<?, ?, ?> builder) Create a new instance. -
Uses of ApiEntityResponse.Builder in io.helidon.integrations.vault
ModifierConstructorDescriptionprotected
VaultResponse
(ApiEntityResponse.Builder<?, ? extends VaultResponse, JsonObject> builder) Create a new response from a builder. -
Uses of ApiEntityResponse.Builder in io.helidon.integrations.vault.auths.token
ModifierConstructorDescriptionprotected
TokenResponse
(ApiEntityResponse.Builder<?, ? extends VaultResponse, JsonObject> builder)