@Target(value=TYPE) @Retention(value=RUNTIME) @Documented @Endpoint @FilteredEndpoint(value=org.springframework.boot.actuate.endpoint.web.annotation.ControllerEndpointFilter.class) public @interface ControllerEndpoint
@GetMapping
,
@PostMapping
, @DeleteMapping
, etc annotations
rather than @ReadOperation
,
@WriteOperation
, @DeleteOperation
.
This annotation can be used when deeper Spring integration is required, but at the
expense of portability. Most users should prefer the @Endpoint
or
@WebEndpoint
annotation whenever possible.
WebEndpoint
,
RestControllerEndpoint
Modifier and Type | Required Element and Description |
---|---|
String |
id
The id of the endpoint.
|
Modifier and Type | Optional Element and Description |
---|---|
boolean |
enableByDefault
If the endpoint should be enabled or disabled by default.
|
@AliasFor(annotation=Endpoint.class) public abstract String id
@AliasFor(annotation=Endpoint.class) public abstract boolean enableByDefault
true
if the endpoint is enabled by defaultCopyright © 2021 Pivotal Software, Inc.. All rights reserved.