Uses of Interface
io.helidon.webclient.WebClientResponse
-
Packages that use WebClientResponse Package Description io.helidon.integrations.common.rest Common classes for accessing JSON based REST APIs of third party systems.io.helidon.integrations.oci.connect Classes needed for OCI to connect to service API.io.helidon.integrations.vault.auths.common Common classes for Vault integration.io.helidon.webclient 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 WebClientResponse Modifier and Type Method Description 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 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 WebClientResponse Modifier and Type Method Description 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.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.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.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, String entity)
Read error with an entity that failed to be parsed into a JSON object.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. 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.oci.connect
Methods in io.helidon.integrations.oci.connect that return types with arguments of type WebClientResponse Modifier and Type Method Description protected Supplier<Single<WebClientResponse>>
OciRestApi. requestBytesPayload(String path, ApiRequest<?> request, Http.RequestMethod method, String requestId, WebClientRequestBuilder requestBuilder, Flow.Publisher<DataChunk> publisher)
Deprecated, for removal: This API element is subject to removal in a future version.protected Supplier<Single<WebClientResponse>>
OciRestApi. requestJsonPayload(String path, ApiRequest<?> request, Http.RequestMethod method, String requestId, WebClientRequestBuilder requestBuilder, JsonObject jsonObject)
Deprecated, for removal: This API element is subject to removal in a future version.protected Supplier<Single<WebClientResponse>>
OciRestApi. responseSupplier(Http.RequestMethod method, String path, ApiRequest<?> request, String requestId)
Deprecated, for removal: This API element is subject to removal in a future version.Methods in io.helidon.integrations.oci.connect with parameters of type WebClientResponse Modifier and Type Method Description protected Throwable
OciRestApi. readError(String path, ApiRequest<?> request, Http.RequestMethod method, String requestId, WebClientResponse response)
Deprecated, for removal: This API element is subject to removal in a future version.protected Throwable
OciRestApi. readError(String path, ApiRequest<?> request, Http.RequestMethod method, String requestId, WebClientResponse response, String entity)
Deprecated, for removal: This API element is subject to removal in a future version.protected Throwable
OciRestApi. readError(String path, ApiRequest<?> request, Http.RequestMethod method, String requestId, WebClientResponse response, JsonObject json)
Deprecated, for removal: This API element is subject to removal in a future version.protected Throwable
OciRestApi. readErrorFailedEntity(String path, ApiRequest<?> request, Http.RequestMethod method, String requestId, WebClientResponse response, Throwable it)
Deprecated, for removal: This API element is subject to removal in a future version. -
Uses of WebClientResponse in io.helidon.integrations.vault.auths.common
Methods in io.helidon.integrations.vault.auths.common with parameters of type WebClientResponse Modifier and Type Method Description protected <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 WebClientResponse in io.helidon.webclient
Methods in io.helidon.webclient that return types with arguments of type WebClientResponse Modifier and Type Method Description Single<WebClientResponse>
WebClientRequestBuilder. request()
Performs prepared request without expecting to receive any specific type.Optional<WebClientResponse>
WebClientException. response()
WebClientResponse
that caused this exception if caused by response from server.Single<WebClientResponse>
WebClientRequestBuilder. submit()
Performs prepared request.Single<WebClientResponse>
WebClientRequestBuilder. submit(Object requestEntity)
Performs prepared request and submitting request entity.Single<WebClientResponse>
WebClientRequestBuilder. submit(Flow.Publisher<DataChunk> requestEntity)
Performs prepared request and submitting request entity usingFlow.Publisher
.Single<WebClientResponse>
WebClientRequestBuilder. submit(Function<MessageBodyWriterContext,Flow.Publisher<DataChunk>> function)
Performs prepared request and submitting request entity using a marshalling function.
-