Uses of Interface
io.helidon.webclient.api.HttpClientResponse
Packages that use HttpClientResponse
Package
Description
Common classes for accessing JSON based REST APIs of third party systems.
Common classes for Vault integration.
Helidon WebClient APIs shared by all types of clients.
Helidon WebClient HTTP/1.1 Support.
Helidon WebClient HTTP/2 Support.
Helidon WebClient SPI.
Helidon WebClient SSE Support.
-
Uses of HttpClientResponse in io.helidon.integrations.common.rest
Methods in io.helidon.integrations.common.rest that return types with arguments of type HttpClientResponseModifier and TypeMethodDescriptionprotected 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 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 Supplier<HttpClientResponse> RestApiBase.responseSupplier(Method 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 HttpClientResponseModifier and TypeMethodDescriptionprotected <T> TRestApiBase.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.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.protected <T> TRestApiBase.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.protected ApiRestExceptionRestApiBase.readError(String path, ApiRequest<?> request, Method method, String requestId, HttpClientResponse response) Read error with no entity (content length set to 0).protected ApiRestExceptionRestApiBase.readError(String path, ApiRequest<?> request, Method method, String requestId, HttpClientResponse response, JsonObject errorObject) Read error with a JSON entity.protected ApiRestExceptionRestApiBase.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 ApiRestExceptionRestApiBase.readErrorFailedEntity(String path, ApiRequest<?> request, Method method, String requestId, HttpClientResponse response, Throwable throwable) Read error information when we failed to read response entity.protected ApiRestExceptionRestApiBase.responseError(String path, ApiRequest<?> request, Method method, String requestId, HttpClientResponse response) Create anApiRestException. -
Uses of HttpClientResponse in io.helidon.integrations.vault.auths.common
Methods in io.helidon.integrations.vault.auths.common with parameters of type HttpClientResponseModifier and TypeMethodDescriptionprotected <T> TVaultRestApi.emptyResponse(String path, ApiRequest<?> request, Method method, String requestId, HttpClientResponse response, ResponseBuilder<?, T, ?> responseBuilder) protected ApiRestExceptionVaultRestApi.readError(String path, ApiRequest<?> request, Method method, String requestId, HttpClientResponse response, JsonObject entity) -
Uses of HttpClientResponse in io.helidon.webclient.api
Classes in io.helidon.webclient.api with type parameters of type HttpClientResponseModifier and TypeClassDescriptionclassClientRequestBase<T extends ClientRequest<T>,R extends HttpClientResponse> Abstract base implementation of an HTTP client.Methods in io.helidon.webclient.api that return HttpClientResponseModifier and TypeMethodDescriptionprotected HttpClientResponseHttpClientRequest.doOutputStream(ClientRequest.OutputStreamHandler outputStreamConsumer) protected HttpClientResponseClientRequest.outputStream(ClientRequest.OutputStreamHandler outputStreamConsumer) Handle output stream and submit the request.default HttpClientResponseClientRequest.request()Request without an entity.Submit an entity. -
Uses of HttpClientResponse in io.helidon.webclient.http1
Subinterfaces of HttpClientResponse in io.helidon.webclient.http1Methods in io.helidon.webclient.http1 that return HttpClientResponseModifier and TypeMethodDescriptionUpgradeResponse.response()The HTTP response we got from the server, always present.Methods in io.helidon.webclient.http1 with parameters of type HttpClientResponseModifier and TypeMethodDescriptionstatic UpgradeResponseUpgradeResponse.failure(HttpClientResponse response) Create an upgrade failure response.static UpgradeResponseUpgradeResponse.success(HttpClientResponse response, ClientConnection connection) Create an upgrade success response. -
Uses of HttpClientResponse in io.helidon.webclient.http2
Subinterfaces of HttpClientResponse in io.helidon.webclient.http2 -
Uses of HttpClientResponse in io.helidon.webclient.spi
Methods in io.helidon.webclient.spi with parameters of type HttpClientResponseModifier and TypeMethodDescriptionSourceHandlerProvider.handle(X source, HttpClientResponse response, MediaContext mediaContext) Handles a source.booleanSourceHandlerProvider.supports(GenericType<? extends Source<?>> type, HttpClientResponse response) Checks if a provider supports the type. -
Uses of HttpClientResponse in io.helidon.webclient.sse
Methods in io.helidon.webclient.sse with parameters of type HttpClientResponseModifier and TypeMethodDescriptionSseSourceHandlerProvider.handle(X source, HttpClientResponse response, MediaContext mediaContext) booleanSseSourceHandlerProvider.supports(GenericType<? extends Source<?>> type, HttpClientResponse response)