|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||

java.lang.Objectorg.apache.tiles.servlet.context.ServletTilesApplicationContext
org.apache.tiles.servlet.context.wildcard.WildcardServletTilesApplicationContext
public class WildcardServletTilesApplicationContext
Servlet-based implementation of the TilesApplicationContext interface that can resolve resources even using wildcards.
| Field Summary | |
|---|---|
protected org.springframework.core.io.support.ResourcePatternResolver |
resolver
The pattern resolver. |
| Constructor Summary | |
|---|---|
WildcardServletTilesApplicationContext(javax.servlet.ServletContext servletContext)
Constructor. |
|
| Method Summary | |
|---|---|
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(javax.servlet.ServletContext context)
Initialize (or reinitialize) this TilesApplicationContext instance
for the specified Servlet API objects. |
| Methods inherited from class org.apache.tiles.servlet.context.ServletTilesApplicationContext |
|---|
createRequestContext, getApplicationScope, getContext, getInitParams, getServletContext, release |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected org.springframework.core.io.support.ResourcePatternResolver resolver
| Constructor Detail |
|---|
public WildcardServletTilesApplicationContext(javax.servlet.ServletContext servletContext)
servletContext - The servlet context.| Method Detail |
|---|
public void initialize(javax.servlet.ServletContext context)
Initialize (or reinitialize) this TilesApplicationContext instance
for the specified Servlet API objects.
initialize in class ServletTilesApplicationContextcontext - The ServletContext for this web application
public java.net.URL getResource(java.lang.String path)
throws java.io.IOException
getResource in interface TilesApplicationContextgetResource in class ServletTilesApplicationContextpath - to the desired resource.
java.io.IOException - if the path is malformed
public java.util.Set<java.net.URL> getResources(java.lang.String path)
throws java.io.IOException
getResources in interface TilesApplicationContextgetResources in class ServletTilesApplicationContextpath - to the desired resource.
java.io.IOException - if the url is illegal
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||