|
|||||||||
Home >> All >> org >> springframework >> web >> context >> [ support overview ] | PREV NEXT |
A
- AbstractRefreshableWebApplicationContext - class org.springframework.web.context.support.AbstractRefreshableWebApplicationContext.
- AbstractRefreshableApplicationContext subclass that implements the ConfigurableWebApplicationContext interface for web environments.
- AbstractRefreshableWebApplicationContext() - Constructor for class org.springframework.web.context.support.AbstractRefreshableWebApplicationContext
- attribute - Variable in class org.springframework.web.context.support.ServletContextAttributeFactoryBean
- attributeName - Variable in class org.springframework.web.context.support.ServletContextAttributeFactoryBean
- attributes - Variable in class org.springframework.web.context.support.ServletContextAttributeExporter
C
- clientAddress - Variable in class org.springframework.web.context.support.RequestHandledEvent
- IP address that the request came from
- configLocations - Variable in class org.springframework.web.context.support.AbstractRefreshableWebApplicationContext
- Paths to XML configuration files
- contextOverride - Variable in class org.springframework.web.context.support.ServletContextPropertyPlaceholderConfigurer
- createRelative(String) - Method in class org.springframework.web.context.support.ServletContextResource
D
- DEFAULT_CONFIG_LOCATION - Static variable in class org.springframework.web.context.support.XmlWebApplicationContext
- Default config location for the root context
- DEFAULT_CONFIG_LOCATION_PREFIX - Static variable in class org.springframework.web.context.support.XmlWebApplicationContext
- Default prefix for building a config location for a namespace
- DEFAULT_CONFIG_LOCATION_SUFFIX - Static variable in class org.springframework.web.context.support.XmlWebApplicationContext
- Default suffix for building a config location for a namespace
- doFindPathMatchingFileResources(Resource, String) - Method in class org.springframework.web.context.support.ServletContextResourcePatternResolver
- Overridden version which checks for ServletContextResource
and uses
ServletContext.getResourcePaths
to find matching resources below the web application root directory. - doRetrieveMatchingServletContextResources(ServletContext, String, String, Set) - Method in class org.springframework.web.context.support.ServletContextResourcePatternResolver
- Recursively retrieve ServletContextResources that match the given pattern, adding them to the given result set.
E
- equals(Object) - Method in class org.springframework.web.context.support.ServletContextResource
F
- failureCause - Variable in class org.springframework.web.context.support.RequestHandledEvent
- Cause of failure, if any
G
- getClientAddress() - Method in class org.springframework.web.context.support.RequestHandledEvent
- Return the IP address that the request came from.
- getConfigLocations() - Method in class org.springframework.web.context.support.AbstractRefreshableWebApplicationContext
- getDefaultConfigLocations() - Method in class org.springframework.web.context.support.AbstractRefreshableWebApplicationContext
- Return the default config locations to use, for the case where no explicit config locations have been specified.
- getDefaultConfigLocations() - Method in class org.springframework.web.context.support.XmlWebApplicationContext
- The default location for the root context is "/WEB-INF/applicationContext.xml", and "/WEB-INF/test-servlet.xml" for a context with the namespace "test-servlet" (like for a DispatcherServlet instance with the servlet-name "test").
- getDescription() - Method in class org.springframework.web.context.support.ServletContextResource
- getFailureCause() - Method in class org.springframework.web.context.support.RequestHandledEvent
- Return the cause of failure, if any.
- getFile() - Method in class org.springframework.web.context.support.ServletContextResource
- This implementation delegates to ServletContext.getRealPath, but throws a FileNotFoundException if not found or not resolvable.
- getFilename() - Method in class org.springframework.web.context.support.ServletContextResource
- getInputStream() - Method in class org.springframework.web.context.support.ServletContextResource
- This implementation delegates to ServletContext.getResourceAsStream, but throws a FileNotFoundException if not found.
- getMethod() - Method in class org.springframework.web.context.support.RequestHandledEvent
- Return the HTTP method of the request (usually GET or POST).
- getNamespace() - Method in class org.springframework.web.context.support.AbstractRefreshableWebApplicationContext
- getNamespace() - Method in class org.springframework.web.context.support.StaticWebApplicationContext
- getObject() - Method in class org.springframework.web.context.support.ServletContextAttributeFactoryBean
- getObject() - Method in class org.springframework.web.context.support.ServletContextFactoryBean
- getObjectType() - Method in class org.springframework.web.context.support.ServletContextAttributeFactoryBean
- getObjectType() - Method in class org.springframework.web.context.support.ServletContextFactoryBean
- getPath() - Method in class org.springframework.web.context.support.ServletContextResource
- Return the path for this resource.
- getProcessingTimeMillis() - Method in class org.springframework.web.context.support.RequestHandledEvent
- Return the processing time of the request in milliseconds.
- getRequestUrl() - Method in class org.springframework.web.context.support.RequestHandledEvent
- Return the URL of the request.
- getRequiredWebApplicationContext(ServletContext) - Static method in class org.springframework.web.context.support.WebApplicationContextUtils
- Find the root WebApplicationContext for this web app, which is typically loaded via ContextLoaderListener or ContextLoaderServlet.
- getResourceByPath(String) - Method in class org.springframework.web.context.support.AbstractRefreshableWebApplicationContext
- Resolve file paths beneath the root of the web application.
- getResourceByPath(String) - Method in class org.springframework.web.context.support.ServletContextResourceLoader
- This implementation supports file paths beneath the root of the web application.
- getResourceByPath(String) - Method in class org.springframework.web.context.support.StaticWebApplicationContext
- This implementation supports file paths beneath the root of the ServletContext.
- getResourcePatternResolver() - Method in class org.springframework.web.context.support.AbstractRefreshableWebApplicationContext
- Use a ServletContextResourcePatternResolver, to be able to find matching resources below the web application root directory even in a WAR file which has not been expanded.
- getResourcePatternResolver() - Method in class org.springframework.web.context.support.StaticWebApplicationContext
- Use a ServletContextResourcePatternResolver, to be able to find matching resources below the web application root directory even in a WAR file which has not been expanded.
- getServletContext() - Method in class org.springframework.web.context.support.AbstractRefreshableWebApplicationContext
- getServletContext() - Method in class org.springframework.web.context.support.ServletContextResource
- Return the ServletContext for this resource.
- getServletContext() - Method in class org.springframework.web.context.support.StaticWebApplicationContext
- getServletContext() - Method in class org.springframework.web.context.support.WebApplicationObjectSupport
- Return the current ServletContext.
- getServletName() - Method in class org.springframework.web.context.support.RequestHandledEvent
- Return the name of the servlet that handled the request.
- getSessionId() - Method in class org.springframework.web.context.support.RequestHandledEvent
- Return the id of the HTTP session, if any.
- getTempDir() - Method in class org.springframework.web.context.support.WebApplicationObjectSupport
- Return the temporary directory for the current web application, as provided by the servlet container.
- getTheme(String) - Method in class org.springframework.web.context.support.AbstractRefreshableWebApplicationContext
- getTheme(String) - Method in class org.springframework.web.context.support.StaticWebApplicationContext
- getURL() - Method in class org.springframework.web.context.support.ServletContextResource
- getUserName() - Method in class org.springframework.web.context.support.RequestHandledEvent
- Return the name of the user that was associated with the request (usually the UserPrincipal).
- getWebApplicationContext(ServletContext) - Static method in class org.springframework.web.context.support.WebApplicationContextUtils
- Find the root WebApplicationContext for this web app, which is typically loaded via ContextLoaderListener or ContextLoaderServlet.
- getWebApplicationContext() - Method in class org.springframework.web.context.support.WebApplicationObjectSupport
- Return the current application context as WebApplicationContext.
H
- hashCode() - Method in class org.springframework.web.context.support.ServletContextResource
I
- initBeanDefinitionReader(XmlBeanDefinitionReader) - Method in class org.springframework.web.context.support.XmlWebApplicationContext
- Initialize the bean definition reader used for loading the bean definitions of this context.
- isContextRequired() - Method in class org.springframework.web.context.support.WebApplicationObjectSupport
- Overrides the base class behavior to enforce running in an ApplicationContext.
- isSingleton() - Method in class org.springframework.web.context.support.ServletContextAttributeFactoryBean
- isSingleton() - Method in class org.springframework.web.context.support.ServletContextFactoryBean
L
- loadBeanDefinitions(DefaultListableBeanFactory) - Method in class org.springframework.web.context.support.XmlWebApplicationContext
- Loads the bean definitions via an XmlBeanDefinitionReader.
- loadBeanDefinitions(XmlBeanDefinitionReader) - Method in class org.springframework.web.context.support.XmlWebApplicationContext
- Load the bean definitions with the given XmlBeanDefinitionReader.
- logger - Variable in class org.springframework.web.context.support.PerformanceMonitorListener
- logger - Variable in class org.springframework.web.context.support.ServletContextAttributeExporter
- logger - Variable in class org.springframework.web.context.support.ServletContextAwareProcessor
M
- method - Variable in class org.springframework.web.context.support.RequestHandledEvent
- Usually GET or POST
N
- namespace - Variable in class org.springframework.web.context.support.AbstractRefreshableWebApplicationContext
- Namespace of this context, or null if root
- namespace - Variable in class org.springframework.web.context.support.StaticWebApplicationContext
O
- onApplicationEvent(ApplicationEvent) - Method in class org.springframework.web.context.support.PerformanceMonitorListener
- onRefresh() - Method in class org.springframework.web.context.support.AbstractRefreshableWebApplicationContext
- Initialize the theme capability.
- onRefresh() - Method in class org.springframework.web.context.support.StaticWebApplicationContext
- Initialize the theme capability.
- org.springframework.web.context.support - package org.springframework.web.context.support
- Contains the application context subinterface for web applications, and the ContextLoaderListener that bootstraps the root web application context.
P
- PerformanceMonitorListener - class org.springframework.web.context.support.PerformanceMonitorListener.
- Listener that logs the response times of web requests.
- PerformanceMonitorListener() - Constructor for class org.springframework.web.context.support.PerformanceMonitorListener
- path - Variable in class org.springframework.web.context.support.ServletContextResource
- postProcessAfterInitialization(Object, String) - Method in class org.springframework.web.context.support.ServletContextAwareProcessor
- postProcessBeanFactory(ConfigurableListableBeanFactory) - Method in class org.springframework.web.context.support.AbstractRefreshableWebApplicationContext
- Register ServletContextAwareProcessor.
- postProcessBeanFactory(ConfigurableListableBeanFactory) - Method in class org.springframework.web.context.support.StaticWebApplicationContext
- Register ServletContextAwareProcessor.
- postProcessBeforeInitialization(Object, String) - Method in class org.springframework.web.context.support.ServletContextAwareProcessor
- processingTimeMillis - Variable in class org.springframework.web.context.support.RequestHandledEvent
- Request processing time
R
- RequestHandledEvent - class org.springframework.web.context.support.RequestHandledEvent.
- Event raised when a request is handled within a WebApplicationContext.
- RequestHandledEvent(Object, String, long, String, String, String) - Constructor for class org.springframework.web.context.support.RequestHandledEvent
- Create a new RequestHandledEvent.
- RequestHandledEvent(Object, String, long, String, String, String, Throwable) - Constructor for class org.springframework.web.context.support.RequestHandledEvent
- Create a new RequestHandledEvent.
- RequestHandledEvent(Object, String, long, String, String, String, String, String) - Constructor for class org.springframework.web.context.support.RequestHandledEvent
- Create a new RequestHandledEvent with session information.
- RequestHandledEvent(Object, String, long, String, String, String, String, String, Throwable) - Constructor for class org.springframework.web.context.support.RequestHandledEvent
- Create a new RequestHandledEvent with session information.
- refresh() - Method in class org.springframework.web.context.support.AbstractRefreshableWebApplicationContext
- Sets a default config location if no explicit config location specified.
- requestUrl - Variable in class org.springframework.web.context.support.RequestHandledEvent
- resolvePlaceholder(String, Properties) - Method in class org.springframework.web.context.support.ServletContextPropertyPlaceholderConfigurer
- resolvePlaceholder(String, ServletContext, boolean) - Method in class org.springframework.web.context.support.ServletContextPropertyPlaceholderConfigurer
- Resolves the given placeholder using the init parameters and optionally also the attributes of the given ServletContext.
- responseTimeMonitor - Variable in class org.springframework.web.context.support.PerformanceMonitorListener
S
- ServletContextAttributeExporter - class org.springframework.web.context.support.ServletContextAttributeExporter.
- Exporter that takes Spring-defined objects and exposes them as ServletContext attributes.
- ServletContextAttributeExporter() - Constructor for class org.springframework.web.context.support.ServletContextAttributeExporter
- ServletContextAttributeFactoryBean - class org.springframework.web.context.support.ServletContextAttributeFactoryBean.
- FactoryBean that fetches a specific, existing ServletContext attribute.
- ServletContextAttributeFactoryBean() - Constructor for class org.springframework.web.context.support.ServletContextAttributeFactoryBean
- ServletContextAwareProcessor - class org.springframework.web.context.support.ServletContextAwareProcessor.
- BeanPostProcessor implementation that passes the ServletContext to beans that implement the ApplicationContextAware or ResourceLoaderAware interfaces.
- ServletContextAwareProcessor(ServletContext) - Constructor for class org.springframework.web.context.support.ServletContextAwareProcessor
- Create a new ServletContextAwareProcessor for the given context.
- ServletContextFactoryBean - class org.springframework.web.context.support.ServletContextFactoryBean.
- Simple FactoryBean that exposes the ServletContext for bean references.
- ServletContextFactoryBean() - Constructor for class org.springframework.web.context.support.ServletContextFactoryBean
- ServletContextPropertyPlaceholderConfigurer - class org.springframework.web.context.support.ServletContextPropertyPlaceholderConfigurer.
- Subclass of PropertyPlaceholderConfigurer that resolves placeholders as ServletContext init parameters (that is, web.xml context-param entries).
- ServletContextPropertyPlaceholderConfigurer() - Constructor for class org.springframework.web.context.support.ServletContextPropertyPlaceholderConfigurer
- ServletContextResource - class org.springframework.web.context.support.ServletContextResource.
- Resource implementation for ServletContext resources, interpreting relative paths within the web application root.
- ServletContextResource(ServletContext, String) - Constructor for class org.springframework.web.context.support.ServletContextResource
- Create a new ServletContextResource.
- ServletContextResourceLoader - class org.springframework.web.context.support.ServletContextResourceLoader.
- ResourceLoader implementation that resolves paths as ServletContext resources, for use outside a WebApplicationContext.
- ServletContextResourceLoader(ServletContext) - Constructor for class org.springframework.web.context.support.ServletContextResourceLoader
- Create a new ServletContextResourceLoader.
- ServletContextResourcePatternResolver - class org.springframework.web.context.support.ServletContextResourcePatternResolver.
- ServletContext-aware subclass of PathMatchingResourcePatternResolver,
able to find matching resources below the web application root directory
via Servlet 2.3's
ServletContext.getResourcePaths
. - ServletContextResourcePatternResolver(ResourceLoader) - Constructor for class org.springframework.web.context.support.ServletContextResourcePatternResolver
- Create a new ServletContextResourcePatternResolver.
- StaticWebApplicationContext - class org.springframework.web.context.support.StaticWebApplicationContext.
- Static WebApplicationContext implementation for testing.
- StaticWebApplicationContext() - Constructor for class org.springframework.web.context.support.StaticWebApplicationContext
- searchContextAttributes - Variable in class org.springframework.web.context.support.ServletContextPropertyPlaceholderConfigurer
- servletContext - Variable in class org.springframework.web.context.support.AbstractRefreshableWebApplicationContext
- Servlet context that this context runs in
- servletContext - Variable in class org.springframework.web.context.support.ServletContextAwareProcessor
- servletContext - Variable in class org.springframework.web.context.support.ServletContextFactoryBean
- servletContext - Variable in class org.springframework.web.context.support.ServletContextPropertyPlaceholderConfigurer
- servletContext - Variable in class org.springframework.web.context.support.ServletContextResource
- servletContext - Variable in class org.springframework.web.context.support.ServletContextResourceLoader
- servletContext - Variable in class org.springframework.web.context.support.StaticWebApplicationContext
- servletName - Variable in class org.springframework.web.context.support.RequestHandledEvent
- sessionId - Variable in class org.springframework.web.context.support.RequestHandledEvent
- setAttributeName(String) - Method in class org.springframework.web.context.support.ServletContextAttributeFactoryBean
- Set the name of the ServletContext attribute to expose.
- setAttributes(Map) - Method in class org.springframework.web.context.support.ServletContextAttributeExporter
- Set the ServletContext attributes to expose as key-value pairs.
- setConfigLocations(String[]) - Method in class org.springframework.web.context.support.AbstractRefreshableWebApplicationContext
- setConfigLocations(String[]) - Method in class org.springframework.web.context.support.StaticWebApplicationContext
- setContextOverride(boolean) - Method in class org.springframework.web.context.support.ServletContextPropertyPlaceholderConfigurer
- Set whether ServletContext init parameters (and optionally also ServletContext attributes) should override local properties within the application.
- setNamespace(String) - Method in class org.springframework.web.context.support.AbstractRefreshableWebApplicationContext
- setNamespace(String) - Method in class org.springframework.web.context.support.StaticWebApplicationContext
- setSearchContextAttributes(boolean) - Method in class org.springframework.web.context.support.ServletContextPropertyPlaceholderConfigurer
- Set whether to search for matching a ServletContext attribute before checking a ServletContext init parameter.
- setServletContext(ServletContext) - Method in class org.springframework.web.context.support.AbstractRefreshableWebApplicationContext
- setServletContext(ServletContext) - Method in class org.springframework.web.context.support.ServletContextAttributeExporter
- setServletContext(ServletContext) - Method in class org.springframework.web.context.support.ServletContextAttributeFactoryBean
- setServletContext(ServletContext) - Method in class org.springframework.web.context.support.ServletContextFactoryBean
- setServletContext(ServletContext) - Method in class org.springframework.web.context.support.ServletContextPropertyPlaceholderConfigurer
- setServletContext(ServletContext) - Method in class org.springframework.web.context.support.StaticWebApplicationContext
T
- themeSource - Variable in class org.springframework.web.context.support.AbstractRefreshableWebApplicationContext
- the ThemeSource for this ApplicationContext
- themeSource - Variable in class org.springframework.web.context.support.StaticWebApplicationContext
- toString() - Method in class org.springframework.web.context.support.AbstractRefreshableWebApplicationContext
- Return diagnostic information.
- toString() - Method in class org.springframework.web.context.support.RequestHandledEvent
U
- userName - Variable in class org.springframework.web.context.support.RequestHandledEvent
- Usually the UserPrincipal
W
- WebApplicationContextUtils - class org.springframework.web.context.support.WebApplicationContextUtils.
- Convenience methods to retrieve the root WebApplicationContext for a given ServletContext.
- WebApplicationContextUtils() - Constructor for class org.springframework.web.context.support.WebApplicationContextUtils
- WebApplicationObjectSupport - class org.springframework.web.context.support.WebApplicationObjectSupport.
- Convenient superclass for application objects running in a WebApplicationContext.
- WebApplicationObjectSupport() - Constructor for class org.springframework.web.context.support.WebApplicationObjectSupport
- wasFailure() - Method in class org.springframework.web.context.support.RequestHandledEvent
- Return whether the request failed.
X
- XmlWebApplicationContext - class org.springframework.web.context.support.XmlWebApplicationContext.
- WebApplicationContext implementation that takes configuration from an XML document, understood by an XmlBeanDefinitionReader.
- XmlWebApplicationContext() - Constructor for class org.springframework.web.context.support.XmlWebApplicationContext
A C D E F G H I L M N O P R S T U W X
|
|||||||||
Home >> All >> org >> springframework >> web >> context >> [ support overview ] | PREV NEXT |