Uses of Interface
io.helidon.webclient.WebClientResponse
Packages that use WebClientResponse
Package
Description
Common classes for accessing JSON based REST APIs of third party systems.
Common classes for Vault integration.
A reactive client for rest calls.
-
Uses of WebClientResponse in io.helidon.integrations.common.rest
Methods in io.helidon.integrations.common.rest that return types with arguments of type WebClientResponseModifier and TypeMethodDescriptionprotected 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 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.Methods in io.helidon.integrations.common.rest with parameters of type WebClientResponseModifier and TypeMethodDescriptionprotected <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.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 thejsonOkResponseorerrorResponsedepending 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.protected <T> TRestApiBase.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.protected ThrowableRestApiBase.readError(String path, ApiRequest<?> request, Http.RequestMethod method, String requestId, WebClientResponse response) Read error with no entity (content length set to 0).protected ThrowableRestApiBase.readError(String path, ApiRequest<?> request, Http.RequestMethod method, String requestId, WebClientResponse response, JsonObject errorObject) Read error with a JSON entity.protected ThrowableRestApiBase.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 ThrowableRestApiBase.readErrorFailedEntity(String path, ApiRequest<?> request, Http.RequestMethod method, String requestId, WebClientResponse response, Throwable throwable) Read error information when we failed to read resposen entity. -
Uses of WebClientResponse in io.helidon.integrations.vault.auths.common
Methods in io.helidon.integrations.vault.auths.common with parameters of type WebClientResponseModifier and TypeMethodDescriptionprotected <T> Single<T>VaultRestApi.emptyResponse(String path, ApiRequest<?> request, Http.RequestMethod method, String requestId, WebClientResponse response, ResponseBuilder<?, T, ?> responseBuilder) protected ThrowableVaultRestApi.readError(String path, ApiRequest<?> request, Http.RequestMethod method, String requestId, WebClientResponse response, JsonObject entity) -
Uses of WebClientResponse in io.helidon.webclient
Methods in io.helidon.webclient that return types with arguments of type WebClientResponseModifier and TypeMethodDescriptionWebClientRequestBuilder.request()Performs prepared request without expecting to receive any specific type.WebClientException.response()WebClientResponsethat caused this exception if caused by response from server.WebClientRequestBuilder.submit()Performs prepared request.Performs prepared request and submitting request entity.WebClientRequestBuilder.submit(Flow.Publisher<DataChunk> requestEntity) Performs prepared request and submitting request entity usingFlow.Publisher.WebClientRequestBuilder.submit(Function<MessageBodyWriterContext, Flow.Publisher<DataChunk>> function) Performs prepared request and submitting request entity using a marshalling function.