@ -423,6 +424,7 @@ public class ResourceHttpRequestHandler extends WebContentGenerator
@@ -423,6 +424,7 @@ public class ResourceHttpRequestHandler extends WebContentGenerator
@ -451,7 +453,7 @@ public class ResourceHttpRequestHandler extends WebContentGenerator
@@ -451,7 +453,7 @@ public class ResourceHttpRequestHandler extends WebContentGenerator
"but resolved to a Resource of type: "+resource.getClass()+". "+
"If this is intentional, please pass it as a pre-configured Resource via setLocations.");
}
this.locationsToUse.add(resource);
result.add(resource);
if(charset!=null){
if(!(resourceinstanceofUrlResource)){
thrownewIllegalArgumentException("Unexpected charset for non-UrlResource: "+resource);
@ -460,7 +462,11 @@ public class ResourceHttpRequestHandler extends WebContentGenerator
@@ -460,7 +462,11 @@ public class ResourceHttpRequestHandler extends WebContentGenerator