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 TypeMethodDescriptiondefault <T extends ApiResponse>
TRestApi.delete
(String path, ApiRequest<?> request, ApiResponse.Builder<?, T> responseBuilder) Delete without a response entity.protected <T> T
RestApiBase.emptyResponse
(String path, ApiRequest<?> request, Method method, String requestId, HttpClientResponse response, ResponseBuilder<?, T, ?> responseBuilder) Empty response, may be because of aStatus.NOT_FOUND_404
, or some other status, such asStatus.NOT_MODIFIED_304
.default <R,
T extends ApiOptionalResponse<R>>
TRestApi.get
(String path, ApiRequest<?> request, ApiOptionalResponse.BuilderBase<?, T, JsonObject, R> responseBuilder) Get with an optional response.default <R,
T extends ApiOptionalResponse<R>>
TRestApi.getBytes
(String path, ApiRequest<?> request, ApiOptionalResponse.BuilderBase<?, T, byte[], R> responseBuilder) Get bytes with an optional response.default <R,
T extends ApiOptionalResponse<R>>
TRestApi.getEntityStream
(String path, ApiRequest<?> request, ApiOptionalResponse.BuilderBase<?, T, InputStream, R> responseBuilder) Get with a response consisting of a stream.protected <R,
T extends ApiOptionalResponse<R>>
TRestApiBase.handleBytesResponse
(String path, ApiRequest<?> request, Method method, String requestId, HttpClientResponse response, ApiOptionalResponse.BuilderBase<?, T, byte[], R> responseBuilder) Handle bytes response for optional bytes entity.protected <R,
T extends ApiOptionalResponse<R>>
TRestApiBase.handleEntityResponse
(String path, ApiRequest<?> request, Method method, String requestId, HttpClientResponse response, ApiOptionalResponse.BuilderBase<?, T, InputStream, R> responseBuilder) Handle response for optional publisher entity.protected <T extends ApiEntityResponse>
TRestApiBase.handleJsonResponse
(String path, ApiRequest<?> request, Method method, String requestId, HttpClientResponse response, ApiEntityResponse.Builder<?, T, JsonObject> responseBuilder) Reads JsonObject from response entity and either calls thejsonOkResponse
.protected <R,
T extends ApiOptionalResponse<R>>
TRestApiBase.handleOptionalJsonResponse
(String path, ApiRequest<?> request, Method method, String requestId, HttpClientResponse response, ApiOptionalResponse.BuilderBase<?, T, JsonObject, R> responseBuilder) Handle response for optional JSON entity.protected <T extends ApiResponse>
TRestApiBase.handleResponse
(String path, ApiRequest<?> request, Method method, String requestId, HttpClientResponse response, ApiResponse.Builder<?, T> responseBuilder) Handle response for a request not expecting an entity.<T extends ApiResponse>
TRestApi.invoke
(Method method, String path, ApiRequest<?> request, ApiResponse.Builder<?, T> responseBuilder) Invoke a request that is not expected to yield an entity.<T extends ApiResponse>
TRestApiBase.invoke
(Method method, String path, ApiRequest<?> request, ApiResponse.Builder<?, T> responseBuilder) <T extends ApiResponse>
TRestApi.invokeBytesRequest
(Method method, String path, ApiRequest<?> request, InputStream is, ApiResponse.Builder<?, T> responseBuilder) The request media type should be provided in request, falls back toMediaTypes.APPLICATION_OCTET_STREAM
.<T extends ApiResponse>
TRestApiBase.invokeBytesRequest
(Method method, String path, ApiRequest<?> apiRequest, InputStream is, ApiResponse.Builder<?, T> responseBuilder) <R,
T extends ApiOptionalResponse<R>>
TRestApi.invokeBytesResponse
(Method 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>>
TRestApiBase.invokeBytesResponse
(Method method, String path, ApiRequest<?> request, ApiOptionalResponse.BuilderBase<?, T, byte[], R> responseBuilder) <R,
T extends ApiOptionalResponse<R>>
TRestApi.invokeEntityResponse
(Method method, String path, ApiRequest<?> request, ApiOptionalResponse.BuilderBase<?, T, InputStream, R> responseBuilder) Invoke API call that is expected to return bytes as a publisher.<R,
T extends ApiOptionalResponse<R>>
TRestApiBase.invokeEntityResponse
(Method method, String path, ApiRequest<?> request, ApiOptionalResponse.BuilderBase<?, T, InputStream, R> responseBuilder) <R,
T extends ApiOptionalResponse<R>>
TRestApi.invokeOptional
(Method method, String path, ApiRequest<?> request, ApiOptionalResponse.BuilderBase<?, T, JsonObject, R> responseBuilder) Invoke a request that may yield an entity.<R,
T extends ApiOptionalResponse<R>>
TRestApiBase.invokeOptional
(Method method, String path, ApiRequest<?> request, ApiOptionalResponse.BuilderBase<?, T, JsonObject, R> responseBuilder) <T extends ApiEntityResponse>
TRestApi.invokeWithResponse
(Method method, String path, ApiRequest<?> request, ApiEntityResponse.Builder<?, T, JsonObject> responseBuilder) Invoke a request that is expected to yield an entity.<T extends ApiEntityResponse>
TRestApiBase.invokeWithResponse
(Method method, String path, ApiRequest<?> request, ApiEntityResponse.Builder<?, T, JsonObject> responseBuilder) protected boolean
RestApiBase.isEntityExpected
(String path, ApiRequest<?> request, Method method, String requestId, Status status) This method is only called for methods that return an optional entity.protected boolean
RestApiBase.isSuccess
(String path, ApiRequest<?> request, Method method, String requestId, Status status) Provide information whether the response is a success response for requests with optional entity.protected <T> T
RestApiBase.jsonOkResponse
(String path, ApiRequest<?> request, Method method, String requestId, HttpClientResponse response, JsonObject json, ResponseBuilder<?, T, JsonObject> responseBuilder) Builds the response using the response builder provided.protected <T extends ApiResponse>
TRestApiBase.noEntityOkResponse
(String path, ApiRequest<?> request, Method method, String requestId, HttpClientResponse response, ApiResponse.Builder<?, T> responseBuilder) Create a response for no entity.default <T extends ApiResponse>
TRestApi.post
(String path, ApiRequest<?> request, ApiResponse.Builder<?, T> responseBuilder) Post without a response entity.default <T extends ApiResponse>
TRestApi.put
(String path, ApiRequest<?> request, ApiResponse.Builder<?, T> responseBuilder) Put without a response entity.protected ApiRestException
RestApiBase.readError
(String path, ApiRequest<?> request, Method method, String requestId, HttpClientResponse response) Read error with no entity (content length set to 0).protected ApiRestException
RestApiBase.readError
(String path, ApiRequest<?> request, Method method, String requestId, HttpClientResponse response, JsonObject errorObject) Read error with a JSON entity.protected ApiRestException
RestApiBase.readError
(String path, ApiRequest<?> request, Method method, String requestId, HttpClientResponse response, String entity) Read error with an entity that failed to be parsed into a JSON object.protected ApiRestException
RestApiBase.readErrorFailedEntity
(String path, ApiRequest<?> request, Method method, String requestId, HttpClientResponse response, Throwable throwable) Read error information when we failed to read response entity.protected Supplier
<HttpClientResponse> RestApiBase.requestBytesPayload
(String path, ApiRequest<?> request, Method method, String requestId, HttpClientRequest requestBuilder, InputStream is) Create a supplier for a response with publisher request.protected String
RestApiBase.requestId
(ApiRequest<?> request) Attempts to find a good request id.protected Supplier
<HttpClientResponse> RestApiBase.requestJsonPayload
(String path, ApiRequest<?> request, Method method, String requestId, HttpClientRequest requestBuilder, JsonObject jsonObject) Create a supplier for a response with JSON request.protected Supplier
<HttpClientResponse> RestApiBase.requestPayload
(String path, ApiRequest<?> request, Method method, String requestId, HttpClientRequest requestBuilder) Create a supplier for a response.protected ApiRestException
RestApiBase.responseError
(String path, ApiRequest<?> request, Method method, String requestId, HttpClientResponse response) Create anApiRestException
.protected Supplier
<HttpClientResponse> RestApiBase.responseSupplier
(Method method, String path, ApiRequest<?> request, String requestId) Create a response supplier from the request.protected HttpClientRequest
RestApiBase.updateRequestBuilder
(HttpClientRequest requestBuilder, String path, ApiRequest<?> request, Method method, String requestId) Update request builder with no request payload.protected HttpClientRequest
RestApiBase.updateRequestBuilder
(HttpClientRequest requestBuilder, String path, ApiRequest<?> request, Method method, String requestId, JsonObject jsonObject) Update request builder with no request payload.protected HttpClientRequest
RestApiBase.updateRequestBuilderBytesPayload
(HttpClientRequest requestBuilder, String path, ApiRequest<?> request, Method method, String requestId) Update request builder with publisher request payload.protected HttpClientRequest
RestApiBase.updateRequestBuilderCommon
(HttpClientRequest requestBuilder, String path, ApiRequest<?> request, Method 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> T
VaultRestApi.emptyResponse
(String path, ApiRequest<?> request, Method method, String requestId, HttpClientResponse response, ResponseBuilder<?, T, ?> responseBuilder) protected ApiRestException
VaultRestApi.readError
(String path, ApiRequest<?> request, Method method, String requestId, HttpClientResponse 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.