java.lang.Object
io.helidon.http.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
-
Method Details
-
builder
A builder to set up a custom response.- Returns:
- builder
-
status
Configured status.- Returns:
- status
-
headers
Configured headers.- Returns:
- headers
-
entity
Configured message.- Returns:
- mesage bytes or empty if no message is configured
-
keepAlive
public boolean keepAlive()Whether the connection should use keep alive.- Returns:
- keep alive
-