Uses of Class
io.helidon.integrations.common.rest.ApiOptionalResponse
Package
Description
Common classes for accessing JSON based REST APIs of third party systems.
Vault integration.
-
Uses of ApiOptionalResponse in io.helidon.integrations.common.rest
Modifier and TypeClassDescriptionstatic class
ApiOptionalResponse.BuilderBase<B extends ApiOptionalResponse.BuilderBase<B,
T, X, R>, T extends ApiOptionalResponse<R>, X, R> Fluent API builder base for subclasses ofApiOptionalResponse
.Modifier and TypeMethodDescriptiondefault <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 <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.<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) Modifier and TypeMethodDescriptionApiOptionalResponse.Builder.build()
<U> ApiOptionalResponse
<U> Map the (possible) response entity to a different type. -
Uses of ApiOptionalResponse in io.helidon.integrations.vault
Modifier and TypeClassDescriptionfinal class
Response for Vault operations that may contain entity.