Annotation Interface 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.
Since:
2.0.0
Author:
Andy Wilkinson, Phillip Webb
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    The id of the endpoint.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Level of access to the endpoint that is permitted by default.
    boolean
    Deprecated, for removal: This API element is subject to removal in a future version.
    since 3.4.0 for removal in 4.0.0 in favor of defaultAccess()