- All Superinterfaces:
NamedService
- All Known Implementing Classes:
AccessLogFeature,ContextFeature,CorsFeature,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
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceAccess to builders of various routing types.static interfaceA wrapping object to access various configurable elements of server forServerFeature.static interfaceA wrapping object to access listener related builders. -
Method Summary
Modifier and TypeMethodDescriptionvoidsetup(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
-