- All Superinterfaces:
ServerLifecycle
- All Known Implementing Classes:
WebSocketRouting
Routing represents composition of HTTP request-response handlers with routing rules.
It is a cornerstone of the
WebServer.- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classARoutingbuilder.static interfaceAn API to define HTTP request routing rules. -
Method Summary
Modifier and TypeMethodDescriptionstatic Routing.Builderbuilder()Creates new instance ofrouting builder.voidroute(BareRequest bareRequest, BareResponse bareResponse) Process bare minimal request and response using this routing.Methods inherited from interface io.helidon.webserver.ServerLifecycle
afterStop, beforeStart
-
Method Details
-
route
Process bare minimal request and response using this routing.- Parameters:
bareRequest- HTTP request to processbareResponse- HTTP response to process
-
builder
Creates new instance ofrouting builder.- Returns:
- a new instance
-