|
69 | 69 | * according to the guidelines of Page Speed, YSlow, etc.
|
70 | 70 | *
|
71 | 71 | * <p>The {@linkplain #setLocations "locations"} property takes a list of Spring
|
72 |
| - * {@link Resource} locations from which static resources are allowed to |
73 |
| - * be served by this handler. Resources could be served from a classpath location, |
74 |
| - * e.g. "classpath:/META-INF/public-web-resources/", allowing convenient packaging |
| 72 | + * {@link Resource} locations from which static resources are allowed to be served |
| 73 | + * by this handler. Resources could be served from a classpath location, e.g. |
| 74 | + * "classpath:/META-INF/public-web-resources/", allowing convenient packaging |
75 | 75 | * and serving of resources such as .js, .css, and others in jar files.
|
76 | 76 | *
|
77 | 77 | * <p>This request handler may also be configured with a
|
78 | 78 | * {@link #setResourceResolvers(List) resourcesResolver} and
|
79 | 79 | * {@link #setResourceTransformers(List) resourceTransformer} chains to support
|
80 |
| - * arbitrary resolution and transformation of resources being served. By default a |
81 |
| - * {@link PathResourceResolver} simply finds resources based on the configured |
82 |
| - * "locations". An application can configure additional resolvers and |
83 |
| - * transformers such as the {@link VersionResourceResolver} which can resolve |
84 |
| - * and prepare URLs for resources with a version in the URL. |
| 80 | + * arbitrary resolution and transformation of resources being served. By default |
| 81 | + * a {@link PathResourceResolver} simply finds resources based on the configured |
| 82 | + * "locations". An application can configure additional resolvers and transformers |
| 83 | + * such as the {@link VersionResourceResolver} which can resolve and prepare URLs |
| 84 | + * for resources with a version in the URL. |
85 | 85 | *
|
86 |
| - * <p>This handler also properly evaluates the {@code Last-Modified} header (if |
87 |
| - * present) so that a {@code 304} status code will be returned as appropriate, |
88 |
| - * avoiding unnecessary overhead for resources that are already cached by the |
89 |
| - * client. |
| 86 | + * <p>This handler also properly evaluates the {@code Last-Modified} header |
| 87 | + * (if present) so that a {@code 304} status code will be returned as appropriate, |
| 88 | + * avoiding unnecessary overhead for resources that are already cached by the client. |
90 | 89 | *
|
91 | 90 | * @author Keith Donald
|
92 | 91 | * @author Jeremy Grelle
|
|
0 commit comments