From 7c78b74a761a932fa27b8a6cbc7993a7923d4769 Mon Sep 17 00:00:00 2001 From: Phillip Webb Date: Wed, 18 Dec 2013 22:21:13 -0800 Subject: [PATCH] Minor polish --- .../actuate/endpoint/mvc/EndpointHandlerMapping.java | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/mvc/EndpointHandlerMapping.java b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/mvc/EndpointHandlerMapping.java index 47ecea3c001..ed98da9aa09 100644 --- a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/mvc/EndpointHandlerMapping.java +++ b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/mvc/EndpointHandlerMapping.java @@ -33,18 +33,15 @@ import org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandl /** * {@link HandlerMapping} to map {@link Endpoint}s to URLs via {@link Endpoint#getId()}. - * Only endpoints that are annotated as @FrameworkEndpoint will be mapped, - * and within that class only those methods with @RequestMapping will be - * exposed. The semantics of @RequestMapping should be identical to a normal - * @Controller, but the endpoints should not be annotated as - * @Controller (otherwise they will be mapped by the normal MVC mechanisms). + * The semantics of {@code @RequestMapping} should be identical to a normal + * {@code @Controller}, but the endpoints should not be annotated as {@code @Controller} + * (otherwise they will be mapped by the normal MVC mechanisms). * *

* One of the aims of the mapping is to support endpoints that work as HTTP endpoints but * can still provide useful service interfaces when there is no HTTP server (and no Spring * MVC on the classpath). Note that any endpoints having method signaturess will break in * a non-servlet environment. - *

* * @author Phillip Webb * @author Christian Dupuis