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 SummaryRequired Elements
- 
Optional Element SummaryOptional ElementsModifier and TypeOptional ElementDescriptionLevel of access to the endpoint that is permitted by default.booleanDeprecated, for removal: This API element is subject to removal in a future version.
- 
Element Details- 
idThe 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 4.0.0 in favor ofdefaultAccess()If the endpoint should be enabled or disabled by default.- Returns:
- trueif the endpoint is enabled by default
 - Default:
- true
 
- 
defaultAccessLevel of access to the endpoint that is permitted by default.- Returns:
- the default level of access
- Since:
- 3.4.0
 - Default:
- UNRESTRICTED
 
 
- 
defaultAccess()