Uses of Interface
io.helidon.common.http.Http.ResponseStatus
Package
Description
HTTP APIs and implementations usable by both server and client side of the HTTP story.
Core classes used by both the reactive gRPC server API and gRPC client API.
Common classes for accessing JSON based REST APIs of third party systems.
Open ID Connect (OIDC) classes usable from all OIDC related components.
A reactive client for rest calls.
Reactive web server API.
-
Uses of Http.ResponseStatus in io.helidon.common.http
Modifier and TypeClassDescriptionstatic enum
Commonly used status codes defined by HTTP, see HTTP/1.1 documentation for the complete list.Modifier and TypeMethodDescriptionstatic Http.ResponseStatus
Http.ResponseStatus.create
(int statusCode) Convert a numerical status code into the corresponding ResponseStatus.static Http.ResponseStatus
Convert a numerical status code into the corresponding ResponseStatus. -
Uses of Http.ResponseStatus in io.helidon.grpc.core
Modifier and TypeMethodDescriptionstatic Http.ResponseStatus
GrpcHelper.toHttpResponseStatus
(io.grpc.Status status) Convert a gRPCStatus
to aHttp.ResponseStatus
.static Http.ResponseStatus
GrpcHelper.toHttpResponseStatus
(io.grpc.StatusException ex) Convert a gRPCStatusException
to aHttp.ResponseStatus
.static Http.ResponseStatus
GrpcHelper.toHttpResponseStatus
(io.grpc.StatusRuntimeException ex) Convert a gRPCStatusRuntimeException
to aHttp.ResponseStatus
. -
Uses of Http.ResponseStatus in io.helidon.integrations.common.rest
Modifier and TypeMethodDescriptionApiResponse.Builder.status()
Received HTTP status.ApiResponse.status()
HTTP status returned.ApiRestException.status()
Returned HTTP status.Modifier and TypeMethodDescriptionprotected boolean
RestApiBase.isEntityExpected
(String path, ApiRequest<?> request, Http.RequestMethod method, String requestId, Http.ResponseStatus status) This method is only called for methods that return an optional entity.protected boolean
RestApiBase.isSuccess
(String path, ApiRequest<?> request, Http.RequestMethod method, String requestId, Http.ResponseStatus status) Provide information whether the response is a success response for requests with optional entity.ApiResponse.Builder.status
(Http.ResponseStatus status) Response status returned by the API call.ApiRestException.BaseBuilder.status
(Http.ResponseStatus status) HTTP status configured byRestApi
.ResponseBuilder.status
(Http.ResponseStatus status) Response status returned by the API call. -
Uses of Http.ResponseStatus in io.helidon.security.providers.oidc.common
Modifier and TypeMethodDescriptionstatic <T> Single<T>
OidcConfig.postJsonResponse
(WebClientRequestBuilder requestBuilder, Object toSubmit, Function<JsonObject, T> jsonProcessor, BiFunction<Http.ResponseStatus, String, Optional<T>> errorEntityProcessor, BiFunction<Throwable, String, Optional<T>> errorProcessor) Processing ofWebClient
submit using a POST method. -
Uses of Http.ResponseStatus in io.helidon.webclient
-
Uses of Http.ResponseStatus in io.helidon.webserver
Modifier and TypeMethodDescriptionfinal Http.ResponseStatus
HttpException.status()
Obtain the associated http status.ServerResponse.status()
Returns actual response status code.Modifier and TypeMethodDescriptionDirectHandler.handle
(DirectHandler.TransportRequest request, DirectHandler.EventType eventType, Http.ResponseStatus defaultStatus, String message) Handler of responses that bypass routing, MUST NOT block the current thread.default DirectHandler.TransportResponse
DirectHandler.handle
(DirectHandler.TransportRequest request, DirectHandler.EventType eventType, Http.ResponseStatus defaultStatus, Throwable t) Handler of responses that bypass routing, MUST NOT block the current thread.DirectHandler.TransportResponse.Builder.status
(Http.ResponseStatus status) Custom status.ServerResponse.status
(Http.ResponseStatus status) Sets new HTTP status.void
BareResponse.writeStatusAndHeaders
(Http.ResponseStatus status, Map<String, List<String>> headers) Send response line and headers to the client.ModifierConstructorDescriptionHttpException
(String message, Http.ResponseStatus status) CreatesHttpException
.HttpException
(String message, Http.ResponseStatus status, Throwable cause) CreatesHttpException
.