From a77c6ef9ee09f09f6f06cb0e1ff04357f9072565 Mon Sep 17 00:00:00 2001 From: Mikhail Polivakha Date: Tue, 21 Oct 2025 14:13:48 +0300 Subject: [PATCH 1/2] Clarify Actuator's endpoint extension support See gh-47740 Signed-off-by: mipo256 --- .../docs/antora/modules/reference/pages/actuator/endpoints.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spring-boot-project/spring-boot-docs/src/docs/antora/modules/reference/pages/actuator/endpoints.adoc b/spring-boot-project/spring-boot-docs/src/docs/antora/modules/reference/pages/actuator/endpoints.adoc index 46b86af44ce..17def98b990 100644 --- a/spring-boot-project/spring-boot-docs/src/docs/antora/modules/reference/pages/actuator/endpoints.adoc +++ b/spring-boot-project/spring-boot-docs/src/docs/antora/modules/reference/pages/actuator/endpoints.adoc @@ -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. From 653e575a8da23fc601ef45f4f7ed3f8dbf2f3798 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Nicoll?= Date: Thu, 30 Oct 2025 07:37:16 +0100 Subject: [PATCH 2/2] Polish "Clarify Actuator's endpoint extension support" See gh-47740 --- .../antora/modules/reference/pages/actuator/endpoints.adoc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/spring-boot-project/spring-boot-docs/src/docs/antora/modules/reference/pages/actuator/endpoints.adoc b/spring-boot-project/spring-boot-docs/src/docs/antora/modules/reference/pages/actuator/endpoints.adoc index 17def98b990..596aa7351c0 100644 --- a/spring-boot-project/spring-boot-docs/src/docs/antora/modules/reference/pages/actuator/endpoints.adoc +++ b/spring-boot-project/spring-boot-docs/src/docs/antora/modules/reference/pages/actuator/endpoints.adoc @@ -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.