Class EnvironmentEndpointWebExtension
java.lang.Object
org.springframework.boot.actuate.env.EnvironmentEndpointWebExtension
@EndpointWebExtension(endpoint=EnvironmentEndpoint.class)
public class EnvironmentEndpointWebExtension
extends Object
@EndpointWebExtension
for the EnvironmentEndpoint
.- Since:
- 2.0.0
- Author:
- Stephane Nicoll, Scott Frederick
-
Constructor Summary
ConstructorDescriptionEnvironmentEndpointWebExtension
(EnvironmentEndpoint delegate, Show showValues, Set<String> roles) -
Method Summary
Modifier and TypeMethodDescriptionenvironment
(SecurityContext securityContext, String pattern) environmentEntry
(SecurityContext securityContext, String toMatch)
-
Constructor Details
-
EnvironmentEndpointWebExtension
public EnvironmentEndpointWebExtension(EnvironmentEndpoint delegate, Show showValues, Set<String> roles)
-
-
Method Details
-
environment
@ReadOperation public EnvironmentEndpoint.EnvironmentDescriptor environment(SecurityContext securityContext, @Nullable String pattern) -
environmentEntry
@ReadOperation public WebEndpointResponse<EnvironmentEndpoint.EnvironmentEntryDescriptor> environmentEntry(SecurityContext securityContext, @Selector String toMatch)
-