Skip to content

Commit a77c6ef

Browse files
Mikhail Polivakhasnicoll
authored andcommitted
Clarify Actuator's endpoint extension support
See gh-47740 Signed-off-by: mipo256 <mikhailpolivakha@email.com>
1 parent d2a3498 commit a77c6ef

File tree

1 file changed

+1
-1
lines changed
  • spring-boot-project/spring-boot-docs/src/docs/antora/modules/reference/pages/actuator

1 file changed

+1
-1
lines changed

spring-boot-project/spring-boot-docs/src/docs/antora/modules/reference/pages/actuator/endpoints.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -400,7 +400,7 @@ These endpoints are restricted to their respective technologies.
400400
For example, javadoc:org.springframework.boot.actuate.endpoint.web.annotation.WebEndpoint[format=annotation] is exposed only over HTTP and not over JMX.
401401

402402
You can write technology-specific extensions by using javadoc:org.springframework.boot.actuate.endpoint.web.annotation.EndpointWebExtension[format=annotation] and javadoc:org.springframework.boot.actuate.endpoint.jmx.annotation.EndpointJmxExtension[format=annotation].
403-
These annotations let you provide technology-specific operations to augment an existing endpoint.
403+
These annotations let you provide technology-specific operations to augment an existing endpoint. An endpoint may have at most one extension of each type.
404404

405405
Finally, if you need access to web-framework-specific functionality, you can implement servlet or Spring javadoc:org.springframework.stereotype.Controller[format=annotation] and javadoc:org.springframework.web.bind.annotation.RestController[format=annotation] endpoints at the cost of them not being available over JMX or when using a different web framework.
406406

0 commit comments

Comments
 (0)