@ -139,11 +139,13 @@ public class ResourceHttpRequestHandler extends WebContentGenerator
@@ -139,11 +139,13 @@ public class ResourceHttpRequestHandler extends WebContentGenerator
@ -184,13 +186,13 @@ public class ResourceHttpRequestHandler extends WebContentGenerator
@@ -184,13 +186,13 @@ public class ResourceHttpRequestHandler extends WebContentGenerator
@ -292,7 +294,7 @@ public class ResourceHttpRequestHandler extends WebContentGenerator
@@ -292,7 +294,7 @@ public class ResourceHttpRequestHandler extends WebContentGenerator
/**
*Returntheconfiguredcontentnegotiationmanager.
*@since4.3
*@deprecatedasof5.2.4.
*@deprecatedasof5.2.4
*/
@Nullable
@Deprecated
@ -302,7 +304,7 @@ public class ResourceHttpRequestHandler extends WebContentGenerator
@@ -302,7 +304,7 @@ public class ResourceHttpRequestHandler extends WebContentGenerator
@ -360,9 +362,16 @@ public class ResourceHttpRequestHandler extends WebContentGenerator
@@ -360,9 +362,16 @@ public class ResourceHttpRequestHandler extends WebContentGenerator
@ -375,18 +384,35 @@ public class ResourceHttpRequestHandler extends WebContentGenerator
@@ -375,18 +384,35 @@ public class ResourceHttpRequestHandler extends WebContentGenerator
@ -448,8 +474,8 @@ public class ResourceHttpRequestHandler extends WebContentGenerator
@@ -448,8 +474,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){
@ -462,7 +488,9 @@ public class ResourceHttpRequestHandler extends WebContentGenerator
@@ -462,7 +488,9 @@ public class ResourceHttpRequestHandler extends WebContentGenerator
@ -506,6 +534,7 @@ public class ResourceHttpRequestHandler extends WebContentGenerator
@@ -506,6 +534,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.