public class WildcardServletTilesApplicationContext extends ServletTilesApplicationContext
Modifier and Type | Field and Description |
---|---|
protected ResourcePatternResolver |
resolver
The pattern resolver.
|
Constructor and Description |
---|
WildcardServletTilesApplicationContext(ServletContext servletContext)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
java.net.URL |
getResource(java.lang.String path)
Return a URL for the application resource mapped to the specified path.
|
java.util.Set<java.net.URL> |
getResources(java.lang.String path)
Return a URL for the application resource mapped to the specified path.
|
void |
initialize(ServletContext context)
Initialize (or reinitialize) this
TilesApplicationContext instance
for the specified Servlet API objects. |
createRequestContext, getApplicationScope, getContext, getInitParams, getServletContext, release
public WildcardServletTilesApplicationContext(ServletContext servletContext)
servletContext
- The servlet context.public void initialize(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 java.net.URL getResource(java.lang.String path) throws java.io.IOException
getResource
in interface TilesApplicationContext
getResource
in class ServletTilesApplicationContext
path
- to the desired resource.java.io.IOException
- if the path is malformedpublic java.util.Set<java.net.URL> getResources(java.lang.String path) throws java.io.IOException
getResources
in interface TilesApplicationContext
getResources
in class ServletTilesApplicationContext
path
- to the desired resource.java.io.IOException
- if the url is illegal