java.lang.Object
io.helidon.nima.observe.ObserveFeature
- All Implemented Interfaces:
Weighted,HttpFeature,ServerLifecycle,Comparable<Weighted>,Supplier<HttpFeature>
Support for all observe providers that are available (or configured).
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from interface io.helidon.common.Weighted
DEFAULT_WEIGHT -
Method Summary
Modifier and TypeMethodDescriptionstatic ObserveFeature.Builderbuilder()A new builder to customize observe support.static ObserveFeaturecreate()Create a new support with default configuration and a list of providers discovered byServiceLoader.static ObserveFeatureCreate a new support with custom configuration.static ObserveFeaturecreate(ObserveProvider... providers) Create a new support with default configuration and an explicit list of providers.voidsetup(HttpRouting.Builder routing) Method to set up a feature.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.helidon.nima.webserver.http.HttpFeature
getMethods inherited from interface io.helidon.nima.webserver.ServerLifecycle
afterStop, beforeStart
-
Method Details
-
builder
A new builder to customize observe support.- Returns:
- a new builder
-
create
Create a new support with default configuration and an explicit list of providers. This will not use providers discovered byServiceLoader.- Parameters:
providers- providers to use- Returns:
- a new observe support
-
create
Create a new support with default configuration and a list of providers discovered byServiceLoader.- Returns:
- a new observe support
-
create
Create a new support with custom configuration.- Parameters:
config- configuration to read observe config from- Returns:
- a new observe support
-
setup
Description copied from interface:HttpFeatureMethod to set up a feature.- Specified by:
setupin interfaceHttpFeature- Parameters:
routing- routing builder
-