Annotation Interface ControllerEndpoint
@Target(TYPE)
@Retention(RUNTIME)
@Documented
@Endpoint
@FilteredEndpoint(org.springframework.boot.actuate.endpoint.web.annotation.ControllerEndpointFilter.class)
@Deprecated(since="3.3.0",
forRemoval=true)
public @interface ControllerEndpoint
Deprecated, for removal: This API element is subject to removal in a future version.
Identifies a type as being an endpoint that is only exposed over Spring MVC or Spring
WebFlux. Mapped methods must be annotated with
@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.
- Since:
- 2.0.0
- See Also:
-
Required Element Summary
Required Elements -
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionDeprecated, for removal: This API element is subject to removal in a future version.Level of access to the endpoint that is permitted by default.
-
Element Details
-
id
-
defaultAccess
-
@Endpointand@WebEndpoint