@Component(value="blSystemPropertyJSResolver")
public class BLCSystemPropertyResourceResolver
extends org.springframework.web.servlet.resource.AbstractResourceResolver
implements org.springframework.core.Ordered
ResourceResolver that replaces system properties in BLC-system-property.js| Modifier and Type | Field and Description |
|---|---|
protected static String |
BLC_SYSTEM_PROPERTY_FILE |
protected static Charset |
DEFAULT_CHARSET |
protected static org.apache.commons.logging.Log |
LOG |
| Constructor and Description |
|---|
BLCSystemPropertyResourceResolver() |
| 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 String BLC_SYSTEM_PROPERTY_FILE
protected static final Charset DEFAULT_CHARSET
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 © 2022. All rights reserved.