Polish "Clarify Actuator's endpoint extension support"

See gh-47740
This commit is contained in:
Stéphane Nicoll
2025-10-30 07:37:16 +01:00
parent a77c6ef9ee
commit 653e575a8d
@@ -400,7 +400,8 @@ These endpoints are restricted to their respective technologies.
For example, javadoc:org.springframework.boot.actuate.endpoint.web.annotation.WebEndpoint[format=annotation] is exposed only over HTTP and not over JMX.
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].
These annotations let you provide technology-specific operations to augment an existing endpoint. An endpoint may have at most one extension of each type.
These annotations let you provide technology-specific operations to augment an existing endpoint.
An endpoint may have at most one extension of each type.
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.