@ConfigurationProperties(name="endpoints.env", ignoreUnknownFields=false) public class EnvironmentEndpoint extends AbstractEndpoint<Map<String,Object>> implements org.springframework.context.EnvironmentAware
Endpoint
to expose environment
information.Constructor and Description |
---|
EnvironmentEndpoint()
Create a new
EnvironmentEndpoint instance. |
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
invoke()
Called to invoke the endpoint.
|
static Object |
sanitize(String name,
Object object) |
void |
setEnvironment(org.springframework.core.env.Environment environment) |
getId, isEnabled, isSensitive, setEnabled, setId, setSensitive
public EnvironmentEndpoint()
EnvironmentEndpoint
instance.public Map<String,Object> invoke()
Endpoint
public void setEnvironment(org.springframework.core.env.Environment environment)
setEnvironment
in interface org.springframework.context.EnvironmentAware
Copyright © 2014. All rights reserved.