- All Superinterfaces:
ServerLifecycle,Supplier<HttpService>
- All Known Subinterfaces:
StaticContentService
- All Known Implementing Classes:
CorsSupport,GraphQlService,OciMetricsSupport,OpenApiService
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Encapsulates a set of
routing rules and related logic.
Instance can be assigned to the routing using
HttpRouting.Builder.register(java.util.function.Supplier[]) methods.
-
Method Summary
Modifier and TypeMethodDescriptiondefault HttpServiceget()voidUpdates the routing to add handlers of this service.Methods inherited from interface io.helidon.nima.webserver.ServerLifecycle
afterStop, beforeStart
-
Method Details
-
get
- Specified by:
getin interfaceSupplier<HttpService>
-
routing
Updates the routing to add handlers of this service.- Parameters:
rules- to update
-