Uses of Class
io.helidon.http.RequestException.Builder
Package
Description
HTTP APIs and implementations usable by both server and client side of the HTTP story.
-
Uses of RequestException.Builder in io.helidon.http
Modifier and TypeMethodDescriptionstatic RequestException.Builder
RequestException.builder()
Builder to set up a new HTTP exception.Cause of the exception.Response header to be added to error response.Descriptive error message.RequestException.Builder.request
(DirectHandler.TransportRequest request) Transport request with as much information as is available.RequestException.Builder.safeMessage
(boolean safeMessage) Safe message flag that indicates if it safe to return message as part of the response.RequestException.Builder.setKeepAlive
(boolean keepAlive) Override default keep alive for this exception.Http status to use.RequestException.Builder.type
(DirectHandler.EventType type) Event type of this exception.ModifierConstructorDescriptionprotected
RequestException
(RequestException.Builder builder) A new exception with a predefined status, even type.