HealthEndpointRegistry class

Tracks paths exposed by the health service.

Inheritance

Constructors

HealthEndpointRegistry()

Properties

entries → Map<String, bool>
Provides direct access to the internal map of entries.
no setterinherited
entryNames → Iterable<String>
An iterable of all entry names in the registry.
no setterinherited
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

allows(String path) → bool
Whether path is registered as a health endpoint.
clearEntries() → void
Clears all entries from the registry.
inherited
containsEntry(String name) → bool
Checks if an entry with the given name exists in the registry.
inherited
duplicateDiagnostics(String name) → String
Generates diagnostic information for duplicate entries with the given name.
inherited
entryOrigin(String name) → StackTrace?
Retrieves the stack trace of the original registration for the given name.
inherited
getEntry(String name) → bool?
Retrieves the entry associated with the given name.
inherited
normalizeName(String name) → String
Normalizes the given name by trimming and converting it to lowercase.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onDuplicate(String name, bool existing, bool overrideExisting) → bool
Handles duplicate entries with the given name and existing value.
inherited
registerEntry(String name, bool value, {bool overrideExisting = true}) → bool
Registers an entry with the given name and value.
inherited
setPaths(Iterable<String> paths) → void
Replaces the registered health paths.
toString() → String
A string representation of this object.
inherited
unregisterEntry(String name) → bool
Unregisters the entry with the given name.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited