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 ElementDescriptionbooleanIf the endpoint should be enabled or disabled by default.
- 
Element Details- 
idThe id of the endpoint.- Returns:
- the id
 
 
- 
- 
- 
enableByDefaultIf the endpoint should be enabled or disabled by default.- Returns:
- trueif the endpoint is enabled by default
 - Default:
- true
 
 
-