Package | Description |
---|---|
org.springframework.beans.factory.parsing |
Support infrastructure for bean definition parsing.
|
org.springframework.beans.factory.support |
Classes supporting the
org.springframework.beans.factory package. |
org.springframework.beans.factory.xml |
Contains an abstract XML-based
BeanFactory implementation,
including a standard "spring-beans" DTD. |
org.springframework.cache.ehcache |
Support classes for the open source cache
EhCache,
allowing to set up an EhCache CacheManager and Caches
as beans in a Spring context.
|
org.springframework.context.support |
Classes supporting the org.springframework.context package,
such as abstract base classes for ApplicationContext
implementations and a MessageSource implementation.
|
org.springframework.core.io |
Generic abstraction for (file-based) resources, used throughout the framework.
|
org.springframework.core.io.support |
Support classes for Spring's resource abstraction.
|
org.springframework.core.type.classreading |
Support classes for reading annotation and class-level metadata.
|
org.springframework.http.converter |
Provides an HttpMessageConverter abstraction to convert between Java objects and HTTP input/output messages.
|
org.springframework.jdbc.config |
Defines the Spring JDBC configuration namespace.
|
org.springframework.jdbc.datasource.init |
Provides extensible support for initializing databases through scripts.
|
org.springframework.jdbc.support |
Support classes for the JDBC framework, used by the classes in the
jdbc.core and jdbc.object packages.
|
org.springframework.jmx.export.naming |
Provides a strategy for ObjectName creation.
|
org.springframework.mail.javamail |
JavaMail support for Spring's mail infrastructure.
|
org.springframework.orm.hibernate3 |
Package providing integration of
Hibernate 3.x
with Spring concepts.
|
org.springframework.orm.jdo |
Package providing integration of JDO (Java Date Objects) with Spring concepts.
|
org.springframework.oxm.castor |
Package providing integration of Castor within Springs O/X Mapping
support
|
org.springframework.oxm.jaxb |
Package providing integration of JAXB with Springs O/X Mapping
support
|
org.springframework.oxm.support |
Provides generic support classes for using Spring's O/X Mapping integration within various scenario's.
|
org.springframework.remoting.jaxws |
Remoting classes for Web Services via JAX-WS (the successor of JAX-RPC),
as included in Java 6 and Java EE 5.
|
org.springframework.scripting.support |
Support classes for Spring's scripting package.
|
org.springframework.test.jdbc |
Support classes for tests based on JDBC.
|
org.springframework.test.web.client.response |
Contains built-in
ResponseCreator
implementations. |
org.springframework.ui.freemarker |
Support classes for setting up
FreeMarker
within a Spring application context.
|
org.springframework.ui.velocity |
Support classes for setting up
Velocity
within a Spring application context.
|
org.springframework.validation.beanvalidation |
Support classes for integrating a JSR-303 Bean Validation provider
(such as Hibernate Validator 4.0) into a Spring ApplicationContext
and in particular with Spring's data binding and validation APIs.
|
org.springframework.web.context.support |
Classes supporting the
org.springframework.web.context package,
such as WebApplicationContext implementations and various utility classes. |
org.springframework.web.multipart.commons |
MultipartResolver implementation for
Apache Commons FileUpload.
|
org.springframework.web.portlet.context |
Support for Spring's application context concept in a portlet environment,
including ApplicationContext implementations and various utility classes.
|
org.springframework.web.servlet.resource |
Support classes for serving static resources.
|
org.springframework.web.servlet.view |
Provides standard View and ViewResolver implementations,
including abstract base classes for custom implementations.
|
org.springframework.web.servlet.view.jasperreports |
Support classes for the integration of
JasperReports
as Spring web view technology.
|
org.springframework.web.servlet.view.xslt |
Support classes for XSLT,
providing a View implementation for XSLT stylesheets.
|
Modifier and Type | Method and Description |
---|---|
Resource[] |
ImportDefinition.getActualResources() |
Resource |
ReaderContext.getResource() |
Resource |
Location.getResource()
Get the resource with which this location is associated.
|
Modifier and Type | Method and Description |
---|---|
Object |
PassThroughSourceExtractor.extractSource(Object sourceCandidate,
Resource definingResource)
Simply returns the supplied
sourceCandidate as-is. |
Object |
SourceExtractor.extractSource(Object sourceCandidate,
Resource definingResource)
Extract the source metadata from the candidate object supplied
by the configuration parser.
|
Object |
NullSourceExtractor.extractSource(Object sourceCandidate,
Resource definitionResource)
This implementation simply returns
null for any input. |
void |
ReaderContext.fireImportProcessed(String importedResource,
Resource[] actualResources,
Object source) |
Constructor and Description |
---|
ImportDefinition(String importedResource,
Resource[] actualResources,
Object source)
Create a new ImportDefinition.
|
Location(Resource resource)
Create a new instance of the
Location class. |
Location(Resource resource,
Object source)
Create a new instance of the
Location class. |
ReaderContext(Resource resource,
ProblemReporter problemReporter,
ReaderEventListener eventListener,
SourceExtractor sourceExtractor) |
Modifier and Type | Method and Description |
---|---|
Resource |
AbstractBeanDefinition.getResource()
Return the resource that this bean definition came from.
|
Modifier and Type | Method and Description |
---|---|
int |
AbstractBeanDefinitionReader.loadBeanDefinitions(Resource... resources) |
int |
BeanDefinitionReader.loadBeanDefinitions(Resource... resources)
Load bean definitions from the specified resources.
|
int |
BeanDefinitionReader.loadBeanDefinitions(Resource resource)
Load bean definitions from the specified resource.
|
int |
PropertiesBeanDefinitionReader.loadBeanDefinitions(Resource resource)
Load bean definitions from the specified properties file,
using all property keys (i.e.
|
int |
PropertiesBeanDefinitionReader.loadBeanDefinitions(Resource resource,
String prefix)
Load bean definitions from the specified properties file.
|
void |
AbstractBeanDefinition.setResource(Resource resource)
Set the resource that this bean definition came from
(for the purpose of showing context in case of errors).
|
Modifier and Type | Method and Description |
---|---|
int |
AbstractBeanDefinitionReader.loadBeanDefinitions(String location,
Set<Resource> actualResources)
Load bean definitions from the specified resource location.
|
Modifier and Type | Method and Description |
---|---|
protected XmlReaderContext |
XmlBeanDefinitionReader.createReaderContext(Resource resource)
Create the
XmlReaderContext to pass over to the document reader. |
protected int |
XmlBeanDefinitionReader.detectValidationMode(Resource resource)
Detects which kind of validation to perform on the XML file identified
by the supplied
Resource . |
protected int |
XmlBeanDefinitionReader.doLoadBeanDefinitions(InputSource inputSource,
Resource resource)
Actually load bean definitions from the specified XML file.
|
protected int |
XmlBeanDefinitionReader.getValidationModeForResource(Resource resource)
Gets the validation mode for the specified
Resource . |
int |
XmlBeanDefinitionReader.loadBeanDefinitions(Resource resource)
Load bean definitions from the specified XML file.
|
int |
XmlBeanDefinitionReader.registerBeanDefinitions(Document doc,
Resource resource)
Register the bean definitions contained in the given DOM document.
|
Constructor and Description |
---|
XmlBeanFactory(Resource resource)
Deprecated.
Create a new XmlBeanFactory with the given resource,
which must be parsable using DOM.
|
XmlBeanFactory(Resource resource,
BeanFactory parentBeanFactory)
Deprecated.
Create a new XmlBeanFactory with the given input stream,
which must be parsable using DOM.
|
XmlReaderContext(Resource resource,
ProblemReporter problemReporter,
ReaderEventListener eventListener,
SourceExtractor sourceExtractor,
XmlBeanDefinitionReader reader,
NamespaceHandlerResolver namespaceHandlerResolver) |
Modifier and Type | Method and Description |
---|---|
void |
EhCacheManagerFactoryBean.setConfigLocation(Resource configLocation)
Set the location of the EhCache config file.
|
Modifier and Type | Method and Description |
---|---|
protected Resource[] |
ClassPathXmlApplicationContext.getConfigResources() |
protected Resource[] |
AbstractXmlApplicationContext.getConfigResources()
Return an array of Resource objects, referring to the XML bean definition
files that this context should be built with.
|
Resource |
GenericApplicationContext.getResource(String location)
This implementation delegates to this context's ResourceLoader if set,
falling back to the default superclass behavior else.
|
protected Resource |
FileSystemXmlApplicationContext.getResourceByPath(String path)
Resolve resource paths as file system paths.
|
Resource[] |
AbstractApplicationContext.getResources(String locationPattern) |
Resource[] |
GenericApplicationContext.getResources(String locationPattern)
This implementation delegates to this context's ResourceLoader if it
implements the ResourcePatternResolver interface, falling back to the
default superclass behavior else.
|
Modifier and Type | Method and Description |
---|---|
void |
GenericXmlApplicationContext.load(Resource... resources)
Load bean definitions from the given XML resources.
|
protected Properties |
ReloadableResourceBundleMessageSource.loadProperties(Resource resource,
String filename)
Load the properties from the given resource.
|
Constructor and Description |
---|
GenericXmlApplicationContext(Resource... resources)
Create a new GenericXmlApplicationContext, loading bean definitions
from the given resources and automatically refreshing the context.
|
Modifier and Type | Interface and Description |
---|---|
interface |
ContextResource
Extended interface for a resource that is loaded from an enclosing
'context', e.g.
|
interface |
WritableResource
Extended interface for a resource that supports writing to it.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractFileResolvingResource
Abstract base class for resources which resolve URLs into File references,
such as
UrlResource or ClassPathResource . |
class |
AbstractResource
Convenience base class for
Resource implementations,
pre-implementing typical behavior. |
class |
ByteArrayResource
Resource implementation for a given byte array. |
class |
ClassPathResource
Resource implementation for class path resources. |
class |
DescriptiveResource
Simple
Resource implementation that holds a resource description
but does not point to an actually readable resource. |
class |
FileSystemResource
Resource implementation for java.io.File handles. |
class |
InputStreamResource
Resource implementation for a given InputStream. |
class |
UrlResource
Resource implementation for java.net.URL locators. |
class |
VfsResource
VFS based
Resource implementation. |
Modifier and Type | Method and Description |
---|---|
Resource |
Resource.createRelative(String relativePath)
Create a resource relative to this resource.
|
Resource |
FileSystemResource.createRelative(String relativePath)
This implementation creates a FileSystemResource, applying the given path
relative to the path of the underlying file of this resource descriptor.
|
Resource |
UrlResource.createRelative(String relativePath)
This implementation creates a UrlResource, applying the given path
relative to the path of the underlying URL of this resource descriptor.
|
Resource |
ClassPathResource.createRelative(String relativePath)
This implementation creates a ClassPathResource, applying the given path
relative to the path of the underlying resource of this descriptor.
|
Resource |
AbstractResource.createRelative(String relativePath)
This implementation throws a FileNotFoundException, assuming
that relative resources cannot be created for this resource.
|
Resource |
VfsResource.createRelative(String relativePath) |
Resource |
DefaultResourceLoader.getResource(String location) |
Resource |
ResourceLoader.getResource(String location)
Return a Resource handle for the specified resource.
|
protected Resource |
DefaultResourceLoader.getResourceByPath(String path)
Return a Resource handle for the resource at the given path.
|
protected Resource |
FileSystemResourceLoader.getResourceByPath(String path)
Resolve resource paths as file system paths.
|
protected Resource |
ClassRelativeResourceLoader.getResourceByPath(String path) |
Modifier and Type | Method and Description |
---|---|
protected Resource |
PathMatchingResourcePatternResolver.convertClassLoaderURL(URL url)
Convert the given URL as returned from the ClassLoader into a Resource object.
|
protected Resource[] |
PathMatchingResourcePatternResolver.findAllClassPathResources(String location)
Find all class location resources with the given location via the ClassLoader.
|
Resource |
LocalizedResourceHelper.findLocalizedResource(String name,
String extension,
Locale locale)
Find the most specific localized resource for the given name,
extension and locale:
|
protected Resource[] |
PathMatchingResourcePatternResolver.findPathMatchingResources(String locationPattern)
Find all resources that match the given location pattern via the
Ant-style PathMatcher.
|
Resource |
EncodedResource.getResource()
Return the
Resource held by this EncodedResource . |
Resource |
PathMatchingResourcePatternResolver.getResource(String location) |
Resource[] |
ResourcePatternResolver.getResources(String locationPattern)
Resolve the given location pattern into Resource objects.
|
Resource[] |
PathMatchingResourcePatternResolver.getResources(String locationPattern) |
protected Resource |
PathMatchingResourcePatternResolver.resolveRootDirResource(Resource original)
Resolve the specified resource for path matching.
|
Modifier and Type | Method and Description |
---|---|
protected Set<Resource> |
PathMatchingResourcePatternResolver.doFindMatchingFileSystemResources(File rootDir,
String subPattern)
Find all resources in the file system that match the given location pattern
via the Ant-style PathMatcher.
|
protected Set<Resource> |
PathMatchingResourcePatternResolver.doFindPathMatchingFileResources(Resource rootDirResource,
String subPattern)
Find all resources in the file system that match the given location pattern
via the Ant-style PathMatcher.
|
protected Set<Resource> |
PathMatchingResourcePatternResolver.doFindPathMatchingJarResources(Resource rootDirResource,
String subPattern)
Find all resources in jar files that match the given location pattern
via the Ant-style PathMatcher.
|
Modifier and Type | Method and Description |
---|---|
protected Set<Resource> |
PathMatchingResourcePatternResolver.doFindPathMatchingFileResources(Resource rootDirResource,
String subPattern)
Find all resources in the file system that match the given location pattern
via the Ant-style PathMatcher.
|
protected Set<Resource> |
PathMatchingResourcePatternResolver.doFindPathMatchingJarResources(Resource rootDirResource,
String subPattern)
Find all resources in jar files that match the given location pattern
via the Ant-style PathMatcher.
|
static void |
PropertiesLoaderUtils.fillProperties(Properties props,
Resource resource)
Fill the given properties from the given resource (in ISO-8859-1 encoding).
|
protected boolean |
PathMatchingResourcePatternResolver.isJarResource(Resource resource)
Return whether the given resource handle indicates a jar resource
that the
doFindPathMatchingJarResources method can handle. |
static Properties |
PropertiesLoaderUtils.loadProperties(Resource resource)
Load properties from the given resource (in ISO-8859-1 encoding).
|
protected Resource |
PathMatchingResourcePatternResolver.resolveRootDirResource(Resource original)
Resolve the specified resource for path matching.
|
void |
PropertiesLoaderSupport.setLocation(Resource location)
Set a location of a properties file to be loaded.
|
void |
PropertiesLoaderSupport.setLocations(Resource... locations)
Set locations of properties files to be loaded.
|
Constructor and Description |
---|
EncodedResource(Resource resource)
Create a new
EncodedResource for the given Resource ,
not specifying an explicit encoding or Charset . |
EncodedResource(Resource resource,
Charset charset)
Create a new
EncodedResource for the given Resource ,
using the specified Charset . |
EncodedResource(Resource resource,
String encoding)
Create a new
EncodedResource for the given Resource ,
using the specified encoding . |
ResourcePropertySource(Resource resource)
Create a PropertySource based on Properties loaded from the given resource.
|
ResourcePropertySource(String name,
Resource resource)
Create a PropertySource having the given name based on Properties
loaded from the given encoded resource.
|
Modifier and Type | Method and Description |
---|---|
Resource |
MetadataReader.getResource()
Return the resource reference for the class file.
|
Modifier and Type | Method and Description |
---|---|
MetadataReader |
MetadataReaderFactory.getMetadataReader(Resource resource)
Obtain a MetadataReader for the given resource.
|
MetadataReader |
CachingMetadataReaderFactory.getMetadataReader(Resource resource) |
MetadataReader |
SimpleMetadataReaderFactory.getMetadataReader(Resource resource) |
Modifier and Type | Method and Description |
---|---|
protected Resource |
ResourceHttpMessageConverter.readInternal(Class<? extends Resource> clazz,
HttpInputMessage inputMessage) |
Modifier and Type | Method and Description |
---|---|
protected Long |
ResourceHttpMessageConverter.getContentLength(Resource resource,
MediaType contentType) |
protected MediaType |
ResourceHttpMessageConverter.getDefaultContentType(Resource resource) |
protected void |
ResourceHttpMessageConverter.writeInternal(Resource resource,
HttpOutputMessage outputMessage) |
Modifier and Type | Method and Description |
---|---|
protected Resource |
ResourceHttpMessageConverter.readInternal(Class<? extends Resource> clazz,
HttpInputMessage inputMessage) |
Modifier and Type | Method and Description |
---|---|
protected Resource[] |
SortedResourcesFactoryBean.createInstance() |
Modifier and Type | Method and Description |
---|---|
void |
ResourceDatabasePopulator.addScript(Resource script)
Add a script to execute to populate the database.
|
void |
ResourceDatabasePopulator.setScripts(Resource... scripts)
Set the scripts to execute to populate the database.
|
Modifier and Type | Method and Description |
---|---|
protected Resource |
SQLErrorCodesFactory.loadResource(String path)
Load the given resource from the class path.
|
Modifier and Type | Method and Description |
---|---|
void |
KeyNamingStrategy.setMappingLocation(Resource location)
Set a location of a properties file to be loaded,
containing object name mappings.
|
void |
KeyNamingStrategy.setMappingLocations(Resource[] mappingLocations)
Set location of properties files to be loaded,
containing object name mappings.
|
Modifier and Type | Method and Description |
---|---|
void |
MimeMessageHelper.addInline(String contentId,
Resource resource)
Add an inline element to the MimeMessage, taking the content from a
org.springframework.core.io.Resource . |
protected FileTypeMap |
ConfigurableMimeFileTypeMap.createFileTypeMap(Resource mappingLocation,
String[] mappings)
Compile a
FileTypeMap from the mappings in the given mapping file
and the given mapping entries. |
void |
ConfigurableMimeFileTypeMap.setMappingLocation(Resource mappingLocation)
Specify the
Resource from which mappings are loaded. |
Modifier and Type | Method and Description |
---|---|
void |
LocalSessionFactoryBean.setCacheableMappingLocations(Resource... cacheableMappingLocations)
Set locations of cacheable Hibernate mapping files, for example as web app
resource "/WEB-INF/mapping/example.hbm.xml".
|
void |
LocalSessionFactoryBean.setConfigLocation(Resource configLocation)
Set the location of a single Hibernate XML config file, for example as
classpath resource "classpath:hibernate.cfg.xml".
|
void |
LocalSessionFactoryBean.setConfigLocations(Resource... configLocations)
Set the locations of multiple Hibernate XML config files, for example as
classpath resources "classpath:hibernate.cfg.xml,classpath:extension.cfg.xml".
|
void |
LocalSessionFactoryBean.setMappingDirectoryLocations(Resource... mappingDirectoryLocations)
Set locations of directories that contain Hibernate mapping resources,
like "WEB-INF/mappings".
|
void |
LocalSessionFactoryBean.setMappingJarLocations(Resource... mappingJarLocations)
Set locations of jar files that contain Hibernate mapping resources,
like "WEB-INF/lib/example.hbm.jar".
|
void |
LocalSessionFactoryBean.setMappingLocations(Resource... mappingLocations)
Set locations of Hibernate mapping files, for example as classpath
resource "classpath:example.hbm.xml".
|
Modifier and Type | Method and Description |
---|---|
void |
LocalPersistenceManagerFactoryBean.setConfigLocation(Resource configLocation)
Set the location of the JDO properties config file, for example
as classpath resource "classpath:kodo.properties".
|
Modifier and Type | Method and Description |
---|---|
protected org.exolab.castor.xml.XMLContext |
CastorMarshaller.createXMLContext(Resource[] mappingLocations,
Class[] targetClasses,
String[] targetPackages)
Create the Castor
XMLContext . |
void |
CastorMarshaller.setMappingLocation(Resource mappingLocation)
Set the locations of the Castor XML mapping files.
|
void |
CastorMarshaller.setMappingLocations(Resource[] mappingLocations)
Set the locations of the Castor XML mapping files.
|
Modifier and Type | Method and Description |
---|---|
void |
Jaxb2Marshaller.setSchema(Resource schemaResource)
Set the schema resource to use for validation.
|
void |
Jaxb2Marshaller.setSchemas(Resource... schemaResources)
Set the schema resources to use for validation.
|
Modifier and Type | Method and Description |
---|---|
static InputSource |
SaxResourceUtils.createInputSource(Resource resource)
Create a SAX
InputSource from the given resource. |
Modifier and Type | Method and Description |
---|---|
void |
LocalJaxWsServiceFactory.setWsdlDocumentResource(Resource wsdlDocumentResource)
Set the WSDL document URL as a
Resource . |
Modifier and Type | Method and Description |
---|---|
Resource |
ResourceScriptSource.getResource()
Return the
Resource to load the
script from. |
Constructor and Description |
---|
ResourceScriptSource(Resource resource)
Create a new ResourceScriptSource for the given resource.
|
Modifier and Type | Method and Description |
---|---|
static void |
JdbcTestUtils.executeSqlScript(JdbcTemplate jdbcTemplate,
Resource resource,
boolean continueOnError)
Execute the given SQL script.
|
static void |
SimpleJdbcTestUtils.executeSqlScript(SimpleJdbcTemplate simpleJdbcTemplate,
Resource resource,
boolean continueOnError)
Deprecated.
Execute the given SQL script.
|
Modifier and Type | Method and Description |
---|---|
DefaultResponseCreator |
DefaultResponseCreator.body(Resource resource)
Set the body as a
Resource . |
static DefaultResponseCreator |
MockRestResponseCreators.withSuccess(Resource body,
MediaType contentType)
ResponseCreator for a 200 response (OK) content with Resource -based body. |
Modifier and Type | Method and Description |
---|---|
void |
FreeMarkerConfigurationFactory.setConfigLocation(Resource resource)
Set the location of the FreeMarker config file.
|
Modifier and Type | Method and Description |
---|---|
void |
VelocityEngineFactory.setConfigLocation(Resource configLocation)
Set the location of the Velocity config file.
|
Modifier and Type | Method and Description |
---|---|
void |
LocalValidatorFactoryBean.setMappingLocations(Resource... mappingLocations)
Specify resource locations to load XML constraint mapping files from, if any.
|
Modifier and Type | Class and Description |
---|---|
class |
ServletContextResource
Resource implementation for
ServletContext resources, interpreting
relative paths within the web application root directory. |
Modifier and Type | Method and Description |
---|---|
Resource |
ServletContextResource.createRelative(String relativePath)
This implementation creates a ServletContextResource, applying the given path
relative to the path of the underlying file of this resource descriptor.
|
protected Resource |
StaticWebApplicationContext.getResourceByPath(String path)
This implementation supports file paths beneath the root of the ServletContext.
|
protected Resource |
ServletContextResourceLoader.getResourceByPath(String path)
This implementation supports file paths beneath the root of the web application.
|
protected Resource |
AbstractRefreshableWebApplicationContext.getResourceByPath(String path)
This implementation supports file paths beneath the root of the ServletContext.
|
protected Resource |
GenericWebApplicationContext.getResourceByPath(String path)
This implementation supports file paths beneath the root of the ServletContext.
|
Modifier and Type | Method and Description |
---|---|
protected Set<Resource> |
ServletContextResourcePatternResolver.doFindPathMatchingFileResources(Resource rootDirResource,
String subPattern)
Overridden version which checks for ServletContextResource
and uses
ServletContext.getResourcePaths to find
matching resources below the web application root directory. |
Modifier and Type | Method and Description |
---|---|
protected Set<Resource> |
ServletContextResourcePatternResolver.doFindPathMatchingFileResources(Resource rootDirResource,
String subPattern)
Overridden version which checks for ServletContextResource
and uses
ServletContext.getResourcePaths to find
matching resources below the web application root directory. |
Modifier and Type | Method and Description |
---|---|
protected void |
ServletContextResourcePatternResolver.doRetrieveMatchingServletContextResources(javax.servlet.ServletContext servletContext,
String fullPattern,
String dir,
Set<Resource> result)
Recursively retrieve ServletContextResources that match the given pattern,
adding them to the given result set.
|
Modifier and Type | Method and Description |
---|---|
void |
CommonsFileUploadSupport.setUploadTempDir(Resource uploadTempDir)
Set the temporary directory where uploaded files get stored.
|
Modifier and Type | Class and Description |
---|---|
class |
PortletContextResource
Resource implementation for
PortletContext resources, interpreting
relative paths within the portlet application root directory. |
Modifier and Type | Method and Description |
---|---|
Resource |
PortletContextResource.createRelative(String relativePath) |
protected Resource |
StaticPortletApplicationContext.getResourceByPath(String path)
This implementation supports file paths beneath the root of the PortletContext.
|
protected Resource |
PortletContextResourceLoader.getResourceByPath(String path)
This implementation supports file paths beneath the root of the web application.
|
protected Resource |
AbstractRefreshablePortletApplicationContext.getResourceByPath(String path)
This implementation supports file paths beneath the root of the PortletContext.
|
Modifier and Type | Method and Description |
---|---|
protected Set<Resource> |
PortletContextResourcePatternResolver.doFindPathMatchingFileResources(Resource rootDirResource,
String subPattern)
Overridden version which checks for PortletContextResource
and uses
PortletContext.getResourcePaths to find
matching resources below the web application root directory. |
Modifier and Type | Method and Description |
---|---|
protected Set<Resource> |
PortletContextResourcePatternResolver.doFindPathMatchingFileResources(Resource rootDirResource,
String subPattern)
Overridden version which checks for PortletContextResource
and uses
PortletContext.getResourcePaths to find
matching resources below the web application root directory. |
Modifier and Type | Method and Description |
---|---|
protected void |
PortletContextResourcePatternResolver.doRetrieveMatchingPortletContextResources(javax.portlet.PortletContext portletContext,
String fullPattern,
String dir,
Set<Resource> result)
Recursively retrieve PortletContextResources that match the given pattern,
adding them to the given result set.
|
Modifier and Type | Method and Description |
---|---|
protected Resource |
ResourceHttpRequestHandler.getResource(javax.servlet.http.HttpServletRequest request) |
Modifier and Type | Method and Description |
---|---|
protected MediaType |
ResourceHttpRequestHandler.getMediaType(Resource resource)
Determine an appropriate media type for the given resource.
|
protected void |
ResourceHttpRequestHandler.setHeaders(javax.servlet.http.HttpServletResponse response,
Resource resource,
MediaType mediaType)
Set headers on the given servlet response.
|
protected void |
ResourceHttpRequestHandler.writeContent(javax.servlet.http.HttpServletResponse response,
Resource resource)
Write the actual content out to the given servlet response,
streaming the resource's content.
|
Modifier and Type | Method and Description |
---|---|
void |
ResourceHttpRequestHandler.setLocations(List<Resource> locations)
Set a
List of Resource paths to use as sources
for serving static resources. |
Modifier and Type | Method and Description |
---|---|
void |
XmlViewResolver.setLocation(Resource location)
Set the location of the XML file that defines the view beans.
|
Modifier and Type | Method and Description |
---|---|
protected net.sf.jasperreports.engine.JasperReport |
AbstractJasperReportsView.loadReport(Resource resource)
Loads a
JasperReport from the specified Resource . |
Modifier and Type | Method and Description |
---|---|
protected Resource |
AbstractXsltView.getStylesheetLocation()
Deprecated.
Return the location of the XSLT stylesheet, if any.
|
Modifier and Type | Method and Description |
---|---|
protected Source |
AbstractXsltView.getStylesheetSource(Resource stylesheetLocation)
Deprecated.
Load the stylesheet from the specified location.
|
void |
AbstractXsltView.setStylesheetLocation(Resource stylesheetLocation)
Deprecated.
Set the location of the XSLT stylesheet.
|
Copyright © 2015. All rights reserved.