
public class WildcardServletApplicationContext extends ServletApplicationContext
| Modifier and Type | Field and Description | 
|---|---|
| protected org.springframework.core.io.support.ResourcePatternResolver | resolverThe pattern resolver. | 
| Constructor and Description | 
|---|
| WildcardServletApplicationContext(ServletContext servletContext)Constructor. | 
| Modifier and Type | Method and Description | 
|---|---|
| ApplicationResource | getResource(ApplicationResource base,
           Locale locale)Return a localized version of an ApplicationResource. | 
| ApplicationResource | getResource(String localePath)Return the application resource mapped to the specified path. | 
| Collection<ApplicationResource> | getResources(String path)Return the application resources mapped to the specified path. | 
getApplicationScope, getContext, getInitParamsprotected org.springframework.core.io.support.ResourcePatternResolver resolver
public WildcardServletApplicationContext(ServletContext servletContext)
servletContext - The servlet context.public ApplicationResource getResource(String localePath)
getResource in interface ApplicationContextgetResource in class ServletApplicationContextlocalePath - path to the desired resource, including the Locale suffix.public ApplicationResource getResource(ApplicationResource base, Locale locale)
getResource in interface ApplicationContextgetResource in class ServletApplicationContextbase - the ApplicationResource.locale - the desired Locale.public Collection<ApplicationResource> getResources(String path)
getResources in interface ApplicationContextgetResources in class ServletApplicationContextpath - to the desired resource.Copyright © 2001-2017 The Apache Software Foundation. All Rights Reserved.