@Component(value="blMessagesResourceResolver") public class MessagesResourceResolver extends Object implements org.springframework.web.servlet.resource.ResourceResolver
| Modifier and Type | Field and Description | 
|---|---|
| protected static String | MESSAGES_JS_PATH | 
| protected static String | OPEN_ADMIN_MESSAGES_PROPERTIES | 
| Constructor and Description | 
|---|
| MessagesResourceResolver() | 
| Modifier and Type | Method and Description | 
|---|---|
| String | getMessagesJsPath() | 
| String | getOpenAdminMessagesProperties() | 
| protected String | getResourceContents(org.springframework.core.io.Resource resource) | 
| protected String | replaceResourceContents(String contents) | 
| org.springframework.core.io.Resource | resolveResource(javax.servlet.http.HttpServletRequest request,
               String path,
               List<? extends org.springframework.core.io.Resource> locations,
               org.springframework.web.servlet.resource.ResourceResolverChain chain) | 
| String | resolveUrlPath(String resourcePath,
              List<? extends org.springframework.core.io.Resource> locations,
              org.springframework.web.servlet.resource.ResourceResolverChain chain) | 
| protected org.springframework.core.io.Resource | updateMessagesVariables(org.springframework.core.io.Resource resource,
                       String path) | 
protected static final String MESSAGES_JS_PATH
protected static final String OPEN_ADMIN_MESSAGES_PROPERTIES
public org.springframework.core.io.Resource resolveResource(javax.servlet.http.HttpServletRequest request,
                                                            String path,
                                                            List<? extends org.springframework.core.io.Resource> locations,
                                                            org.springframework.web.servlet.resource.ResourceResolverChain chain)
resolveResource in interface org.springframework.web.servlet.resource.ResourceResolverprotected org.springframework.core.io.Resource updateMessagesVariables(org.springframework.core.io.Resource resource,
                                                                       String path)
protected String getResourceContents(org.springframework.core.io.Resource resource) throws IOException
IOExceptionprotected String replaceResourceContents(String contents) throws IOException
IOExceptionpublic String resolveUrlPath(String resourcePath, List<? extends org.springframework.core.io.Resource> locations, org.springframework.web.servlet.resource.ResourceResolverChain chain)
resolveUrlPath in interface org.springframework.web.servlet.resource.ResourceResolverpublic String getMessagesJsPath()
public String getOpenAdminMessagesProperties()
Copyright © 2020. All rights reserved.