java.lang.Object
io.helidon.webserver.DirectHandler.TransportResponse
- Enclosing interface:
- DirectHandler
Response to correctly reply to the original client.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Fluent API builder forDirectHandler.TransportResponse
. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
A builder to set up a custom response.Create a response withHttp.Status.BAD_REQUEST_400
status and provided message.
-
Method Details
-
builder
A builder to set up a custom response.- Returns:
- builder
-
create
Create a response withHttp.Status.BAD_REQUEST_400
status and provided message.- Parameters:
message
- message to send as response entity- Returns:
- a new response
-