| Modifier and Type | Class and Description |
|---|---|
static class |
EnvironmentEndpoint.EnvironmentDescriptor
A description of an
Environment. |
static class |
EnvironmentEndpoint.EnvironmentEntryDescriptor
A description of an entry of the
Environment. |
static class |
EnvironmentEndpoint.PropertySourceDescriptor
A description of a
PropertySource. |
static class |
EnvironmentEndpoint.PropertySourceEntryDescriptor
A description of a particular entry of
PropertySource. |
static class |
EnvironmentEndpoint.PropertySummaryDescriptor
A summary of a particular entry of the
Environment. |
static class |
EnvironmentEndpoint.PropertyValueDescriptor
A description of a property's value, including its origin if available.
|
| Constructor and Description |
|---|
EnvironmentEndpoint(org.springframework.core.env.Environment environment) |
EnvironmentEndpoint(org.springframework.core.env.Environment environment,
java.lang.Iterable<SanitizingFunction> sanitizingFunctions) |
| Modifier and Type | Method and Description |
|---|---|
EnvironmentEndpoint.EnvironmentDescriptor |
environment(java.lang.String pattern) |
EnvironmentEndpoint.EnvironmentEntryDescriptor |
environmentEntry(java.lang.String toMatch) |
void |
keysToSanitize(java.lang.String... keysToSanitize) |
java.lang.Object |
sanitize(java.lang.String key,
java.lang.Object value)
Deprecated.
since 2.6.0 for removal in 3.0.0 as sanitization should be internal to
the class
|
void |
setKeysToSanitize(java.lang.String... keysToSanitize) |
protected java.lang.Object |
stringifyIfNecessary(java.lang.Object value) |
public EnvironmentEndpoint(org.springframework.core.env.Environment environment)
public EnvironmentEndpoint(org.springframework.core.env.Environment environment,
java.lang.Iterable<SanitizingFunction> sanitizingFunctions)
public void setKeysToSanitize(java.lang.String... keysToSanitize)
public void keysToSanitize(java.lang.String... keysToSanitize)
@ReadOperation public EnvironmentEndpoint.EnvironmentDescriptor environment(@Nullable java.lang.String pattern)
@ReadOperation public EnvironmentEndpoint.EnvironmentEntryDescriptor environmentEntry(@Selector java.lang.String toMatch)
@Deprecated
public java.lang.Object sanitize(java.lang.String key,
java.lang.Object value)
key - the name to sanitizevalue - the value to sanitizeprotected java.lang.Object stringifyIfNecessary(java.lang.Object value)