- All Superinterfaces:
Route,ServerLifecycle
- All Known Implementing Classes:
Http1Route,Http2Route
A basic HTTP route (should be usable by ANY HTTP protocol version).
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionaccepts(HttpPrologue prologue) Whether this route accept the provided request.static HttpRoute.Builderbuilder()Builder to build a new HTTP route.handler()Handler of this route.Methods inherited from interface io.helidon.webserver.ServerLifecycle
afterStop, beforeStart
-
Method Details
-
builder
Builder to build a new HTTP route.- Returns:
- builder
-
accepts
Whether this route accept the provided request.- Parameters:
prologue- prologue of the request- Returns:
- result of the validation
- See Also:
-
handler
Handler handler()Handler of this route.- Returns:
- handler
-