批注接口 WebEndpoint


@Target(TYPE) @Retention(RUNTIME) @Documented @Endpoint @FilteredEndpoint(org.springframework.boot.actuate.endpoint.web.annotation.WebEndpointFilter.class) public @interface WebEndpoint
Identifies a type as being an endpoint that is only exposed over HTTP.
从以下版本开始:
2.0.0
作者:
Andy Wilkinson, Phillip Webb
  • 必需元素概要

    所需元素
    修饰符和类型
    必需的元素
    说明
    The id of the endpoint.
  • 可选元素概要

    可选元素
    修饰符和类型
    可选元素
    说明
    Level of access to the endpoint that is permitted by default.
    boolean
    已过时, 待删除: 此 API 元素将从以后的版本中删除。
    since 3.4.0 for removal in 4.0.0 in favor of defaultAccess()