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
-
Optional Element Summary
Modifier and TypeOptional ElementDescriptionLevel 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 3.6.0 in favor of
-
Element Details
-
id
The id of the endpoint.- Returns:
- the id
-
-
-
enableByDefault
@Deprecated(since="3.4.0", forRemoval=true) @AliasFor(annotation=Endpoint.class) boolean enableByDefaultDeprecated, for removal: This API element is subject to removal in a future version.since 3.4.0 for removal in 3.6.0 in favor ofIf the endpoint should be enabled or disabled by default.- Returns:
true
if the endpoint is enabled by default
- Default:
- true
-
defaultAccess
Level of access to the endpoint that is permitted by default.- Returns:
- the default level of access
- Since:
- 3.4.0
- Default:
- UNRESTRICTED
-