- All Superinterfaces:
NamedService
- All Known Implementing Classes:
AccessLogFeature
,ContextFeature
,CorsFeature
,LimitsFeature
,ObserveFeature
,OpenApiFeature
,SecurityFeature
Server features provide a way to add or update server configuration.
These features are configured for the whole server and may update listeners and routing configuration.
Server features are resolved when the WebServer
is being created.
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
Access to builders of various routing types.static interface
A wrapping object to access various configurable elements of server forServerFeature
.static interface
A wrapping object to access listener related builders. -
Method Summary
Modifier and TypeMethodDescriptionvoid
setup
(ServerFeature.ServerFeatureContext featureContext) Set up a server feature.Methods inherited from interface io.helidon.common.config.NamedService
name, type
-
Method Details
-
setup
Set up a server feature. Server features can modify server configuration, right before the server is created. To access listener configuration, or routing, a list of all listeners is provided.- Parameters:
featureContext
- to access builders of webserver, listeners, and routing
-