- All Known Subinterfaces:
FeatureSupport,Filter,Handler,HttpFeature,HttpRoute,HttpRouting,HttpService,JsonRpcErrorHandler,JsonRpcExceptionHandler,JsonRpcHandler,JsonRpcService,Route,Routing,StaticContentService
- All Known Implementing Classes:
AccessLogRoutingFeature,CoordinatorService,CorsSupport,DisabledObserverFeature,Filters,GraphQlService,GrpcRouting,HelidonFeatureSupport,Http1Route,Http2Route,JaxRsService,JsonRpcRouting,MicrometerFeature,OciMetricsSupport,OidcFeature,PrometheusSupport,SecureHandler,SecurityHandler,SecurityHttpFeature,TyrusRouting,WsRoute,WsRouting
public interface ServerLifecycle
Basic server lifecycle operations.
-
Method Summary
Modifier and TypeMethodDescriptiondefault voidafterStart(WebServer webServer) After server start.default voidAfter server stop.default voidBefore server start.
-
Method Details
-
beforeStart
default void beforeStart()Before server start. -
afterStart
After server start.- Parameters:
webServer- theWebServerthat was started
-
afterStop
default void afterStop()After server stop.
-