@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.
|
void |
setEnvironment(org.springframework.core.env.Environment environment) |
getPath, getProduces, isSensitive, setPath, 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 © 2013. All rights reserved.