java.lang.Object | ||
↳ | org.springframework.core.io.DefaultResourceLoader | |
↳ | org.springframework.web.context.support.ServletContextResourceLoader |
ResourceLoader implementation that resolves paths as ServletContext resources, for use outside a WebApplicationContext (for example, in an HttpServletBean or GenericFilterBean subclass).
Within a WebApplicationContext, resource paths are automatically resolved as ServletContext resources by the context implementation.
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From interface
org.springframework.core.io.ResourceLoader
|
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Create a new ServletContextResourceLoader.
|
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
This implementation supports file paths beneath the root of the web application.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.springframework.core.io.DefaultResourceLoader
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
org.springframework.core.io.ResourceLoader
|
Create a new ServletContextResourceLoader.
servletContext | the ServletContext to load resources with |
---|
This implementation supports file paths beneath the root of the web application.
path | the path to the resource |
---|