@Component(value="blBundleResourceResolver")
public class BundleResourceResolver
extends org.springframework.web.servlet.resource.AbstractResourceResolver
implements org.springframework.core.Ordered
ResourceResolver that is used to serve previously bundled files.
 
 
 It works with ResourceBundlingService which is able to create and read bundle files.
| Modifier and Type | Field and Description | 
|---|---|
| protected ResourceBundlingService | bundlingService | 
| protected static org.apache.commons.logging.Log | LOG | 
| Constructor and Description | 
|---|
| BundleResourceResolver() | 
| Modifier and Type | Method and Description | 
|---|---|
| int | getOrder() | 
| protected boolean | isBundleFile(String requestPath) | 
| protected void | logTraceInformation(org.springframework.core.io.Resource bundle) | 
| protected org.springframework.core.io.Resource | resolveResourceInternal(javax.servlet.http.HttpServletRequest request,
                       String requestPath,
                       List<? extends org.springframework.core.io.Resource> locations,
                       org.springframework.web.servlet.resource.ResourceResolverChain chain) | 
| protected String | resolveUrlPathInternal(String resourceUrlPath,
                      List<? extends org.springframework.core.io.Resource> locations,
                      org.springframework.web.servlet.resource.ResourceResolverChain chain) | 
| void | setOrder(int order) | 
protected static final org.apache.commons.logging.Log LOG
protected ResourceBundlingService bundlingService
protected org.springframework.core.io.Resource resolveResourceInternal(javax.servlet.http.HttpServletRequest request,
                                                                       String requestPath,
                                                                       List<? extends org.springframework.core.io.Resource> locations,
                                                                       org.springframework.web.servlet.resource.ResourceResolverChain chain)
resolveResourceInternal in class org.springframework.web.servlet.resource.AbstractResourceResolverprotected void logTraceInformation(org.springframework.core.io.Resource bundle)
protected String resolveUrlPathInternal(String resourceUrlPath, List<? extends org.springframework.core.io.Resource> locations, org.springframework.web.servlet.resource.ResourceResolverChain chain)
resolveUrlPathInternal in class org.springframework.web.servlet.resource.AbstractResourceResolverprotected boolean isBundleFile(String requestPath)
public int getOrder()
getOrder in interface org.springframework.core.Orderedpublic void setOrder(int order)
Copyright © 2020. All rights reserved.