@ -140,11 +140,13 @@ public class ResourceHttpRequestHandler extends WebContentGenerator
@@ -140,11 +140,13 @@ public class ResourceHttpRequestHandler extends WebContentGenerator
@ -185,13 +187,13 @@ public class ResourceHttpRequestHandler extends WebContentGenerator
@@ -185,13 +187,13 @@ public class ResourceHttpRequestHandler extends WebContentGenerator
@ -293,7 +295,7 @@ public class ResourceHttpRequestHandler extends WebContentGenerator
@@ -293,7 +295,7 @@ public class ResourceHttpRequestHandler extends WebContentGenerator
/**
*Returntheconfiguredcontentnegotiationmanager.
*@since4.3
*@deprecatedasof5.2.4.
*@deprecatedasof5.2.4
*/
@Nullable
@Deprecated
@ -303,7 +305,7 @@ public class ResourceHttpRequestHandler extends WebContentGenerator
@@ -303,7 +305,7 @@ public class ResourceHttpRequestHandler extends WebContentGenerator
@ -361,9 +363,16 @@ public class ResourceHttpRequestHandler extends WebContentGenerator
@@ -361,9 +363,16 @@ public class ResourceHttpRequestHandler extends WebContentGenerator
@ -376,18 +385,35 @@ public class ResourceHttpRequestHandler extends WebContentGenerator
@@ -376,18 +385,35 @@ public class ResourceHttpRequestHandler extends WebContentGenerator
@ -449,8 +475,8 @@ public class ResourceHttpRequestHandler extends WebContentGenerator
@@ -449,8 +475,8 @@ public class ResourceHttpRequestHandler extends WebContentGenerator
"The String-based location \"/\" should be relative to the web application root "+
"but resolved to a Resource of type: "+resource.getClass()+". "+
"If this is intentional, please pass it as a pre-configured Resource via setLocations.");
"but resolved to a Resource of type: "+resource.getClass()+". "+
"If this is intentional, please pass it as a pre-configured Resource via setLocations.");
}
result.add(resource);
if(charset!=null){
@ -463,7 +489,9 @@ public class ResourceHttpRequestHandler extends WebContentGenerator
@@ -463,7 +489,9 @@ public class ResourceHttpRequestHandler extends WebContentGenerator
@ -508,6 +536,7 @@ public class ResourceHttpRequestHandler extends WebContentGenerator
@@ -508,6 +536,7 @@ public class ResourceHttpRequestHandler extends WebContentGenerator
@ -4259,6 +4259,9 @@ re-write URLs to include the version of the jar and can also match against incom
@@ -4259,6 +4259,9 @@ re-write URLs to include the version of the jar and can also match against incom
without versions -- for example, from `/jquery/jquery.min.js` to
`/jquery/1.2.0/jquery.min.js`.
TIP: The Java configuration based on `ResourceHandlerRegistry` provides further options
for fine-grained control, e.g. last-modified behavior and optimized resource resolution.
@ -5738,8 +5738,8 @@ The following listing shows how to do so with Java configuration:
@@ -5738,8 +5738,8 @@ The following listing shows how to do so with Java configuration:
@Override
public void addResourceHandlers(ResourceHandlerRegistry registry) {
@ -5846,6 +5846,9 @@ re-write URLs to include the version of the jar and can also match against incom
@@ -5846,6 +5846,9 @@ re-write URLs to include the version of the jar and can also match against incom
without versions -- for example, from `/jquery/jquery.min.js` to
`/jquery/1.2.0/jquery.min.js`.
TIP: The Java configuration based on `ResourceHandlerRegistry` provides further options
for fine-grained control, e.g. last-modified behavior and optimized resource resolution.