public class WildcardServletTilesApplicationContext extends ServletTilesApplicationContext
Modifier and Type | Field and Description |
---|---|
protected org.springframework.core.io.support.ResourcePatternResolver |
resolver
The pattern resolver.
|
Constructor and Description |
---|
WildcardServletTilesApplicationContext(javax.servlet.ServletContext servletContext)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
URL |
getResource(String path)
Return a URL for the application resource mapped to the specified path.
|
Set<URL> |
getResources(String path)
Return a URL for the application resource mapped to the specified path.
|
void |
initialize(javax.servlet.ServletContext context)
Initialize (or reinitialize) this
TilesApplicationContext instance
for the specified Servlet API objects. |
createRequestContext, getApplicationScope, getContext, getInitParams, getServletContext, release
protected org.springframework.core.io.support.ResourcePatternResolver resolver
public WildcardServletTilesApplicationContext(javax.servlet.ServletContext servletContext)
servletContext
- The servlet context.public void initialize(javax.servlet.ServletContext context)
Initialize (or reinitialize) this TilesApplicationContext
instance
for the specified Servlet API objects.
initialize
in class ServletTilesApplicationContext
context
- The ServletContext
for this web applicationpublic URL getResource(String path) throws IOException
getResource
in interface TilesApplicationContext
getResource
in class ServletTilesApplicationContext
path
- to the desired resource.IOException
- if the path is malformedpublic Set<URL> getResources(String path) throws IOException
getResources
in interface TilesApplicationContext
getResources
in class ServletTilesApplicationContext
path
- to the desired resource.IOException
- if the url is illegalCopyright © 2016. All rights reserved.