类 InfoEndpoint
- java.lang.Object
- org.springframework.boot.actuate.info.InfoEndpoint
@Endpoint(id="info") public class InfoEndpoint extends Object
Endpoint
to expose arbitrary application information.- 从以下版本开始:
- 2.0.0
构造器详细资料
InfoEndpoint
public InfoEndpoint(List<InfoContributor> infoContributors)
Create a newInfoEndpoint
instance.- 参数:
infoContributors
- the info contributors to use
方法详细资料
info
@ReadOperation public Map<String,Object> info()