Clarify Actuator's endpoint extension support

See gh-47740

Signed-off-by: mipo256 <mikhailpolivakha@email.com>
This commit is contained in:
Mikhail Polivakha
2025-10-30 07:36:57 +01:00
committed by Stéphane Nicoll
parent d2a349868e
commit a77c6ef9ee
@@ -400,7 +400,7 @@ 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.
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.