Package io.helidon.webserver.observe.log
Interface LogObserverConfig
- All Superinterfaces:
ObserverConfigBase,Prototype.Api,Prototype.Factory<LogObserver>
- All Known Implementing Classes:
LogObserverConfig.BuilderBase.LogObserverConfigImpl
Log Observer configuration.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classFluent API builder forLogObserver.static classLogObserverConfig.BuilderBase<BUILDER extends LogObserverConfig.BuilderBase<BUILDER,PROTOTYPE>, PROTOTYPE extends LogObserverConfig> Fluent API builder base forLogObserver. -
Method Summary
Modifier and TypeMethodDescriptionstatic LogObserverConfig.Builderbuilder()Create a new fluent API builder to customize configuration.static LogObserverConfig.Builderbuilder(LogObserverConfig instance) Create a new fluent API builder from an existing instance.static LogObserverConfigcreate()Create a new instance with default values.static LogObserverConfigCreate a new instance from configuration.booleanenabled()Whether this observer is enabled.endpoint()name()booleanPermit all access, even when not authorized.stream()Configuration of log stream.Methods inherited from interface io.helidon.builder.api.Prototype.Factory
build
-
Method Details
-
builder
Create a new fluent API builder to customize configuration.- Returns:
- a new builder
-
builder
Create a new fluent API builder from an existing instance.- Parameters:
instance- an existing instance used as a base for the builder- Returns:
- a builder based on an instance
-
create
Create a new instance from configuration.- Parameters:
config- used to configure the new instance- Returns:
- a new instance configured from configuration
-
create
Create a new instance with default values.- Returns:
- a new instance
-
endpoint
String endpoint() -
name
String name() -
permitAll
boolean permitAll()Permit all access, even when not authorized.- Returns:
- whether to permit access for anybody
-
stream
LogStreamConfig stream()Configuration of log stream.- Returns:
- log stream configuration
-
enabled
boolean enabled()Whether this observer is enabled.- Returns:
falseto disable observer
-