-
- All Known Subinterfaces:
MetricsSupport
,OpenApiUi
,RestServiceSupport
,StaticContentSupport
- All Known Implementing Classes:
AccessLogSupport
,CorsSupport
,FormParamsSupport
,GraphQlSupport
,HealthSupport
,HelidonRestServiceSupport
,JerseySupport
,JsonService
,MetricsSupport
,MicrometerSupport
,MinimalMetricsSupport
,OciMetricsSupport
,OidcSupport
,OpenAPISupport
,OpenApiUiBase
,PrometheusSupport
,StaticContentSupport
,TyrusSupport
,WebSecurity
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface Service
Encapsulates a set ofrouting
rules and related logic.Instance can be assigned to the
routing
usingregister(...)
methods.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
update(Routing.Rules rules)
UpdatesRouting.Rules
withhandlers
representing this service.
-
-
-
Method Detail
-
update
void update(Routing.Rules rules)
UpdatesRouting.Rules
withhandlers
representing this service.- Parameters:
rules
- a routing rules to update
-
-