@Component(value="blBLCJSResolver")
public class BLCJSResourceResolver
extends org.springframework.web.servlet.resource.AbstractResourceResolver
implements org.springframework.core.Ordered
ResourceResolver that replaces the //BLC-SERVLET-CONTEXT and //BLC-SITE-BASEURL" 
 tokens before serving the BLC.js file.
 
 Works in conjunction with BLCJSUrlPathResolver| Modifier and Type | Field and Description | 
|---|---|
| protected static Charset | DEFAULT_CHARSET | 
| protected static org.apache.commons.logging.Log | LOG | 
| protected static Pattern | pattern | 
| Constructor and Description | 
|---|
| BLCJSResourceResolver() | 
| Modifier and Type | Method and Description | 
|---|---|
| protected String | addVersion(String requestPath,
          String version) | 
| protected org.springframework.core.io.Resource | convertResource(org.springframework.core.io.Resource origResource,
               String resourceFileName) | 
| int | getOrder() | 
| 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 static final Charset DEFAULT_CHARSET
protected static final Pattern pattern
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 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 org.springframework.core.io.Resource convertResource(org.springframework.core.io.Resource origResource,
                                                               String resourceFileName)
                                                        throws IOException
IOExceptionpublic int getOrder()
getOrder in interface org.springframework.core.Orderedpublic void setOrder(int order)
Copyright © 2020. All rights reserved.