diff --git a/spring-webmvc/src/main/java/org/springframework/web/servlet/resource/PublicResourceUrlProvider.java b/spring-webmvc/src/main/java/org/springframework/web/servlet/resource/PublicResourceUrlProvider.java index c83a62a9d8..e3928292b5 100644 --- a/spring-webmvc/src/main/java/org/springframework/web/servlet/resource/PublicResourceUrlProvider.java +++ b/spring-webmvc/src/main/java/org/springframework/web/servlet/resource/PublicResourceUrlProvider.java @@ -34,9 +34,12 @@ import java.util.Map; /** - * A central component for serving static resources that is aware of Spring MVC - * handler mappings and provides methods to determine the public URL path that - * a client should use to access a static resource. + * A central component to use to obtain the public URL path that clients should + * use to access a static resource. + * + *

This class is aware of Spring MVC handler mappings used to serve static + * resources and uses the {@code ResourceResolver} chains of the configured + * {@code ResourceHttpRequestHandler}s to make its decisions. * * @author Rossen Stoyanchev * @since 4.1