@ConfigurationProperties(prefix="endpoints.info", ignoreUnknownFields=false) public class InfoEndpoint extends AbstractEndpoint<Map<String,Object>>
Endpoint
to expose arbitrary application information.Constructor and Description |
---|
InfoEndpoint(Map<String,? extends Object> info)
Create a new
InfoEndpoint instance. |
Modifier and Type | Method and Description |
---|---|
protected Map<String,Object> |
getAdditionalInfo() |
Map<String,Object> |
invoke()
Called to invoke the endpoint.
|
getId, isEnabled, isSensitive, setEnabled, setId, setSensitive
public InfoEndpoint(Map<String,? extends Object> info)
InfoEndpoint
instance.info
- the info to exposeCopyright © 2015 Pivotal Software, Inc.. All rights reserved.