Merge branch '6.0.x'
This commit is contained in:
commit
83b0f4f394
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* Copyright 2002-2022 the original author or authors.
|
* Copyright 2002-2023 the original author or authors.
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
|
|
@ -133,6 +133,7 @@ public class PathResourceResolver extends AbstractResourceResolver {
|
||||||
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@Nullable
|
||||||
protected Resource resolveResourceInternal(@Nullable HttpServletRequest request, String requestPath,
|
protected Resource resolveResourceInternal(@Nullable HttpServletRequest request, String requestPath,
|
||||||
List<? extends Resource> locations, ResourceResolverChain chain) {
|
List<? extends Resource> locations, ResourceResolverChain chain) {
|
||||||
|
|
||||||
|
|
@ -140,6 +141,7 @@ public class PathResourceResolver extends AbstractResourceResolver {
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@Nullable
|
||||||
protected String resolveUrlPathInternal(String resourcePath, List<? extends Resource> locations,
|
protected String resolveUrlPathInternal(String resourcePath, List<? extends Resource> locations,
|
||||||
ResourceResolverChain chain) {
|
ResourceResolverChain chain) {
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue