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>>
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 <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.<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) 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.