|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.springframework.core.io.DefaultResourceLoader
org.springframework.web.context.support.ServletContextResourceLoader
ResourceLoader implementation that resolves paths as ServletContext resources, for use outside a WebApplicationContext.
getResourceByPath(java.lang.String),
HttpServletBean,
GenericFilterBean| Field Summary |
| Fields inherited from interface org.springframework.core.io.ResourceLoader |
CLASSPATH_URL_PREFIX |
| Constructor Summary | |
ServletContextResourceLoader(javax.servlet.ServletContext servletContext)
Create a new ServletContextResourceLoader. |
|
| Method Summary | |
protected Resource |
getResourceByPath(java.lang.String path)
This implementation supports file paths beneath the root of the web application. |
| Methods inherited from class org.springframework.core.io.DefaultResourceLoader |
getClassLoader, getResource |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ServletContextResourceLoader(javax.servlet.ServletContext servletContext)
servletContext - the ServletContext to resolve resources with.| Method Detail |
protected Resource getResourceByPath(java.lang.String path)
getResourceByPath in class DefaultResourceLoaderpath - path to the resource
ClassPathResource,
FileSystemXmlApplicationContext.getResourceByPath(java.lang.String),
XmlWebApplicationContext.getResourceByPath(java.lang.String)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||