Uses of Interface
io.helidon.integrations.common.rest.ApiRequest
Package
Description
Common classes for accessing JSON based REST APIs of third party systems.
Vault integration.
AppRole authentication method for Vault.
Common classes for Vault integration.
Vault authentication method for Kubernetes.
Token authentication method for Vault.
Cubbyhole secret engine support for Vault.
Vault's Database Secrets Engine support.
Vault's KV1 Secrets Engine support.
Vault's Key/value version 2 Secrets Engine support.
Vault's PKI Secrets Engine support.
Vault transit secrets.
Sys operations for Vault.
-
Uses of ApiRequest in io.helidon.integrations.common.rest
Modifier and TypeInterfaceDescriptioninterface
ApiRequest<T extends ApiRequest<T>>
Common base class for REST requests.class
ApiRestRequest<T extends ApiRequest<T>>
Common base class for REST requests.Modifier and TypeClassDescriptionclass
ApiJsonRequest<T extends ApiJsonRequest<T>>
Common base class for REST requests that have an entity.class
ApiRestRequest<T extends ApiRequest<T>>
Common base class for REST requests.final class
Implementation of aApiRequest
that allows free configuration of the JSON object.final class
Simple REST request.Modifier and TypeMethodDescriptionprotected void
RestApiBase.addHeaders
(WebClientRequestBuilder requestBuilder, String path, ApiRequest<?> request, Http.RequestMethod method, String requestId) Add HTTP headers.protected void
RestApiBase.addQueryParams
(WebClientRequestBuilder requestBuilder, String path, ApiRequest<?> request, Http.RequestMethod method, String requestId) Add HTTP query parameters.default <T extends ApiResponse>
Single<T>RestApi.delete
(String path, ApiRequest<?> request, ApiResponse.Builder<?, T> responseBuilder) Delete without a response entity.protected <T> Single<T>
RestApiBase.emptyResponse
(String path, ApiRequest<?> request, Http.RequestMethod method, String requestId, WebClientResponse response, ResponseBuilder<?, T, ?> responseBuilder) Empty response, may be because of aHttp.Status.NOT_FOUND_404
, or some other status, such asHttp.Status.NOT_MODIFIED_304
.protected <T extends ApiResponse>
Single<T>RestApiBase.errorResponse
(String path, ApiRequest<?> request, Http.RequestMethod method, String requestId, WebClientResponse response) Create an error response.default <R,
T extends ApiOptionalResponse<R>>
Single<T>RestApi.get
(String path, ApiRequest<?> request, ApiOptionalResponse.BuilderBase<?, T, JsonObject, R> responseBuilder) Get with an optional response.default <R,
T extends ApiOptionalResponse<R>>
Single<T>RestApi.getBytes
(String path, ApiRequest<?> request, ApiOptionalResponse.BuilderBase<?, T, byte[], R> responseBuilder) Get bytes with an optional response.default <R,
T extends ApiOptionalResponse<R>>
Single<T>RestApi.getPublisher
(String path, ApiRequest<?> request, ApiOptionalResponse.BuilderBase<?, T, Multi<DataChunk>, R> responseBuilder) Get with a response consisting of a stream.protected <R,
T extends ApiOptionalResponse<R>>
Single<T>RestApiBase.handleBytesResponse
(String path, ApiRequest<?> request, Http.RequestMethod method, String requestId, WebClientResponse response, ApiOptionalResponse.BuilderBase<?, T, byte[], R> responseBuilder) Handle bytes response for optional bytes entity.protected <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.protected <R,
T extends ApiOptionalResponse<R>>
Single<T>RestApiBase.handleOptionalJsonResponse
(String path, ApiRequest<?> request, Http.RequestMethod method, String requestId, WebClientResponse response, ApiOptionalResponse.BuilderBase<?, T, JsonObject, R> responseBuilder) Handle response for optional JSON entity.protected <R,
T extends ApiOptionalResponse<R>>
Single<T>RestApiBase.handlePublisherResponse
(String path, ApiRequest<?> request, Http.RequestMethod method, String requestId, WebClientResponse response, ApiOptionalResponse.BuilderBase<?, T, Multi<DataChunk>, R> responseBuilder) Handle response for optional publisher entity.protected <T extends ApiResponse>
Single<T>RestApiBase.handleResponse
(String path, ApiRequest<?> request, Http.RequestMethod method, String requestId, WebClientResponse response, ApiResponse.Builder<?, T> responseBuilder) Handle response for a request not expecting an entity.<T extends ApiResponse>
Single<T>RestApi.invoke
(Http.RequestMethod method, String path, ApiRequest<?> request, ApiResponse.Builder<?, T> responseBuilder) Invoke a request that is not expected to yield an entity.<T extends ApiResponse>
Single<T>RestApiBase.invoke
(Http.RequestMethod method, String path, ApiRequest<?> request, ApiResponse.Builder<?, T> responseBuilder) <T extends ApiResponse>
Single<T>RestApi.invokeBytesRequest
(Http.RequestMethod method, String path, ApiRequest<?> request, Flow.Publisher<DataChunk> byteRequest, ApiResponse.Builder<?, T> responseBuilder) The request media type should be provided in request, falls back toMediaType.APPLICATION_OCTET_STREAM
.<T extends ApiResponse>
Single<T>RestApiBase.invokeBytesRequest
(Http.RequestMethod method, String path, ApiRequest<?> request, Flow.Publisher<DataChunk> byteRequest, ApiResponse.Builder<?, T> responseBuilder) <R,
T extends ApiOptionalResponse<R>>
Single<T>RestApi.invokeBytesResponse
(Http.RequestMethod method, String path, ApiRequest<?> request, ApiOptionalResponse.BuilderBase<?, T, byte[], R> responseBuilder) Invoke API call that is expected to return bytes.<R,
T extends ApiOptionalResponse<R>>
Single<T>RestApiBase.invokeBytesResponse
(Http.RequestMethod method, String path, ApiRequest<?> request, ApiOptionalResponse.BuilderBase<?, T, byte[], R> responseBuilder) <R,
T extends ApiOptionalResponse<R>>
Single<T>RestApi.invokeOptional
(Http.RequestMethod method, String path, ApiRequest<?> request, ApiOptionalResponse.BuilderBase<?, T, JsonObject, R> responseBuilder) Invoke a request that may yield an entity.<R,
T extends ApiOptionalResponse<R>>
Single<T>RestApiBase.invokeOptional
(Http.RequestMethod method, String path, ApiRequest<?> request, ApiOptionalResponse.BuilderBase<?, T, JsonObject, R> responseBuilder) <R,
T extends ApiOptionalResponse<R>>
Single<T>RestApi.invokePublisherResponse
(Http.RequestMethod method, String path, ApiRequest<?> request, ApiOptionalResponse.BuilderBase<?, T, Multi<DataChunk>, R> responseBuilder) Invoke API call that is expected to return bytes as a publisher.<R,
T extends ApiOptionalResponse<R>>
Single<T>RestApiBase.invokePublisherResponse
(Http.RequestMethod method, String path, ApiRequest<?> request, ApiOptionalResponse.BuilderBase<?, T, Multi<DataChunk>, R> responseBuilder) <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) protected boolean
RestApiBase.isEntityExpected
(String path, ApiRequest<?> request, Http.RequestMethod method, String requestId, Http.ResponseStatus status) This method is only called for methods that return an optional entity.protected boolean
RestApiBase.isSuccess
(String path, ApiRequest<?> request, Http.RequestMethod method, String requestId, Http.ResponseStatus status) Provide information whether the response is a success response for requests with optional entity.protected <T> T
RestApiBase.jsonOkResponse
(String path, ApiRequest<?> request, Http.RequestMethod method, String requestId, WebClientResponse response, JsonObject json, ResponseBuilder<?, T, JsonObject> responseBuilder) Builds the response using the response builder provided.protected <T extends ApiResponse>
Single<T>RestApiBase.noEntityOkResponse
(String path, ApiRequest<?> request, Http.RequestMethod method, String requestId, WebClientResponse response, ApiResponse.Builder<?, T> responseBuilder) Create a response for no entity.default <T extends ApiResponse>
Single<T>RestApi.post
(String path, ApiRequest<?> request, ApiResponse.Builder<?, T> responseBuilder) Post without a response entity.default <T extends ApiResponse>
Single<T>RestApi.put
(String path, ApiRequest<?> request, ApiResponse.Builder<?, T> responseBuilder) Put without a response entity.protected Throwable
RestApiBase.readError
(String path, ApiRequest<?> request, Http.RequestMethod method, String requestId, WebClientResponse response) Read error with no entity (content length set to 0).protected Throwable
RestApiBase.readError
(String path, ApiRequest<?> request, Http.RequestMethod method, String requestId, WebClientResponse response, JsonObject errorObject) Read error with a JSON entity.protected Throwable
RestApiBase.readError
(String path, ApiRequest<?> request, Http.RequestMethod method, String requestId, WebClientResponse response, String entity) Read error with an entity that failed to be parsed into a JSON object.protected Throwable
RestApiBase.readErrorFailedEntity
(String path, ApiRequest<?> request, Http.RequestMethod method, String requestId, WebClientResponse response, Throwable throwable) Read error information when we failed to read resposen entity.protected Supplier<Single<WebClientResponse>>
RestApiBase.requestBytesPayload
(String path, ApiRequest<?> request, Http.RequestMethod method, String requestId, WebClientRequestBuilder requestBuilder, Flow.Publisher<DataChunk> publisher) Create a supplier for a response with publisher request.protected String
RestApiBase.requestId
(ApiRequest<?> restRequest) Attempts to find a good request id.protected Supplier<Single<WebClientResponse>>
RestApiBase.requestJsonPayload
(String path, ApiRequest<?> request, Http.RequestMethod method, String requestId, WebClientRequestBuilder requestBuilder, JsonObject jsonObject) Create a supplier for a response with JSON request.protected Supplier<Single<WebClientResponse>>
RestApiBase.requestPayload
(String path, ApiRequest<?> request, Http.RequestMethod method, String requestId, WebClientRequestBuilder requestBuilder) Create a supplier for a response.protected Supplier<Single<WebClientResponse>>
RestApiBase.responseSupplier
(Http.RequestMethod method, String path, ApiRequest<?> request, String requestId) Create a response supplier from the request.protected Single<WebClientRequestBuilder>
RestApiBase.updateRequestBuilder
(WebClientRequestBuilder requestBuilder, String path, ApiRequest<?> request, Http.RequestMethod method, String requestId) Update request builder with no request payload.protected Single<WebClientRequestBuilder>
RestApiBase.updateRequestBuilder
(WebClientRequestBuilder requestBuilder, String path, ApiRequest<?> request, Http.RequestMethod method, String requestId, JsonObject jsonObject) Update request builder with no request payload.protected Single<WebClientRequestBuilder>
RestApiBase.updateRequestBuilderBytesPayload
(WebClientRequestBuilder requestBuilder, String path, ApiRequest<?> request, Http.RequestMethod method, String requestId) Update request builder with publisher request payload.protected Single<WebClientRequestBuilder>
RestApiBase.updateRequestBuilderCommon
(WebClientRequestBuilder requestBuilder, String path, ApiRequest<?> request, Http.RequestMethod method, String requestId) Update request builder used by all default implementation inRestApiBase
. -
Uses of ApiRequest in io.helidon.integrations.vault
Modifier and TypeClassDescriptionstatic class
Request object.class
VaultRequest<T extends VaultRequest<T>>
Common helper methods for Vault Requests. -
Uses of ApiRequest in io.helidon.integrations.vault.auths.approle
Modifier and TypeClassDescriptionstatic class
Request object.static class
Request object.static class
Request object.static class
Request object.static class
Request object.static class
Request object. -
Uses of ApiRequest in io.helidon.integrations.vault.auths.common
Modifier and TypeMethodDescriptionprotected <T> Single<T>
VaultRestApi.emptyResponse
(String path, ApiRequest<?> request, Http.RequestMethod method, String requestId, WebClientResponse response, ResponseBuilder<?, T, ?> responseBuilder) protected Throwable
VaultRestApi.readError
(String path, ApiRequest<?> request, Http.RequestMethod method, String requestId, WebClientResponse response, JsonObject entity) -
Uses of ApiRequest in io.helidon.integrations.vault.auths.k8s
Modifier and TypeClassDescriptionstatic class
Request object.static class
Request object.static class
Request object.static class
Request object. -
Uses of ApiRequest in io.helidon.integrations.vault.auths.token
Modifier and TypeClassDescriptionstatic class
Request object.static class
Request object.static class
Request object.static final class
Request object.static final class
Request object.static final class
Request object. -
Uses of ApiRequest in io.helidon.integrations.vault.secrets.cubbyhole
Modifier and TypeClassDescriptionstatic class
Request object.static class
Request object.static class
Request object.static class
Request object. -
Uses of ApiRequest in io.helidon.integrations.vault.secrets.database
Modifier and TypeClassDescriptionstatic class
DbConfigure.Request<T extends DbConfigure.Request<T>>
Request object.static final class
Request object.static final class
Request object.static final class
Request object.static final class
Request object.class
Request to configure MySQL database.class
Request to configure Oracle database. -
Uses of ApiRequest in io.helidon.integrations.vault.secrets.kv1
Modifier and TypeClassDescriptionstatic final class
Request object.static final class
Request object.static final class
Request object.static final class
Request object. -
Uses of ApiRequest in io.helidon.integrations.vault.secrets.kv2
Modifier and TypeClassDescriptionstatic final class
Request object.static final class
Request object.static final class
Request object.static final class
Request object.static final class
Request object.static final class
Request object.static final class
Request object. -
Uses of ApiRequest in io.helidon.integrations.vault.secrets.pki
Modifier and TypeClassDescriptionstatic final class
Request object.static final class
Request object.static final class
Request object.static final class
Request object.static final class
Request object.static final class
Request object.static final class
Request object.static final class
Request object. -
Uses of ApiRequest in io.helidon.integrations.vault.secrets.transit
Modifier and TypeClassDescriptionstatic final class
Request object.static class
Request object.static class
Request object.static final class
Request object.static class
Request object.static class
Request object.static class
Request object.static class
Request object.static final class
Request object.static class
Request object. -
Uses of ApiRequest in io.helidon.integrations.vault.sys
Modifier and TypeClassDescriptionstatic final class
Request object.static final class
Request object.static final class
Request object.static final class
Request object.static final class
Request object.static final class
Request object.