- AbstractAnnotationConfigDispatcherServletInitializer - Class in org.springframework.web.servlet.support
-
WebApplicationInitializer
to register a DispatcherServlet
and use Java-based Spring configuration.
- AbstractAnnotationConfigDispatcherServletInitializer() - Constructor for class org.springframework.web.servlet.support.AbstractAnnotationConfigDispatcherServletInitializer
-
- AbstractAtomFeedView - Class in org.springframework.web.servlet.view.feed
-
Abstract superclass for Atom Feed views, using the
ROME package.
- AbstractAtomFeedView() - Constructor for class org.springframework.web.servlet.view.feed.AbstractAtomFeedView
-
- AbstractCachingViewResolver - Class in org.springframework.web.servlet.view
-
- AbstractCachingViewResolver() - Constructor for class org.springframework.web.servlet.view.AbstractCachingViewResolver
-
- AbstractCachingViewResolver.CacheFilter - Interface in org.springframework.web.servlet.view
-
Filter that determines if view should be cached.
- AbstractCheckedElementTag - Class in org.springframework.web.servlet.tags.form
-
Abstract base class to provide common methods for
implementing databinding-aware JSP tags for rendering an HTML 'input
'
element with a 'type
' of 'checkbox
' or 'radio
'.
- AbstractCheckedElementTag() - Constructor for class org.springframework.web.servlet.tags.form.AbstractCheckedElementTag
-
- AbstractController - Class in org.springframework.web.servlet.mvc
-
Convenient superclass for controller implementations, using the Template Method
design pattern.
- AbstractController() - Constructor for class org.springframework.web.servlet.mvc.AbstractController
-
Create a new AbstractController which supports
HTTP methods GET, HEAD and POST by default.
- AbstractController(boolean) - Constructor for class org.springframework.web.servlet.mvc.AbstractController
-
Create a new AbstractController.
- AbstractDataBoundFormElementTag - Class in org.springframework.web.servlet.tags.form
-
Base tag for all data-binding aware JSP form tags.
- AbstractDataBoundFormElementTag() - Constructor for class org.springframework.web.servlet.tags.form.AbstractDataBoundFormElementTag
-
- AbstractDetectingUrlHandlerMapping - Class in org.springframework.web.servlet.handler
-
Abstract implementation of the
HandlerMapping
interface, detecting URL mappings for handler beans through introspection of all
defined beans in the application context.
- AbstractDetectingUrlHandlerMapping() - Constructor for class org.springframework.web.servlet.handler.AbstractDetectingUrlHandlerMapping
-
- AbstractDispatcherServletInitializer - Class in org.springframework.web.servlet.support
-
Base class for
WebApplicationInitializer
implementations that register a
DispatcherServlet
in the servlet context.
- AbstractDispatcherServletInitializer() - Constructor for class org.springframework.web.servlet.support.AbstractDispatcherServletInitializer
-
- AbstractFeedView<T extends com.rometools.rome.feed.WireFeed> - Class in org.springframework.web.servlet.view.feed
-
Abstract base class for Atom and RSS Feed views, using the
ROME package.
- AbstractFeedView() - Constructor for class org.springframework.web.servlet.view.feed.AbstractFeedView
-
- AbstractFlashMapManager - Class in org.springframework.web.servlet.support
-
- AbstractFlashMapManager() - Constructor for class org.springframework.web.servlet.support.AbstractFlashMapManager
-
- AbstractFormTag - Class in org.springframework.web.servlet.tags.form
-
Base class for all JSP form tags.
- AbstractFormTag() - Constructor for class org.springframework.web.servlet.tags.form.AbstractFormTag
-
- AbstractHandlerExceptionResolver - Class in org.springframework.web.servlet.handler
-
- AbstractHandlerExceptionResolver() - Constructor for class org.springframework.web.servlet.handler.AbstractHandlerExceptionResolver
-
- AbstractHandlerMapping - Class in org.springframework.web.servlet.handler
-
- AbstractHandlerMapping() - Constructor for class org.springframework.web.servlet.handler.AbstractHandlerMapping
-
- AbstractHandlerMethodAdapter - Class in org.springframework.web.servlet.mvc.method
-
Abstract base class for
HandlerAdapter
implementations that support
handlers of type
HandlerMethod
.
- AbstractHandlerMethodAdapter() - Constructor for class org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter
-
- AbstractHandlerMethodExceptionResolver - Class in org.springframework.web.servlet.handler
-
Abstract base class for
HandlerExceptionResolver
implementations that support handling exceptions from handlers of type
HandlerMethod
.
- AbstractHandlerMethodExceptionResolver() - Constructor for class org.springframework.web.servlet.handler.AbstractHandlerMethodExceptionResolver
-
- AbstractHandlerMethodMapping<T> - Class in org.springframework.web.servlet.handler
-
Abstract base class for
HandlerMapping
implementations that define
a mapping between a request and a
HandlerMethod
.
- AbstractHandlerMethodMapping() - Constructor for class org.springframework.web.servlet.handler.AbstractHandlerMethodMapping
-
- AbstractHtmlElementBodyTag - Class in org.springframework.web.servlet.tags.form
-
Convenient super class for many html tags that render content using the databinding
features of the
AbstractHtmlElementTag
.
- AbstractHtmlElementBodyTag() - Constructor for class org.springframework.web.servlet.tags.form.AbstractHtmlElementBodyTag
-
- AbstractHtmlElementTag - Class in org.springframework.web.servlet.tags.form
-
Base class for databinding-aware JSP tags that render HTML element.
- AbstractHtmlElementTag() - Constructor for class org.springframework.web.servlet.tags.form.AbstractHtmlElementTag
-
- AbstractHtmlInputElementTag - Class in org.springframework.web.servlet.tags.form
-
Base class for databinding-aware JSP tags that render HTML form input element.
- AbstractHtmlInputElementTag() - Constructor for class org.springframework.web.servlet.tags.form.AbstractHtmlInputElementTag
-
- AbstractJackson2View - Class in org.springframework.web.servlet.view.json
-
Abstract base class for Jackson based and content type independent
AbstractView
implementations.
- AbstractJackson2View(ObjectMapper, String) - Constructor for class org.springframework.web.servlet.view.json.AbstractJackson2View
-
- AbstractLinkParser() - Constructor for class org.springframework.web.servlet.resource.CssLinkResourceTransformer.AbstractLinkParser
-
- AbstractLocaleContextResolver - Class in org.springframework.web.servlet.i18n
-
- AbstractLocaleContextResolver() - Constructor for class org.springframework.web.servlet.i18n.AbstractLocaleContextResolver
-
- AbstractLocaleResolver - Class in org.springframework.web.servlet.i18n
-
- AbstractLocaleResolver() - Constructor for class org.springframework.web.servlet.i18n.AbstractLocaleResolver
-
- AbstractMappingJacksonResponseBodyAdvice - Class in org.springframework.web.servlet.mvc.method.annotation
-
A convenient base class for ResponseBodyAdvice
implementations
that customize the response before JSON serialization with
AbstractJackson2HttpMessageConverter
's concrete subclasses.
- AbstractMappingJacksonResponseBodyAdvice() - Constructor for class org.springframework.web.servlet.mvc.method.annotation.AbstractMappingJacksonResponseBodyAdvice
-
- AbstractMessageConverterMethodArgumentResolver - Class in org.springframework.web.servlet.mvc.method.annotation
-
A base class for resolving method argument values by reading from the body of
a request with HttpMessageConverters
.
- AbstractMessageConverterMethodArgumentResolver(List<HttpMessageConverter<?>>) - Constructor for class org.springframework.web.servlet.mvc.method.annotation.AbstractMessageConverterMethodArgumentResolver
-
Basic constructor with converters only.
- AbstractMessageConverterMethodArgumentResolver(List<HttpMessageConverter<?>>, List<Object>) - Constructor for class org.springframework.web.servlet.mvc.method.annotation.AbstractMessageConverterMethodArgumentResolver
-
Constructor with converters and Request~
and ResponseBodyAdvice
.
- AbstractMessageConverterMethodProcessor - Class in org.springframework.web.servlet.mvc.method.annotation
-
- AbstractMessageConverterMethodProcessor(List<HttpMessageConverter<?>>) - Constructor for class org.springframework.web.servlet.mvc.method.annotation.AbstractMessageConverterMethodProcessor
-
Constructor with list of converters only.
- AbstractMessageConverterMethodProcessor(List<HttpMessageConverter<?>>, ContentNegotiationManager) - Constructor for class org.springframework.web.servlet.mvc.method.annotation.AbstractMessageConverterMethodProcessor
-
Constructor with list of converters and ContentNegotiationManager.
- AbstractMessageConverterMethodProcessor(List<HttpMessageConverter<?>>, ContentNegotiationManager, List<Object>) - Constructor for class org.springframework.web.servlet.mvc.method.annotation.AbstractMessageConverterMethodProcessor
-
Constructor with list of converters and ContentNegotiationManager as well
as request/response body advice instances.
- AbstractMultiCheckedElementTag - Class in org.springframework.web.servlet.tags.form
-
Abstract base class to provide common methods for implementing
databinding-aware JSP tags for rendering multiple
HTML 'input
' elements with a 'type
'
of 'checkbox
' or 'radio
'.
- AbstractMultiCheckedElementTag() - Constructor for class org.springframework.web.servlet.tags.form.AbstractMultiCheckedElementTag
-
- AbstractPdfStamperView - Class in org.springframework.web.servlet.view.document
-
Abstract superclass for PDF views that operate on an existing
document with an AcroForm.
- AbstractPdfStamperView() - Constructor for class org.springframework.web.servlet.view.document.AbstractPdfStamperView
-
- AbstractPdfView - Class in org.springframework.web.servlet.view.document
-
Abstract superclass for PDF views.
- AbstractPdfView() - Constructor for class org.springframework.web.servlet.view.document.AbstractPdfView
-
This constructor sets the appropriate content type "application/pdf".
- AbstractRequestCondition<T extends AbstractRequestCondition<T>> - Class in org.springframework.web.servlet.mvc.condition
-
- AbstractRequestCondition() - Constructor for class org.springframework.web.servlet.mvc.condition.AbstractRequestCondition
-
- AbstractResourceResolver - Class in org.springframework.web.servlet.resource
-
- AbstractResourceResolver() - Constructor for class org.springframework.web.servlet.resource.AbstractResourceResolver
-
- AbstractRssFeedView - Class in org.springframework.web.servlet.view.feed
-
Abstract superclass for RSS Feed views, using the
ROME package.
- AbstractRssFeedView() - Constructor for class org.springframework.web.servlet.view.feed.AbstractRssFeedView
-
- AbstractSingleCheckedElementTag - Class in org.springframework.web.servlet.tags.form
-
Abstract base class to provide common methods for implementing databinding-aware
JSP tags for rendering a single HTML 'input
' element with a
'type
' of 'checkbox
' or 'radio
'.
- AbstractSingleCheckedElementTag() - Constructor for class org.springframework.web.servlet.tags.form.AbstractSingleCheckedElementTag
-
- AbstractSpringPreparerFactory - Class in org.springframework.web.servlet.view.tiles3
-
- AbstractSpringPreparerFactory() - Constructor for class org.springframework.web.servlet.view.tiles3.AbstractSpringPreparerFactory
-
- AbstractTemplateView - Class in org.springframework.web.servlet.view
-
Adapter base class for template-based view technologies such as FreeMarker,
with the ability to use request and session attributes in their model and
the option to expose helper objects for Spring's FreeMarker macro library.
- AbstractTemplateView() - Constructor for class org.springframework.web.servlet.view.AbstractTemplateView
-
- AbstractTemplateViewResolver - Class in org.springframework.web.servlet.view
-
Abstract base class for template view resolvers, in particular for FreeMarker views.
- AbstractTemplateViewResolver() - Constructor for class org.springframework.web.servlet.view.AbstractTemplateViewResolver
-
- AbstractThemeResolver - Class in org.springframework.web.servlet.theme
-
- AbstractThemeResolver() - Constructor for class org.springframework.web.servlet.theme.AbstractThemeResolver
-
- AbstractUrlBasedView - Class in org.springframework.web.servlet.view
-
Abstract base class for URL-based views.
- AbstractUrlBasedView() - Constructor for class org.springframework.web.servlet.view.AbstractUrlBasedView
-
Constructor for use as a bean.
- AbstractUrlBasedView(String) - Constructor for class org.springframework.web.servlet.view.AbstractUrlBasedView
-
Create a new AbstractUrlBasedView with the given URL.
- AbstractUrlHandlerMapping - Class in org.springframework.web.servlet.handler
-
- AbstractUrlHandlerMapping() - Constructor for class org.springframework.web.servlet.handler.AbstractUrlHandlerMapping
-
- AbstractUrlViewController - Class in org.springframework.web.servlet.mvc
-
Abstract base class for Controllers
that return a view name
based on the request URL.
- AbstractUrlViewController() - Constructor for class org.springframework.web.servlet.mvc.AbstractUrlViewController
-
- AbstractVersionStrategy - Class in org.springframework.web.servlet.resource
-
- AbstractVersionStrategy(VersionPathStrategy) - Constructor for class org.springframework.web.servlet.resource.AbstractVersionStrategy
-
- AbstractVersionStrategy.FileNameVersionPathStrategy - Class in org.springframework.web.servlet.resource
-
File name-based VersionPathStrategy
,
e.g.
- AbstractVersionStrategy.PrefixVersionPathStrategy - Class in org.springframework.web.servlet.resource
-
A prefix-based VersionPathStrategy
,
e.g.
- AbstractView - Class in org.springframework.web.servlet.view
-
Abstract base class for
View
implementations.
- AbstractView() - Constructor for class org.springframework.web.servlet.view.AbstractView
-
- AbstractXlsView - Class in org.springframework.web.servlet.view.document
-
Convenient superclass for Excel document views in traditional XLS format.
- AbstractXlsView() - Constructor for class org.springframework.web.servlet.view.document.AbstractXlsView
-
Default Constructor.
- AbstractXlsxStreamingView - Class in org.springframework.web.servlet.view.document
-
Convenient superclass for Excel document views in the Office 2007 XLSX format,
using POI's streaming variant.
- AbstractXlsxStreamingView() - Constructor for class org.springframework.web.servlet.view.document.AbstractXlsxStreamingView
-
- AbstractXlsxView - Class in org.springframework.web.servlet.view.document
-
Convenient superclass for Excel document views in the Office 2007 XLSX format
(as supported by POI-OOXML).
- AbstractXlsxView() - Constructor for class org.springframework.web.servlet.view.document.AbstractXlsxView
-
Default Constructor.
- accept(RequestPredicates.Visitor) - Method in interface org.springframework.web.servlet.function.RequestPredicate
-
Accept the given visitor.
- accept(MediaType...) - Static method in class org.springframework.web.servlet.function.RequestPredicates
-
Return a
RequestPredicate
that tests if the request's
accept header is
compatible with any of the given media types.
- accept(RouterFunctions.Visitor) - Method in interface org.springframework.web.servlet.function.RouterFunction
-
Accept the given visitor.
- accept() - Method in interface org.springframework.web.servlet.function.ServerRequest.Headers
-
Get the list of acceptable media types, as specified by the Accept
header.
- acceptCharset() - Method in interface org.springframework.web.servlet.function.ServerRequest.Headers
-
Get the list of acceptable charsets, as specified by the
Accept-Charset
header.
- accepted() - Static method in interface org.springframework.web.servlet.function.ServerResponse
-
Create a builder with a 202 Accepted status.
- AcceptHeaderLocaleResolver - Class in org.springframework.web.servlet.i18n
-
LocaleResolver
implementation that simply uses the primary locale
specified in the "accept-language" header of the HTTP request (that is,
the locale sent by the client browser, normally that of the client's OS).
- AcceptHeaderLocaleResolver() - Constructor for class org.springframework.web.servlet.i18n.AcceptHeaderLocaleResolver
-
- acceptLanguage() - Method in interface org.springframework.web.servlet.function.ServerRequest.Headers
-
Get the list of acceptable languages, as specified by the
Accept-Language
header.
- ACCESSKEY_ATTRIBUTE - Static variable in class org.springframework.web.servlet.tags.form.AbstractHtmlInputElementTag
-
The name of the 'accesskey
' attribute.
- adaptArgumentIfNecessary(Object, MethodParameter) - Method in class org.springframework.web.servlet.mvc.method.annotation.AbstractMessageConverterMethodArgumentResolver
-
Adapt the given argument against the method parameter, if necessary.
- adaptInterceptor(Object) - Method in class org.springframework.web.servlet.handler.AbstractHandlerMapping
-
- add(RouterFunction<ServerResponse>) - Method in interface org.springframework.web.servlet.function.RouterFunctions.Builder
-
Adds the given route to this builder.
- addAllAttributes(Collection<?>) - Method in interface org.springframework.web.servlet.mvc.support.RedirectAttributes
-
- addAllAttributes(Collection<?>) - Method in class org.springframework.web.servlet.mvc.support.RedirectAttributesModelMap
- addAllAttributes(Map<String, ?>) - Method in class org.springframework.web.servlet.mvc.support.RedirectAttributesModelMap
- addAllObjects(Map<String, ?>) - Method in class org.springframework.web.servlet.ModelAndView
-
Add all attributes contained in the provided Map to the model.
- addArgument(Object) - Method in interface org.springframework.web.servlet.tags.ArgumentAware
-
Callback hook for nested spring:argument tags to pass their value
to the parent tag.
- addArgument(Object) - Method in class org.springframework.web.servlet.tags.MessageTag
-
- addArgumentResolvers(List<HandlerMethodArgumentResolver>) - Method in class org.springframework.web.servlet.config.annotation.DelegatingWebMvcConfiguration
-
- addArgumentResolvers(List<HandlerMethodArgumentResolver>) - Method in class org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport
-
Add custom HandlerMethodArgumentResolvers
to use in addition to the ones registered by default.
- addArgumentResolvers(List<HandlerMethodArgumentResolver>) - Method in interface org.springframework.web.servlet.config.annotation.WebMvcConfigurer
-
Add resolvers to support custom controller method argument types.
- addArgumentResolvers(List<HandlerMethodArgumentResolver>) - Method in class org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter
-
Deprecated.
Add resolvers to support custom controller method argument types.
- addAttribute(String, Object) - Method in interface org.springframework.web.servlet.mvc.support.RedirectAttributes
-
- addAttribute(Object) - Method in interface org.springframework.web.servlet.mvc.support.RedirectAttributes
-
- addAttribute(String, Object) - Method in class org.springframework.web.servlet.mvc.support.RedirectAttributesModelMap
- addAttribute(Object) - Method in class org.springframework.web.servlet.mvc.support.RedirectAttributesModelMap
- addBindValues(MutablePropertyValues, ServletRequest) - Method in class org.springframework.web.servlet.mvc.method.annotation.ExtendedServletRequestDataBinder
-
Merge URI variables into the property values to use for data binding.
- addCacheMapping(CacheControl, String...) - Method in class org.springframework.web.servlet.mvc.WebContentInterceptor
-
Map specific URL paths to a specific CacheControl
.
- addContentVersionStrategy(String...) - Method in class org.springframework.web.servlet.resource.VersionResourceResolver
-
Insert a content-based version in resource URLs that match the given path
patterns.
- addCorsMappings(CorsRegistry) - Method in class org.springframework.web.servlet.config.annotation.DelegatingWebMvcConfiguration
-
- addCorsMappings(CorsRegistry) - Method in class org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport
-
Override this method to configure cross origin requests processing.
- addCorsMappings(CorsRegistry) - Method in interface org.springframework.web.servlet.config.annotation.WebMvcConfigurer
-
Configure "global" cross origin request processing.
- addCorsMappings(CorsRegistry) - Method in class org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter
-
Deprecated.
Configure "global" cross origin request processing.
- addCustomCondition(RequestCondition<?>) - Method in class org.springframework.web.servlet.mvc.method.RequestMappingInfo
-
Create a new instance based on the current one, also adding the given
custom condition.
- addDefaultHandlerExceptionResolvers(List<HandlerExceptionResolver>, ContentNegotiationManager) - Method in class org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport
-
- addDefaultHttpMessageConverters(List<HttpMessageConverter<?>>) - Method in class org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport
-
Adds a set of default HttpMessageConverter instances to the given list.
- addFixedVersionStrategy(String, String...) - Method in class org.springframework.web.servlet.resource.VersionResourceResolver
-
Insert a fixed, prefix-based version in resource URLs that match the given
path patterns, for example: "{version}/js/main.js"
.
- addFlashAttribute(String, Object) - Method in interface org.springframework.web.servlet.mvc.support.RedirectAttributes
-
Add the given flash attribute.
- addFlashAttribute(Object) - Method in interface org.springframework.web.servlet.mvc.support.RedirectAttributes
-
Add the given flash storage using a
generated name
.
- addFlashAttribute(String, Object) - Method in class org.springframework.web.servlet.mvc.support.RedirectAttributesModelMap
-
- addFlashAttribute(Object) - Method in class org.springframework.web.servlet.mvc.support.RedirectAttributesModelMap
-
- addFormatters(FormatterRegistry) - Method in class org.springframework.web.servlet.config.annotation.DelegatingWebMvcConfiguration
-
- addFormatters(FormatterRegistry) - Method in class org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport
-
Override this method to add custom Converter
and/or Formatter
delegates to the common FormattingConversionService
.
- addFormatters(FormatterRegistry) - Method in interface org.springframework.web.servlet.config.annotation.WebMvcConfigurer
-
Add Converters
and Formatters
in addition to the ones
registered by default.
- addFormatters(FormatterRegistry) - Method in class org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter
-
Deprecated.
Add Converters
and Formatters
in addition to the ones
registered by default.
- addInterceptor(HandlerInterceptor) - Method in class org.springframework.web.servlet.config.annotation.InterceptorRegistry
-
- addInterceptor(HandlerInterceptor) - Method in class org.springframework.web.servlet.HandlerExecutionChain
-
Add the given interceptor to the end of this chain.
- addInterceptor(int, HandlerInterceptor) - Method in class org.springframework.web.servlet.HandlerExecutionChain
-
Add the given interceptor at the specified index of this chain.
- addInterceptors(InterceptorRegistry) - Method in class org.springframework.web.servlet.config.annotation.DelegatingWebMvcConfiguration
-
- addInterceptors(InterceptorRegistry) - Method in class org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport
-
Override this method to add Spring MVC interceptors for
pre- and post-processing of controller invocation.
- addInterceptors(InterceptorRegistry) - Method in interface org.springframework.web.servlet.config.annotation.WebMvcConfigurer
-
Add Spring MVC lifecycle interceptors for pre- and post-processing of
controller method invocations and resource handler requests.
- addInterceptors(InterceptorRegistry) - Method in class org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter
-
Deprecated.
Add Spring MVC lifecycle interceptors for pre- and post-processing of
controller method invocations and resource handler requests.
- addInterceptors(HandlerInterceptor...) - Method in class org.springframework.web.servlet.HandlerExecutionChain
-
Add the given interceptors to the end of this chain.
- addMapping(String) - Method in class org.springframework.web.servlet.config.annotation.CorsRegistry
-
Enable cross-origin request handling for the specified path pattern.
- addObject(String, Object) - Method in class org.springframework.web.servlet.ModelAndView
-
Add an attribute to the model.
- addObject(Object) - Method in class org.springframework.web.servlet.ModelAndView
-
Add an attribute to the model using parameter name generation.
- addParam(Param) - Method in interface org.springframework.web.servlet.tags.ParamAware
-
Callback hook for nested spring:param tags to pass their value
to the parent tag.
- addParam(Param) - Method in class org.springframework.web.servlet.tags.UrlTag
-
- addPathPatterns(String...) - Method in class org.springframework.web.servlet.config.annotation.InterceptorRegistration
-
Add patterns for URLs the interceptor should be included in.
- addPathPatterns(List<String>) - Method in class org.springframework.web.servlet.config.annotation.InterceptorRegistration
-
- addPathPrefix(String, Predicate<Class<?>>) - Method in class org.springframework.web.servlet.config.annotation.PathMatchConfigurer
-
Configure a path prefix to apply to matching controller methods.
- addRedirectViewController(String, String) - Method in class org.springframework.web.servlet.config.annotation.ViewControllerRegistry
-
Map a view controller to the given URL path or pattern in order to redirect
to another URL.
- addRequiredProperty(String) - Method in class org.springframework.web.servlet.HttpServletBean
-
Subclasses can invoke this method to specify that this property
(which must match a JavaBean property they expose) is mandatory,
and must be supplied as a config parameter.
- addResolver(ResourceResolver) - Method in class org.springframework.web.servlet.config.annotation.ResourceChainRegistration
-
Add a resource resolver to the chain.
- addResourceHandler(String...) - Method in class org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry
-
Add a resource handler to serve static resources.
- addResourceHandlers(ResourceHandlerRegistry) - Method in class org.springframework.web.servlet.config.annotation.DelegatingWebMvcConfiguration
-
- addResourceHandlers(ResourceHandlerRegistry) - Method in class org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport
-
Override this method to add resource handlers for serving static resources.
- addResourceHandlers(ResourceHandlerRegistry) - Method in interface org.springframework.web.servlet.config.annotation.WebMvcConfigurer
-
Add handlers to serve static resources such as images, js, and, css
files from specific locations under web application root, the classpath,
and others.
- addResourceHandlers(ResourceHandlerRegistry) - Method in class org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter
-
Deprecated.
Add handlers to serve static resources such as images, js, and, css
files from specific locations under web application root, the classpath,
and others.
- addResourceLocations(String...) - Method in class org.springframework.web.servlet.config.annotation.ResourceHandlerRegistration
-
Add one or more resource locations from which to serve static content.
- addResourceLocations(Resource...) - Method in class org.springframework.web.servlet.config.annotation.ResourceHandlerRegistration
-
Configure locations to serve static resources from based on pre-resolved
Resource
references.
- addReturnValueHandlers(List<HandlerMethodReturnValueHandler>) - Method in class org.springframework.web.servlet.config.annotation.DelegatingWebMvcConfiguration
-
- addReturnValueHandlers(List<HandlerMethodReturnValueHandler>) - Method in class org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport
-
Add custom HandlerMethodReturnValueHandlers
in addition to the ones registered by default.
- addReturnValueHandlers(List<HandlerMethodReturnValueHandler>) - Method in interface org.springframework.web.servlet.config.annotation.WebMvcConfigurer
-
Add handlers to support custom controller method return value types.
- addReturnValueHandlers(List<HandlerMethodReturnValueHandler>) - Method in class org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter
-
Deprecated.
Add handlers to support custom controller method return value types.
- addStaticAttribute(String, Object) - Method in class org.springframework.web.servlet.view.AbstractView
-
Add static data to this view, exposed in each view.
- addStatusCode(String, int) - Method in class org.springframework.web.servlet.handler.SimpleMappingExceptionResolver
-
- addStatusController(String, HttpStatus) - Method in class org.springframework.web.servlet.config.annotation.ViewControllerRegistry
-
Map a simple controller to the given URL path (or pattern) in order to
set the response status to the given code without rendering a body.
- addTargetRequestParam(String, String) - Method in class org.springframework.web.servlet.FlashMap
-
Provide a request parameter identifying the request for this FlashMap.
- addTargetRequestParams(MultiValueMap<String, String>) - Method in class org.springframework.web.servlet.FlashMap
-
Provide request parameters identifying the request for this FlashMap.
- addTransformer(ResourceTransformer) - Method in class org.springframework.web.servlet.config.annotation.ResourceChainRegistration
-
Add a resource transformer to the chain.
- addVersion(String, String) - Method in class org.springframework.web.servlet.resource.AbstractVersionStrategy
-
- addVersion(String, String) - Method in class org.springframework.web.servlet.resource.AbstractVersionStrategy.FileNameVersionPathStrategy
-
- addVersion(String, String) - Method in class org.springframework.web.servlet.resource.AbstractVersionStrategy.PrefixVersionPathStrategy
-
- addVersion(String, String) - Method in interface org.springframework.web.servlet.resource.VersionPathStrategy
-
Add a version to the given request path.
- addVersionStrategy(VersionStrategy, String...) - Method in class org.springframework.web.servlet.resource.VersionResourceResolver
-
Register a custom VersionStrategy to apply to resource URLs that match the
given path patterns.
- addViewController(String) - Method in class org.springframework.web.servlet.config.annotation.ViewControllerRegistry
-
Map a URL path or pattern to a view controller to render a response with
the configured status code and view.
- addViewControllers(ViewControllerRegistry) - Method in class org.springframework.web.servlet.config.annotation.DelegatingWebMvcConfiguration
-
- addViewControllers(ViewControllerRegistry) - Method in class org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport
-
Override this method to add view controllers.
- addViewControllers(ViewControllerRegistry) - Method in interface org.springframework.web.servlet.config.annotation.WebMvcConfigurer
-
Configure simple automated controllers pre-configured with the response
status code and/or a view to render the response body.
- addViewControllers(ViewControllerRegistry) - Method in class org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter
-
Deprecated.
Configure simple automated controllers pre-configured with the response
status code and/or a view to render the response body.
- addWebRequestInterceptor(WebRequestInterceptor) - Method in class org.springframework.web.servlet.config.annotation.InterceptorRegistry
-
Adds the provided WebRequestInterceptor
.
- after(BiFunction<ServerRequest, ServerResponse, ServerResponse>) - Method in interface org.springframework.web.servlet.function.RouterFunctions.Builder
-
Filter the response object for all routes created by this builder with the given response
processing function.
- afterBodyRead(Object, HttpInputMessage, MethodParameter, Type, Class<? extends HttpMessageConverter<?>>) - Method in interface org.springframework.web.servlet.mvc.method.annotation.RequestBodyAdvice
-
Invoked third (and last) after the request body is converted to an Object.
- afterBodyRead(Object, HttpInputMessage, MethodParameter, Type, Class<? extends HttpMessageConverter<?>>) - Method in class org.springframework.web.servlet.mvc.method.annotation.RequestBodyAdviceAdapter
-
The default implementation returns the body that was passed in.
- afterCompletion(HttpServletRequest, HttpServletResponse, Object, Exception) - Method in class org.springframework.web.servlet.handler.MappedInterceptor
-
- afterCompletion(HttpServletRequest, HttpServletResponse, Object, Exception) - Method in class org.springframework.web.servlet.handler.WebRequestHandlerInterceptorAdapter
-
- afterCompletion(HttpServletRequest, HttpServletResponse, Object, Exception) - Method in interface org.springframework.web.servlet.HandlerInterceptor
-
Callback after completion of request processing, that is, after rendering
the view.
- afterCompletion(HttpServletRequest, HttpServletResponse, Object, Exception) - Method in class org.springframework.web.servlet.mvc.WebContentInterceptor
-
This implementation is empty.
- afterConcurrentHandlingStarted(HttpServletRequest, HttpServletResponse, Object) - Method in interface org.springframework.web.servlet.AsyncHandlerInterceptor
-
Called instead of postHandle
and afterCompletion
when the handler is being executed concurrently.
- afterConcurrentHandlingStarted(HttpServletRequest, HttpServletResponse, Object) - Method in class org.springframework.web.servlet.handler.WebRequestHandlerInterceptorAdapter
-
- afterPropertiesSet() - Method in class org.springframework.web.servlet.function.support.RouterFunctionMapping
-
- afterPropertiesSet() - Method in class org.springframework.web.servlet.handler.AbstractHandlerMethodMapping
-
Detects handler methods at initialization.
- afterPropertiesSet() - Method in class org.springframework.web.servlet.handler.HandlerMappingIntrospector
-
- afterPropertiesSet() - Method in class org.springframework.web.servlet.mvc.method.annotation.ExceptionHandlerExceptionResolver
-
- afterPropertiesSet() - Method in class org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter
-
- afterPropertiesSet() - Method in class org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping
-
- afterPropertiesSet() - Method in class org.springframework.web.servlet.mvc.ServletWrappingController
-
Initialize the wrapped Servlet instance.
- afterPropertiesSet() - Method in class org.springframework.web.servlet.resource.ResourceHttpRequestHandler
-
- afterPropertiesSet() - Method in class org.springframework.web.servlet.view.AbstractUrlBasedView
-
- afterPropertiesSet() - Method in class org.springframework.web.servlet.view.ContentNegotiatingViewResolver
-
- afterPropertiesSet() - Method in class org.springframework.web.servlet.view.freemarker.FreeMarkerConfigurer
-
Initialize FreeMarkerConfigurationFactory's Configuration
if not overridden by a preconfigured FreeMarker Configuration.
- afterPropertiesSet() - Method in class org.springframework.web.servlet.view.groovy.GroovyMarkupConfigurer
-
- afterPropertiesSet() - Method in class org.springframework.web.servlet.view.ResourceBundleViewResolver
-
Deprecated.
Eagerly initialize Locales if necessary.
- afterPropertiesSet() - Method in class org.springframework.web.servlet.view.tiles3.TilesConfigurer
-
Creates and exposes a TilesContainer for this web application,
delegating to the TilesInitializer.
- afterPropertiesSet() - Method in class org.springframework.web.servlet.view.tiles3.TilesView
-
- afterPropertiesSet() - Method in class org.springframework.web.servlet.view.ViewResolverComposite
-
- afterPropertiesSet() - Method in class org.springframework.web.servlet.view.XmlViewResolver
-
Deprecated.
Pre-initialize the factory from the XML file.
- all() - Static method in class org.springframework.web.servlet.function.RequestPredicates
-
Return a RequestPredicate
that always matches.
- allow(HttpMethod...) - Method in interface org.springframework.web.servlet.function.EntityResponse.Builder
-
Set the set of allowed HTTP methods
, as specified
by the Allow
header.
- allow(Set<HttpMethod>) - Method in interface org.springframework.web.servlet.function.EntityResponse.Builder
-
Set the set of allowed HTTP methods
, as specified
by the Allow
header.
- allow(HttpMethod...) - Method in interface org.springframework.web.servlet.function.ServerResponse.HeadersBuilder
-
Set the set of allowed HTTP methods
, as specified
by the Allow
header.
- allow(Set<HttpMethod>) - Method in interface org.springframework.web.servlet.function.ServerResponse.HeadersBuilder
-
Set the set of allowed HTTP methods
, as specified
by the Allow
header.
- allowCredentials(boolean) - Method in class org.springframework.web.servlet.config.annotation.CorsRegistration
-
Whether the browser should send credentials, such as cookies along with
cross domain requests, to the annotated endpoint.
- allowedHeaders(String...) - Method in class org.springframework.web.servlet.config.annotation.CorsRegistration
-
Set the list of headers that a pre-flight request can list as allowed
for use during an actual request.
- allowedMethods(String...) - Method in class org.springframework.web.servlet.config.annotation.CorsRegistration
-
Set the HTTP methods to allow, e.g.
- allowedOriginPatterns(String...) - Method in class org.springframework.web.servlet.config.annotation.CorsRegistration
-
- allowedOrigins(String...) - Method in class org.springframework.web.servlet.config.annotation.CorsRegistration
-
Set the origins for which cross-origin requests are allowed from a browser.
- ALT_ATTRIBUTE - Static variable in class org.springframework.web.servlet.tags.form.InputTag
-
- and(RequestPredicate) - Method in interface org.springframework.web.servlet.function.RequestPredicate
-
Return a composed request predicate that tests against both this predicate AND
the other
predicate.
- and() - Method in interface org.springframework.web.servlet.function.RequestPredicates.Visitor
-
Receive "middle" notification of a logical AND predicate.
- and(RouterFunction<T>) - Method in interface org.springframework.web.servlet.function.RouterFunction
-
Return a composed routing function that first invokes this function,
and then invokes the
other
function (of the same response type
T
)
if this route had
no result.
- andNest(RequestPredicate, RouterFunction<T>) - Method in interface org.springframework.web.servlet.function.RouterFunction
-
Return a composed routing function that routes to the given router function if this
route does not match and the given request predicate applies.
- andOther(RouterFunction<?>) - Method in interface org.springframework.web.servlet.function.RouterFunction
-
Return a composed routing function that first invokes this function,
and then invokes the
other
function (of a different response type) if this route had
no result.
- andRoute(RequestPredicate, HandlerFunction<T>) - Method in interface org.springframework.web.servlet.function.RouterFunction
-
Return a composed routing function that routes to the given handler function if this
route does not match and the given request predicate applies.
- andThen(HandlerFilterFunction<T, T>) - Method in interface org.springframework.web.servlet.function.HandlerFilterFunction
-
Return a composed filter function that first applies this filter, and then applies the
after
filter.
- AppCacheManifestTransformer - Class in org.springframework.web.servlet.resource
-
- AppCacheManifestTransformer() - Constructor for class org.springframework.web.servlet.resource.AppCacheManifestTransformer
-
Deprecated.
Create an AppCacheResourceTransformer that transforms files with extension ".appcache".
- AppCacheManifestTransformer(String) - Constructor for class org.springframework.web.servlet.resource.AppCacheManifestTransformer
-
Deprecated.
Create an AppCacheResourceTransformer that transforms files with the extension
given as a parameter.
- appendCurrentQueryParams(StringBuilder, HttpServletRequest) - Method in class org.springframework.web.servlet.view.RedirectView
-
Append the query string of the current request to the target redirect URL.
- appendQueryProperties(StringBuilder, Map<String, Object>, String) - Method in class org.springframework.web.servlet.view.RedirectView
-
Append query properties to the redirect URL.
- appendValue(String) - Method in class org.springframework.web.servlet.tags.form.TagWriter
-
Close the current opening tag (if necessary) and appends the
supplied value as inner text.
- apply(HandlerFunction<T>) - Method in interface org.springframework.web.servlet.function.HandlerFilterFunction
-
Apply this filter to the given handler function, resulting in a filtered handler function.
- applyCacheControl(HttpServletResponse, CacheControl) - Method in class org.springframework.web.servlet.support.WebContentGenerator
-
Set the HTTP Cache-Control header according to the given settings.
- applyCacheSeconds(HttpServletResponse, int) - Method in class org.springframework.web.servlet.support.WebContentGenerator
-
Apply the given cache seconds and generate corresponding HTTP headers,
i.e.
- applyCacheSeconds(HttpServletResponse, int, boolean) - Method in class org.springframework.web.servlet.support.WebContentGenerator
-
- applyContentType(HttpServletResponse) - Method in class org.springframework.web.servlet.view.AbstractTemplateView
-
Apply this view's content type as specified in the "contentType"
bean property to the given response.
- applyInitializers(ConfigurableApplicationContext) - Method in class org.springframework.web.servlet.FrameworkServlet
-
Delegate the WebApplicationContext before it is refreshed to any
ApplicationContextInitializer
instances specified by the
"contextInitializerClasses" servlet init-param.
- applyLifecycleMethods(String, AbstractUrlBasedView) - Method in class org.springframework.web.servlet.view.UrlBasedViewResolver
-
Apply the containing
ApplicationContext
's lifecycle methods
to the given
View
instance, if such a context is available.
- applyStatusAndReason(int, String, HttpServletResponse) - Method in class org.springframework.web.servlet.mvc.annotation.ResponseStatusExceptionResolver
-
Apply the resolved status code and reason to the response.
- applyStatusCodeIfPossible(HttpServletRequest, HttpServletResponse, int) - Method in class org.springframework.web.servlet.handler.SimpleMappingExceptionResolver
-
Apply the specified HTTP status code to the given response, if possible (that is,
if not executing within an include request).
- arg(int, Object) - Method in class org.springframework.web.servlet.mvc.method.annotation.MvcUriComponentsBuilder.MethodArgumentBuilder
-
- ArgumentAware - Interface in org.springframework.web.servlet.tags
-
Allows implementing tag to utilize nested spring:argument
tags.
- ArgumentTag - Class in org.springframework.web.servlet.tags
-
The <argument>
tag is based on the JSTL fmt:param
tag.
- ArgumentTag() - Constructor for class org.springframework.web.servlet.tags.ArgumentTag
-
- asHttpHeaders() - Method in interface org.springframework.web.servlet.function.ServerRequest.Headers
-
Get the headers as an instance of HttpHeaders
.
- asMap() - Method in class org.springframework.web.servlet.mvc.support.RedirectAttributesModelMap
-
- async(Object) - Static method in interface org.springframework.web.servlet.function.ServerResponse
-
Create a (built) response with the given asynchronous response.
- async(Object, Duration) - Static method in interface org.springframework.web.servlet.function.ServerResponse
-
Create a (built) response with the given asynchronous response.
- AsyncHandlerInterceptor - Interface in org.springframework.web.servlet
-
Extends HandlerInterceptor
with a callback method invoked after the
start of asynchronous request handling.
- AsyncServerResponse - Interface in org.springframework.web.servlet.function
-
Asynchronous subtype of
ServerResponse
that exposes the future
response.
- AsyncSupportConfigurer - Class in org.springframework.web.servlet.config.annotation
-
Helps with configuring options for asynchronous request processing.
- AsyncSupportConfigurer() - Constructor for class org.springframework.web.servlet.config.annotation.AsyncSupportConfigurer
-
- AsyncTaskMethodReturnValueHandler - Class in org.springframework.web.servlet.mvc.method.annotation
-
Handles return values of type WebAsyncTask
.
- AsyncTaskMethodReturnValueHandler(BeanFactory) - Constructor for class org.springframework.web.servlet.mvc.method.annotation.AsyncTaskMethodReturnValueHandler
-
- attribute(String) - Method in interface org.springframework.web.servlet.function.ServerRequest
-
Get the request attribute value if present.
- attribute(String, Object) - Method in interface org.springframework.web.servlet.function.ServerRequest.Builder
-
Add an attribute with the given name and value.
- attributes(Map<String, ?>) - Method in class org.springframework.web.servlet.config.annotation.UrlBasedViewResolverRegistration
-
Set static attributes to be added to the model of every request for all
views resolved by this view resolver.
- attributes(Map<String, Object>) - Method in interface org.springframework.web.servlet.function.RouterFunctions.Visitor
-
Receive notification of a router function with attributes.
- attributes() - Method in interface org.springframework.web.servlet.function.ServerRequest
-
Get a mutable map of request attributes.
- attributes(Consumer<Map<String, Object>>) - Method in interface org.springframework.web.servlet.function.ServerRequest.Builder
-
Manipulate this request's attributes with the given consumer.
- AUTOCOMPLETE_ATTRIBUTE - Static variable in class org.springframework.web.servlet.tags.form.InputTag
-
- autodetectConfiguration() - Method in class org.springframework.web.servlet.view.freemarker.FreeMarkerView
-
- autodetectMarkupTemplateEngine() - Method in class org.springframework.web.servlet.view.groovy.GroovyMarkupView
-
Autodetect a MarkupTemplateEngine via the ApplicationContext.
- autodetectViewConfig() - Method in class org.springframework.web.servlet.view.script.ScriptTemplateView
-
- autogenerateFor() - Method in class org.springframework.web.servlet.tags.form.LabelTag
-
Autogenerate the 'for
' attribute value for this tag.
- autogenerateId() - Method in class org.springframework.web.servlet.tags.form.AbstractCheckedElementTag
-
Return a unique ID for the bound name within the current PageContext.
- autogenerateId() - Method in class org.springframework.web.servlet.tags.form.AbstractDataBoundFormElementTag
-
Autogenerate the 'id
' attribute value for this tag.
- autogenerateId() - Method in class org.springframework.web.servlet.tags.form.ErrorsTag
-
Get the value for the HTML 'id
' attribute.
- autogenerateId() - Method in class org.springframework.web.servlet.tags.form.FormTag
-
Autogenerated IDs correspond to the form object name.
- autogenerateId() - Method in class org.springframework.web.servlet.tags.form.OptionTag
-
- cache(boolean) - Method in class org.springframework.web.servlet.config.annotation.UrlBasedViewResolverRegistration
-
Enable or disable caching.
- cacheControl(CacheControl) - Method in interface org.springframework.web.servlet.function.EntityResponse.Builder
-
Set the caching directives for the resource, as specified by the HTTP 1.1
Cache-Control
header.
- cacheControl(CacheControl) - Method in interface org.springframework.web.servlet.function.ServerResponse.HeadersBuilder
-
Set the caching directives for the resource, as specified by the HTTP 1.1
Cache-Control
header.
- cacheForSeconds(HttpServletResponse, int) - Method in class org.springframework.web.servlet.support.WebContentGenerator
-
- cacheForSeconds(HttpServletResponse, int, boolean) - Method in class org.springframework.web.servlet.support.WebContentGenerator
-
- cacheLimit(int) - Method in class org.springframework.web.servlet.config.annotation.UrlBasedViewResolverRegistration
-
Specify the maximum number of entries for the view cache.
- CachingResourceResolver - Class in org.springframework.web.servlet.resource
-
A
ResourceResolver
that
resolves resources from a
Cache
or otherwise
delegates to the resolver chain and saves the result in the cache.
- CachingResourceResolver(Cache) - Constructor for class org.springframework.web.servlet.resource.CachingResourceResolver
-
- CachingResourceResolver(CacheManager, String) - Constructor for class org.springframework.web.servlet.resource.CachingResourceResolver
-
- CachingResourceTransformer - Class in org.springframework.web.servlet.resource
-
A
ResourceTransformer
that checks a
Cache
to see if a previously transformed resource
exists in the cache and returns it if found, and otherwise delegates to the resolver
chain and saves the result in the cache.
- CachingResourceTransformer(Cache) - Constructor for class org.springframework.web.servlet.resource.CachingResourceTransformer
-
- CachingResourceTransformer(CacheManager, String) - Constructor for class org.springframework.web.servlet.resource.CachingResourceTransformer
-
- CallableMethodReturnValueHandler - Class in org.springframework.web.servlet.mvc.method.annotation
-
- CallableMethodReturnValueHandler() - Constructor for class org.springframework.web.servlet.mvc.method.annotation.CallableMethodReturnValueHandler
-
- canHandle(String, Locale) - Method in class org.springframework.web.servlet.view.UrlBasedViewResolver
-
Indicates whether or not this
ViewResolver
can
handle the supplied view name.
- changeLocale(Locale) - Method in class org.springframework.web.servlet.support.RequestContext
-
Change the current locale to the specified one,
storing the new locale through the configured
LocaleResolver
.
- changeLocale(Locale, TimeZone) - Method in class org.springframework.web.servlet.support.RequestContext
-
Change the current locale to the specified locale and time zone context,
storing the new locale context through the configured
LocaleResolver
.
- changeParser(RouterFunction<T>, PathPatternParser) - Static method in class org.springframework.web.servlet.function.RouterFunctions
-
- changeTheme(Theme) - Method in class org.springframework.web.servlet.support.RequestContext
-
Change the current theme to the specified one,
storing the new theme name through the configured
ThemeResolver
.
- changeTheme(String) - Method in class org.springframework.web.servlet.support.RequestContext
-
Change the current theme to the specified theme by name,
storing the new theme name through the configured
ThemeResolver
.
- checkAndPrepare(HttpServletRequest, HttpServletResponse, boolean) - Method in class org.springframework.web.servlet.support.WebContentGenerator
-
- checkAndPrepare(HttpServletRequest, HttpServletResponse, int, boolean) - Method in class org.springframework.web.servlet.support.WebContentGenerator
-
- CheckboxesTag - Class in org.springframework.web.servlet.tags.form
-
The <checkboxes>
tag renders multiple HTML 'input' tags with type 'checkbox'.
- CheckboxesTag() - Constructor for class org.springframework.web.servlet.tags.form.CheckboxesTag
-
- CheckboxTag - Class in org.springframework.web.servlet.tags.form
-
The <checkbox>
tag renders an HTML 'input' tag with type 'checkbox'.
- CheckboxTag() - Constructor for class org.springframework.web.servlet.tags.form.CheckboxTag
-
- checkMultipart(HttpServletRequest) - Method in class org.springframework.web.servlet.DispatcherServlet
-
Convert the request into a multipart request, and make multipart resolver available.
- checkNotModified(Instant) - Method in interface org.springframework.web.servlet.function.ServerRequest
-
Check whether the requested resource has been modified given the
supplied last-modified timestamp (as determined by the application).
- checkNotModified(String) - Method in interface org.springframework.web.servlet.function.ServerRequest
-
Check whether the requested resource has been modified given the
supplied ETag
(entity tag), as determined by the application.
- checkNotModified(Instant, String) - Method in interface org.springframework.web.servlet.function.ServerRequest
-
Check whether the requested resource has been modified given the
supplied ETag
(entity tag) and last-modified timestamp,
as determined by the application.
- checkRequest(HttpServletRequest) - Method in class org.springframework.web.servlet.support.WebContentGenerator
-
Check the given request for supported methods and a required session, if any.
- checkRequired(MethodParameter) - Method in class org.springframework.web.servlet.mvc.method.annotation.RequestResponseBodyMethodProcessor
-
- checkResource(Resource, Resource) - Method in class org.springframework.web.servlet.resource.PathResourceResolver
-
Perform additional checks on a resolved resource beyond checking whether the
resources exists and is readable.
- checkResource(Locale) - Method in class org.springframework.web.servlet.view.AbstractUrlBasedView
-
Check whether the underlying resource that the configured URL points to
actually exists.
- checkResource(Locale) - Method in class org.springframework.web.servlet.view.freemarker.FreeMarkerView
-
Check that the FreeMarker template used for this view exists and is valid.
- checkResource(Locale) - Method in class org.springframework.web.servlet.view.groovy.GroovyMarkupView
-
- checkResource(Locale) - Method in class org.springframework.web.servlet.view.script.ScriptTemplateView
-
- checkResource(Locale) - Method in class org.springframework.web.servlet.view.tiles3.TilesView
-
- CLASS_ATTRIBUTE - Static variable in class org.springframework.web.servlet.tags.form.AbstractHtmlElementTag
-
- cleanupMultipart(HttpServletRequest) - Method in class org.springframework.web.servlet.DispatcherServlet
-
Clean up any resources used by the given multipart request (if any).
- clear() - Method in class org.springframework.web.servlet.ModelAndView
-
Clear the state of this ModelAndView object.
- clearCache() - Method in class org.springframework.web.servlet.view.AbstractCachingViewResolver
-
Clear the entire view cache, removing all cached view objects.
- clearMediaTypesAttribute(HttpServletRequest) - Static method in class org.springframework.web.servlet.mvc.condition.ProducesRequestCondition
-
- cloneBuilder() - Method in class org.springframework.web.servlet.support.ServletUriComponentsBuilder
-
- COLS_ATTRIBUTE - Static variable in class org.springframework.web.servlet.tags.form.TextareaTag
-
- combine(CorsConfiguration) - Method in class org.springframework.web.servlet.config.annotation.CorsRegistration
-
Apply the given CorsConfiguration
to the one being configured via
CorsConfiguration.combine(CorsConfiguration)
which in turn has been
initialized with CorsConfiguration.applyPermitDefaultValues()
.
- combine(CompositeRequestCondition) - Method in class org.springframework.web.servlet.mvc.condition.CompositeRequestCondition
-
If one instance is empty, return the other.
- combine(ConsumesRequestCondition) - Method in class org.springframework.web.servlet.mvc.condition.ConsumesRequestCondition
-
Returns the "other" instance if it has any expressions; returns "this"
instance otherwise.
- combine(HeadersRequestCondition) - Method in class org.springframework.web.servlet.mvc.condition.HeadersRequestCondition
-
Returns a new instance with the union of the header expressions
from "this" and the "other" instance.
- combine(ParamsRequestCondition) - Method in class org.springframework.web.servlet.mvc.condition.ParamsRequestCondition
-
Returns a new instance with the union of the param expressions
from "this" and the "other" instance.
- combine(PathPatternsRequestCondition) - Method in class org.springframework.web.servlet.mvc.condition.PathPatternsRequestCondition
-
Returns a new instance with URL patterns from the current instance
("this") and the "other" instance as follows:
If there are patterns in both instances, combine the patterns in
"this" with the patterns in "other" using
PathPattern.combine(PathPattern)
.
- combine(PatternsRequestCondition) - Method in class org.springframework.web.servlet.mvc.condition.PatternsRequestCondition
-
Returns a new instance with URL patterns from the current instance ("this") and
the "other" instance as follows:
If there are patterns in both instances, combine the patterns in "this" with
the patterns in "other" using PathMatcher.combine(String, String)
.
- combine(ProducesRequestCondition) - Method in class org.springframework.web.servlet.mvc.condition.ProducesRequestCondition
-
Returns the "other" instance if it has any expressions; returns "this"
instance otherwise.
- combine(T) - Method in interface org.springframework.web.servlet.mvc.condition.RequestCondition
-
Combine this condition with another such as conditions from a
type-level and method-level @RequestMapping
annotation.
- combine(RequestConditionHolder) - Method in class org.springframework.web.servlet.mvc.condition.RequestConditionHolder
-
Combine the request conditions held by the two RequestConditionHolder
instances after making sure the conditions are of the same type.
- combine(RequestMethodsRequestCondition) - Method in class org.springframework.web.servlet.mvc.condition.RequestMethodsRequestCondition
-
Returns a new instance with a union of the HTTP request methods
from "this" and the "other" instance.
- combine(RequestMappingInfo) - Method in class org.springframework.web.servlet.mvc.method.RequestMappingInfo
-
Combine "this" request mapping info (i.e.
- comment(String) - Method in interface org.springframework.web.servlet.function.ServerResponse.SseBuilder
-
Add an SSE comment.
- comment(String) - Method in interface org.springframework.web.servlet.mvc.method.annotation.SseEmitter.SseEventBuilder
-
Add an SSE "comment" line.
- compareTo(FlashMap) - Method in class org.springframework.web.servlet.FlashMap
-
Compare two FlashMaps and prefer the one that specifies a target URL
path or has more target URL parameters.
- compareTo(CompositeRequestCondition, HttpServletRequest) - Method in class org.springframework.web.servlet.mvc.condition.CompositeRequestCondition
-
If one instance is empty, the other "wins".
- compareTo(ConsumesRequestCondition, HttpServletRequest) - Method in class org.springframework.web.servlet.mvc.condition.ConsumesRequestCondition
-
Returns:
0 if the two conditions have the same number of expressions
Less than 0 if "this" has more or more specific media type expressions
Greater than 0 if "other" has more or more specific media type expressions
- compareTo(HeadersRequestCondition, HttpServletRequest) - Method in class org.springframework.web.servlet.mvc.condition.HeadersRequestCondition
-
Compare to another condition based on header expressions.
- compareTo(ParamsRequestCondition, HttpServletRequest) - Method in class org.springframework.web.servlet.mvc.condition.ParamsRequestCondition
-
Compare to another condition based on parameter expressions.
- compareTo(PathPatternsRequestCondition, HttpServletRequest) - Method in class org.springframework.web.servlet.mvc.condition.PathPatternsRequestCondition
-
Compare the two conditions based on the URL patterns they contain.
- compareTo(PatternsRequestCondition, HttpServletRequest) - Method in class org.springframework.web.servlet.mvc.condition.PatternsRequestCondition
-
Compare the two conditions based on the URL patterns they contain.
- compareTo(ProducesRequestCondition, HttpServletRequest) - Method in class org.springframework.web.servlet.mvc.condition.ProducesRequestCondition
-
Compares this and another "produces" condition as follows:
Sort 'Accept' header media types by quality value via
MediaType.sortByQualityValue(List)
and iterate the list.
- compareTo(T, HttpServletRequest) - Method in interface org.springframework.web.servlet.mvc.condition.RequestCondition
-
Compare this condition to another condition in the context of
a specific request.
- compareTo(RequestConditionHolder, HttpServletRequest) - Method in class org.springframework.web.servlet.mvc.condition.RequestConditionHolder
-
Compare the request conditions held by the two RequestConditionHolder
instances after making sure the conditions are of the same type.
- compareTo(RequestMethodsRequestCondition, HttpServletRequest) - Method in class org.springframework.web.servlet.mvc.condition.RequestMethodsRequestCondition
-
Returns:
0 if the two conditions contain the same number of HTTP request methods
Less than 0 if "this" instance has an HTTP request method but "other" doesn't
Greater than 0 "other" has an HTTP request method but "this" doesn't
- compareTo(RequestMappingInfo, HttpServletRequest) - Method in class org.springframework.web.servlet.mvc.method.RequestMappingInfo
-
Compares "this" info (i.e.
- complete() - Method in interface org.springframework.web.servlet.function.ServerResponse.SseBuilder
-
Completes the event stream.
- complete() - Method in class org.springframework.web.servlet.mvc.method.annotation.ResponseBodyEmitter
-
Complete request processing by performing a dispatch into the servlet
container, where Spring MVC is invoked once more, and completes the
request processing lifecycle.
- completeWithError(Throwable) - Method in class org.springframework.web.servlet.mvc.method.annotation.ResponseBodyEmitter
-
Complete request processing with an error.
- CompositeRequestCondition - Class in org.springframework.web.servlet.mvc.condition
-
Implements the
RequestCondition
contract by delegating to multiple
RequestCondition
types and using a logical conjunction (
' && '
) to
ensure all conditions match a given request.
- CompositeRequestCondition(RequestCondition<?>...) - Constructor for class org.springframework.web.servlet.mvc.condition.CompositeRequestCondition
-
Create an instance with 0 or more RequestCondition
types.
- computeKey(HttpServletRequest, String) - Method in class org.springframework.web.servlet.resource.CachingResourceResolver
-
- configureAndRefreshWebApplicationContext(ConfigurableWebApplicationContext) - Method in class org.springframework.web.servlet.FrameworkServlet
-
- configureAsyncSupport(AsyncSupportConfigurer) - Method in class org.springframework.web.servlet.config.annotation.DelegatingWebMvcConfiguration
-
- configureAsyncSupport(AsyncSupportConfigurer) - Method in class org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport
-
Override this method to configure asynchronous request processing options.
- configureAsyncSupport(AsyncSupportConfigurer) - Method in interface org.springframework.web.servlet.config.annotation.WebMvcConfigurer
-
Configure asynchronous request handling options.
- configureAsyncSupport(AsyncSupportConfigurer) - Method in class org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter
-
Deprecated.
Configure asynchronous request handling options.
- configureContentNegotiation(ContentNegotiationConfigurer) - Method in class org.springframework.web.servlet.config.annotation.DelegatingWebMvcConfiguration
-
- configureContentNegotiation(ContentNegotiationConfigurer) - Method in class org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport
-
Override this method to configure content negotiation.
- configureContentNegotiation(ContentNegotiationConfigurer) - Method in interface org.springframework.web.servlet.config.annotation.WebMvcConfigurer
-
Configure content negotiation options.
- configureContentNegotiation(ContentNegotiationConfigurer) - Method in class org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter
-
Deprecated.
Configure content negotiation options.
- configureDefaultServletHandling(DefaultServletHandlerConfigurer) - Method in class org.springframework.web.servlet.config.annotation.DelegatingWebMvcConfiguration
-
- configureDefaultServletHandling(DefaultServletHandlerConfigurer) - Method in class org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport
-
Override this method to configure "default" Servlet handling.
- configureDefaultServletHandling(DefaultServletHandlerConfigurer) - Method in interface org.springframework.web.servlet.config.annotation.WebMvcConfigurer
-
Configure a handler to delegate unhandled requests by forwarding to the
Servlet container's "default" servlet.
- configureDefaultServletHandling(DefaultServletHandlerConfigurer) - Method in class org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter
-
Deprecated.
Configure a handler to delegate unhandled requests by forwarding to the
Servlet container's "default" servlet.
- configureHandlerExceptionResolvers(List<HandlerExceptionResolver>) - Method in class org.springframework.web.servlet.config.annotation.DelegatingWebMvcConfiguration
-
- configureHandlerExceptionResolvers(List<HandlerExceptionResolver>) - Method in class org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport
-
- configureHandlerExceptionResolvers(List<HandlerExceptionResolver>) - Method in interface org.springframework.web.servlet.config.annotation.WebMvcConfigurer
-
Configure exception resolvers.
- configureHandlerExceptionResolvers(List<HandlerExceptionResolver>) - Method in class org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter
-
Deprecated.
Configure exception resolvers.
- configureIndentation(Transformer) - Method in class org.springframework.web.servlet.view.xslt.XsltView
-
Configure the indentation settings for the supplied
Transformer
.
- configureMessageConverters(List<HttpMessageConverter<?>>) - Method in class org.springframework.web.servlet.config.annotation.DelegatingWebMvcConfiguration
-
- configureMessageConverters(List<HttpMessageConverter<?>>) - Method in class org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport
-
- configureMessageConverters(List<HttpMessageConverter<?>>) - Method in interface org.springframework.web.servlet.config.annotation.WebMvcConfigurer
-
Configure the HttpMessageConverter
s for
reading from the request body and for writing to the response body.
- configureMessageConverters(List<HttpMessageConverter<?>>) - Method in class org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter
-
Deprecated.
Configure the HttpMessageConverter
s for
reading from the request body and for writing to the response body.
- configurePathMatch(PathMatchConfigurer) - Method in class org.springframework.web.servlet.config.annotation.DelegatingWebMvcConfiguration
-
- configurePathMatch(PathMatchConfigurer) - Method in class org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport
-
Override this method to configure path matching options.
- configurePathMatch(PathMatchConfigurer) - Method in interface org.springframework.web.servlet.config.annotation.WebMvcConfigurer
-
Help with configuring
HandlerMapping
path matching options such as
whether to use parsed
PathPatterns
or String pattern matching
with
PathMatcher
, whether to match trailing slashes, and more.
- configurePathMatch(PathMatchConfigurer) - Method in class org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter
-
Deprecated.
Help with configuring
HandlerMapping
path matching options such as
whether to use parsed
PathPatterns
or String pattern matching
with
PathMatcher
, whether to match trailing slashes, and more.
- configureResponse(Map<String, Object>, HttpServletResponse, Transformer) - Method in class org.springframework.web.servlet.view.xslt.XsltView
-
- configureTransformer(Map<String, Object>, HttpServletResponse, Transformer) - Method in class org.springframework.web.servlet.view.xslt.XsltView
-
- configureViewResolvers(ViewResolverRegistry) - Method in class org.springframework.web.servlet.config.annotation.DelegatingWebMvcConfiguration
-
- configureViewResolvers(ViewResolverRegistry) - Method in class org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport
-
Override this method to configure view resolution.
- configureViewResolvers(ViewResolverRegistry) - Method in interface org.springframework.web.servlet.config.annotation.WebMvcConfigurer
-
Configure view resolvers to translate String-based view names returned from
controllers into concrete
View
implementations to perform rendering with.
- configureViewResolvers(ViewResolverRegistry) - Method in class org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter
-
Deprecated.
Configure view resolvers to translate String-based view names returned from
controllers into concrete
View
implementations to perform rendering with.
- consumes(String...) - Method in interface org.springframework.web.servlet.mvc.method.RequestMappingInfo.Builder
-
Set the consumes conditions.
- ConsumesRequestCondition - Class in org.springframework.web.servlet.mvc.condition
-
A logical disjunction (' || ') request condition to match a request's
'Content-Type' header to a list of media type expressions.
- ConsumesRequestCondition(String...) - Constructor for class org.springframework.web.servlet.mvc.condition.ConsumesRequestCondition
-
Creates a new instance from 0 or more "consumes" expressions.
- ConsumesRequestCondition(String[], String[]) - Constructor for class org.springframework.web.servlet.mvc.condition.ConsumesRequestCondition
-
Creates a new instance with "consumes" and "header" expressions.
- contentLength(long) - Method in interface org.springframework.web.servlet.function.EntityResponse.Builder
-
Set the length of the body in bytes, as specified by the
Content-Length
header.
- contentLength() - Method in interface org.springframework.web.servlet.function.ServerRequest.Headers
-
Get the length of the body in bytes, as specified by the
Content-Length
header.
- contentLength(long) - Method in interface org.springframework.web.servlet.function.ServerResponse.BodyBuilder
-
Set the length of the body in bytes, as specified by the
Content-Length
header.
- ContentNegotiatingViewResolver - Class in org.springframework.web.servlet.view
-
Implementation of
ViewResolver
that resolves a view based on the request file name
or
Accept
header.
- ContentNegotiatingViewResolver() - Constructor for class org.springframework.web.servlet.view.ContentNegotiatingViewResolver
-
- ContentNegotiationConfigurer - Class in org.springframework.web.servlet.config.annotation
-
Creates a ContentNegotiationManager
and configures it with
one or more ContentNegotiationStrategy
instances.
- ContentNegotiationConfigurer(ServletContext) - Constructor for class org.springframework.web.servlet.config.annotation.ContentNegotiationConfigurer
-
- contentType(MediaType) - Method in interface org.springframework.web.servlet.function.EntityResponse.Builder
-
Set the media type of the body, as specified by the
Content-Type
header.
- contentType(MediaType...) - Static method in class org.springframework.web.servlet.function.RequestPredicates
-
Return a
RequestPredicate
that tests if the request's
content type is
included by any of the given media types.
- contentType() - Method in interface org.springframework.web.servlet.function.ServerRequest.Headers
-
Get the media type of the body, as specified by the
Content-Type
header.
- contentType(MediaType) - Method in interface org.springframework.web.servlet.function.ServerResponse.BodyBuilder
-
Set the media type of the body, as specified by the
Content-Type
header.
- ContentVersionStrategy - Class in org.springframework.web.servlet.resource
-
A VersionStrategy
that calculates an Hex MD5 hashes from the content
of the resource and appends it to the file name, e.g.
- ContentVersionStrategy() - Constructor for class org.springframework.web.servlet.resource.ContentVersionStrategy
-
- ContinuationHandlerMethodArgumentResolver - Class in org.springframework.web.servlet.mvc.method.annotation
-
No-op resolver for method arguments of type kotlin.coroutines.Continuation
.
- ContinuationHandlerMethodArgumentResolver() - Constructor for class org.springframework.web.servlet.mvc.method.annotation.ContinuationHandlerMethodArgumentResolver
-
- contributeMethodArgument(MethodParameter, Object, UriComponentsBuilder, Map<String, Object>, ConversionService) - Method in class org.springframework.web.servlet.mvc.method.annotation.PathVariableMethodArgumentResolver
-
- Controller - Interface in org.springframework.web.servlet.mvc
-
Base Controller interface, representing a component that receives
HttpServletRequest
and HttpServletResponse
instances just like a HttpServlet
but is able to
participate in an MVC workflow.
- controller(Class<T>) - Static method in class org.springframework.web.servlet.mvc.method.annotation.MvcUriComponentsBuilder
-
Return a "mock" controller instance.
- ConversionServiceExposingInterceptor - Class in org.springframework.web.servlet.handler
-
Interceptor that places the configured ConversionService
in request scope
so it's available during request processing.
- ConversionServiceExposingInterceptor(ConversionService) - Constructor for class org.springframework.web.servlet.handler.ConversionServiceExposingInterceptor
-
- convertSource(Object) - Method in class org.springframework.web.servlet.view.xslt.XsltView
-
- convertToDisplayString(Object) - Method in class org.springframework.web.servlet.tags.form.AbstractDataBoundFormElementTag
-
Get a display String for the given value, converted by a PropertyEditor
that the BindStatus may have registered for the value's Class.
- cookie(Cookie) - Method in interface org.springframework.web.servlet.function.EntityResponse.Builder
-
Add the given cookie to the response.
- cookie(Cookie) - Method in interface org.springframework.web.servlet.function.RenderingResponse.Builder
-
Add the given cookie to the response.
- cookie(String, String...) - Method in interface org.springframework.web.servlet.function.ServerRequest.Builder
-
Add a cookie with the given name and value(s).
- cookie(Cookie) - Method in interface org.springframework.web.servlet.function.ServerResponse.HeadersBuilder
-
Add the given cookie to the response.
- CookieLocaleResolver - Class in org.springframework.web.servlet.i18n
-
LocaleResolver
implementation that uses a cookie sent back to the user
in case of a custom setting, with a fallback to the specified default locale
or the request's accept-header locale.
- CookieLocaleResolver() - Constructor for class org.springframework.web.servlet.i18n.CookieLocaleResolver
-
- cookies(Consumer<MultiValueMap<String, Cookie>>) - Method in interface org.springframework.web.servlet.function.EntityResponse.Builder
-
Manipulate this response's cookies with the given consumer.
- cookies(Consumer<MultiValueMap<String, Cookie>>) - Method in interface org.springframework.web.servlet.function.RenderingResponse.Builder
-
Manipulate this response's cookies with the given consumer.
- cookies(Consumer<MultiValueMap<String, Cookie>>) - Method in interface org.springframework.web.servlet.function.ServerRequest.Builder
-
Manipulate this request's cookies with the given consumer.
- cookies() - Method in interface org.springframework.web.servlet.function.ServerRequest
-
Get the cookies of this request.
- cookies() - Method in interface org.springframework.web.servlet.function.ServerResponse
-
Return the cookies of this response.
- cookies(Consumer<MultiValueMap<String, Cookie>>) - Method in interface org.springframework.web.servlet.function.ServerResponse.HeadersBuilder
-
Manipulate this response's cookies with the given consumer.
- CookieThemeResolver - Class in org.springframework.web.servlet.theme
-
ThemeResolver
implementation that uses a cookie sent back to the user
in case of a custom setting, with a fallback to the default theme.
- CookieThemeResolver() - Constructor for class org.springframework.web.servlet.theme.CookieThemeResolver
-
- copyModelParameters(Map<String, Object>, Transformer) - Method in class org.springframework.web.servlet.view.xslt.XsltView
-
- copyOutputProperties(Transformer) - Method in class org.springframework.web.servlet.view.xslt.XsltView
-
- CorsBeanDefinitionParser - Class in org.springframework.web.servlet.config
-
BeanDefinitionParser
that parses a
cors
element in order to set the CORS configuration in the various
{AbstractHandlerMapping} beans created by AnnotationDrivenBeanDefinitionParser
,
ResourcesBeanDefinitionParser
and ViewControllerBeanDefinitionParser
.
- CorsBeanDefinitionParser() - Constructor for class org.springframework.web.servlet.config.CorsBeanDefinitionParser
-
- CorsRegistration - Class in org.springframework.web.servlet.config.annotation
-
Assists with the creation of a CorsConfiguration
instance for a given
URL path pattern.
- CorsRegistration(String) - Constructor for class org.springframework.web.servlet.config.annotation.CorsRegistration
-
- CorsRegistry - Class in org.springframework.web.servlet.config.annotation
-
Assists with the registration of global, URL pattern based
CorsConfiguration
mappings.
- CorsRegistry() - Constructor for class org.springframework.web.servlet.config.annotation.CorsRegistry
-
- create(Object) - Static method in interface org.springframework.web.servlet.function.AsyncServerResponse
-
Create a AsyncServerResponse
with the given asynchronous response.
- create(Object, Duration) - Static method in interface org.springframework.web.servlet.function.AsyncServerResponse
-
Create a (built) response with the given asynchronous response.
- create(String) - Static method in interface org.springframework.web.servlet.function.RenderingResponse
-
Create a builder with the given template name.
- create(HttpServletRequest, List<HttpMessageConverter<?>>) - Static method in interface org.springframework.web.servlet.function.ServerRequest
-
Create a new ServerRequest
based on the given HttpServletRequest
and
message converters.
- createAttribute(String, MethodParameter, WebDataBinderFactory, NativeWebRequest) - Method in class org.springframework.web.servlet.mvc.method.annotation.ServletModelAttributeMethodProcessor
-
Instantiate the model attribute from a URI template variable or from a
request parameter if the name matches to the model attribute name and
if there is an appropriate type conversion strategy.
- createAttributeFromRequestValue(String, String, MethodParameter, WebDataBinderFactory, NativeWebRequest) - Method in class org.springframework.web.servlet.mvc.method.annotation.ServletModelAttributeMethodProcessor
-
Create a model attribute from a String request value (e.g.
- createBinderInstance(Object, String, NativeWebRequest) - Method in class org.springframework.web.servlet.mvc.method.annotation.ServletRequestDataBinderFactory
-
- created(URI) - Static method in interface org.springframework.web.servlet.function.ServerResponse
-
Create a builder with a 201 Created status
and a location header set to the given URI.
- createDataBinderFactory(List<InvocableHandlerMethod>) - Method in class org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter
-
Template method to create a new InitBinderDataBinderFactory instance.
- createDefaultStrategy(ApplicationContext, Class<?>) - Method in class org.springframework.web.servlet.DispatcherServlet
-
Create a default strategy.
- createDispatcherServlet(WebApplicationContext) - Method in class org.springframework.web.servlet.support.AbstractDispatcherServletInitializer
-
- createEngineFromName(String) - Method in class org.springframework.web.servlet.view.script.ScriptTemplateView
-
- createEnvironment() - Method in class org.springframework.web.servlet.HttpServletBean
-
Create and return a new StandardServletEnvironment
.
- createExceptionHandlerExceptionResolver() - Method in class org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport
-
- createHandlerMethod(Object, Method) - Method in class org.springframework.web.servlet.handler.AbstractHandlerMethodMapping
-
Create the HandlerMethod instance.
- createInputMessage(NativeWebRequest) - Method in class org.springframework.web.servlet.mvc.method.annotation.AbstractMessageConverterMethodArgumentResolver
-
Create a new HttpInputMessage
from the given NativeWebRequest
.
- createInvocableHandlerMethod(HandlerMethod) - Method in class org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter
-
- createMergedOutputModel(Map<String, ?>, HttpServletRequest, HttpServletResponse) - Method in class org.springframework.web.servlet.view.AbstractView
-
Creates a combined output Map (never null
) that includes dynamic values and static attributes.
- createNamedValueInfo(MethodParameter) - Method in class org.springframework.web.servlet.mvc.method.annotation.MatrixVariableMethodArgumentResolver
-
- createNamedValueInfo(MethodParameter) - Method in class org.springframework.web.servlet.mvc.method.annotation.PathVariableMethodArgumentResolver
-
- createNamedValueInfo(MethodParameter) - Method in class org.springframework.web.servlet.mvc.method.annotation.RequestAttributeMethodArgumentResolver
-
- createNamedValueInfo(MethodParameter) - Method in class org.springframework.web.servlet.mvc.method.annotation.SessionAttributeMethodArgumentResolver
-
- createOutputMessage(NativeWebRequest) - Method in class org.springframework.web.servlet.mvc.method.annotation.AbstractMessageConverterMethodProcessor
-
Creates a new HttpOutputMessage
from the given NativeWebRequest
.
- createQueryString(List<Param>, Set<String>, boolean) - Method in class org.springframework.web.servlet.tags.UrlTag
-
Build the query string from available parameters that have not already
been applied as template params.
- createRequestContext(HttpServletRequest, HttpServletResponse, Map<String, Object>) - Method in class org.springframework.web.servlet.view.AbstractView
-
Create a RequestContext to expose under the specified attribute name.
- createRequestMappingHandlerAdapter() - Method in class org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport
-
- createRequestMappingHandlerMapping() - Method in class org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport
-
- createRequestMappingInfo(RequestMapping, RequestCondition<?>) - Method in class org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping
-
Create a
RequestMappingInfo
from the supplied
@RequestMapping
annotation, which is either
a directly declared annotation, a meta-annotation, or the synthesized
result of merging annotation attributes within an annotation hierarchy.
- createResult(HttpServletResponse) - Method in class org.springframework.web.servlet.view.xslt.XsltView
-
Create the XSLT
Result
used to render the result of the transformation.
- createRootApplicationContext() - Method in class org.springframework.web.servlet.support.AbstractAnnotationConfigDispatcherServletInitializer
- createServletApplicationContext() - Method in class org.springframework.web.servlet.support.AbstractAnnotationConfigDispatcherServletInitializer
-
Create a servlet application context to be provided to the DispatcherServlet
.
- createServletApplicationContext() - Method in class org.springframework.web.servlet.support.AbstractDispatcherServletInitializer
-
Create a servlet application context to be provided to the DispatcherServlet
.
- createTagWriter() - Method in class org.springframework.web.servlet.tags.form.AbstractFormTag
-
Create the
TagWriter
which all output will be written to.
- createTargetUrl(Map<String, Object>, HttpServletRequest) - Method in class org.springframework.web.servlet.view.RedirectView
-
Create the target URL by checking if the redirect string is a URI template first,
expanding it with the given model, and then optionally appending simple type model
attributes as query String parameters.
- createTemplateClassLoader() - Method in class org.springframework.web.servlet.view.groovy.GroovyMarkupConfigurer
-
Create a parent ClassLoader for Groovy to use as parent ClassLoader
when loading and compiling templates.
- createTemplateEngine() - Method in class org.springframework.web.servlet.view.groovy.GroovyMarkupConfigurer
-
- createTemporaryOutputStream() - Method in class org.springframework.web.servlet.view.AbstractView
-
Create a temporary OutputStream for this view.
- createTilesRequest(HttpServletRequest, HttpServletResponse) - Method in class org.springframework.web.servlet.view.tiles3.TilesView
-
- createTransformer(Templates) - Method in class org.springframework.web.servlet.view.xslt.XsltView
-
Create the
Transformer
instance used to prefer the XSLT transformation.
- createView(String, Locale) - Method in class org.springframework.web.servlet.view.AbstractCachingViewResolver
-
Create the actual View object.
- createView(String, Locale) - Method in class org.springframework.web.servlet.view.UrlBasedViewResolver
-
Overridden to implement check for "redirect:" prefix.
- createWebApplicationContext(ApplicationContext) - Method in class org.springframework.web.servlet.FrameworkServlet
-
Instantiate the WebApplicationContext for this servlet, either a default
XmlWebApplicationContext
or a
custom context class
, if set.
- createWebApplicationContext(WebApplicationContext) - Method in class org.springframework.web.servlet.FrameworkServlet
-
Instantiate the WebApplicationContext for this servlet, either a default
XmlWebApplicationContext
or a
custom context class
, if set.
- createWorkbook(Map<String, Object>, HttpServletRequest) - Method in class org.springframework.web.servlet.view.document.AbstractXlsView
-
Template method for creating the POI Workbook
instance.
- createWorkbook(Map<String, Object>, HttpServletRequest) - Method in class org.springframework.web.servlet.view.document.AbstractXlsxStreamingView
-
This implementation creates a SXSSFWorkbook
for streaming the XLSX format.
- createWorkbook(Map<String, Object>, HttpServletRequest) - Method in class org.springframework.web.servlet.view.document.AbstractXlsxView
-
This implementation creates an XSSFWorkbook
for the XLSX format.
- CssLinkResourceTransformer - Class in org.springframework.web.servlet.resource
-
A
ResourceTransformer
implementation that modifies links in a CSS
file to match the public URL paths that should be exposed to clients (e.g.
- CssLinkResourceTransformer() - Constructor for class org.springframework.web.servlet.resource.CssLinkResourceTransformer
-
- CssLinkResourceTransformer.AbstractLinkParser - Class in org.springframework.web.servlet.resource
-
- CssLinkResourceTransformer.LinkParser - Interface in org.springframework.web.servlet.resource
-
Extract content chunks that represent links.
- customCondition(RequestCondition<?>) - Method in interface org.springframework.web.servlet.mvc.method.RequestMappingInfo.Builder
-
Set a custom condition to use.
- customizeRegistration(ServletRegistration.Dynamic) - Method in class org.springframework.web.servlet.support.AbstractDispatcherServletInitializer
-
- generatesDownloadContent() - Method in class org.springframework.web.servlet.view.AbstractView
-
Return whether this view generates download content
(typically binary content like PDF or Excel files).
- generatesDownloadContent() - Method in class org.springframework.web.servlet.view.document.AbstractPdfStamperView
-
- generatesDownloadContent() - Method in class org.springframework.web.servlet.view.document.AbstractPdfView
-
- generatesDownloadContent() - Method in class org.springframework.web.servlet.view.document.AbstractXlsView
-
- GET(String) - Static method in class org.springframework.web.servlet.function.RequestPredicates
-
Return a RequestPredicate
that matches if request's HTTP method is GET
and the given pattern
matches against the request path.
- GET(HandlerFunction<ServerResponse>) - Method in interface org.springframework.web.servlet.function.RouterFunctions.Builder
-
Adds a route to the given handler function that handles HTTP GET
requests.
- GET(String, HandlerFunction<ServerResponse>) - Method in interface org.springframework.web.servlet.function.RouterFunctions.Builder
-
Adds a route to the given handler function that handles all HTTP GET
requests
that match the given pattern.
- GET(RequestPredicate, HandlerFunction<ServerResponse>) - Method in interface org.springframework.web.servlet.function.RouterFunctions.Builder
-
Adds a route to the given handler function that handles all HTTP GET
requests
that match the given predicate.
- GET(String, RequestPredicate, HandlerFunction<ServerResponse>) - Method in interface org.springframework.web.servlet.function.RouterFunctions.Builder
-
Adds a route to the given handler function that handles all HTTP GET
requests
that match the given pattern and predicate.
- getAcceptCharset() - Method in class org.springframework.web.servlet.tags.form.FormTag
-
Get the value of the 'acceptCharset
' attribute.
- getAccesskey() - Method in class org.springframework.web.servlet.tags.form.AbstractHtmlInputElementTag
-
Get the value of the 'accesskey
' attribute.
- getAction() - Method in class org.springframework.web.servlet.tags.form.FormTag
-
Get the value of the 'action
' attribute.
- getActivePatternsCondition() - Method in class org.springframework.web.servlet.mvc.method.RequestMappingInfo
-
- getActualValue() - Method in class org.springframework.web.servlet.support.BindStatus
-
Return the actual value of the field, i.e.
- getAdaptedInterceptors() - Method in class org.springframework.web.servlet.handler.AbstractHandlerMapping
-
- getAllowedLocations() - Method in class org.springframework.web.servlet.resource.PathResourceResolver
-
- getAllowHeader() - Method in class org.springframework.web.servlet.support.WebContentGenerator
-
Return the "Allow" header value to use in response to an HTTP OPTIONS request
based on the configured
supported methods
also
automatically adding "OPTIONS" to the list even if not present as a supported
method.
- getAlt() - Method in class org.springframework.web.servlet.tags.form.InputTag
-
Get the value of the 'alt
' attribute.
- getApplicationContext() - Method in class org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport
-
Return the associated Spring ApplicationContext
.
- getApplicationContext() - Method in class org.springframework.web.servlet.mvc.method.annotation.ExceptionHandlerExceptionResolver
-
- getApplicationContext() - Method in class org.springframework.web.servlet.view.groovy.GroovyMarkupConfigurer
-
- getApplicationContext() - Method in class org.springframework.web.servlet.view.script.RenderingContext
-
Return the application context.
- getArgumentResolvers() - Method in class org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport
-
- getArgumentResolvers() - Method in class org.springframework.web.servlet.mvc.method.annotation.ExceptionHandlerExceptionResolver
-
- getArgumentResolvers() - Method in class org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter
-
- getArgumentValues() - Method in interface org.springframework.web.servlet.mvc.method.annotation.MvcUriComponentsBuilder.MethodInvocationInfo
-
Return the argument values.
- getAsyncSupportConfigurer() - Method in class org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport
-
- getAttributesMap() - Method in class org.springframework.web.servlet.view.AbstractView
-
Allow Map access to the static attributes of this view,
with the option to add or override specific entries.
- getAttributesMap() - Method in class org.springframework.web.servlet.view.UrlBasedViewResolver
-
Allow Map access to the static attributes for views returned by
this resolver, with the option to add or override specific entries.
- getAutocomplete() - Method in class org.springframework.web.servlet.tags.form.FormTag
-
Get the value of the 'autocomplete
' attribute.
- getAutocomplete() - Method in class org.springframework.web.servlet.tags.form.InputTag
-
Get the value of the 'autocomplete
' attribute.
- getBeanClassName(Element) - Method in class org.springframework.web.servlet.config.FreeMarkerConfigurerBeanDefinitionParser
-
- getBeanClassName(Element) - Method in class org.springframework.web.servlet.config.GroovyMarkupConfigurerBeanDefinitionParser
-
- getBeanClassName(Element) - Method in class org.springframework.web.servlet.config.ScriptTemplateConfigurerBeanDefinitionParser
-
- getBeanClassName(Element) - Method in class org.springframework.web.servlet.config.TilesConfigurerBeanDefinitionParser
-
- getBeanFactory() - Method in class org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter
-
Return the owning factory of this bean instance, or null
if none.
- getBeanName() - Method in class org.springframework.web.servlet.view.AbstractView
-
Return the view's name.
- getBindStatus(String) - Method in class org.springframework.web.servlet.support.RequestContext
-
Create a BindStatus for the given bind object, using the "defaultHtmlEscape" setting.
- getBindStatus(String, boolean) - Method in class org.springframework.web.servlet.support.RequestContext
-
Create a BindStatus for the given bind object, using the "defaultHtmlEscape" setting.
- getBindStatus() - Method in class org.springframework.web.servlet.tags.form.AbstractDataBoundFormElementTag
-
- getBindStatus() - Method in class org.springframework.web.servlet.tags.form.OptionsTag
-
- getBindStatus() - Method in class org.springframework.web.servlet.tags.form.OptionTag
-
- getBoundValue() - Method in class org.springframework.web.servlet.tags.form.AbstractDataBoundFormElementTag
-
Get the bound value.
- getBuilderConfiguration() - Method in class org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping
-
Obtain a RequestMappingInfo.BuilderConfiguration
that can reflects
the internal configuration of this HandlerMapping
and can be used
to set RequestMappingInfo.Builder#options(RequestMappingInfo.BuilderConfiguration)
.
- getBundle(String, Locale) - Method in class org.springframework.web.servlet.view.ResourceBundleViewResolver
-
Deprecated.
Obtain the resource bundle for the given basename and
Locale
.
- getBundleClassLoader() - Method in class org.springframework.web.servlet.view.ResourceBundleViewResolver
-
Deprecated.
- getCache() - Method in class org.springframework.web.servlet.resource.CachingResourceResolver
-
Return the configured Cache
.
- getCache() - Method in class org.springframework.web.servlet.resource.CachingResourceTransformer
-
Return the configured Cache
.
- getCacheControl() - Method in class org.springframework.web.servlet.support.WebContentGenerator
-
Get the CacheControl
instance
that builds the Cache-Control HTTP response header.
- getCacheFilter() - Method in class org.springframework.web.servlet.view.AbstractCachingViewResolver
-
Return filter function that determines if view should be cached.
- getCacheKey(String, Locale) - Method in class org.springframework.web.servlet.view.AbstractCachingViewResolver
-
Return the cache key for the given view name and the given locale.
- getCacheKey(String, Locale) - Method in class org.springframework.web.servlet.view.groovy.GroovyMarkupViewResolver
-
This resolver supports i18n, so cache keys should contain the locale.
- getCacheKey(String, Locale) - Method in class org.springframework.web.servlet.view.UrlBasedViewResolver
-
This implementation returns just the view name,
as this ViewResolver doesn't support localized resolution.
- getCacheKey(String, Locale) - Method in class org.springframework.web.servlet.view.XmlViewResolver
-
Deprecated.
This implementation returns just the view name,
as XmlViewResolver doesn't support localized resolution.
- getCacheLimit() - Method in class org.springframework.web.servlet.view.AbstractCachingViewResolver
-
Return the maximum number of entries for the view cache.
- getCacheSeconds() - Method in class org.springframework.web.servlet.support.WebContentGenerator
-
Return the number of seconds that content is cached.
- getCallableInterceptors() - Method in class org.springframework.web.servlet.config.annotation.AsyncSupportConfigurer
-
- getCandidateBeanNames() - Method in class org.springframework.web.servlet.handler.AbstractHandlerMethodMapping
-
Determine the names of candidate beans in the application context.
- getCharset() - Method in interface org.springframework.web.servlet.view.script.ScriptTemplateConfig
-
Return the charset used to read script and template files.
- getCharset() - Method in class org.springframework.web.servlet.view.script.ScriptTemplateConfigurer
-
- getCols() - Method in class org.springframework.web.servlet.tags.form.TextareaTag
-
Get the value of the 'cols
' attribute.
- getCondition() - Method in class org.springframework.web.servlet.mvc.condition.RequestConditionHolder
-
Return the held request condition, or null
if not holding one.
- getConditions() - Method in class org.springframework.web.servlet.mvc.condition.CompositeRequestCondition
-
Return the underlying conditions (possibly empty but never null
).
- getConfigurableWebBindingInitializer(FormattingConversionService, Validator) - Method in class org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport
-
Return the ConfigurableWebBindingInitializer
to use for
initializing all WebDataBinder
instances.
- getConfiguration() - Method in interface org.springframework.web.servlet.view.freemarker.FreeMarkerConfig
-
Return the FreeMarker Configuration
object for the current
web application context.
- getConfiguration() - Method in class org.springframework.web.servlet.view.freemarker.FreeMarkerConfigurer
-
Return the Configuration object wrapped by this bean.
- getConfiguration() - Method in class org.springframework.web.servlet.view.freemarker.FreeMarkerView
-
Return the FreeMarker configuration used by this view.
- getConsumableMediaTypes() - Method in class org.springframework.web.servlet.mvc.condition.ConsumesRequestCondition
-
Returns the media types for this condition excluding negated expressions.
- getConsumesCondition() - Method in class org.springframework.web.servlet.mvc.method.RequestMappingInfo
-
Return the "consumes" condition of this
RequestMappingInfo
;
or instance with 0 consumes expressions (never
null
).
- getContent() - Method in class org.springframework.web.servlet.mvc.condition.AbstractRequestCondition
-
Return the discrete items a request condition is composed of.
- getContent() - Method in class org.springframework.web.servlet.mvc.condition.CompositeRequestCondition
-
- getContent() - Method in class org.springframework.web.servlet.mvc.condition.ConsumesRequestCondition
-
- getContent() - Method in class org.springframework.web.servlet.mvc.condition.HeadersRequestCondition
-
- getContent() - Method in class org.springframework.web.servlet.mvc.condition.ParamsRequestCondition
-
- getContent() - Method in class org.springframework.web.servlet.mvc.condition.PathPatternsRequestCondition
-
- getContent() - Method in class org.springframework.web.servlet.mvc.condition.PatternsRequestCondition
-
- getContent() - Method in class org.springframework.web.servlet.mvc.condition.ProducesRequestCondition
-
- getContent() - Method in class org.springframework.web.servlet.mvc.condition.RequestConditionHolder
-
- getContent() - Method in class org.springframework.web.servlet.mvc.condition.RequestMethodsRequestCondition
-
- getContentCodings() - Method in class org.springframework.web.servlet.resource.CachingResourceResolver
-
Return a read-only list with the supported content codings.
- getContentCodings() - Method in class org.springframework.web.servlet.resource.EncodedResourceResolver
-
Return a read-only list with the supported content codings.
- getContentNegotiationManager(ParserContext) - Static method in class org.springframework.web.servlet.config.MvcNamespaceUtils
-
Find the ContentNegotiationManager
bean created by or registered
with the annotation-driven
element.
- getContentNegotiationManager() - Method in class org.springframework.web.servlet.mvc.method.annotation.ExceptionHandlerExceptionResolver
-
Return the configured ContentNegotiationManager
.
- getContentNegotiationManager() - Method in class org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping
-
Return the configured ContentNegotiationManager
.
- getContentNegotiationManager() - Method in class org.springframework.web.servlet.mvc.method.RequestMappingInfo.BuilderConfiguration
-
Return the ContentNegotiationManager to use for the ProducesRequestCondition,
if any.
- getContentNegotiationManager() - Method in class org.springframework.web.servlet.resource.ResourceHttpRequestHandler
-
- getContentNegotiationManager() - Method in class org.springframework.web.servlet.view.ContentNegotiatingViewResolver
-
Return the ContentNegotiationManager
to use to determine requested media types.
- getContentType() - Method in class org.springframework.web.servlet.view.AbstractView
-
Return the content type for this view.
- getContentType() - Method in interface org.springframework.web.servlet.View
-
Return the content type of the view, if predetermined.
- getContentType() - Method in interface org.springframework.web.servlet.view.script.ScriptTemplateConfig
-
Return the content type to use for the response.
- getContentType() - Method in class org.springframework.web.servlet.view.script.ScriptTemplateConfigurer
-
Return the content type to use for the response.
- getContentType() - Method in class org.springframework.web.servlet.view.UrlBasedViewResolver
-
Return the content type for all views, if any.
- getContextAttribute() - Method in class org.springframework.web.servlet.FrameworkServlet
-
Return the name of the ServletContext attribute which should be used to retrieve the
WebApplicationContext
that this servlet is supposed to use.
- getContextClass() - Method in class org.springframework.web.servlet.FrameworkServlet
-
Return the custom context class.
- getContextConfigLocation() - Method in class org.springframework.web.servlet.FrameworkServlet
-
Return the explicit context config location, if any.
- getContextId() - Method in class org.springframework.web.servlet.FrameworkServlet
-
Return the custom WebApplicationContext id, if any.
- getContextPath() - Method in class org.springframework.web.servlet.support.RequestContext
-
Return the context path of the original request, that is, the path that
indicates the current web application.
- getContextUrl(String) - Method in class org.springframework.web.servlet.support.RequestContext
-
Return a context-aware URl for the given relative URL.
- getContextUrl(String, Map<String, ?>) - Method in class org.springframework.web.servlet.support.RequestContext
-
Return a context-aware URl for the given relative URL with placeholders (named keys with braces {}
).
- getControllerMethod() - Method in interface org.springframework.web.servlet.mvc.method.annotation.MvcUriComponentsBuilder.MethodInvocationInfo
-
Return the controller method.
- getControllerType() - Method in interface org.springframework.web.servlet.mvc.method.annotation.MvcUriComponentsBuilder.MethodInvocationInfo
-
Return the controller types.
- getCorsConfiguration() - Method in class org.springframework.web.servlet.config.annotation.CorsRegistration
-
- getCorsConfiguration(Object, HttpServletRequest) - Method in class org.springframework.web.servlet.handler.AbstractHandlerMapping
-
Retrieve the CORS configuration for the given handler.
- getCorsConfiguration(Object, HttpServletRequest) - Method in class org.springframework.web.servlet.handler.AbstractHandlerMethodMapping
-
- getCorsConfiguration(HttpServletRequest) - Method in class org.springframework.web.servlet.handler.HandlerMappingIntrospector
-
- getCorsConfiguration(HttpServletRequest) - Method in class org.springframework.web.servlet.resource.ResourceHttpRequestHandler
-
Return the specified CORS configuration.
- getCorsConfigurations() - Method in class org.springframework.web.servlet.config.annotation.CorsRegistry
-
Return the registered CorsConfiguration
objects,
keyed by path pattern.
- getCorsConfigurations() - Method in class org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport
-
Return the registered CorsConfiguration
objects,
keyed by path pattern.
- getCorsConfigurationSource() - Method in class org.springframework.web.servlet.handler.AbstractHandlerMapping
-
Return the
configured
CorsConfigurationSource
, if any.
- getCorsHandlerExecutionChain(HttpServletRequest, HandlerExecutionChain, CorsConfiguration) - Method in class org.springframework.web.servlet.handler.AbstractHandlerMapping
-
Update the HandlerExecutionChain for CORS-related handling.
- getCorsProcessor() - Method in class org.springframework.web.servlet.handler.AbstractHandlerMapping
-
Return the configured CorsProcessor
.
- getCssClass() - Method in class org.springframework.web.servlet.tags.form.AbstractHtmlElementTag
-
Get the value of the 'class
' attribute.
- getCssErrorClass() - Method in class org.springframework.web.servlet.tags.form.AbstractHtmlElementTag
-
The CSS class to use when the field bound to a particular tag has errors.
- getCssStyle() - Method in class org.springframework.web.servlet.tags.form.AbstractHtmlElementTag
-
Get the value of the 'style
' attribute.
- getCurrentRequest() - Static method in class org.springframework.web.servlet.support.ServletUriComponentsBuilder
-
Obtain current request through RequestContextHolder
.
- getCustomArgumentResolvers() - Method in class org.springframework.web.servlet.mvc.method.annotation.ExceptionHandlerExceptionResolver
-
Return the custom argument resolvers, or null
.
- getCustomArgumentResolvers() - Method in class org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter
-
Return the custom argument resolvers, or null
.
- getCustomCondition() - Method in class org.springframework.web.servlet.mvc.method.RequestMappingInfo
-
- getCustomMethodCondition(Method) - Method in class org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping
-
Provide a custom method-level request condition.
- getCustomReturnValueHandlers() - Method in class org.springframework.web.servlet.mvc.method.annotation.ExceptionHandlerExceptionResolver
-
Return the custom return value handlers, or null
.
- getCustomReturnValueHandlers() - Method in class org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter
-
Return the custom return value handlers, or null
.
- getCustomTypeCondition(Class<?>) - Method in class org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping
-
Provide a custom type-level request condition.
- getData() - Method in class org.springframework.web.servlet.mvc.method.annotation.ResponseBodyEmitter.DataWithMediaType
-
- getDefaultArgumentResolvers() - Method in class org.springframework.web.servlet.mvc.method.annotation.ExceptionHandlerExceptionResolver
-
- getDefaultHandler() - Method in class org.springframework.web.servlet.handler.AbstractHandlerMapping
-
Return the default handler for this handler mapping,
or null
if none.
- getDefaultHtmlEscape() - Method in class org.springframework.web.servlet.support.RequestContext
-
Return the default HTML escape setting, differentiating between no default specified and an explicit value.
- getDefaultLocale() - Method in class org.springframework.web.servlet.i18n.AbstractLocaleResolver
-
Return the default Locale that this resolver is supposed to fall back to, if any.
- getDefaultLocale() - Method in class org.springframework.web.servlet.i18n.AcceptHeaderLocaleResolver
-
The configured default locale, if any.
- getDefaultLocale() - Method in class org.springframework.web.servlet.i18n.CookieLocaleResolver
-
Return the fixed locale that this resolver will return if no cookie found,
if any.
- getDefaultMediaTypes() - Method in class org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport
-
- getDefaultReturnValueHandlers() - Method in class org.springframework.web.servlet.mvc.method.annotation.ExceptionHandlerExceptionResolver
-
- getDefaultStrategies(ApplicationContext, Class<T>) - Method in class org.springframework.web.servlet.DispatcherServlet
-
Create a List of default strategy objects for the given strategy interface.
- getDefaultStrategy(ApplicationContext, Class<T>) - Method in class org.springframework.web.servlet.DispatcherServlet
-
Return the default strategy object for the given strategy interface.
- getDefaultThemeName() - Method in class org.springframework.web.servlet.theme.AbstractThemeResolver
-
Return the name of the default theme.
- getDefaultThemeName() - Method in class org.springframework.web.servlet.theme.CookieThemeResolver
-
Return the name of the default theme.
- getDefaultTimeZone() - Method in class org.springframework.web.servlet.i18n.AbstractLocaleContextResolver
-
Return the default TimeZone that this resolver is supposed to fall back to, if any.
- getDefaultTimeZone() - Method in class org.springframework.web.servlet.i18n.CookieLocaleResolver
-
Return the fixed time zone that this resolver will return if no cookie found,
if any.
- getDefaultValue() - Method in class org.springframework.web.servlet.tags.form.ButtonTag
-
Return the default value.
- getDefaultViewName(HttpServletRequest) - Method in class org.springframework.web.servlet.DispatcherServlet
-
Translate the supplied request into a default view name.
- getDefaultViews() - Method in class org.springframework.web.servlet.view.ContentNegotiatingViewResolver
-
- getDeferredResultInterceptors() - Method in class org.springframework.web.servlet.config.annotation.AsyncSupportConfigurer
-
- getDelimiter() - Method in class org.springframework.web.servlet.tags.form.AbstractMultiCheckedElementTag
-
Return the delimiter to be used between each
'input type="radio"
' tag.
- getDelimiter() - Method in class org.springframework.web.servlet.tags.form.ErrorsTag
-
Return the delimiter to be used between error messages.
- getDepth(String, Exception) - Method in class org.springframework.web.servlet.handler.SimpleMappingExceptionResolver
-
Return the depth to the superclass matching.
- getDir() - Method in class org.springframework.web.servlet.tags.form.AbstractHtmlElementTag
-
Get the value of the 'dir
' attribute.
- getDirectPaths(T) - Method in class org.springframework.web.servlet.handler.AbstractHandlerMethodMapping
-
Return the request mapping paths that are not patterns.
- getDirectPaths() - Method in class org.springframework.web.servlet.mvc.condition.PathPatternsRequestCondition
-
Return the mapping paths that are not patterns.
- getDirectPaths() - Method in class org.springframework.web.servlet.mvc.condition.PatternsRequestCondition
-
Return the mapping paths that are not patterns.
- getDirectPaths() - Method in class org.springframework.web.servlet.mvc.method.RequestMappingInfo
-
Return the mapping paths that are not patterns.
- getDirectPaths(RequestMappingInfo) - Method in class org.springframework.web.servlet.mvc.method.RequestMappingInfoHandlerMapping
-
- getDisplayString(Object) - Method in class org.springframework.web.servlet.tags.form.AbstractFormTag
-
Get the display value of the supplied Object
, HTML escaped
as required.
- getDisplayString(Object, PropertyEditor) - Method in class org.springframework.web.servlet.tags.form.AbstractFormTag
-
Get the display value of the supplied Object
, HTML escaped
as required.
- getDisplayValue() - Method in class org.springframework.web.servlet.support.BindStatus
-
Return a suitable display value for the field, i.e.
- getDynamicAttributes() - Method in class org.springframework.web.servlet.tags.form.AbstractHtmlElementTag
-
Get the map of dynamic attributes.
- getEditor() - Method in class org.springframework.web.servlet.support.BindStatus
-
Return the PropertyEditor for the property that this bind status
is currently bound to.
- getEditor() - Method in class org.springframework.web.servlet.tags.BindTag
-
- getEditor() - Method in interface org.springframework.web.servlet.tags.EditorAwareTag
-
Retrieve the PropertyEditor for the property that this tag is
currently bound to.
- getEditor() - Method in class org.springframework.web.servlet.tags.form.AbstractDataBoundFormElementTag
-
- getElement() - Method in class org.springframework.web.servlet.tags.form.AbstractMultiCheckedElementTag
-
Get the HTML element used to enclose
'input type="checkbox/radio"
' tag.
- getElement() - Method in class org.springframework.web.servlet.tags.form.ErrorsTag
-
Get the HTML element must be used to render the error messages.
- getEncoding() - Method in class org.springframework.web.servlet.view.freemarker.FreeMarkerView
-
Return the encoding for the FreeMarker template.
- getEncoding() - Method in class org.springframework.web.servlet.view.json.AbstractJackson2View
-
Return the JsonEncoding
for this view.
- getEnctype() - Method in class org.springframework.web.servlet.tags.form.FormTag
-
Get the value of the 'enctype
' attribute.
- getEngine() - Method in interface org.springframework.web.servlet.view.script.ScriptTemplateConfig
-
- getEngine() - Method in class org.springframework.web.servlet.view.script.ScriptTemplateConfigurer
-
- getEngine() - Method in class org.springframework.web.servlet.view.script.ScriptTemplateView
-
- getEngineName() - Method in interface org.springframework.web.servlet.view.script.ScriptTemplateConfig
-
Return the engine name that will be used to instantiate the
ScriptEngine
.
- getEngineName() - Method in class org.springframework.web.servlet.view.script.ScriptTemplateConfigurer
-
- getEngineSupplier() - Method in interface org.springframework.web.servlet.view.script.ScriptTemplateConfig
-
Return the engine supplier that will be used to instantiate the
ScriptEngine
.
- getEngineSupplier() - Method in class org.springframework.web.servlet.view.script.ScriptTemplateConfigurer
-
- getEnvironment() - Method in class org.springframework.web.servlet.HttpServletBean
-
Return the Environment
associated with this servlet.
- getErrorCode() - Method in class org.springframework.web.servlet.support.BindStatus
-
Return the first error codes for the field or object, if any.
- getErrorCodes() - Method in class org.springframework.web.servlet.support.BindStatus
-
Return the error codes for the field or object, if any.
- getErrorMessage() - Method in class org.springframework.web.servlet.support.BindStatus
-
Return the first error message for the field or object, if any.
- getErrorMessages() - Method in class org.springframework.web.servlet.support.BindStatus
-
Return the resolved error messages for the field or object,
if any.
- getErrorMessagesAsString(String) - Method in class org.springframework.web.servlet.support.BindStatus
-
Return an error message string, concatenating all messages
separated by the given delimiter.
- getErrors() - Method in class org.springframework.web.servlet.support.BindStatus
-
Return the Errors instance (typically a BindingResult) that this
bind status is currently associated with.
- getErrors(String) - Method in class org.springframework.web.servlet.support.RequestContext
-
Retrieve the Errors instance for the given bind object, using the "defaultHtmlEscape" setting.
- getErrors(String, boolean) - Method in class org.springframework.web.servlet.support.RequestContext
-
Retrieve the Errors instance for the given bind object.
- getErrors() - Method in class org.springframework.web.servlet.tags.BindErrorsTag
-
Retrieve the Errors instance that this tag is currently bound to.
- getErrors() - Method in class org.springframework.web.servlet.tags.BindTag
-
Retrieve the Errors instance that this tag is currently bound to.
- getExceptionHandlerAdviceCache() - Method in class org.springframework.web.servlet.mvc.method.annotation.ExceptionHandlerExceptionResolver
-
Return an unmodifiable Map with the @ControllerAdvice
beans discovered in the ApplicationContext.
- getExceptionHandlerMethod(HandlerMethod, Exception) - Method in class org.springframework.web.servlet.mvc.method.annotation.ExceptionHandlerExceptionResolver
-
Find an @ExceptionHandler
method for the given exception.
- getExceptionResolvers() - Method in class org.springframework.web.servlet.handler.HandlerExceptionResolverComposite
-
Return the list of exception resolvers to delegate to.
- getExpirationTime() - Method in class org.springframework.web.servlet.FlashMap
-
Return the expiration time for the FlashMap or -1 if the expiration
period has not started.
- getExposeContextBeansAsAttributes() - Method in class org.springframework.web.servlet.view.UrlBasedViewResolver
-
- getExposedContextBeanNames() - Method in class org.springframework.web.servlet.view.UrlBasedViewResolver
-
- getExposePathVariables() - Method in class org.springframework.web.servlet.view.UrlBasedViewResolver
-
Return whether views resolved by this resolver should add path variables to the model or not.
- getExpression() - Method in class org.springframework.web.servlet.support.BindStatus
-
Return a bind expression that can be used in HTML forms as input name
for the respective field, or null
if not field-specific.
- getExpressions() - Method in class org.springframework.web.servlet.mvc.condition.ConsumesRequestCondition
-
Return the contained MediaType expressions.
- getExpressions() - Method in class org.springframework.web.servlet.mvc.condition.HeadersRequestCondition
-
Return the contained request header expressions.
- getExpressions() - Method in class org.springframework.web.servlet.mvc.condition.ParamsRequestCondition
-
Return the contained request parameter expressions.
- getExpressions() - Method in class org.springframework.web.servlet.mvc.condition.ProducesRequestCondition
-
Return the contained "produces" expressions.
- getExtensions() - Method in class org.springframework.web.servlet.resource.EncodedResourceResolver
-
Return a read-only map with coding-to-extension mappings.
- getExtraHiddenFields(HttpServletRequest) - Method in interface org.springframework.web.servlet.support.RequestDataValueProcessor
-
Invoked after all form fields have been rendered.
- getFallbackLocale() - Method in class org.springframework.web.servlet.support.JspAwareRequestContext
-
This implementation checks for a JSTL locale attribute in page,
request, session or application scope; if not found, returns the
HttpServletRequest.getLocale()
.
- getFallbackLocale() - Method in class org.springframework.web.servlet.support.RequestContext
-
Determine the fallback locale for this context.
- getFallbackTheme() - Method in class org.springframework.web.servlet.support.RequestContext
-
Determine the fallback theme for this context.
- getFallbackTimeZone() - Method in class org.springframework.web.servlet.support.JspAwareRequestContext
-
This implementation checks for a JSTL time zone attribute in page,
request, session or application scope; if not found, returns null
.
- getFallbackTimeZone() - Method in class org.springframework.web.servlet.support.RequestContext
-
Determine the fallback time zone for this context.
- getFileExtensions() - Method in class org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping
-
- getFileExtensions() - Method in class org.springframework.web.servlet.mvc.method.RequestMappingInfo.BuilderConfiguration
-
- getFilename() - Method in class org.springframework.web.servlet.resource.TransformedResource
-
- getFirstPattern() - Method in class org.springframework.web.servlet.mvc.condition.PathPatternsRequestCondition
-
Return the first pattern.
- getFlashAttributes() - Method in interface org.springframework.web.servlet.mvc.support.RedirectAttributes
-
Return the attributes candidate for flash storage or an empty Map.
- getFlashAttributes() - Method in class org.springframework.web.servlet.mvc.support.RedirectAttributesModelMap
-
Return the attributes candidate for flash storage or an empty Map.
- getFlashMapManager(HttpServletRequest) - Static method in class org.springframework.web.servlet.support.RequestContextUtils
-
Return the FlashMapManager
instance to save flash attributes.
- getFlashMapsMutex(HttpServletRequest) - Method in class org.springframework.web.servlet.support.AbstractFlashMapManager
-
- getFlashMapsMutex(HttpServletRequest) - Method in class org.springframework.web.servlet.support.SessionFlashMapManager
-
Exposes the best available session mutex.
- getFlashMapTimeout() - Method in class org.springframework.web.servlet.support.AbstractFlashMapManager
-
Return the amount of time in seconds before a FlashMap expires.
- getFor() - Method in class org.springframework.web.servlet.tags.form.LabelTag
-
Get the value of the 'id
' attribute.
- getForLookupPath(String) - Method in class org.springframework.web.servlet.resource.ResourceUrlProvider
-
Compare the given path against configured resource handler mappings and
if a match is found use the ResourceResolver
chain of the matched
ResourceHttpRequestHandler
to resolve the URL path to expose for
public use.
- getForRequestUrl(HttpServletRequest, String) - Method in class org.springframework.web.servlet.resource.ResourceUrlProvider
-
- getHandler(HttpServletRequest) - Method in class org.springframework.web.servlet.DispatcherServlet
-
Return the HandlerExecutionChain for this request.
- getHandler(HttpServletRequest) - Method in class org.springframework.web.servlet.handler.AbstractHandlerMapping
-
Look up a handler for the given request, falling back to the default
handler if no specific one is found.
- getHandler() - Method in class org.springframework.web.servlet.HandlerExecutionChain
-
Return the handler object to execute.
- getHandler(HttpServletRequest) - Method in interface org.springframework.web.servlet.HandlerMapping
-
Return a handler and any interceptors for this request.
- getHandlerAdapter(Object) - Method in class org.springframework.web.servlet.DispatcherServlet
-
Return the HandlerAdapter for this handler object.
- getHandlerExecutionChain(Object, HttpServletRequest) - Method in class org.springframework.web.servlet.handler.AbstractHandlerMapping
-
- getHandlerInternal(HttpServletRequest) - Method in class org.springframework.web.servlet.function.support.RouterFunctionMapping
-
- getHandlerInternal(HttpServletRequest) - Method in class org.springframework.web.servlet.handler.AbstractHandlerMapping
-
Look up a handler for the given request, returning null
if no
specific one is found.
- getHandlerInternal(HttpServletRequest) - Method in class org.springframework.web.servlet.handler.AbstractHandlerMethodMapping
-
Look up a handler method for the given request.
- getHandlerInternal(HttpServletRequest) - Method in class org.springframework.web.servlet.handler.AbstractUrlHandlerMapping
-
Look up a handler for the URL path of the given request.
- getHandlerInternal(HttpServletRequest) - Method in class org.springframework.web.servlet.mvc.method.RequestMappingInfoHandlerMapping
-
- getHandlerMap() - Method in class org.springframework.web.servlet.handler.AbstractUrlHandlerMapping
-
Return the handler mappings as a read-only Map, with the registered path
or pattern as key and the handler object (or handler bean name in case of
a lazy-init handler), as value.
- getHandlerMap() - Method in class org.springframework.web.servlet.resource.ResourceUrlProvider
-
Return the resource mappings, either manually configured or auto-detected
when the Spring ApplicationContext
is refreshed.
- getHandlerMapping() - Method in class org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry
-
Return a handler mapping with the mapped resource handlers; or null
in case
of no registrations.
- getHandlerMappings() - Method in class org.springframework.web.servlet.DispatcherServlet
-
Return the configured
HandlerMapping
beans that were detected by
type in the
WebApplicationContext
or initialized based on the
default set of strategies from DispatcherServlet.properties.
- getHandlerMappings() - Method in class org.springframework.web.servlet.handler.HandlerMappingIntrospector
-
Return the configured or detected HandlerMapping
s.
- getHandlerMethods() - Method in class org.springframework.web.servlet.handler.AbstractHandlerMethodMapping
-
Return a (read-only) map with all mappings and HandlerMethod's.
- getHandlerMethodsForMappingName(String) - Method in class org.springframework.web.servlet.handler.AbstractHandlerMethodMapping
-
Return the handler methods for the given mapping name.
- getHeaders() - Method in exception org.springframework.web.servlet.NoHandlerFoundException
-
- getHeadersCondition() - Method in class org.springframework.web.servlet.mvc.method.RequestMappingInfo
-
Return the "headers" condition of this
RequestMappingInfo
;
or instance with 0 header expressions (never
null
).
- getHosts() - Method in class org.springframework.web.servlet.view.RedirectView
-
Return the configured application hosts.
- getHttp11StatusCode(HttpServletRequest, HttpServletResponse, String) - Method in class org.springframework.web.servlet.view.RedirectView
-
Determines the status code to use for HTTP 1.1 compatible requests.
- getHttpMethod() - Method in exception org.springframework.web.servlet.NoHandlerFoundException
-
- getHttpMethods() - Method in class org.springframework.web.servlet.i18n.LocaleChangeInterceptor
-
Return the configured HTTP methods.
- getId() - Method in class org.springframework.web.servlet.tags.form.AbstractDataBoundFormElementTag
-
Get the value of the 'id
' attribute.
- getInitBinderArgumentResolvers() - Method in class org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter
-
- getInputFlashMap(HttpServletRequest) - Static method in class org.springframework.web.servlet.support.RequestContextUtils
-
Return read-only "input" flash attributes from request before redirect.
- getInputType() - Method in class org.springframework.web.servlet.tags.form.AbstractCheckedElementTag
-
Return the type of the HTML input element to generate:
"checkbox" or "radio".
- getInputType() - Method in class org.springframework.web.servlet.tags.form.CheckboxesTag
-
- getInputType() - Method in class org.springframework.web.servlet.tags.form.CheckboxTag
-
- getInputType() - Method in class org.springframework.web.servlet.tags.form.RadioButtonsTag
-
- getInputType() - Method in class org.springframework.web.servlet.tags.form.RadioButtonTag
-
- getInterceptor() - Method in class org.springframework.web.servlet.config.annotation.InterceptorRegistration
-
Build the underlying interceptor.
- getInterceptor() - Method in class org.springframework.web.servlet.handler.MappedInterceptor
-
- getInterceptorList() - Method in class org.springframework.web.servlet.HandlerExecutionChain
-
Return the list of interceptors to apply (in the given order).
- getInterceptors() - Method in class org.springframework.web.servlet.config.annotation.InterceptorRegistry
-
Return all registered interceptors.
- getInterceptors(FormattingConversionService, ResourceUrlProvider) - Method in class org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport
-
Provide access to the shared handler interceptors used to configure
HandlerMapping
instances with.
- getInterceptors() - Method in class org.springframework.web.servlet.HandlerExecutionChain
-
Return the array of interceptors to apply (in the given order).
- getItemLabel() - Method in class org.springframework.web.servlet.tags.form.AbstractMultiCheckedElementTag
-
Get the value to be displayed as part of the
'input type="checkbox/radio"
' tag.
- getItemLabel() - Method in class org.springframework.web.servlet.tags.form.OptionsTag
-
Get the name of the property mapped to the label (inner text) of the
'option
' tag.
- getItemLabel() - Method in class org.springframework.web.servlet.tags.form.SelectTag
-
Get the value of the 'itemLabel
' attribute.
- getItems() - Method in class org.springframework.web.servlet.tags.form.AbstractMultiCheckedElementTag
-
Get the
Collection
,
Map
or array of objects
used to generate the '
input type="checkbox/radio"
' tags.
- getItems() - Method in class org.springframework.web.servlet.tags.form.OptionsTag
-
Get the
Collection
,
Map
or array
of objects used to generate the inner '
option
' tags.
- getItems() - Method in class org.springframework.web.servlet.tags.form.SelectTag
-
Get the value of the 'items
' attribute.
- getItemValue() - Method in class org.springframework.web.servlet.tags.form.AbstractMultiCheckedElementTag
-
Get the name of the property mapped to the 'value
' attribute
of the 'input type="checkbox/radio"
' tag.
- getItemValue() - Method in class org.springframework.web.servlet.tags.form.OptionsTag
-
Return the name of the property mapped to the 'value
'
attribute of the 'option
' tag.
- getItemValue() - Method in class org.springframework.web.servlet.tags.form.SelectTag
-
Get the value of the 'itemValue
' attribute.
- getJstlAwareMessageSource(ServletContext, MessageSource) - Static method in class org.springframework.web.servlet.support.JstlUtils
-
Checks JSTL's "javax.servlet.jsp.jstl.fmt.localizationContext"
context-param and creates a corresponding child message source,
with the provided Spring-defined MessageSource as parent.
- getKeyword() - Method in class org.springframework.web.servlet.resource.CssLinkResourceTransformer.AbstractLinkParser
-
Return the keyword to use to search for links, e.g.
- getLabel() - Method in class org.springframework.web.servlet.tags.form.AbstractSingleCheckedElementTag
-
Get the value of the 'label
' attribute.
- getLabel() - Method in class org.springframework.web.servlet.tags.form.OptionTag
-
Get the text body of the rendered HTML <option>
tag.
- getLang() - Method in class org.springframework.web.servlet.tags.form.AbstractHtmlElementTag
-
Get the value of the 'lang
' attribute.
- getLastModified(HttpServletRequest, Object) - Method in class org.springframework.web.servlet.function.support.HandlerFunctionAdapter
-
- getLastModified(HttpServletRequest, Object) - Method in class org.springframework.web.servlet.handler.SimpleServletHandlerAdapter
-
- getLastModified(HttpServletRequest, Object) - Method in interface org.springframework.web.servlet.HandlerAdapter
-
- getLastModified(HttpServletRequest, Object) - Method in class org.springframework.web.servlet.mvc.HttpRequestHandlerAdapter
-
- getLastModified(HttpServletRequest) - Method in interface org.springframework.web.servlet.mvc.LastModified
-
Deprecated.
Same contract as for HttpServlet's getLastModified
method.
- getLastModified(HttpServletRequest, Object) - Method in class org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter
-
This implementation expects the handler to be an HandlerMethod
.
- getLastModified(HttpServletRequest, Object) - Method in class org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter
-
- getLastModifiedInternal(HttpServletRequest, HandlerMethod) - Method in class org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter
-
- getLastModifiedInternal(HttpServletRequest, HandlerMethod) - Method in class org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter
-
This implementation always returns -1.
- getLocale() - Method in class org.springframework.web.servlet.handler.DispatcherServletWebRequest
-
- getLocale() - Method in class org.springframework.web.servlet.support.RequestContext
-
Return the current Locale (falling back to the request locale; never null
).
- getLocale(HttpServletRequest) - Static method in class org.springframework.web.servlet.support.RequestContextUtils
-
Retrieve the current locale from the given request, using the
LocaleResolver bound to the request by the DispatcherServlet
(if available), falling back to the request's accept-header Locale.
- getLocale() - Method in class org.springframework.web.servlet.view.script.RenderingContext
-
Return the locale of the rendered template.
- getLocaleResolver(HttpServletRequest) - Static method in class org.springframework.web.servlet.support.RequestContextUtils
-
Return the LocaleResolver that has been bound to the request by the
DispatcherServlet.
- getLocationCharsets() - Method in class org.springframework.web.servlet.resource.PathResourceResolver
-
Return charsets associated with static resource locations.
- getLocations() - Method in class org.springframework.web.servlet.resource.ResourceHttpRequestHandler
-
Return the configured
List
of
Resource
locations including
both String-based locations provided via
setLocationValues
and pre-resolved
Resource
locations provided via
setLocations
.
- getMappedInterceptors() - Method in class org.springframework.web.servlet.handler.AbstractHandlerMapping
-
- getMappingComparator(HttpServletRequest) - Method in class org.springframework.web.servlet.handler.AbstractHandlerMethodMapping
-
Return a comparator for sorting matching mappings.
- getMappingComparator(HttpServletRequest) - Method in class org.springframework.web.servlet.mvc.method.RequestMappingInfoHandlerMapping
-
Provide a Comparator to sort RequestMappingInfos matched to a request.
- getMappingForMethod(Method, Class<?>) - Method in class org.springframework.web.servlet.handler.AbstractHandlerMethodMapping
-
Provide the mapping for a handler method.
- getMappingForMethod(Method, Class<?>) - Method in class org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping
-
Uses method and type-level @RequestMapping
annotations to create
the RequestMappingInfo.
- getMappingPathPatterns(T) - Method in class org.springframework.web.servlet.handler.AbstractHandlerMethodMapping
-
- getMappingPathPatterns(RequestMappingInfo) - Method in class org.springframework.web.servlet.mvc.method.RequestMappingInfoHandlerMapping
-
- getMatchableHandlerMapping(HttpServletRequest) - Method in class org.springframework.web.servlet.handler.HandlerMappingIntrospector
-
- getMatchingCondition(HttpServletRequest) - Method in class org.springframework.web.servlet.mvc.condition.CompositeRequestCondition
-
Delegate to all contained conditions to match the request and return the
resulting "matching" condition instances.
- getMatchingCondition(HttpServletRequest) - Method in class org.springframework.web.servlet.mvc.condition.ConsumesRequestCondition
-
Checks if any of the contained media type expressions match the given
request 'Content-Type' header and returns an instance that is guaranteed
to contain matching expressions only.
- getMatchingCondition(HttpServletRequest) - Method in class org.springframework.web.servlet.mvc.condition.HeadersRequestCondition
-
Returns "this" instance if the request matches all expressions;
or null
otherwise.
- getMatchingCondition(HttpServletRequest) - Method in class org.springframework.web.servlet.mvc.condition.ParamsRequestCondition
-
Returns "this" instance if the request matches all param expressions;
or null
otherwise.
- getMatchingCondition(HttpServletRequest) - Method in class org.springframework.web.servlet.mvc.condition.PathPatternsRequestCondition
-
Checks if any of the patterns match the given request and returns an
instance that is guaranteed to contain matching patterns, sorted.
- getMatchingCondition(HttpServletRequest) - Method in class org.springframework.web.servlet.mvc.condition.PatternsRequestCondition
-
Checks if any of the patterns match the given request and returns an instance
that is guaranteed to contain matching patterns, sorted via
PathMatcher.getPatternComparator(String)
.
- getMatchingCondition(HttpServletRequest) - Method in class org.springframework.web.servlet.mvc.condition.ProducesRequestCondition
-
Checks if any of the contained media type expressions match the given
request 'Content-Type' header and returns an instance that is guaranteed
to contain matching expressions only.
- getMatchingCondition(HttpServletRequest) - Method in interface org.springframework.web.servlet.mvc.condition.RequestCondition
-
Check if the condition matches the request returning a potentially new
instance created for the current request.
- getMatchingCondition(HttpServletRequest) - Method in class org.springframework.web.servlet.mvc.condition.RequestConditionHolder
-
Get the matching condition for the held request condition wrap it in a
new RequestConditionHolder instance.
- getMatchingCondition(HttpServletRequest) - Method in class org.springframework.web.servlet.mvc.condition.RequestMethodsRequestCondition
-
Check if any of the HTTP request methods match the given request and
return an instance that contains the matching HTTP request method only.
- getMatchingCondition(HttpServletRequest) - Method in class org.springframework.web.servlet.mvc.method.RequestMappingInfo
-
Checks if all conditions in this request mapping info match the provided
request and returns a potentially new request mapping info with conditions
tailored to the current request.
- getMatchingMapping(T, HttpServletRequest) - Method in class org.springframework.web.servlet.handler.AbstractHandlerMethodMapping
-
Check if a mapping matches the current request and return a (potentially
new) mapping with conditions relevant to the current request.
- getMatchingMapping(RequestMappingInfo, HttpServletRequest) - Method in class org.springframework.web.servlet.mvc.method.RequestMappingInfoHandlerMapping
-
Check if the given RequestMappingInfo matches the current request and
return a (potentially new) instance with conditions that match the
current request -- for example with a subset of URL patterns.
- getMatchingPatterns(String) - Method in class org.springframework.web.servlet.mvc.condition.PatternsRequestCondition
-
Find the patterns matching the given lookup path.
- getMaxlength() - Method in class org.springframework.web.servlet.tags.form.InputTag
-
Get the value of the 'maxlength
' attribute.
- getMediaType() - Method in interface org.springframework.web.servlet.mvc.condition.MediaTypeExpression
-
- getMediaType() - Method in class org.springframework.web.servlet.mvc.method.annotation.ResponseBodyEmitter.DataWithMediaType
-
- getMediaType(HttpServletRequest, Resource) - Method in class org.springframework.web.servlet.resource.ResourceHttpRequestHandler
-
Determine the media type for the given request and the resource matched
to it.
- getMediaTypes() - Method in class org.springframework.web.servlet.resource.ResourceHttpRequestHandler
-
- getMediaTypes(HttpServletRequest) - Method in class org.springframework.web.servlet.view.ContentNegotiatingViewResolver
-
- getMessage(String, String) - Method in class org.springframework.web.servlet.support.RequestContext
-
Retrieve the message for the given code, using the "defaultHtmlEscape" setting.
- getMessage(String, Object[], String) - Method in class org.springframework.web.servlet.support.RequestContext
-
Retrieve the message for the given code, using the "defaultHtmlEscape" setting.
- getMessage(String, List<?>, String) - Method in class org.springframework.web.servlet.support.RequestContext
-
Retrieve the message for the given code, using the "defaultHtmlEscape" setting.
- getMessage(String, Object[], String, boolean) - Method in class org.springframework.web.servlet.support.RequestContext
-
Retrieve the message for the given code.
- getMessage(String) - Method in class org.springframework.web.servlet.support.RequestContext
-
Retrieve the message for the given code, using the "defaultHtmlEscape" setting.
- getMessage(String, Object[]) - Method in class org.springframework.web.servlet.support.RequestContext
-
Retrieve the message for the given code, using the "defaultHtmlEscape" setting.
- getMessage(String, List<?>) - Method in class org.springframework.web.servlet.support.RequestContext
-
Retrieve the message for the given code, using the "defaultHtmlEscape" setting.
- getMessage(String, Object[], boolean) - Method in class org.springframework.web.servlet.support.RequestContext
-
Retrieve the message for the given code.
- getMessage(MessageSourceResolvable) - Method in class org.springframework.web.servlet.support.RequestContext
-
Retrieve the given MessageSourceResolvable (e.g.
- getMessage(MessageSourceResolvable, boolean) - Method in class org.springframework.web.servlet.support.RequestContext
-
Retrieve the given MessageSourceResolvable (e.g.
- getMessageCodesResolver() - Method in class org.springframework.web.servlet.config.annotation.DelegatingWebMvcConfiguration
-
- getMessageCodesResolver() - Method in class org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport
-
Override this method to provide a custom MessageCodesResolver
.
- getMessageCodesResolver() - Method in interface org.springframework.web.servlet.config.annotation.WebMvcConfigurer
-
Provide a custom MessageCodesResolver
for building message codes
from data binding and validation error codes.
- getMessageCodesResolver() - Method in class org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter
-
Deprecated.
Provide a custom MessageCodesResolver
for building message codes
from data binding and validation error codes.
- getMessageConverters() - Method in class org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport
-
- getMessageConverters() - Method in class org.springframework.web.servlet.mvc.method.annotation.ExceptionHandlerExceptionResolver
-
Return the configured message body converters.
- getMessageConverters() - Method in class org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter
-
Return the configured message body converters.
- getMessageSource() - Method in class org.springframework.web.servlet.support.RequestContext
-
Return the current WebApplicationContext as MessageSource.
- getMessageSource() - Method in class org.springframework.web.servlet.tags.MessageTag
-
Use the current RequestContext's application context as MessageSource.
- getMessageSource() - Method in class org.springframework.web.servlet.tags.ThemeTag
-
Use the theme MessageSource for theme message resolution.
- getMethod() - Method in class org.springframework.web.servlet.tags.form.FormTag
-
Get the value of the 'method
' attribute.
- getMethodParam() - Method in class org.springframework.web.servlet.tags.form.FormTag
-
Get the name of the request param for non-browser supported HTTP methods.
- getMethods() - Method in class org.springframework.web.servlet.mvc.condition.RequestMethodsRequestCondition
-
Returns all RequestMethods
contained in this condition.
- getMethodsCondition() - Method in class org.springframework.web.servlet.mvc.method.RequestMappingInfo
-
Return the HTTP request methods of this
RequestMappingInfo
;
or instance with 0 request methods (never
null
).
- getModel() - Method in class org.springframework.web.servlet.ModelAndView
-
Return the model map.
- getModel() - Method in class org.springframework.web.servlet.support.RequestContext
-
Return the model Map that this RequestContext encapsulates, if any.
- getModelAndView(String, Exception, HttpServletRequest) - Method in class org.springframework.web.servlet.handler.SimpleMappingExceptionResolver
-
Return a ModelAndView for the given request, view name and exception.
- getModelAndView(String, Exception) - Method in class org.springframework.web.servlet.handler.SimpleMappingExceptionResolver
-
Return a ModelAndView for the given view name and exception.
- getModelAndView() - Method in exception org.springframework.web.servlet.ModelAndViewDefiningException
-
Return the ModelAndView that this exception contains for forwarding to.
- getModelAndViewResolvers() - Method in class org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter
-
- getModelAttribute() - Method in class org.springframework.web.servlet.tags.form.FormTag
-
Get the name of the form attribute in the model.
- getModelInternal() - Method in class org.springframework.web.servlet.ModelAndView
-
Return the model map.
- getModelKeys() - Method in class org.springframework.web.servlet.view.json.MappingJackson2JsonView
-
Return the attributes in the model that should be rendered by this view.
- getModelMap() - Method in class org.springframework.web.servlet.ModelAndView
-
Return the underlying ModelMap
instance (never null
).
- getModelObject(String) - Method in class org.springframework.web.servlet.support.RequestContext
-
Retrieve the model object for the given model name, either from the model
or from the request attributes.
- getMultipartResolver() - Method in class org.springframework.web.servlet.DispatcherServlet
-
Obtain this servlet's MultipartResolver, if any.
- getMultiple() - Method in class org.springframework.web.servlet.tags.form.SelectTag
-
Get the value of the HTML 'multiple
' attribute rendered
on the final 'select
' element.
- getName(HandlerMethod, T) - Method in interface org.springframework.web.servlet.handler.HandlerMethodMappingNamingStrategy
-
Determine the name for the given HandlerMethod and mapping.
- getName() - Method in interface org.springframework.web.servlet.mvc.condition.NameValueExpression
-
- getName() - Method in class org.springframework.web.servlet.mvc.method.RequestMappingInfo
-
Return the name for this mapping, or null
.
- getName(HandlerMethod, RequestMappingInfo) - Method in class org.springframework.web.servlet.mvc.method.RequestMappingInfoHandlerMethodMappingNamingStrategy
-
- getName() - Method in class org.springframework.web.servlet.tags.BindErrorsTag
-
Return the name of the bean that this tag checks.
- getName() - Method in class org.springframework.web.servlet.tags.form.AbstractDataBoundFormElementTag
-
Get the value for the HTML 'name
' attribute.
- getName() - Method in class org.springframework.web.servlet.tags.form.ButtonTag
-
Set the value of the 'name
' attribute.
- getName() - Method in class org.springframework.web.servlet.tags.form.ErrorsTag
-
Get the value for the HTML 'name
' attribute.
- getName() - Method in class org.springframework.web.servlet.tags.form.FormTag
-
Get the value of the 'name
' attribute.
- getName() - Method in class org.springframework.web.servlet.tags.form.LabelTag
-
Overrides #getName()
to always return null
,
because the 'name
' attribute is not supported by the
'label
' tag.
- getName() - Method in class org.springframework.web.servlet.tags.Param
-
Return the raw parameter name.
- getNamespace() - Method in class org.springframework.web.servlet.FrameworkServlet
-
Return the namespace for this servlet, falling back to default scheme if
no custom namespace was set: e.g.
- getNamingStrategy() - Method in class org.springframework.web.servlet.handler.AbstractHandlerMethodMapping
-
Return the configured naming strategy or null
.
- getNestedPath() - Method in class org.springframework.web.servlet.tags.form.AbstractDataBoundFormElementTag
-
Get the value of the nested path that may have been exposed by the
NestedPathTag
.
- getNoSuchMessageExceptionDescription(NoSuchMessageException) - Method in class org.springframework.web.servlet.tags.MessageTag
-
Return default exception message.
- getNoSuchMessageExceptionDescription(NoSuchMessageException) - Method in class org.springframework.web.servlet.tags.ThemeTag
-
Return exception message that indicates the current theme.
- getObjectMapper() - Method in class org.springframework.web.servlet.view.json.AbstractJackson2View
-
Return the ObjectMapper
for this view.
- getObjectWrapper() - Method in class org.springframework.web.servlet.view.freemarker.FreeMarkerView
-
Return the configured FreeMarker ObjectWrapper
, or the
default wrapper
if none specified.
- getOnblur() - Method in class org.springframework.web.servlet.tags.form.AbstractHtmlInputElementTag
-
Get the value of the 'onblur
' attribute.
- getOnchange() - Method in class org.springframework.web.servlet.tags.form.AbstractHtmlInputElementTag
-
Get the value of the 'onchange
' attribute.
- getOnclick() - Method in class org.springframework.web.servlet.tags.form.AbstractHtmlElementTag
-
Get the value of the 'onclick
' attribute.
- getOndblclick() - Method in class org.springframework.web.servlet.tags.form.AbstractHtmlElementTag
-
Get the value of the 'ondblclick
' attribute.
- getOnfocus() - Method in class org.springframework.web.servlet.tags.form.AbstractHtmlInputElementTag
-
Get the value of the 'onfocus
' attribute.
- getOnkeydown() - Method in class org.springframework.web.servlet.tags.form.AbstractHtmlElementTag
-
Get the value of the 'onkeydown
' attribute.
- getOnkeypress() - Method in class org.springframework.web.servlet.tags.form.AbstractHtmlElementTag
-
Get the value of the 'onkeypress
' attribute.
- getOnkeyup() - Method in class org.springframework.web.servlet.tags.form.AbstractHtmlElementTag
-
Get the value of the 'onkeyup
' attribute.
- getOnmousedown() - Method in class org.springframework.web.servlet.tags.form.AbstractHtmlElementTag
-
Get the value of the 'onmousedown
' attribute.
- getOnmousemove() - Method in class org.springframework.web.servlet.tags.form.AbstractHtmlElementTag
-
Get the value of the 'onmousemove
' attribute.
- getOnmouseout() - Method in class org.springframework.web.servlet.tags.form.AbstractHtmlElementTag
-
Get the value of the 'onmouseout
' attribute.
- getOnmouseover() - Method in class org.springframework.web.servlet.tags.form.AbstractHtmlElementTag
-
Get the value of the 'onmouseover
' attribute.
- getOnmouseup() - Method in class org.springframework.web.servlet.tags.form.AbstractHtmlElementTag
-
Get the value of the 'onmouseup
' attribute.
- getOnreset() - Method in class org.springframework.web.servlet.tags.form.FormTag
-
Get the value of the 'onreset
' attribute.
- getOnselect() - Method in class org.springframework.web.servlet.tags.form.InputTag
-
Get the value of the 'onselect
' attribute.
- getOnselect() - Method in class org.springframework.web.servlet.tags.form.TextareaTag
-
Get the value of the 'onselect
' attribute.
- getOnsubmit() - Method in class org.springframework.web.servlet.tags.form.FormTag
-
Get the value of the 'onsubmit
' attribute.
- getOrCreateContainer(Object) - Method in class org.springframework.web.servlet.mvc.method.annotation.AbstractMappingJacksonResponseBodyAdvice
-
Wrap the body in a MappingJacksonValue
value container (for providing
additional serialization instructions) or simply cast it if already wrapped.
- getOrder() - Method in class org.springframework.web.servlet.config.annotation.InterceptorRegistration
-
Return the order position to be used.
- getOrder() - Method in class org.springframework.web.servlet.config.annotation.ViewResolverRegistry
-
- getOrder() - Method in class org.springframework.web.servlet.function.support.HandlerFunctionAdapter
-
- getOrder() - Method in class org.springframework.web.servlet.handler.AbstractHandlerExceptionResolver
-
- getOrder() - Method in class org.springframework.web.servlet.handler.AbstractHandlerMapping
-
- getOrder() - Method in class org.springframework.web.servlet.handler.HandlerExceptionResolverComposite
-
- getOrder() - Method in class org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter
-
- getOrder() - Method in class org.springframework.web.servlet.view.BeanNameViewResolver
-
- getOrder() - Method in class org.springframework.web.servlet.view.ContentNegotiatingViewResolver
-
- getOrder() - Method in class org.springframework.web.servlet.view.ResourceBundleViewResolver
-
Deprecated.
- getOrder() - Method in class org.springframework.web.servlet.view.UrlBasedViewResolver
-
- getOrder() - Method in class org.springframework.web.servlet.view.ViewResolverComposite
-
- getOrder() - Method in class org.springframework.web.servlet.view.XmlViewResolver
-
Deprecated.
- getOutputFlashMap(HttpServletRequest) - Static method in class org.springframework.web.servlet.support.RequestContextUtils
-
Return "output" FlashMap to save attributes for request after redirect.
- getPageContext() - Method in class org.springframework.web.servlet.support.JspAwareRequestContext
-
Return the underlying PageContext.
- getParamName() - Method in class org.springframework.web.servlet.i18n.LocaleChangeInterceptor
-
Return the name of the parameter that contains a locale specification
in a locale change request.
- getParamName() - Method in class org.springframework.web.servlet.theme.ThemeChangeInterceptor
-
Return the name of the parameter that contains a theme specification
in a theme change request.
- getParamsCondition() - Method in class org.springframework.web.servlet.mvc.method.RequestMappingInfo
-
Return the "parameters" condition of this
RequestMappingInfo
;
or instance with 0 parameter expressions (never
null
).
- getPath() - Method in class org.springframework.web.servlet.support.BindStatus
-
Return the bean and property path for which values and errors
will be resolved (e.g.
- getPath() - Method in class org.springframework.web.servlet.tags.BindTag
-
Return the path that this tag applies to.
- getPath() - Method in class org.springframework.web.servlet.tags.form.AbstractDataBoundFormElementTag
-
- getPath() - Method in class org.springframework.web.servlet.tags.NestedPathTag
-
Return the path that this tag applies to.
- getPathMatchConfigurer() - Method in class org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport
-
- getPathMatcher() - Method in class org.springframework.web.servlet.config.annotation.PathMatchConfigurer
-
- getPathMatcher() - Method in class org.springframework.web.servlet.handler.AbstractHandlerMapping
-
- getPathMatcher() - Method in class org.springframework.web.servlet.handler.MappedInterceptor
-
- getPathMatcher() - Method in class org.springframework.web.servlet.mvc.method.RequestMappingInfo.BuilderConfiguration
-
Return a custom PathMatcher to use for the PatternsRequestCondition, if any.
- getPathMatcher() - Method in class org.springframework.web.servlet.resource.ResourceUrlProvider
-
Return the configured PathMatcher
.
- getPathMatcherOrDefault() - Method in class org.springframework.web.servlet.config.annotation.PathMatchConfigurer
-
Return the configured PathMatcher or a default, shared instance otherwise.
- getPathPattern() - Method in class org.springframework.web.servlet.config.annotation.CorsRegistration
-
- getPathPatternHandlerMap() - Method in class org.springframework.web.servlet.handler.AbstractUrlHandlerMapping
-
- getPathPatterns() - Method in class org.springframework.web.servlet.config.annotation.ResourceHandlerRegistration
-
Return the URL path patterns for the resource handler.
- getPathPatterns() - Method in class org.springframework.web.servlet.handler.MappedInterceptor
-
Return the patterns this interceptor is mapped to.
- getPathPatternsCondition() - Method in class org.springframework.web.servlet.mvc.method.RequestMappingInfo
-
Return the patterns condition in use when parsed patterns are
enabled
.
- getPathPrefixes() - Method in class org.springframework.web.servlet.config.annotation.PathMatchConfigurer
-
- getPathPrefixes() - Method in class org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping
-
The configured path prefixes as a read-only, possibly empty map.
- getPathToServlet() - Method in class org.springframework.web.servlet.support.RequestContext
-
Return the path to URL mappings within the current servlet including the
context path and the servlet path of the original request.
- getPatternParser() - Method in class org.springframework.web.servlet.config.annotation.PathMatchConfigurer
-
Return the PathPatternParser
to use, if configured.
- getPatternParser() - Method in class org.springframework.web.servlet.handler.AbstractHandlerMapping
-
- getPatternParser() - Method in interface org.springframework.web.servlet.handler.MatchableHandlerMapping
-
Return the parser of this HandlerMapping
, if configured in which
case pre-parsed patterns are used.
- getPatternParser() - Method in class org.springframework.web.servlet.mvc.method.RequestMappingInfo.BuilderConfiguration
-
- getPatternParserOrDefault() - Method in class org.springframework.web.servlet.config.annotation.PathMatchConfigurer
-
Return the configured PathPatternParser or a default, shared instance otherwise.
- getPatterns() - Method in class org.springframework.web.servlet.mvc.condition.PathPatternsRequestCondition
-
Return the patterns in this condition.
- getPatterns() - Method in class org.springframework.web.servlet.mvc.condition.PatternsRequestCondition
-
- getPatternsCondition() - Method in class org.springframework.web.servlet.mvc.method.RequestMappingInfo
-
Return the patterns condition when String pattern matching via
PathMatcher
is in use.
- getPatternValues() - Method in class org.springframework.web.servlet.mvc.condition.PathPatternsRequestCondition
-
- getPatternValues() - Method in class org.springframework.web.servlet.mvc.method.RequestMappingInfo
-
Return the patterns for the
active
patterns condition as Strings.
- getPrefix() - Method in class org.springframework.web.servlet.mvc.UrlFilenameViewController
-
Return the prefix to prepend to the request URL filename.
- getPrefix() - Method in class org.springframework.web.servlet.view.UrlBasedViewResolver
-
Return the prefix that gets prepended to view names when building a URL.
- getPreparer(String, Request) - Method in class org.springframework.web.servlet.view.tiles3.AbstractSpringPreparerFactory
-
- getPreparer(String, WebApplicationContext) - Method in class org.springframework.web.servlet.view.tiles3.AbstractSpringPreparerFactory
-
Obtain a preparer instance for the given preparer name,
based on the given Spring WebApplicationContext.
- getPreparer(String, WebApplicationContext) - Method in class org.springframework.web.servlet.view.tiles3.SimpleSpringPreparerFactory
-
- getPreparer(String, WebApplicationContext) - Method in class org.springframework.web.servlet.view.tiles3.SpringBeanPreparerFactory
-
- getProducesCondition() - Method in class org.springframework.web.servlet.mvc.method.RequestMappingInfo
-
Return the "produces" condition of this
RequestMappingInfo
;
or instance with 0 produces expressions (never
null
).
- getProducibleMediaTypes() - Method in class org.springframework.web.servlet.mvc.condition.ProducesRequestCondition
-
Return the contained producible media types excluding negated expressions.
- getProducibleMediaTypes(HttpServletRequest, Class<?>) - Method in class org.springframework.web.servlet.mvc.method.annotation.AbstractMessageConverterMethodProcessor
-
Returns the media types that can be produced.
- getProducibleMediaTypes(HttpServletRequest, Class<?>, Type) - Method in class org.springframework.web.servlet.mvc.method.annotation.AbstractMessageConverterMethodProcessor
-
Returns the media types that can be produced.
- getProperty() - Method in class org.springframework.web.servlet.tags.BindTag
-
Retrieve the property that this tag is currently bound to,
or null
if bound to an object rather than a specific property.
- getPropertyEditor() - Method in class org.springframework.web.servlet.tags.form.AbstractDataBoundFormElementTag
-
- getPropertyPath() - Method in class org.springframework.web.servlet.tags.form.AbstractDataBoundFormElementTag
-
Build the property path for this tag, including the nested path
but not prefixed with the name of the form attribute.
- getQueryString() - Method in class org.springframework.web.servlet.support.RequestContext
-
Return the query string of the current request, that is, the part after
the request path.
- getReactiveAdapterRegistry() - Method in class org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter
-
Return the configured reactive type registry of adapters.
- getRedirectHosts() - Method in class org.springframework.web.servlet.view.UrlBasedViewResolver
-
Return the configured application hosts for redirect purposes.
- getRedirectPatterns() - Method in class org.springframework.web.servlet.mvc.method.annotation.ModelAndViewMethodReturnValueHandler
-
Return the configured redirect patterns, if any.
- getRedirectPatterns() - Method in class org.springframework.web.servlet.mvc.method.annotation.ViewNameMethodReturnValueHandler
-
The configured redirect patterns, if any.
- getRenderFunction() - Method in interface org.springframework.web.servlet.view.script.ScriptTemplateConfig
-
Return the render function name (optional).
- getRenderFunction() - Method in class org.springframework.web.servlet.view.script.ScriptTemplateConfigurer
-
- getRenderObject() - Method in interface org.springframework.web.servlet.view.script.ScriptTemplateConfig
-
Return the object where the render function belongs (optional).
- getRenderObject() - Method in class org.springframework.web.servlet.view.script.ScriptTemplateConfigurer
-
- getRequest() - Method in class org.springframework.web.servlet.support.RequestContext
-
Return the underlying HttpServletRequest.
- getRequestContext() - Method in class org.springframework.web.servlet.tags.RequestContextAwareTag
-
Return the current RequestContext.
- getRequestContextAttribute() - Method in class org.springframework.web.servlet.view.AbstractView
-
Return the name of the RequestContext attribute, if any.
- getRequestContextAttribute() - Method in class org.springframework.web.servlet.view.UrlBasedViewResolver
-
Return the name of the RequestContext attribute for all views, if any.
- getRequestDataValueProcessor() - Method in class org.springframework.web.servlet.support.RequestContext
-
Return the RequestDataValueProcessor instance to use obtained from the
WebApplicationContext under the name "requestDataValueProcessor"
.
- getRequestDispatcher(HttpServletRequest, String) - Method in class org.springframework.web.servlet.view.InternalResourceView
-
Obtain the RequestDispatcher to use for the forward/include.
- getRequestHandler() - Method in class org.springframework.web.servlet.config.annotation.ResourceHandlerRegistration
-
- getRequestToExpose(HttpServletRequest) - Method in class org.springframework.web.servlet.view.AbstractView
-
- getRequestUri() - Method in class org.springframework.web.servlet.support.RequestContext
-
Return the request URI of the original request, that is, the invoked URL
without parameters.
- getRequestURL() - Method in exception org.springframework.web.servlet.NoHandlerFoundException
-
- getRequestValueForAttribute(String, NativeWebRequest) - Method in class org.springframework.web.servlet.mvc.method.annotation.ServletModelAttributeMethodProcessor
-
Obtain a value from the request that may be used to instantiate the
model attribute through type conversion from String to the target type.
- getResolverChain() - Method in interface org.springframework.web.servlet.resource.ResourceTransformerChain
-
Return the ResourceResolverChain
that was used to resolve the
Resource
being transformed.
- getResource(String, Resource) - Method in class org.springframework.web.servlet.resource.PathResourceResolver
-
Find the resource under the given location.
- getResource(HttpServletRequest) - Method in class org.springframework.web.servlet.resource.ResourceHttpRequestHandler
-
- getResource(String) - Method in class org.springframework.web.servlet.view.script.ScriptTemplateView
-
- getResource(String) - Method in class org.springframework.web.servlet.view.tiles3.SpringWildcardServletTilesApplicationContext
-
- getResource(ApplicationResource, Locale) - Method in class org.springframework.web.servlet.view.tiles3.SpringWildcardServletTilesApplicationContext
-
- getResourceHttpMessageConverter() - Method in class org.springframework.web.servlet.resource.ResourceHttpRequestHandler
-
Return the configured resource converter.
- getResourceLoaderPath() - Method in class org.springframework.web.servlet.view.groovy.GroovyMarkupConfigurer
-
- getResourceLoaderPath() - Method in interface org.springframework.web.servlet.view.script.ScriptTemplateConfig
-
Return the resource loader path(s) via a Spring resource location.
- getResourceLoaderPath() - Method in class org.springframework.web.servlet.view.script.ScriptTemplateConfigurer
-
- getResourceRegionHttpMessageConverter() - Method in class org.springframework.web.servlet.resource.ResourceHttpRequestHandler
-
Return the configured resource region converter.
- getResourceResolvers() - Method in class org.springframework.web.servlet.config.annotation.ResourceChainRegistration
-
- getResourceResolvers() - Method in class org.springframework.web.servlet.resource.ResourceHttpRequestHandler
-
Return the list of configured resource resolvers.
- getResources(String) - Method in class org.springframework.web.servlet.view.tiles3.SpringWildcardServletTilesApplicationContext
-
- getResourceTransformers() - Method in class org.springframework.web.servlet.config.annotation.ResourceChainRegistration
-
- getResourceTransformers() - Method in class org.springframework.web.servlet.resource.ResourceHttpRequestHandler
-
Return the list of configured resource transformers.
- getResourceUrlProvider() - Method in class org.springframework.web.servlet.resource.ResourceTransformerSupport
-
Return the configured ResourceUrlProvider
.
- getResourceVersion(Resource) - Method in class org.springframework.web.servlet.resource.ContentVersionStrategy
-
- getResourceVersion(Resource) - Method in class org.springframework.web.servlet.resource.FixedVersionStrategy
-
- getResourceVersion(Resource) - Method in interface org.springframework.web.servlet.resource.VersionStrategy
-
Determine the version for the given resource.
- getResponseEncodedHtmlEscape() - Method in class org.springframework.web.servlet.support.RequestContext
-
Return the default setting about use of response encoding for HTML escape setting,
differentiating between no default specified and an explicit value.
- getResponseHeaders() - Method in interface org.springframework.web.servlet.resource.HttpResource
-
The HTTP headers to be contributed to the HTTP response
that serves the current resource.
- getReturnValueHandlers() - Method in class org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport
-
- getReturnValueHandlers() - Method in class org.springframework.web.servlet.mvc.method.annotation.ExceptionHandlerExceptionResolver
-
- getReturnValueHandlers() - Method in class org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter
-
- getReturnValueType(Object, MethodParameter) - Method in class org.springframework.web.servlet.mvc.method.annotation.AbstractMessageConverterMethodProcessor
-
Return the type of the value to be written to the response.
- getReturnValueType(Object, MethodParameter) - Method in class org.springframework.web.servlet.mvc.method.annotation.HttpEntityMethodProcessor
-
- getRootConfigClasses() - Method in class org.springframework.web.servlet.support.AbstractAnnotationConfigDispatcherServletInitializer
-
- getRootHandler() - Method in class org.springframework.web.servlet.handler.AbstractUrlHandlerMapping
-
Return the root handler for this handler mapping (registered for "/"),
or null
if none.
- getRouterFunction() - Method in class org.springframework.web.servlet.function.support.RouterFunctionMapping
-
- getRows() - Method in class org.springframework.web.servlet.tags.form.TextareaTag
-
Get the value of the 'rows
' attribute.
- getScripts() - Method in interface org.springframework.web.servlet.view.script.ScriptTemplateConfig
-
Return the scripts to be loaded by the script engine (library or user provided).
- getScripts() - Method in class org.springframework.web.servlet.view.script.ScriptTemplateConfigurer
-
- getServletApplicationContextInitializers() - Method in class org.springframework.web.servlet.support.AbstractDispatcherServletInitializer
-
Specify application context initializers to be applied to the servlet-specific
application context that the DispatcherServlet
is being created with.
- getServletConfigClasses() - Method in class org.springframework.web.servlet.support.AbstractAnnotationConfigDispatcherServletInitializer
-
- getServletContext() - Method in class org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport
-
- getServletContext() - Method in class org.springframework.web.servlet.support.RequestContext
-
Return the underlying ServletContext.
- getServletContextAttributeName() - Method in class org.springframework.web.servlet.FrameworkServlet
-
Return the ServletContext attribute name for this servlet's WebApplicationContext.
- getServletFilters() - Method in class org.springframework.web.servlet.support.AbstractDispatcherServletInitializer
-
Specify filters to add and map to the DispatcherServlet
.
- getServletMappings() - Method in class org.springframework.web.servlet.support.AbstractDispatcherServletInitializer
-
Specify the servlet mapping(s) for the DispatcherServlet
—
for example "/"
, "/app"
, etc.
- getServletName() - Method in class org.springframework.web.servlet.HttpServletBean
-
Overridden method that simply returns null
when no
ServletConfig set yet.
- getServletName() - Method in class org.springframework.web.servlet.support.AbstractDispatcherServletInitializer
-
- getServletRelativeAction() - Method in class org.springframework.web.servlet.tags.form.FormTag
-
Get the servlet-relative value of the 'action
' attribute.
- getSize() - Method in class org.springframework.web.servlet.tags.form.InputTag
-
Get the value of the 'size
' attribute.
- getSize() - Method in class org.springframework.web.servlet.tags.form.SelectTag
-
Get the value of the 'size
' attribute.
- getSourceTypes() - Method in class org.springframework.web.servlet.view.xslt.XsltView
-
Return the array of
Classes
that are supported when converting to an
XSLT
Source
.
- getStaticAttributes() - Method in class org.springframework.web.servlet.view.AbstractView
-
Return the static attributes for this view.
- getStatus() - Method in class org.springframework.web.servlet.ModelAndView
-
Return the configured HTTP status for the response, if any.
- getStatusCode() - Method in class org.springframework.web.servlet.mvc.ParameterizableViewController
-
Return the configured HTTP status code or null
.
- getStatusCodesAsMap() - Method in class org.springframework.web.servlet.handler.SimpleMappingExceptionResolver
-
- getStrategyForPath(String) - Method in class org.springframework.web.servlet.resource.VersionResourceResolver
-
Find a VersionStrategy
for the request path of the requested resource.
- getStrategyMap() - Method in class org.springframework.web.servlet.resource.VersionResourceResolver
-
Return the map with version strategies keyed by path pattern.
- getStylesheetSource() - Method in class org.springframework.web.servlet.view.xslt.XsltView
-
- getSuffix() - Method in class org.springframework.web.servlet.mvc.UrlFilenameViewController
-
Return the suffix to append to the request URL filename.
- getSuffix() - Method in class org.springframework.web.servlet.view.UrlBasedViewResolver
-
Return the suffix that gets appended to view names when building a URL.
- getSupportedLocales() - Method in class org.springframework.web.servlet.i18n.AcceptHeaderLocaleResolver
-
Return the configured list of supported locales.
- getSupportedMediaTypes(Class<?>) - Method in class org.springframework.web.servlet.mvc.method.annotation.AbstractMessageConverterMethodArgumentResolver
-
Return the media types supported by all provided message converters sorted
by specificity via MediaType.sortBySpecificity(List)
.
- getSupportedMethods() - Method in class org.springframework.web.servlet.support.WebContentGenerator
-
Return the HTTP methods that this content generator supports.
- getTabindex() - Method in class org.springframework.web.servlet.tags.form.AbstractHtmlElementTag
-
Get the value of the 'tabindex
' attribute.
- getTaglibFactory() - Method in interface org.springframework.web.servlet.view.freemarker.FreeMarkerConfig
-
Return the TaglibFactory
used to enable JSP tags to be
accessed from FreeMarker templates.
- getTaglibFactory() - Method in class org.springframework.web.servlet.view.freemarker.FreeMarkerConfigurer
-
Return the TaglibFactory object wrapped by this bean.
- getTarget() - Method in class org.springframework.web.servlet.tags.form.FormTag
-
Get the value of the 'target
' attribute.
- getTargetRequestParams() - Method in class org.springframework.web.servlet.FlashMap
-
Return the parameters identifying the target request, or an empty map.
- getTargetRequestPath() - Method in class org.springframework.web.servlet.FlashMap
-
Return the target URL path (or null
if none specified).
- getTaskExecutor() - Method in class org.springframework.web.servlet.config.annotation.AsyncSupportConfigurer
-
- getTemplate(Locale) - Method in class org.springframework.web.servlet.view.freemarker.FreeMarkerView
-
Retrieve the FreeMarker template for the given locale,
to be rendering by this view.
- getTemplate(String, Locale) - Method in class org.springframework.web.servlet.view.freemarker.FreeMarkerView
-
Retrieve the FreeMarker template specified by the given name,
using the encoding specified by the "encoding" bean property.
- getTemplate(String) - Method in class org.springframework.web.servlet.view.groovy.GroovyMarkupView
-
Return a template compiled by the configured Groovy Markup template engine
for the given view URL.
- getTemplate(String) - Method in class org.springframework.web.servlet.view.script.ScriptTemplateView
-
- getTemplateEngine() - Method in interface org.springframework.web.servlet.view.groovy.GroovyMarkupConfig
-
Return the Groovy MarkupTemplateEngine
for the current
web application context.
- getTemplateEngine() - Method in class org.springframework.web.servlet.view.groovy.GroovyMarkupConfigurer
-
- getTemplateLoader() - Method in class org.springframework.web.servlet.view.script.RenderingContext
-
Return a function that takes a template path as input and returns the template
content as a String.
- getTheme() - Method in class org.springframework.web.servlet.support.RequestContext
-
Return the current theme (never null
).
- getTheme(HttpServletRequest) - Static method in class org.springframework.web.servlet.support.RequestContextUtils
-
Retrieves the current theme from the given request, using the ThemeResolver
and ThemeSource bound to the request by the DispatcherServlet.
- getThemeMessage(String, String) - Method in class org.springframework.web.servlet.support.RequestContext
-
Retrieve the theme message for the given code.
- getThemeMessage(String, Object[], String) - Method in class org.springframework.web.servlet.support.RequestContext
-
Retrieve the theme message for the given code.
- getThemeMessage(String, List<?>, String) - Method in class org.springframework.web.servlet.support.RequestContext
-
Retrieve the theme message for the given code.
- getThemeMessage(String) - Method in class org.springframework.web.servlet.support.RequestContext
-
Retrieve the theme message for the given code.
- getThemeMessage(String, Object[]) - Method in class org.springframework.web.servlet.support.RequestContext
-
Retrieve the theme message for the given code.
- getThemeMessage(String, List<?>) - Method in class org.springframework.web.servlet.support.RequestContext
-
Retrieve the theme message for the given code.
- getThemeMessage(MessageSourceResolvable) - Method in class org.springframework.web.servlet.support.RequestContext
-
Retrieve the given MessageSourceResolvable in the current theme.
- getThemeResolver(HttpServletRequest) - Static method in class org.springframework.web.servlet.support.RequestContextUtils
-
Return the ThemeResolver that has been bound to the request by the
DispatcherServlet.
- getThemeSource() - Method in class org.springframework.web.servlet.DispatcherServlet
-
Return this servlet's ThemeSource, if any; else return null
.
- getThemeSource(HttpServletRequest) - Static method in class org.springframework.web.servlet.support.RequestContextUtils
-
Return the ThemeSource that has been bound to the request by the
DispatcherServlet.
- getTimeout() - Method in class org.springframework.web.servlet.config.annotation.AsyncSupportConfigurer
-
- getTimeout() - Method in class org.springframework.web.servlet.mvc.method.annotation.ResponseBodyEmitter
-
Return the configured timeout value, if any.
- getTimeZone() - Method in class org.springframework.web.servlet.support.RequestContext
-
Return the current TimeZone (or null
if none derivable from the request).
- getTimeZone(HttpServletRequest) - Static method in class org.springframework.web.servlet.support.RequestContextUtils
-
Retrieve the current time zone from the given request, using the
TimeZoneAwareLocaleResolver bound to the request by the DispatcherServlet
(if available), falling back to the system's default time zone.
- getTitle() - Method in class org.springframework.web.servlet.tags.form.AbstractHtmlElementTag
-
Get the value of the 'title
' attribute.
- getToStringInfix() - Method in class org.springframework.web.servlet.mvc.condition.AbstractRequestCondition
-
The notation to use when printing discrete items of content.
- getToStringInfix() - Method in class org.springframework.web.servlet.mvc.condition.CompositeRequestCondition
-
- getToStringInfix() - Method in class org.springframework.web.servlet.mvc.condition.ConsumesRequestCondition
-
- getToStringInfix() - Method in class org.springframework.web.servlet.mvc.condition.HeadersRequestCondition
-
- getToStringInfix() - Method in class org.springframework.web.servlet.mvc.condition.ParamsRequestCondition
-
- getToStringInfix() - Method in class org.springframework.web.servlet.mvc.condition.PathPatternsRequestCondition
-
- getToStringInfix() - Method in class org.springframework.web.servlet.mvc.condition.PatternsRequestCondition
-
- getToStringInfix() - Method in class org.springframework.web.servlet.mvc.condition.ProducesRequestCondition
-
- getToStringInfix() - Method in class org.springframework.web.servlet.mvc.condition.RequestConditionHolder
-
- getToStringInfix() - Method in class org.springframework.web.servlet.mvc.condition.RequestMethodsRequestCondition
-
- getTransformerFactory() - Method in class org.springframework.web.servlet.view.xslt.XsltView
-
Return the TransformerFactory that this XsltView uses.
- getType() - Method in class org.springframework.web.servlet.tags.form.ButtonTag
-
Get the value of the 'type
' attribute.
- getType() - Method in class org.springframework.web.servlet.tags.form.InputTag
-
Get the value of the 'type
' attribute.
- getType() - Method in class org.springframework.web.servlet.tags.form.PasswordInputTag
-
Return 'password
' causing the rendered HTML 'input
'
element to have a 'type
' of 'password
'.
- getUriTemplateVariables(NativeWebRequest) - Method in class org.springframework.web.servlet.mvc.method.annotation.ServletModelAttributeMethodProcessor
-
- getUrl() - Method in class org.springframework.web.servlet.view.AbstractUrlBasedView
-
Return the URL of the resource that this view wraps.
- getUrl() - Method in class org.springframework.web.servlet.view.script.RenderingContext
-
Return the URL of the rendered template.
- getUrlMap() - Method in class org.springframework.web.servlet.handler.SimpleUrlHandlerMapping
-
Allow Map access to the URL path mappings, with the option to add or
override specific entries.
- getUrlPath() - Method in class org.springframework.web.servlet.config.annotation.RedirectViewControllerRegistration
-
- getUrlPath() - Method in class org.springframework.web.servlet.config.annotation.ViewControllerRegistration
-
- getUrlPathHelper() - Method in class org.springframework.web.servlet.config.annotation.PathMatchConfigurer
-
- getUrlPathHelper() - Method in class org.springframework.web.servlet.handler.AbstractHandlerMapping
-
- getUrlPathHelper() - Method in class org.springframework.web.servlet.mvc.AbstractUrlViewController
-
Return the UrlPathHelper to use for the resolution of lookup paths.
- getUrlPathHelper() - Method in class org.springframework.web.servlet.mvc.method.RequestMappingInfo.BuilderConfiguration
-
- getUrlPathHelper() - Method in class org.springframework.web.servlet.resource.PathResourceResolver
-
The configured UrlPathHelper
.
- getUrlPathHelper() - Method in class org.springframework.web.servlet.resource.ResourceHttpRequestHandler
-
The configured UrlPathHelper
.
- getUrlPathHelper() - Method in class org.springframework.web.servlet.resource.ResourceUrlProvider
-
Return the configured UrlPathHelper
.
- getUrlPathHelper() - Method in class org.springframework.web.servlet.support.AbstractFlashMapManager
-
Return the UrlPathHelper implementation to use.
- getUrlPathHelper() - Method in class org.springframework.web.servlet.support.RequestContext
-
Return the UrlPathHelper used for context path and request URI decoding.
- getUrlPathHelperOrDefault() - Method in class org.springframework.web.servlet.config.annotation.PathMatchConfigurer
-
Return the configured UrlPathHelper or a default, shared instance otherwise.
- getUsernameForRequest(HttpServletRequest) - Method in class org.springframework.web.servlet.FrameworkServlet
-
Determine the username for the given request.
- getValidator() - Method in class org.springframework.web.servlet.config.annotation.DelegatingWebMvcConfiguration
-
- getValidator() - Method in class org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport
-
Override this method to provide a custom Validator
.
- getValidator() - Method in interface org.springframework.web.servlet.config.annotation.WebMvcConfigurer
-
Provide a custom Validator
instead of the one created by default.
- getValidator() - Method in class org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter
-
Deprecated.
Provide a custom Validator
instead of the one created by default.
- getValue() - Method in interface org.springframework.web.servlet.mvc.condition.NameValueExpression
-
- getValue() - Method in class org.springframework.web.servlet.support.BindStatus
-
Return the current value of the field, i.e.
- getValue() - Method in class org.springframework.web.servlet.tags.form.AbstractSingleCheckedElementTag
-
Get the value of the 'value
' attribute.
- getValue() - Method in class org.springframework.web.servlet.tags.form.ButtonTag
-
Get the value of the 'value
' attribute.
- getValue() - Method in class org.springframework.web.servlet.tags.form.OptionTag
-
Get the 'value' attribute of the rendered HTML <option>
tag.
- getValue() - Method in class org.springframework.web.servlet.tags.Param
-
Return the raw parameter value.
- getValueType() - Method in class org.springframework.web.servlet.support.BindStatus
-
Get the 'Class
' type of the field.
- getVaryByRequestHeaders() - Method in class org.springframework.web.servlet.support.WebContentGenerator
-
Return the configured request header names for the "Vary" response header.
- getVersionPathStrategy() - Method in class org.springframework.web.servlet.resource.AbstractVersionStrategy
-
- getView() - Method in class org.springframework.web.servlet.ModelAndView
-
Return the View object, or null
if we are using a view name
to be resolved by the DispatcherServlet via a ViewResolver.
- getView() - Method in class org.springframework.web.servlet.mvc.ParameterizableViewController
-
Return the View object, or null
if we are using a view name
to be resolved by the DispatcherServlet via a ViewResolver.
- getViewClass() - Method in class org.springframework.web.servlet.view.UrlBasedViewResolver
-
Return the view class to be used to create views.
- getViewController() - Method in class org.springframework.web.servlet.config.annotation.RedirectViewControllerRegistration
-
- getViewController() - Method in class org.springframework.web.servlet.config.annotation.ViewControllerRegistration
-
- getViewerPreferences() - Method in class org.springframework.web.servlet.view.document.AbstractPdfView
-
Return the viewer preferences for the PDF file.
- getViewName() - Method in class org.springframework.web.servlet.ModelAndView
-
Return the view name to be resolved by the DispatcherServlet
via a ViewResolver, or null
if we are using a View object.
- getViewName() - Method in class org.springframework.web.servlet.mvc.ParameterizableViewController
-
Return the name of the view to delegate to, or null
if using a
View instance.
- getViewName(HttpServletRequest) - Method in interface org.springframework.web.servlet.RequestToViewNameTranslator
-
- getViewName(HttpServletRequest) - Method in class org.springframework.web.servlet.view.DefaultRequestToViewNameTranslator
-
Translates the request URI of the incoming
HttpServletRequest
into the view name based on the configured parameters.
- getViewNameForRequest(HttpServletRequest) - Method in class org.springframework.web.servlet.mvc.AbstractUrlViewController
-
Return the name of the view to render for this request, based on the
given lookup path.
- getViewNameForRequest(HttpServletRequest) - Method in class org.springframework.web.servlet.mvc.UrlFilenameViewController
-
Returns view name based on the URL filename,
with prefix/suffix applied when appropriate.
- getViewNameForUrlPath(String) - Method in class org.springframework.web.servlet.mvc.UrlFilenameViewController
-
Returns view name based on the URL filename,
with prefix/suffix applied when appropriate.
- getViewNames() - Method in class org.springframework.web.servlet.view.UrlBasedViewResolver
-
Return the view names (or name patterns) that can be handled by this
ViewResolver
.
- getViewResolver() - Method in class org.springframework.web.servlet.config.annotation.UrlBasedViewResolverRegistration
-
- getViewResolvers() - Method in class org.springframework.web.servlet.config.annotation.ViewResolverRegistry
-
- getViewResolvers() - Method in class org.springframework.web.servlet.view.ContentNegotiatingViewResolver
-
- getViewResolvers() - Method in class org.springframework.web.servlet.view.ViewResolverComposite
-
Return the list of view viewResolvers to delegate to.
- getWebApplicationContext() - Method in class org.springframework.web.servlet.FrameworkServlet
-
Return this servlet's WebApplicationContext.
- getWebApplicationContext() - Method in class org.springframework.web.servlet.support.RequestContext
-
Return the current WebApplicationContext.
- getWebBindingInitializer() - Method in class org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter
-
Return the configured WebBindingInitializer, or null
if none.
- getWebRequest() - Method in class org.springframework.web.servlet.mvc.method.annotation.ServletWebArgumentResolverAdapter
-
- groovy() - Method in class org.springframework.web.servlet.config.annotation.ViewResolverRegistry
-
Register a Groovy markup view resolver with an empty default view name
prefix and a default suffix of ".tpl".
- GroovyMarkupConfig - Interface in org.springframework.web.servlet.view.groovy
-
Interface to be implemented by objects that configure and manage a Groovy
MarkupTemplateEngine
for automatic lookup in a web environment.
- GroovyMarkupConfigurer - Class in org.springframework.web.servlet.view.groovy
-
An extension of Groovy's
TemplateConfiguration
and
an implementation of Spring MVC's
GroovyMarkupConfig
for creating
a
MarkupTemplateEngine
for use in a web application.
- GroovyMarkupConfigurer() - Constructor for class org.springframework.web.servlet.view.groovy.GroovyMarkupConfigurer
-
- GroovyMarkupConfigurerBeanDefinitionParser - Class in org.springframework.web.servlet.config
-
Parse the <mvc:groovy-configurer>
MVC namespace element and register a
GroovyConfigurer
bean.
- GroovyMarkupConfigurerBeanDefinitionParser() - Constructor for class org.springframework.web.servlet.config.GroovyMarkupConfigurerBeanDefinitionParser
-
- GroovyMarkupView - Class in org.springframework.web.servlet.view.groovy
-
- GroovyMarkupView() - Constructor for class org.springframework.web.servlet.view.groovy.GroovyMarkupView
-
- GroovyMarkupViewResolver - Class in org.springframework.web.servlet.view.groovy
-
- GroovyMarkupViewResolver() - Constructor for class org.springframework.web.servlet.view.groovy.GroovyMarkupViewResolver
-
- GroovyMarkupViewResolver(String, String) - Constructor for class org.springframework.web.servlet.view.groovy.GroovyMarkupViewResolver
-
A convenience constructor that allows for specifying the
prefix
and
suffix
as constructor arguments.
- GzipResourceResolver - Class in org.springframework.web.servlet.resource
-
- GzipResourceResolver() - Constructor for class org.springframework.web.servlet.resource.GzipResourceResolver
-
Deprecated.
- RadioButtonsTag - Class in org.springframework.web.servlet.tags.form
-
The <radiobuttons>
tag renders multiple HTML 'input' tags with type 'radio'.
- RadioButtonsTag() - Constructor for class org.springframework.web.servlet.tags.form.RadioButtonsTag
-
- RadioButtonTag - Class in org.springframework.web.servlet.tags.form
-
The <radiobutton>
tag renders an HTML 'input' tag with type 'radio'.
- RadioButtonTag() - Constructor for class org.springframework.web.servlet.tags.form.RadioButtonTag
-
- range() - Method in interface org.springframework.web.servlet.function.ServerRequest.Headers
-
Get the value of the Range
header.
- rawStatusCode() - Method in interface org.springframework.web.servlet.function.ServerResponse
-
Return the (potentially non-standard) status code of this response.
- readBodyContent() - Method in class org.springframework.web.servlet.tags.EscapeBodyTag
-
Read the unescaped body content from the page.
- READONLY_ATTRIBUTE - Static variable in class org.springframework.web.servlet.tags.form.AbstractHtmlInputElementTag
-
The name of the 'readonly
' attribute.
- readPdfResource() - Method in class org.springframework.web.servlet.view.document.AbstractPdfStamperView
-
Read the raw PDF resource into an iText PdfReader.
- readWithMessageConverters(NativeWebRequest, MethodParameter, Type) - Method in class org.springframework.web.servlet.mvc.method.annotation.AbstractMessageConverterMethodArgumentResolver
-
Create the method argument value of the expected parameter type by
reading from the given request.
- readWithMessageConverters(HttpInputMessage, MethodParameter, Type) - Method in class org.springframework.web.servlet.mvc.method.annotation.AbstractMessageConverterMethodArgumentResolver
-
Create the method argument value of the expected parameter type by reading
from the given HttpInputMessage.
- readWithMessageConverters(NativeWebRequest, MethodParameter, Type) - Method in class org.springframework.web.servlet.mvc.method.annotation.RequestResponseBodyMethodProcessor
-
- reconnectTime(long) - Method in interface org.springframework.web.servlet.mvc.method.annotation.SseEmitter.SseEventBuilder
-
Add an SSE "retry" line.
- REDIRECT_URL_PREFIX - Static variable in class org.springframework.web.servlet.view.UrlBasedViewResolver
-
Prefix for special view names that specify a redirect URL (usually
to a controller after a form has been submitted and processed).
- RedirectAttributes - Interface in org.springframework.web.servlet.mvc.support
-
A specialization of the Model
interface that controllers can use to
select attributes for a redirect scenario.
- RedirectAttributesMethodArgumentResolver - Class in org.springframework.web.servlet.mvc.method.annotation
-
- RedirectAttributesMethodArgumentResolver() - Constructor for class org.springframework.web.servlet.mvc.method.annotation.RedirectAttributesMethodArgumentResolver
-
- RedirectAttributesModelMap - Class in org.springframework.web.servlet.mvc.support
-
A
ModelMap
implementation of
RedirectAttributes
that formats
values as Strings using a
DataBinder
.
- RedirectAttributesModelMap() - Constructor for class org.springframework.web.servlet.mvc.support.RedirectAttributesModelMap
-
Default constructor without a DataBinder.
- RedirectAttributesModelMap(DataBinder) - Constructor for class org.springframework.web.servlet.mvc.support.RedirectAttributesModelMap
-
Constructor with a DataBinder.
- RedirectView - Class in org.springframework.web.servlet.view
-
View that redirects to an absolute, context relative, or current request
relative URL.
- RedirectView() - Constructor for class org.springframework.web.servlet.view.RedirectView
-
Constructor for use as a bean.
- RedirectView(String) - Constructor for class org.springframework.web.servlet.view.RedirectView
-
Create a new RedirectView with the given URL.
- RedirectView(String, boolean) - Constructor for class org.springframework.web.servlet.view.RedirectView
-
Create a new RedirectView with the given URL.
- RedirectView(String, boolean, boolean) - Constructor for class org.springframework.web.servlet.view.RedirectView
-
Create a new RedirectView with the given URL.
- RedirectView(String, boolean, boolean, boolean) - Constructor for class org.springframework.web.servlet.view.RedirectView
-
Create a new RedirectView with the given URL.
- RedirectViewControllerRegistration - Class in org.springframework.web.servlet.config.annotation
-
Assist with the registration of a single redirect view controller.
- RedirectViewControllerRegistration(String, String) - Constructor for class org.springframework.web.servlet.config.annotation.RedirectViewControllerRegistration
-
- refresh() - Method in class org.springframework.web.servlet.FrameworkServlet
-
Refresh this servlet's application context, as well as the
dependent state of the servlet.
- registerCallableInterceptors(CallableProcessingInterceptor...) - Method in class org.springframework.web.servlet.config.annotation.AsyncSupportConfigurer
-
Configure lifecycle interceptors with callbacks around concurrent request
execution that starts when a controller returns a
Callable
.
- registerCorsConfigurations(Map<String, CorsConfiguration>, ParserContext, Object) - Static method in class org.springframework.web.servlet.config.MvcNamespaceUtils
-
Registers a Map<String, CorsConfiguration>
(mapped CorsConfiguration
s)
under a well-known name unless already registered.
- registerDefaultComponents(ParserContext, Object) - Static method in class org.springframework.web.servlet.config.MvcNamespaceUtils
-
- registerDeferredResultInterceptors(DeferredResultProcessingInterceptor...) - Method in class org.springframework.web.servlet.config.annotation.AsyncSupportConfigurer
-
Configure lifecycle interceptors with callbacks around concurrent request
execution that starts when a controller returns a DeferredResult
.
- registerDispatcherServlet(ServletContext) - Method in class org.springframework.web.servlet.support.AbstractDispatcherServletInitializer
-
- registerExtension(String, String) - Method in class org.springframework.web.servlet.resource.EncodedResourceResolver
-
- registerHandler(String[], String) - Method in class org.springframework.web.servlet.handler.AbstractUrlHandlerMapping
-
Register the specified handler for the given URL paths.
- registerHandler(String, Object) - Method in class org.springframework.web.servlet.handler.AbstractUrlHandlerMapping
-
Register the specified handler for the given URL path.
- registerHandlerMethod(Object, Method, T) - Method in class org.springframework.web.servlet.handler.AbstractHandlerMethodMapping
-
Register a handler method and its unique mapping.
- registerHandlerMethod(Object, Method, RequestMappingInfo) - Method in class org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping
-
Register a handler method and its unique mapping.
- registerHandlers(Map<String, Object>) - Method in class org.springframework.web.servlet.handler.SimpleUrlHandlerMapping
-
Register all handlers specified in the URL map for the corresponding paths.
- registerMapping(T, Object, Method) - Method in class org.springframework.web.servlet.handler.AbstractHandlerMethodMapping
-
Register the given mapping.
- registerMapping(RequestMappingInfo, Object, Method) - Method in class org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping
-
- registerPathMatcher(RuntimeBeanReference, ParserContext, Object) - Static method in class org.springframework.web.servlet.config.MvcNamespaceUtils
-
Adds an alias to an existing well-known name or registers a new instance of a PathMatcher
under that well-known name, unless already registered.
- registerServletFilter(ServletContext, Filter) - Method in class org.springframework.web.servlet.support.AbstractDispatcherServletInitializer
-
Add the given filter to the ServletContext and map it to the
DispatcherServlet
as follows:
a default filter name is chosen based on its concrete type
the
asyncSupported
flag is set depending on the
return value of
asyncSupported
a filter mapping is created with dispatcher types
REQUEST
,
FORWARD
,
INCLUDE
, and conditionally
ASYNC
depending
on the return value of
asyncSupported
- registerUrlPathHelper(RuntimeBeanReference, ParserContext, Object) - Static method in class org.springframework.web.servlet.config.MvcNamespaceUtils
-
Adds an alias to an existing well-known name or registers a new instance of a UrlPathHelper
under that well-known name, unless already registered.
- relativeTo(UriComponentsBuilder) - Static method in class org.springframework.web.servlet.mvc.method.annotation.MvcUriComponentsBuilder
-
Create an instance of this class with a base URL.
- release() - Method in class org.springframework.web.servlet.tags.ArgumentTag
-
- release() - Method in class org.springframework.web.servlet.tags.MessageTag
-
- release() - Method in class org.springframework.web.servlet.tags.ParamTag
-
- remoteAddress(InetSocketAddress) - Method in interface org.springframework.web.servlet.function.ServerRequest.Builder
-
Set the remote address of the request.
- remoteAddress() - Method in interface org.springframework.web.servlet.function.ServerRequest
-
Get the remote address to which this request is connected, if available.
- removeAttributes() - Method in class org.springframework.web.servlet.tags.form.AbstractHtmlElementBodyTag
-
- removeAttributes() - Method in class org.springframework.web.servlet.tags.form.ErrorsTag
-
- removeAttributes() - Method in class org.springframework.web.servlet.tags.form.OptionTag
-
- removeFromCache(String, Locale) - Method in class org.springframework.web.servlet.view.AbstractCachingViewResolver
-
Provides functionality to clear the cache for a certain view.
- removePathExtension() - Method in class org.springframework.web.servlet.support.ServletUriComponentsBuilder
-
- removeVersion(String, String) - Method in class org.springframework.web.servlet.resource.AbstractVersionStrategy.FileNameVersionPathStrategy
-
- removeVersion(String, String) - Method in class org.springframework.web.servlet.resource.AbstractVersionStrategy.PrefixVersionPathStrategy
-
- removeVersion(String, String) - Method in class org.springframework.web.servlet.resource.AbstractVersionStrategy
-
- removeVersion(String, String) - Method in interface org.springframework.web.servlet.resource.VersionPathStrategy
-
Remove the version from the request path.
- render(ModelAndView, HttpServletRequest, HttpServletResponse) - Method in class org.springframework.web.servlet.DispatcherServlet
-
Render the given ModelAndView.
- render(String, Object...) - Method in interface org.springframework.web.servlet.function.ServerResponse.BodyBuilder
-
Render the template with the given name
using the given modelAttributes
.
- render(String, Map<String, ?>) - Method in interface org.springframework.web.servlet.function.ServerResponse.BodyBuilder
-
Render the template with the given name
using the given model
.
- render(Map<String, ?>, HttpServletRequest, HttpServletResponse) - Method in class org.springframework.web.servlet.view.AbstractView
-
Prepares the view given the specified model, merging it with static
attributes and a RequestContext attribute, if necessary.
- render(Map<String, ?>, HttpServletRequest, HttpServletResponse) - Method in interface org.springframework.web.servlet.View
-
Render the view given the specified model.
- renderDefaultContent(TagWriter) - Method in class org.springframework.web.servlet.tags.form.AbstractHtmlElementBodyTag
-
- renderDefaultContent(TagWriter) - Method in class org.springframework.web.servlet.tags.form.ErrorsTag
-
- renderDefaultContent(TagWriter) - Method in class org.springframework.web.servlet.tags.form.OptionTag
-
- renderFromBodyContent(BodyContent, TagWriter) - Method in class org.springframework.web.servlet.tags.form.AbstractHtmlElementBodyTag
-
Render the tag contents based on the supplied
BodyContent
.
- renderFromBodyContent(BodyContent, TagWriter) - Method in class org.springframework.web.servlet.tags.form.OptionTag
-
- renderFromBoolean(Boolean, TagWriter) - Method in class org.springframework.web.servlet.tags.form.AbstractCheckedElementTag
-
Render the 'input(checkbox)
' with the supplied value, marking
the 'input
' element as 'checked' if the supplied Boolean is
true
.
- renderFromValue(Object, TagWriter) - Method in class org.springframework.web.servlet.tags.form.AbstractCheckedElementTag
-
Render the 'input(checkbox)
' with the supplied value, marking the
'input
' element as 'checked' if the supplied value matches the
bound value.
- renderFromValue(Object, Object, TagWriter) - Method in class org.springframework.web.servlet.tags.form.AbstractCheckedElementTag
-
Render the 'input(checkbox)
' with the supplied value, marking the
'input
' element as 'checked' if the supplied value matches the
bound value.
- RenderingContext - Class in org.springframework.web.servlet.view.script
-
Context passed to
ScriptTemplateView
render function in order to make
the application context, the locale, the template loader and the url available on
scripting side.
- RenderingContext(ApplicationContext, Locale, Function<String, String>, String) - Constructor for class org.springframework.web.servlet.view.script.RenderingContext
-
Create a new RenderingContext
.
- RenderingResponse - Interface in org.springframework.web.servlet.function
-
Rendering-specific subtype of
ServerResponse
that exposes model and template data.
- RenderingResponse.Builder - Interface in org.springframework.web.servlet.function
-
Defines a builder for RenderingResponse
.
- renderMergedOutputModel(Map<String, Object>, HttpServletRequest, HttpServletResponse) - Method in class org.springframework.web.servlet.view.AbstractTemplateView
-
- renderMergedOutputModel(Map<String, Object>, HttpServletRequest, HttpServletResponse) - Method in class org.springframework.web.servlet.view.AbstractView
-
Subclasses must implement this method to actually render the view.
- renderMergedOutputModel(Map<String, Object>, HttpServletRequest, HttpServletResponse) - Method in class org.springframework.web.servlet.view.document.AbstractPdfStamperView
-
- renderMergedOutputModel(Map<String, Object>, HttpServletRequest, HttpServletResponse) - Method in class org.springframework.web.servlet.view.document.AbstractPdfView
-
- renderMergedOutputModel(Map<String, Object>, HttpServletRequest, HttpServletResponse) - Method in class org.springframework.web.servlet.view.document.AbstractXlsView
-
Renders the Excel view, given the specified model.
- renderMergedOutputModel(Map<String, Object>, HttpServletRequest, HttpServletResponse) - Method in class org.springframework.web.servlet.view.feed.AbstractFeedView
-
- renderMergedOutputModel(Map<String, Object>, HttpServletRequest, HttpServletResponse) - Method in class org.springframework.web.servlet.view.InternalResourceView
-
Render the internal resource given the specified model.
- renderMergedOutputModel(Map<String, Object>, HttpServletRequest, HttpServletResponse) - Method in class org.springframework.web.servlet.view.json.AbstractJackson2View
-
- renderMergedOutputModel(Map<String, Object>, HttpServletRequest, HttpServletResponse) - Method in class org.springframework.web.servlet.view.RedirectView
-
Convert model to request parameters and redirect to the given URL.
- renderMergedOutputModel(Map<String, Object>, HttpServletRequest, HttpServletResponse) - Method in class org.springframework.web.servlet.view.script.ScriptTemplateView
-
- renderMergedOutputModel(Map<String, Object>, HttpServletRequest, HttpServletResponse) - Method in class org.springframework.web.servlet.view.tiles3.TilesView
-
- renderMergedOutputModel(Map<String, Object>, HttpServletRequest, HttpServletResponse) - Method in class org.springframework.web.servlet.view.xml.MarshallingView
-
- renderMergedOutputModel(Map<String, Object>, HttpServletRequest, HttpServletResponse) - Method in class org.springframework.web.servlet.view.xslt.XsltView
-
- renderMergedTemplateModel(Map<String, Object>, HttpServletRequest, HttpServletResponse) - Method in class org.springframework.web.servlet.view.AbstractTemplateView
-
Subclasses must implement this method to actually render the view.
- renderMergedTemplateModel(Map<String, Object>, HttpServletRequest, HttpServletResponse) - Method in class org.springframework.web.servlet.view.freemarker.FreeMarkerView
-
Process the model map by merging it with the FreeMarker template.
- renderMergedTemplateModel(Map<String, Object>, HttpServletRequest, HttpServletResponse) - Method in class org.springframework.web.servlet.view.groovy.GroovyMarkupView
-
- renderWorkbook(Workbook, HttpServletResponse) - Method in class org.springframework.web.servlet.view.document.AbstractXlsView
-
The actual render step: taking the POI Workbook
and rendering
it to the given response.
- renderWorkbook(Workbook, HttpServletResponse) - Method in class org.springframework.web.servlet.view.document.AbstractXlsxStreamingView
-
This implementation disposes of the SXSSFWorkbook
when done with rendering.
- replaceMediaTypes(Map<String, MediaType>) - Method in class org.springframework.web.servlet.config.annotation.ContentNegotiationConfigurer
-
- replaceUriTemplateParams(String, List<Param>, Set<String>) - Method in class org.springframework.web.servlet.tags.UrlTag
-
Replace template markers in the URL matching available parameters.
- replaceUriTemplateVariables(String, Map<String, Object>, Map<String, String>, String) - Method in class org.springframework.web.servlet.view.RedirectView
-
Replace URI template variables in the target URL with encoded model
attributes or URI variables from the current request.
- REQUEST_ATTRIBUTE - Static variable in class org.springframework.web.servlet.function.RouterFunctions
-
- REQUEST_CONTEXT_PAGE_ATTRIBUTE - Static variable in class org.springframework.web.servlet.tags.RequestContextAwareTag
-
- REQUEST_DATA_VALUE_PROCESSOR_BEAN_NAME - Static variable in class org.springframework.web.servlet.support.RequestContextUtils
-
- REQUEST_TO_VIEW_NAME_TRANSLATOR_BEAN_NAME - Static variable in class org.springframework.web.servlet.DispatcherServlet
-
Well-known name for the RequestToViewNameTranslator object in the bean factory for this namespace.
- RequestAttributeMethodArgumentResolver - Class in org.springframework.web.servlet.mvc.method.annotation
-
Resolves method arguments annotated with an @RequestAttribute
.
- RequestAttributeMethodArgumentResolver() - Constructor for class org.springframework.web.servlet.mvc.method.annotation.RequestAttributeMethodArgumentResolver
-
- RequestBodyAdvice - Interface in org.springframework.web.servlet.mvc.method.annotation
-
Allows customizing the request before its body is read and converted into an
Object and also allows for processing of the resulting Object before it is
passed into a controller method as an @RequestBody
or an
HttpEntity
method argument.
- RequestBodyAdviceAdapter - Class in org.springframework.web.servlet.mvc.method.annotation
-
A convenient starting point for implementing
RequestBodyAdvice
with default method implementations.
- RequestBodyAdviceAdapter() - Constructor for class org.springframework.web.servlet.mvc.method.annotation.RequestBodyAdviceAdapter
-
- RequestCondition<T> - Interface in org.springframework.web.servlet.mvc.condition
-
Contract for request mapping conditions.
- RequestConditionHolder - Class in org.springframework.web.servlet.mvc.condition
-
A holder for a
RequestCondition
useful when the type of the request
condition is not known ahead of time, e.g.
- RequestConditionHolder(RequestCondition<?>) - Constructor for class org.springframework.web.servlet.mvc.condition.RequestConditionHolder
-
Create a new holder to wrap the given request condition.
- RequestContext - Class in org.springframework.web.servlet.support
-
Context holder for request-specific state, like current web application context, current locale,
current theme, and potential binding errors.
- RequestContext(HttpServletRequest) - Constructor for class org.springframework.web.servlet.support.RequestContext
-
Create a new RequestContext for the given request, using the request attributes for Errors retrieval.
- RequestContext(HttpServletRequest, HttpServletResponse) - Constructor for class org.springframework.web.servlet.support.RequestContext
-
Create a new RequestContext for the given request, using the request attributes for Errors retrieval.
- RequestContext(HttpServletRequest, ServletContext) - Constructor for class org.springframework.web.servlet.support.RequestContext
-
Create a new RequestContext for the given request, using the request attributes for Errors retrieval.
- RequestContext(HttpServletRequest, Map<String, Object>) - Constructor for class org.springframework.web.servlet.support.RequestContext
-
Create a new RequestContext for the given request, using the given model attributes for Errors retrieval.
- RequestContext(HttpServletRequest, HttpServletResponse, ServletContext, Map<String, Object>) - Constructor for class org.springframework.web.servlet.support.RequestContext
-
Create a new RequestContext for the given request, using the given model attributes for Errors retrieval.
- RequestContextAwareTag - Class in org.springframework.web.servlet.tags
-
- RequestContextAwareTag() - Constructor for class org.springframework.web.servlet.tags.RequestContextAwareTag
-
- RequestContextUtils - Class in org.springframework.web.servlet.support
-
Utility class for easy access to request-specific state which has been
set by the
DispatcherServlet
.
- RequestContextUtils() - Constructor for class org.springframework.web.servlet.support.RequestContextUtils
-
- RequestDataValueProcessor - Interface in org.springframework.web.servlet.support
-
A contract for inspecting and potentially modifying request data values such
as URL query parameters or form field values before they are rendered by a
view or before a redirect.
- requestMappingHandlerAdapter(ContentNegotiationManager, FormattingConversionService, Validator) - Method in class org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport
-
- RequestMappingHandlerAdapter - Class in org.springframework.web.servlet.mvc.method.annotation
-
- RequestMappingHandlerAdapter() - Constructor for class org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter
-
- requestMappingHandlerMapping(ContentNegotiationManager, FormattingConversionService, ResourceUrlProvider) - Method in class org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport
-
- RequestMappingHandlerMapping - Class in org.springframework.web.servlet.mvc.method.annotation
-
Creates
RequestMappingInfo
instances from type and method-level
@RequestMapping
annotations in
@Controller
classes.
- RequestMappingHandlerMapping() - Constructor for class org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping
-
- RequestMappingInfo - Class in org.springframework.web.servlet.mvc.method
-
Request mapping information.
- RequestMappingInfo(String, PatternsRequestCondition, RequestMethodsRequestCondition, ParamsRequestCondition, HeadersRequestCondition, ConsumesRequestCondition, ProducesRequestCondition, RequestCondition<?>) - Constructor for class org.springframework.web.servlet.mvc.method.RequestMappingInfo
-
- RequestMappingInfo(PatternsRequestCondition, RequestMethodsRequestCondition, ParamsRequestCondition, HeadersRequestCondition, ConsumesRequestCondition, ProducesRequestCondition, RequestCondition<?>) - Constructor for class org.springframework.web.servlet.mvc.method.RequestMappingInfo
-
- RequestMappingInfo(RequestMappingInfo, RequestCondition<?>) - Constructor for class org.springframework.web.servlet.mvc.method.RequestMappingInfo
-
- RequestMappingInfo.Builder - Interface in org.springframework.web.servlet.mvc.method
-
Defines a builder for creating a RequestMappingInfo.
- RequestMappingInfo.BuilderConfiguration - Class in org.springframework.web.servlet.mvc.method
-
Container for configuration options used for request mapping purposes.
- RequestMappingInfoHandlerMapping - Class in org.springframework.web.servlet.mvc.method
-
Abstract base class for classes for which
RequestMappingInfo
defines
the mapping between a request and a handler method.
- RequestMappingInfoHandlerMapping() - Constructor for class org.springframework.web.servlet.mvc.method.RequestMappingInfoHandlerMapping
-
- RequestMappingInfoHandlerMethodMappingNamingStrategy - Class in org.springframework.web.servlet.mvc.method
-
- RequestMappingInfoHandlerMethodMappingNamingStrategy() - Constructor for class org.springframework.web.servlet.mvc.method.RequestMappingInfoHandlerMethodMappingNamingStrategy
-
- RequestMatchResult - Class in org.springframework.web.servlet.handler
-
Container for the result from request pattern matching via
MatchableHandlerMapping
with a method to further extract
URI template variables from the pattern.
- RequestMatchResult(PathPattern, PathContainer) - Constructor for class org.springframework.web.servlet.handler.RequestMatchResult
-
Create an instance with the matched PathPattern
.
- RequestMatchResult(String, String, PathMatcher) - Constructor for class org.springframework.web.servlet.handler.RequestMatchResult
-
Create an instance with the matched String pattern.
- RequestMethodsRequestCondition - Class in org.springframework.web.servlet.mvc.condition
-
A logical disjunction (' || ') request condition that matches a request
against a set of RequestMethods
.
- RequestMethodsRequestCondition(RequestMethod...) - Constructor for class org.springframework.web.servlet.mvc.condition.RequestMethodsRequestCondition
-
Create a new instance with the given request methods.
- RequestPartMethodArgumentResolver - Class in org.springframework.web.servlet.mvc.method.annotation
-
Resolves the following method arguments:
Annotated with @RequestPart
Of type MultipartFile
in conjunction with Spring's MultipartResolver
abstraction
Of type javax.servlet.http.Part
in conjunction with Servlet 3.0 multipart requests
- RequestPartMethodArgumentResolver(List<HttpMessageConverter<?>>) - Constructor for class org.springframework.web.servlet.mvc.method.annotation.RequestPartMethodArgumentResolver
-
Basic constructor with converters only.
- RequestPartMethodArgumentResolver(List<HttpMessageConverter<?>>, List<Object>) - Constructor for class org.springframework.web.servlet.mvc.method.annotation.RequestPartMethodArgumentResolver
-
Constructor with converters and RequestBodyAdvice
and
ResponseBodyAdvice
.
- requestPath() - Method in interface org.springframework.web.servlet.function.ServerRequest
-
Get the request path as a PathContainer
.
- RequestPredicate - Interface in org.springframework.web.servlet.function
-
- RequestPredicates - Class in org.springframework.web.servlet.function
-
Implementations of
RequestPredicate
that implement various useful
request matching operations, such as matching based on path, HTTP method, etc.
- RequestPredicates() - Constructor for class org.springframework.web.servlet.function.RequestPredicates
-
- RequestPredicates.Visitor - Interface in org.springframework.web.servlet.function
-
Receives notifications from the logical structure of request predicates.
- RequestResponseBodyMethodProcessor - Class in org.springframework.web.servlet.mvc.method.annotation
-
Resolves method arguments annotated with @RequestBody
and handles return
values from methods annotated with @ResponseBody
by reading and writing
to the body of the request or response with an HttpMessageConverter
.
- RequestResponseBodyMethodProcessor(List<HttpMessageConverter<?>>) - Constructor for class org.springframework.web.servlet.mvc.method.annotation.RequestResponseBodyMethodProcessor
-
Basic constructor with converters only.
- RequestResponseBodyMethodProcessor(List<HttpMessageConverter<?>>, ContentNegotiationManager) - Constructor for class org.springframework.web.servlet.mvc.method.annotation.RequestResponseBodyMethodProcessor
-
Basic constructor with converters and ContentNegotiationManager
.
- RequestResponseBodyMethodProcessor(List<HttpMessageConverter<?>>, List<Object>) - Constructor for class org.springframework.web.servlet.mvc.method.annotation.RequestResponseBodyMethodProcessor
-
Complete constructor for resolving @RequestBody
method arguments.
- RequestResponseBodyMethodProcessor(List<HttpMessageConverter<?>>, ContentNegotiationManager, List<Object>) - Constructor for class org.springframework.web.servlet.mvc.method.annotation.RequestResponseBodyMethodProcessor
-
Complete constructor for resolving @RequestBody
and handling
@ResponseBody
.
- RequestToViewNameTranslator - Interface in org.springframework.web.servlet
-
Strategy interface for translating an incoming
HttpServletRequest
into a
logical view name when no view name is explicitly supplied.
- requiredViewClass() - Method in class org.springframework.web.servlet.view.AbstractTemplateViewResolver
-
- requiredViewClass() - Method in class org.springframework.web.servlet.view.freemarker.FreeMarkerViewResolver
-
- requiredViewClass() - Method in class org.springframework.web.servlet.view.groovy.GroovyMarkupViewResolver
-
- requiredViewClass() - Method in class org.springframework.web.servlet.view.InternalResourceViewResolver
-
- requiredViewClass() - Method in class org.springframework.web.servlet.view.script.ScriptTemplateViewResolver
-
- requiredViewClass() - Method in class org.springframework.web.servlet.view.tiles3.TilesViewResolver
-
- requiredViewClass() - Method in class org.springframework.web.servlet.view.UrlBasedViewResolver
-
Return the required type of view for this resolver.
- requiredViewClass() - Method in class org.springframework.web.servlet.view.xslt.XsltViewResolver
-
- requiresDestruction(Object) - Method in class org.springframework.web.servlet.handler.SimpleServletPostProcessor
-
- resolveAction() - Method in class org.springframework.web.servlet.tags.form.FormTag
-
Resolve the value of the 'action
' attribute.
- resolveArgument(MethodParameter, ModelAndViewContainer, NativeWebRequest, WebDataBinderFactory) - Method in class org.springframework.web.servlet.mvc.method.annotation.ContinuationHandlerMethodArgumentResolver
-
- resolveArgument(MethodParameter, ModelAndViewContainer, NativeWebRequest, WebDataBinderFactory) - Method in class org.springframework.web.servlet.mvc.method.annotation.HttpEntityMethodProcessor
-
- resolveArgument(MethodParameter, ModelAndViewContainer, NativeWebRequest, WebDataBinderFactory) - Method in class org.springframework.web.servlet.mvc.method.annotation.MatrixVariableMapMethodArgumentResolver
-
- resolveArgument(MethodParameter, ModelAndViewContainer, NativeWebRequest, WebDataBinderFactory) - Method in class org.springframework.web.servlet.mvc.method.annotation.PathVariableMapMethodArgumentResolver
-
Return a Map with all URI template variables or an empty map.
- resolveArgument(MethodParameter, ModelAndViewContainer, NativeWebRequest, WebDataBinderFactory) - Method in class org.springframework.web.servlet.mvc.method.annotation.PrincipalMethodArgumentResolver
-
- resolveArgument(MethodParameter, ModelAndViewContainer, NativeWebRequest, WebDataBinderFactory) - Method in class org.springframework.web.servlet.mvc.method.annotation.RedirectAttributesMethodArgumentResolver
-
- resolveArgument(MethodParameter, ModelAndViewContainer, NativeWebRequest, WebDataBinderFactory) - Method in class org.springframework.web.servlet.mvc.method.annotation.RequestPartMethodArgumentResolver
-
- resolveArgument(MethodParameter, ModelAndViewContainer, NativeWebRequest, WebDataBinderFactory) - Method in class org.springframework.web.servlet.mvc.method.annotation.RequestResponseBodyMethodProcessor
-
Throws MethodArgumentNotValidException if validation fails.
- resolveArgument(MethodParameter, ModelAndViewContainer, NativeWebRequest, WebDataBinderFactory) - Method in class org.springframework.web.servlet.mvc.method.annotation.ServletRequestMethodArgumentResolver
-
- resolveArgument(MethodParameter, ModelAndViewContainer, NativeWebRequest, WebDataBinderFactory) - Method in class org.springframework.web.servlet.mvc.method.annotation.ServletResponseMethodArgumentResolver
-
Set ModelAndViewContainer.setRequestHandled(boolean)
to
false
to indicate that the method signature provides access
to the response.
- resolveArgument(MethodParameter, ModelAndViewContainer, NativeWebRequest, WebDataBinderFactory) - Method in class org.springframework.web.servlet.mvc.method.annotation.UriComponentsBuilderMethodArgumentResolver
-
- resolveArguments(Object) - Method in class org.springframework.web.servlet.tags.MessageTag
-
Resolve the given arguments Object into an arguments array.
- resolveConstructorArgument(String, Class<?>, NativeWebRequest) - Method in class org.springframework.web.servlet.mvc.method.annotation.ServletModelAttributeMethodProcessor
-
- resolveCssClass() - Method in class org.springframework.web.servlet.tags.form.AbstractHtmlElementTag
-
Gets the appropriate CSS class to use based on the state of the current
BindStatus
object.
- resolveCssClass() - Method in class org.springframework.web.servlet.tags.form.FormTag
-
Override resolve CSS class since error class is not supported.
- RESOLVED_RESOURCE_CACHE_KEY_PREFIX - Static variable in class org.springframework.web.servlet.resource.CachingResourceResolver
-
The prefix used for resolved resource cache keys.
- RESOLVED_URL_PATH_CACHE_KEY_PREFIX - Static variable in class org.springframework.web.servlet.resource.CachingResourceResolver
-
The prefix used for resolved URL path cache keys.
- resolveEmbeddedValuesInPatterns(String[]) - Method in class org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping
-
Resolve placeholder values in the given array of patterns.
- resolveException(HttpServletRequest, HttpServletResponse, Object, Exception) - Method in class org.springframework.web.servlet.handler.AbstractHandlerExceptionResolver
-
Check whether this resolver is supposed to apply (i.e.
- resolveException(HttpServletRequest, HttpServletResponse, Object, Exception) - Method in class org.springframework.web.servlet.handler.HandlerExceptionResolverComposite
-
Resolve the exception by iterating over the list of configured exception resolvers.
- resolveException(HttpServletRequest, HttpServletResponse, Object, Exception) - Method in interface org.springframework.web.servlet.HandlerExceptionResolver
-
Try to resolve the given exception that got thrown during handler execution,
returning a
ModelAndView
that represents a specific error page if appropriate.
- resolveFor() - Method in class org.springframework.web.servlet.tags.form.LabelTag
-
Determine the 'for
' attribute value for this tag,
autogenerating one if none specified.
- resolveId(Element, AbstractBeanDefinition, ParserContext) - Method in class org.springframework.web.servlet.config.FreeMarkerConfigurerBeanDefinitionParser
-
- resolveId(Element, AbstractBeanDefinition, ParserContext) - Method in class org.springframework.web.servlet.config.GroovyMarkupConfigurerBeanDefinitionParser
-
- resolveId(Element, AbstractBeanDefinition, ParserContext) - Method in class org.springframework.web.servlet.config.ScriptTemplateConfigurerBeanDefinitionParser
-
- resolveId(Element, AbstractBeanDefinition, ParserContext) - Method in class org.springframework.web.servlet.config.TilesConfigurerBeanDefinitionParser
-
- resolveId() - Method in class org.springframework.web.servlet.tags.form.AbstractDataBoundFormElementTag
-
Determine the 'id
' attribute value for this tag,
autogenerating one if none specified.
- resolveId() - Method in class org.springframework.web.servlet.tags.form.AbstractMultiCheckedElementTag
-
Appends a counter to a specified id as well,
since we're dealing with multiple HTML elements.
- resolveId() - Method in class org.springframework.web.servlet.tags.form.OptionsTag
-
Appends a counter to a specified id,
since we're dealing with multiple HTML elements.
- resolveLocale(HttpServletRequest) - Method in class org.springframework.web.servlet.i18n.AbstractLocaleContextResolver
-
- resolveLocale(HttpServletRequest) - Method in class org.springframework.web.servlet.i18n.AcceptHeaderLocaleResolver
-
- resolveLocale(HttpServletRequest) - Method in class org.springframework.web.servlet.i18n.CookieLocaleResolver
-
- resolveLocale(HttpServletRequest) - Method in class org.springframework.web.servlet.i18n.FixedLocaleResolver
-
- resolveLocale(HttpServletRequest) - Method in class org.springframework.web.servlet.i18n.SessionLocaleResolver
-
- resolveLocale(HttpServletRequest) - Method in interface org.springframework.web.servlet.LocaleResolver
-
Resolve the current locale via the given request.
- resolveLocale(Request) - Method in class org.springframework.web.servlet.view.tiles3.SpringLocaleResolver
-
- resolveLocaleContext(HttpServletRequest) - Method in class org.springframework.web.servlet.i18n.CookieLocaleResolver
-
- resolveLocaleContext(HttpServletRequest) - Method in class org.springframework.web.servlet.i18n.FixedLocaleResolver
-
- resolveLocaleContext(HttpServletRequest) - Method in class org.springframework.web.servlet.i18n.SessionLocaleResolver
-
- resolveLocaleContext(HttpServletRequest) - Method in interface org.springframework.web.servlet.LocaleContextResolver
-
Resolve the current locale context via the given request.
- resolveMessage() - Method in class org.springframework.web.servlet.tags.MessageTag
-
Resolve the specified message into a concrete message String.
- resolveModelAndView(Method, Class<?>, Object, ExtendedModelMap, NativeWebRequest) - Method in interface org.springframework.web.servlet.mvc.annotation.ModelAndViewResolver
-
- resolveModelAttribute() - Method in class org.springframework.web.servlet.tags.form.FormTag
-
Resolves
and returns the name of the form object.
- resolveName(String, MethodParameter, NativeWebRequest) - Method in class org.springframework.web.servlet.mvc.method.annotation.MatrixVariableMethodArgumentResolver
-
- resolveName(String, MethodParameter, NativeWebRequest) - Method in class org.springframework.web.servlet.mvc.method.annotation.PathVariableMethodArgumentResolver
-
- resolveName(String, MethodParameter, NativeWebRequest) - Method in class org.springframework.web.servlet.mvc.method.annotation.RequestAttributeMethodArgumentResolver
-
- resolveName(String, MethodParameter, NativeWebRequest) - Method in class org.springframework.web.servlet.mvc.method.annotation.ServletCookieValueMethodArgumentResolver
-
- resolveName(String, MethodParameter, NativeWebRequest) - Method in class org.springframework.web.servlet.mvc.method.annotation.SessionAttributeMethodArgumentResolver
-
- resolveResource(HttpServletRequest, String, List<? extends Resource>, ResourceResolverChain) - Method in class org.springframework.web.servlet.resource.AbstractResourceResolver
-
- resolveResource(HttpServletRequest, String, List<? extends Resource>, ResourceResolverChain) - Method in interface org.springframework.web.servlet.resource.ResourceResolver
-
Resolve the supplied request and request path to a Resource
that
exists under one of the given resource locations.
- resolveResource(HttpServletRequest, String, List<? extends Resource>) - Method in interface org.springframework.web.servlet.resource.ResourceResolverChain
-
Resolve the supplied request and request path to a Resource
that
exists under one of the given resource locations.
- resolveResourceInternal(HttpServletRequest, String, List<? extends Resource>, ResourceResolverChain) - Method in class org.springframework.web.servlet.resource.AbstractResourceResolver
-
- resolveResourceInternal(HttpServletRequest, String, List<? extends Resource>, ResourceResolverChain) - Method in class org.springframework.web.servlet.resource.CachingResourceResolver
-
- resolveResourceInternal(HttpServletRequest, String, List<? extends Resource>, ResourceResolverChain) - Method in class org.springframework.web.servlet.resource.EncodedResourceResolver
-
- resolveResourceInternal(HttpServletRequest, String, List<? extends Resource>, ResourceResolverChain) - Method in class org.springframework.web.servlet.resource.GzipResourceResolver
-
Deprecated.
- resolveResourceInternal(HttpServletRequest, String, List<? extends Resource>, ResourceResolverChain) - Method in class org.springframework.web.servlet.resource.PathResourceResolver
-
- resolveResourceInternal(HttpServletRequest, String, List<? extends Resource>, ResourceResolverChain) - Method in class org.springframework.web.servlet.resource.VersionResourceResolver
-
- resolveResourceInternal(HttpServletRequest, String, List<? extends Resource>, ResourceResolverChain) - Method in class org.springframework.web.servlet.resource.WebJarsResourceResolver
-
- resolveResponseStatus(ResponseStatus, HttpServletRequest, HttpServletResponse, Object, Exception) - Method in class org.springframework.web.servlet.mvc.annotation.ResponseStatusExceptionResolver
-
Template method that handles the @ResponseStatus
annotation.
- resolveResponseStatusException(ResponseStatusException, HttpServletRequest, HttpServletResponse, Object) - Method in class org.springframework.web.servlet.mvc.annotation.ResponseStatusExceptionResolver
-
Template method that handles an ResponseStatusException
.
- resolveTemplate(ClassLoader, String) - Method in class org.springframework.web.servlet.view.groovy.GroovyMarkupConfigurer
-
Resolve a template from the given template path.
- resolveThemeName(HttpServletRequest) - Method in class org.springframework.web.servlet.theme.CookieThemeResolver
-
- resolveThemeName(HttpServletRequest) - Method in class org.springframework.web.servlet.theme.FixedThemeResolver
-
- resolveThemeName(HttpServletRequest) - Method in class org.springframework.web.servlet.theme.SessionThemeResolver
-
- resolveThemeName(HttpServletRequest) - Method in interface org.springframework.web.servlet.ThemeResolver
-
Resolve the current theme name via the given request.
- resolveUrlPath(String, List<? extends Resource>, ResourceResolverChain) - Method in class org.springframework.web.servlet.resource.AbstractResourceResolver
-
- resolveUrlPath(String, List<? extends Resource>, ResourceResolverChain) - Method in interface org.springframework.web.servlet.resource.ResourceResolver
-
Resolve the externally facing public URL path for clients to use
to access the resource that is located at the given internal
resource path.
- resolveUrlPath(String, List<? extends Resource>) - Method in interface org.springframework.web.servlet.resource.ResourceResolverChain
-
Resolve the externally facing public URL path for clients to use
to access the resource that is located at the given internal
resource path.
- resolveUrlPath(String, HttpServletRequest, Resource, ResourceTransformerChain) - Method in class org.springframework.web.servlet.resource.ResourceTransformerSupport
-
A transformer can use this method when a resource being transformed
contains links to other resources.
- resolveUrlPathInternal(String, List<? extends Resource>, ResourceResolverChain) - Method in class org.springframework.web.servlet.resource.AbstractResourceResolver
-
- resolveUrlPathInternal(String, List<? extends Resource>, ResourceResolverChain) - Method in class org.springframework.web.servlet.resource.CachingResourceResolver
-
- resolveUrlPathInternal(String, List<? extends Resource>, ResourceResolverChain) - Method in class org.springframework.web.servlet.resource.EncodedResourceResolver
-
- resolveUrlPathInternal(String, List<? extends Resource>, ResourceResolverChain) - Method in class org.springframework.web.servlet.resource.GzipResourceResolver
-
Deprecated.
- resolveUrlPathInternal(String, List<? extends Resource>, ResourceResolverChain) - Method in class org.springframework.web.servlet.resource.PathResourceResolver
-
- resolveUrlPathInternal(String, List<? extends Resource>, ResourceResolverChain) - Method in class org.springframework.web.servlet.resource.VersionResourceResolver
-
- resolveUrlPathInternal(String, List<? extends Resource>, ResourceResolverChain) - Method in class org.springframework.web.servlet.resource.WebJarsResourceResolver
-
- resolveViewName(String, Map<String, Object>, Locale, HttpServletRequest) - Method in class org.springframework.web.servlet.DispatcherServlet
-
Resolve the given view name into a View object (to be rendered).
- resolveViewName(String, Locale) - Method in class org.springframework.web.servlet.view.AbstractCachingViewResolver
-
- resolveViewName(String, Locale) - Method in class org.springframework.web.servlet.view.BeanNameViewResolver
-
- resolveViewName(String, Locale) - Method in class org.springframework.web.servlet.view.ContentNegotiatingViewResolver
-
- resolveViewName(String, Locale) - Method in class org.springframework.web.servlet.view.ViewResolverComposite
-
- resolveViewName(String, Locale) - Method in interface org.springframework.web.servlet.ViewResolver
-
Resolve the given view by name.
- RESOURCE_URL_PROVIDER_ATTR - Static variable in class org.springframework.web.servlet.resource.ResourceUrlProviderExposingInterceptor
-
- ResourceBundleViewResolver - Class in org.springframework.web.servlet.view
-
- ResourceBundleViewResolver() - Constructor for class org.springframework.web.servlet.view.ResourceBundleViewResolver
-
Deprecated.
- resourceChain(boolean) - Method in class org.springframework.web.servlet.config.annotation.ResourceHandlerRegistration
-
Configure a chain of resource resolvers and transformers to use.
- resourceChain(boolean, Cache) - Method in class org.springframework.web.servlet.config.annotation.ResourceHandlerRegistration
-
Configure a chain of resource resolvers and transformers to use.
- ResourceChainRegistration - Class in org.springframework.web.servlet.config.annotation
-
Assists with the registration of resource resolvers and transformers.
- ResourceChainRegistration(boolean) - Constructor for class org.springframework.web.servlet.config.annotation.ResourceChainRegistration
-
- ResourceChainRegistration(boolean, Cache) - Constructor for class org.springframework.web.servlet.config.annotation.ResourceChainRegistration
-
- resourceHandlerMapping(ContentNegotiationManager, FormattingConversionService, ResourceUrlProvider) - Method in class org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport
-
Return a handler mapping ordered at Integer.MAX_VALUE-1 with mapped
resource handlers.
- ResourceHandlerRegistration - Class in org.springframework.web.servlet.config.annotation
-
Encapsulates information required to create a resource handler.
- ResourceHandlerRegistration(String...) - Constructor for class org.springframework.web.servlet.config.annotation.ResourceHandlerRegistration
-
- ResourceHandlerRegistry - Class in org.springframework.web.servlet.config.annotation
-
Stores registrations of resource handlers for serving static resources such
as images, css files and others through Spring MVC including setting cache
headers optimized for efficient loading in a web browser.
- ResourceHandlerRegistry(ApplicationContext, ServletContext) - Constructor for class org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry
-
Create a new resource handler registry for the given application context.
- ResourceHandlerRegistry(ApplicationContext, ServletContext, ContentNegotiationManager) - Constructor for class org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry
-
Create a new resource handler registry for the given application context.
- ResourceHandlerRegistry(ApplicationContext, ServletContext, ContentNegotiationManager, UrlPathHelper) - Constructor for class org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry
-
- ResourceHttpRequestHandler - Class in org.springframework.web.servlet.resource
-
HttpRequestHandler
that serves static resources in an optimized way
according to the guidelines of Page Speed, YSlow, etc.
- ResourceHttpRequestHandler() - Constructor for class org.springframework.web.servlet.resource.ResourceHttpRequestHandler
-
- resourceLookupFunction(String, Resource) - Static method in class org.springframework.web.servlet.function.RouterFunctions
-
- ResourceResolver - Interface in org.springframework.web.servlet.resource
-
A strategy for resolving a request to a server-side resource.
- ResourceResolverChain - Interface in org.springframework.web.servlet.resource
-
A contract for invoking a chain of
ResourceResolvers
where each resolver
is given a reference to the chain allowing it to delegate when necessary.
- resources(String, Resource) - Method in interface org.springframework.web.servlet.function.RouterFunctions.Builder
-
Route requests that match the given pattern to resources relative to the given root location.
- resources(Function<ServerRequest, Optional<Resource>>) - Method in interface org.springframework.web.servlet.function.RouterFunctions.Builder
-
Route to resources using the provided lookup function.
- resources(String, Resource) - Static method in class org.springframework.web.servlet.function.RouterFunctions
-
Route requests that match the given pattern to resources relative to the given root location.
- resources(Function<ServerRequest, Optional<Resource>>) - Static method in class org.springframework.web.servlet.function.RouterFunctions
-
Route to resources using the provided lookup function.
- resources(Function<ServerRequest, Optional<Resource>>) - Method in interface org.springframework.web.servlet.function.RouterFunctions.Visitor
-
Receive notification of a resource router function.
- ResourceTransformer - Interface in org.springframework.web.servlet.resource
-
An abstraction for transforming the content of a resource.
- ResourceTransformerChain - Interface in org.springframework.web.servlet.resource
-
A contract for invoking a chain of
ResourceTransformers
where each resolver
is given a reference to the chain allowing it to delegate when necessary.
- ResourceTransformerSupport - Class in org.springframework.web.servlet.resource
-
A base class for a ResourceTransformer
with an optional helper method
for resolving public links within a transformed resource.
- ResourceTransformerSupport() - Constructor for class org.springframework.web.servlet.resource.ResourceTransformerSupport
-
- ResourceUrlEncodingFilter - Class in org.springframework.web.servlet.resource
-
A filter that wraps the
HttpServletResponse
and overrides its
encodeURL
method in order to
translate internal resource request URLs into public URL paths for external use.
- ResourceUrlEncodingFilter() - Constructor for class org.springframework.web.servlet.resource.ResourceUrlEncodingFilter
-
- ResourceUrlProvider - Class in org.springframework.web.servlet.resource
-
A central component to use to obtain the public URL path that clients should
use to access a static resource.
- ResourceUrlProvider() - Constructor for class org.springframework.web.servlet.resource.ResourceUrlProvider
-
- ResourceUrlProviderExposingInterceptor - Class in org.springframework.web.servlet.resource
-
An interceptor that exposes the
ResourceUrlProvider
instance it
is configured with as a request attribute.
- ResourceUrlProviderExposingInterceptor(ResourceUrlProvider) - Constructor for class org.springframework.web.servlet.resource.ResourceUrlProviderExposingInterceptor
-
- RESPONSE_STATUS_ATTRIBUTE - Static variable in interface org.springframework.web.servlet.View
-
- ResponseBodyAdvice<T> - Interface in org.springframework.web.servlet.mvc.method.annotation
-
Allows customizing the response after the execution of an @ResponseBody
or a ResponseEntity
controller method but before the body is written
with an HttpMessageConverter
.
- ResponseBodyEmitter - Class in org.springframework.web.servlet.mvc.method.annotation
-
A controller method return value type for asynchronous request processing
where one or more objects are written to the response.
- ResponseBodyEmitter() - Constructor for class org.springframework.web.servlet.mvc.method.annotation.ResponseBodyEmitter
-
Create a new ResponseBodyEmitter instance.
- ResponseBodyEmitter(Long) - Constructor for class org.springframework.web.servlet.mvc.method.annotation.ResponseBodyEmitter
-
Create a ResponseBodyEmitter with a custom timeout value.
- ResponseBodyEmitter.DataWithMediaType - Class in org.springframework.web.servlet.mvc.method.annotation
-
A simple holder of data to be written along with a MediaType hint for
selecting a message converter to write with.
- ResponseBodyEmitterReturnValueHandler - Class in org.springframework.web.servlet.mvc.method.annotation
-
- ResponseBodyEmitterReturnValueHandler(List<HttpMessageConverter<?>>) - Constructor for class org.springframework.web.servlet.mvc.method.annotation.ResponseBodyEmitterReturnValueHandler
-
Simple constructor with reactive type support based on a default instance of
ReactiveAdapterRegistry
,
SyncTaskExecutor
, and
ContentNegotiationManager
with an Accept header strategy.
- ResponseBodyEmitterReturnValueHandler(List<HttpMessageConverter<?>>, ReactiveAdapterRegistry, TaskExecutor, ContentNegotiationManager) - Constructor for class org.springframework.web.servlet.mvc.method.annotation.ResponseBodyEmitterReturnValueHandler
-
Complete constructor with pluggable "reactive" type support.
- ResponseEntityExceptionHandler - Class in org.springframework.web.servlet.mvc.method.annotation
-
A convenient base class for @ControllerAdvice
classes
that wish to provide centralized exception handling across all
@RequestMapping
methods through @ExceptionHandler
methods.
- ResponseEntityExceptionHandler() - Constructor for class org.springframework.web.servlet.mvc.method.annotation.ResponseEntityExceptionHandler
-
- ResponseStatusExceptionResolver - Class in org.springframework.web.servlet.mvc.annotation
-
- ResponseStatusExceptionResolver() - Constructor for class org.springframework.web.servlet.mvc.annotation.ResponseStatusExceptionResolver
-
- retrieveAndUpdate(HttpServletRequest, HttpServletResponse) - Method in interface org.springframework.web.servlet.FlashMapManager
-
Find a FlashMap saved by a previous request that matches to the current
request, remove it from underlying storage, and also remove other
expired FlashMap instances.
- retrieveAndUpdate(HttpServletRequest, HttpServletResponse) - Method in class org.springframework.web.servlet.support.AbstractFlashMapManager
-
- retrieveFlashMaps(HttpServletRequest) - Method in class org.springframework.web.servlet.support.AbstractFlashMapManager
-
Retrieve saved FlashMap instances from the underlying storage.
- retrieveFlashMaps(HttpServletRequest) - Method in class org.springframework.web.servlet.support.SessionFlashMapManager
-
Retrieves saved FlashMap instances from the HTTP session, if any.
- retry(Duration) - Method in interface org.springframework.web.servlet.function.ServerResponse.SseBuilder
-
Add an SSE "retry" line.
- route(ServerRequest) - Method in interface org.springframework.web.servlet.function.RouterFunction
-
- route(RequestPredicate, HandlerFunction<ServerResponse>) - Method in interface org.springframework.web.servlet.function.RouterFunctions.Builder
-
Adds a route to the given handler function that handles all requests that match the
given predicate.
- route() - Static method in class org.springframework.web.servlet.function.RouterFunctions
-
Offers a discoverable way to create router functions through a builder-style interface.
- route(RequestPredicate, HandlerFunction<T>) - Static method in class org.springframework.web.servlet.function.RouterFunctions
-
Route to the given handler function if the given request predicate applies.
- route(RequestPredicate, HandlerFunction<?>) - Method in interface org.springframework.web.servlet.function.RouterFunctions.Visitor
-
Receive notification of a standard predicated route to a handler function.
- RouterFunction<T extends ServerResponse> - Interface in org.springframework.web.servlet.function
-
- routerFunctionMapping(FormattingConversionService, ResourceUrlProvider) - Method in class org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport
-
- RouterFunctionMapping - Class in org.springframework.web.servlet.function.support
-
- RouterFunctionMapping() - Constructor for class org.springframework.web.servlet.function.support.RouterFunctionMapping
-
Create an empty RouterFunctionMapping
.
- RouterFunctionMapping(RouterFunction<?>) - Constructor for class org.springframework.web.servlet.function.support.RouterFunctionMapping
-
- RouterFunctions - Class in org.springframework.web.servlet.function
-
Central entry point to Spring's functional web framework.
Exposes routing functionality, such as to
create a
RouterFunction
using a discoverable builder-style API, to
create a
RouterFunction
given a
RequestPredicate
and
HandlerFunction
, and to do further
subrouting on an existing routing
function.
- RouterFunctions() - Constructor for class org.springframework.web.servlet.function.RouterFunctions
-
- RouterFunctions.Builder - Interface in org.springframework.web.servlet.function
-
Represents a discoverable builder for router functions.
- RouterFunctions.Visitor - Interface in org.springframework.web.servlet.function
-
Receives notifications from the logical structure of router functions.
- ROWS_ATTRIBUTE - Static variable in class org.springframework.web.servlet.tags.form.TextareaTag
-
- saveOutputFlashMap(FlashMap, HttpServletRequest, HttpServletResponse) - Method in interface org.springframework.web.servlet.FlashMapManager
-
Save the given FlashMap, in some underlying storage and set the start
of its expiration period.
- saveOutputFlashMap(FlashMap, HttpServletRequest, HttpServletResponse) - Method in class org.springframework.web.servlet.support.AbstractFlashMapManager
-
- saveOutputFlashMap(String, HttpServletRequest, HttpServletResponse) - Static method in class org.springframework.web.servlet.support.RequestContextUtils
-
Convenience method that retrieves the
"output"
FlashMap
, updates it with the path and query params of the target URL,
and then saves it using the
FlashMapManager
.
- scriptTemplate() - Method in class org.springframework.web.servlet.config.annotation.ViewResolverRegistry
-
Register a script template view resolver with an empty default view name prefix and suffix.
- ScriptTemplateConfig - Interface in org.springframework.web.servlet.view.script
-
Interface to be implemented by objects that configure and manage a
JSR-223
ScriptEngine
for automatic lookup in a web environment.
- ScriptTemplateConfigurer - Class in org.springframework.web.servlet.view.script
-
An implementation of Spring MVC's
ScriptTemplateConfig
for creating
a
ScriptEngine
for use in a web application.
- ScriptTemplateConfigurer() - Constructor for class org.springframework.web.servlet.view.script.ScriptTemplateConfigurer
-
Default constructor.
- ScriptTemplateConfigurer(String) - Constructor for class org.springframework.web.servlet.view.script.ScriptTemplateConfigurer
-
Create a new ScriptTemplateConfigurer using the given engine name.
- ScriptTemplateConfigurerBeanDefinitionParser - Class in org.springframework.web.servlet.config
-
Parse the <mvc:script-template-configurer>
MVC namespace element and
register a ScriptTemplateConfigurer
bean.
- ScriptTemplateConfigurerBeanDefinitionParser() - Constructor for class org.springframework.web.servlet.config.ScriptTemplateConfigurerBeanDefinitionParser
-
- ScriptTemplateView - Class in org.springframework.web.servlet.view.script
-
An
AbstractUrlBasedView
subclass designed to run any template library
based on a JSR-223 script engine.
- ScriptTemplateView() - Constructor for class org.springframework.web.servlet.view.script.ScriptTemplateView
-
Constructor for use as a bean.
- ScriptTemplateView(String) - Constructor for class org.springframework.web.servlet.view.script.ScriptTemplateView
-
Create a new ScriptTemplateView with the given URL.
- ScriptTemplateViewResolver - Class in org.springframework.web.servlet.view.script
-
- ScriptTemplateViewResolver() - Constructor for class org.springframework.web.servlet.view.script.ScriptTemplateViewResolver
-
- ScriptTemplateViewResolver(String, String) - Constructor for class org.springframework.web.servlet.view.script.ScriptTemplateViewResolver
-
A convenience constructor that allows for specifying
prefix
and
suffix
as constructor arguments.
- seeOther(URI) - Static method in interface org.springframework.web.servlet.function.ServerResponse
-
Create a builder with a 303 See Other
status and a location header set to the given URI.
- SELECTED_CONTENT_TYPE - Static variable in interface org.springframework.web.servlet.View
-
The MediaType
selected during content negotiation,
which may be more specific than the one the View is configured with.
- SelectTag - Class in org.springframework.web.servlet.tags.form
-
The <select>
tag renders an HTML 'select' element.
- SelectTag() - Constructor for class org.springframework.web.servlet.tags.form.SelectTag
-
- send(Object) - Method in interface org.springframework.web.servlet.function.ServerResponse.SseBuilder
-
Sends the given object as a server-sent event.
- send(Object) - Method in class org.springframework.web.servlet.mvc.method.annotation.ResponseBodyEmitter
-
Write the given object to the response.
- send(Object, MediaType) - Method in class org.springframework.web.servlet.mvc.method.annotation.ResponseBodyEmitter
-
- send(Object) - Method in class org.springframework.web.servlet.mvc.method.annotation.SseEmitter
-
Send the object formatted as a single SSE "data" line.
- send(Object, MediaType) - Method in class org.springframework.web.servlet.mvc.method.annotation.SseEmitter
-
Send the object formatted as a single SSE "data" line.
- send(SseEmitter.SseEventBuilder) - Method in class org.springframework.web.servlet.mvc.method.annotation.SseEmitter
-
Send an SSE event prepared with the given builder.
- sendRedirect(HttpServletRequest, HttpServletResponse, String, boolean) - Method in class org.springframework.web.servlet.view.RedirectView
-
Send a redirect back to the HTTP client.
- sendServerError(Exception, HttpServletRequest, HttpServletResponse) - Method in class org.springframework.web.servlet.mvc.support.DefaultHandlerExceptionResolver
-
Invoked to send a server error.
- SEPARATOR - Static variable in class org.springframework.web.servlet.mvc.method.RequestMappingInfoHandlerMethodMappingNamingStrategy
-
Separator between the type and method-level parts of a HandlerMethod mapping name.
- ServerRequest - Interface in org.springframework.web.servlet.function
-
Represents a server-side HTTP request, as handled by a HandlerFunction
.
- ServerRequest.Builder - Interface in org.springframework.web.servlet.function
-
Defines a builder for a request.
- ServerRequest.Headers - Interface in org.springframework.web.servlet.function
-
Represents the headers of the HTTP request.
- ServerResponse - Interface in org.springframework.web.servlet.function
-
- ServerResponse.BodyBuilder - Interface in org.springframework.web.servlet.function
-
Defines a builder that adds a body to the response.
- ServerResponse.Context - Interface in org.springframework.web.servlet.function
-
- ServerResponse.HeadersBuilder<B extends ServerResponse.HeadersBuilder<B>> - Interface in org.springframework.web.servlet.function
-
Defines a builder that adds headers to the response.
- ServerResponse.SseBuilder - Interface in org.springframework.web.servlet.function
-
Defines a builder for a body that sends server-sent events.
- service(HttpServletRequest, HttpServletResponse) - Method in class org.springframework.web.servlet.FrameworkServlet
-
Override the parent class implementation in order to intercept PATCH requests.
- SERVLET_CONTEXT_PREFIX - Static variable in class org.springframework.web.servlet.FrameworkServlet
-
Prefix for the ServletContext attribute for the WebApplicationContext.
- ServletCookieValueMethodArgumentResolver - Class in org.springframework.web.servlet.mvc.method.annotation
-
An
AbstractCookieValueMethodArgumentResolver
that resolves cookie values from an
HttpServletRequest
.
- ServletCookieValueMethodArgumentResolver(ConfigurableBeanFactory) - Constructor for class org.springframework.web.servlet.mvc.method.annotation.ServletCookieValueMethodArgumentResolver
-
- ServletForwardingController - Class in org.springframework.web.servlet.mvc
-
Spring Controller implementation that forwards to a named servlet,
i.e.
- ServletForwardingController() - Constructor for class org.springframework.web.servlet.mvc.ServletForwardingController
-
- ServletInvocableHandlerMethod - Class in org.springframework.web.servlet.mvc.method.annotation
-
Extends InvocableHandlerMethod
with the ability to handle return
values through a registered HandlerMethodReturnValueHandler
and
also supports setting the response status based on a method-level
@ResponseStatus
annotation.
- ServletInvocableHandlerMethod(Object, Method) - Constructor for class org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod
-
Creates an instance from the given handler and method.
- ServletInvocableHandlerMethod(Object, Method, MessageSource) - Constructor for class org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod
-
- ServletInvocableHandlerMethod(HandlerMethod) - Constructor for class org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod
-
Create an instance from a HandlerMethod
.
- ServletModelAttributeMethodProcessor - Class in org.springframework.web.servlet.mvc.method.annotation
-
A Servlet-specific ModelAttributeMethodProcessor
that applies data
binding through a WebDataBinder of type ServletRequestDataBinder
.
- ServletModelAttributeMethodProcessor(boolean) - Constructor for class org.springframework.web.servlet.mvc.method.annotation.ServletModelAttributeMethodProcessor
-
Class constructor.
- servletRequest() - Method in interface org.springframework.web.servlet.function.ServerRequest
-
Get the servlet request that this request is based on.
- ServletRequestDataBinderFactory - Class in org.springframework.web.servlet.mvc.method.annotation
-
Creates a ServletRequestDataBinder
.
- ServletRequestDataBinderFactory(List<InvocableHandlerMethod>, WebBindingInitializer) - Constructor for class org.springframework.web.servlet.mvc.method.annotation.ServletRequestDataBinderFactory
-
Create a new instance.
- ServletRequestMethodArgumentResolver - Class in org.springframework.web.servlet.mvc.method.annotation
-
Resolves servlet backed request-related method arguments.
- ServletRequestMethodArgumentResolver() - Constructor for class org.springframework.web.servlet.mvc.method.annotation.ServletRequestMethodArgumentResolver
-
- ServletResponseMethodArgumentResolver - Class in org.springframework.web.servlet.mvc.method.annotation
-
Resolves servlet backed response-related method arguments.
- ServletResponseMethodArgumentResolver() - Constructor for class org.springframework.web.servlet.mvc.method.annotation.ServletResponseMethodArgumentResolver
-
- ServletUriComponentsBuilder - Class in org.springframework.web.servlet.support
-
UriComponentsBuilder with additional static factory methods to create links
based on the current HttpServletRequest.
- ServletUriComponentsBuilder() - Constructor for class org.springframework.web.servlet.support.ServletUriComponentsBuilder
-
Default constructor.
- ServletUriComponentsBuilder(ServletUriComponentsBuilder) - Constructor for class org.springframework.web.servlet.support.ServletUriComponentsBuilder
-
Create a deep copy of the given ServletUriComponentsBuilder.
- ServletWebArgumentResolverAdapter - Class in org.springframework.web.servlet.mvc.method.annotation
-
A Servlet-specific
AbstractWebArgumentResolverAdapter
that creates a NativeWebRequest
from ServletRequestAttributes
.
- ServletWebArgumentResolverAdapter(WebArgumentResolver) - Constructor for class org.springframework.web.servlet.mvc.method.annotation.ServletWebArgumentResolverAdapter
-
- ServletWrappingController - Class in org.springframework.web.servlet.mvc
-
Spring Controller implementation that wraps a servlet instance which it manages
internally.
- ServletWrappingController() - Constructor for class org.springframework.web.servlet.mvc.ServletWrappingController
-
- session() - Method in interface org.springframework.web.servlet.function.ServerRequest
-
Get the web session for this request.
- SessionAttributeMethodArgumentResolver - Class in org.springframework.web.servlet.mvc.method.annotation
-
Resolves method arguments annotated with an @SessionAttribute
.
- SessionAttributeMethodArgumentResolver() - Constructor for class org.springframework.web.servlet.mvc.method.annotation.SessionAttributeMethodArgumentResolver
-
- SessionFlashMapManager - Class in org.springframework.web.servlet.support
-
Store and retrieve
FlashMap
instances to and from the HTTP session.
- SessionFlashMapManager() - Constructor for class org.springframework.web.servlet.support.SessionFlashMapManager
-
- SessionLocaleResolver - Class in org.springframework.web.servlet.i18n
-
LocaleResolver
implementation that
uses a locale attribute in the user's session in case of a custom setting,
with a fallback to the specified default locale or the request's
accept-header locale.
- SessionLocaleResolver() - Constructor for class org.springframework.web.servlet.i18n.SessionLocaleResolver
-
- SessionThemeResolver - Class in org.springframework.web.servlet.theme
-
ThemeResolver
implementation that
uses a theme attribute in the user's session in case of a custom setting,
with a fallback to the default theme.
- SessionThemeResolver() - Constructor for class org.springframework.web.servlet.theme.SessionThemeResolver
-
- setAcceptCharset(String) - Method in class org.springframework.web.servlet.tags.form.FormTag
-
Set the value of the 'acceptCharset
' attribute.
- setAccesskey(String) - Method in class org.springframework.web.servlet.tags.form.AbstractHtmlInputElementTag
-
Set the value of the 'accesskey
' attribute.
- setAction(String) - Method in class org.springframework.web.servlet.tags.form.FormTag
-
Set the value of the 'action
' attribute.
- setAllowedLocations(Resource...) - Method in class org.springframework.web.servlet.resource.PathResourceResolver
-
By default when a Resource is found, the path of the resolved resource is
compared to ensure it's under the input location where it was found.
- setAllowRequestOverride(boolean) - Method in class org.springframework.web.servlet.view.AbstractTemplateView
-
Set whether HttpServletRequest attributes are allowed to override (hide)
controller generated model attributes of the same name.
- setAllowRequestOverride(boolean) - Method in class org.springframework.web.servlet.view.AbstractTemplateViewResolver
-
Set whether HttpServletRequest attributes are allowed to override (hide)
controller generated model attributes of the same name.
- setAllowSessionOverride(boolean) - Method in class org.springframework.web.servlet.view.AbstractTemplateView
-
Set whether HttpSession attributes are allowed to override (hide)
controller generated model attributes of the same name.
- setAllowSessionOverride(boolean) - Method in class org.springframework.web.servlet.view.AbstractTemplateViewResolver
-
Set whether HttpSession attributes are allowed to override (hide)
controller generated model attributes of the same name.
- setAlt(String) - Method in class org.springframework.web.servlet.tags.form.InputTag
-
Set the value of the 'alt
' attribute.
- setAlwaysInclude(boolean) - Method in class org.springframework.web.servlet.view.InternalResourceView
-
Specify whether to always include the view rather than forward to it.
- setAlwaysInclude(boolean) - Method in class org.springframework.web.servlet.view.InternalResourceViewResolver
-
Specify whether to always include the view rather than forward to it.
- setAlwaysInclude(boolean) - Method in class org.springframework.web.servlet.view.tiles3.TilesView
-
Specify whether to always include the view rather than forward to it.
- setAlwaysInclude(Boolean) - Method in class org.springframework.web.servlet.view.tiles3.TilesViewResolver
-
Specify whether to always include the view rather than forward to it.
- setAlwaysMustRevalidate(boolean) - Method in class org.springframework.web.servlet.support.WebContentGenerator
-
- setAlwaysUseFullPath(boolean) - Method in class org.springframework.web.servlet.handler.AbstractHandlerMapping
-
Shortcut to same property on the configured UrlPathHelper
.
- setAlwaysUseFullPath(boolean) - Method in class org.springframework.web.servlet.mvc.AbstractUrlViewController
-
Set if URL lookup should always use full path within current servlet
context.
- setAlwaysUseFullPath(boolean) - Method in class org.springframework.web.servlet.mvc.WebContentInterceptor
-
- setAlwaysUseFullPath(boolean) - Method in class org.springframework.web.servlet.view.DefaultRequestToViewNameTranslator
-
- setApplicationContext(ApplicationContext) - Method in class org.springframework.web.servlet.config.annotation.RedirectViewControllerRegistration
-
- setApplicationContext(ApplicationContext) - Method in class org.springframework.web.servlet.config.annotation.ViewControllerRegistration
-
- setApplicationContext(ApplicationContext) - Method in class org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport
-
Set the Spring ApplicationContext
, e.g.
- setApplicationContext(ApplicationContext) - Method in class org.springframework.web.servlet.FrameworkServlet
-
Called by Spring via ApplicationContextAware
to inject the current
application context.
- setApplicationContext(ApplicationContext) - Method in class org.springframework.web.servlet.handler.HandlerMappingIntrospector
-
- setApplicationContext(ApplicationContext) - Method in class org.springframework.web.servlet.mvc.method.annotation.ExceptionHandlerExceptionResolver
-
- setApplicationContext(ApplicationContext) - Method in class org.springframework.web.servlet.resource.ResourceUrlProvider
-
- setApplicationContext(ApplicationContext) - Method in class org.springframework.web.servlet.view.groovy.GroovyMarkupConfigurer
-
- setApplicationContext(ApplicationContext) - Method in class org.springframework.web.servlet.view.ViewResolverComposite
-
- setArgumentResolvers(List<HandlerMethodArgumentResolver>) - Method in class org.springframework.web.servlet.mvc.method.annotation.ExceptionHandlerExceptionResolver
-
Configure the complete list of supported argument types thus overriding
the resolvers that would otherwise be configured by default.
- setArgumentResolvers(List<HandlerMethodArgumentResolver>) - Method in class org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter
-
Configure the complete list of supported argument types thus overriding
the resolvers that would otherwise be configured by default.
- setArguments(Object) - Method in class org.springframework.web.servlet.tags.MessageTag
-
Set optional message arguments for this tag, as a comma-delimited
String (each String argument can contain JSP EL), an Object array
(used as argument array), or a single Object (used as single argument).
- setArgumentSeparator(String) - Method in class org.springframework.web.servlet.tags.MessageTag
-
Set the separator to use for splitting an arguments String.
- setAsyncRequestTimeout(long) - Method in class org.springframework.web.servlet.function.support.HandlerFunctionAdapter
-
Specify the amount of time, in milliseconds, before concurrent handling
should time out.
- setAsyncRequestTimeout(long) - Method in class org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter
-
Specify the amount of time, in milliseconds, before concurrent handling
should time out.
- setAttributes(Properties) - Method in class org.springframework.web.servlet.view.AbstractView
-
Set static attributes for this view from a
java.util.Properties
object.
- setAttributes(Properties) - Method in class org.springframework.web.servlet.view.UrlBasedViewResolver
-
Set static attributes from a java.util.Properties
object,
for all views returned by this resolver.
- setAttributesCSV(String) - Method in class org.springframework.web.servlet.view.AbstractView
-
Set static attributes as a CSV string.
- setAttributesMap(Map<String, ?>) - Method in class org.springframework.web.servlet.view.AbstractView
-
Set static attributes for this view from a Map.
- setAttributesMap(Map<String, ?>) - Method in class org.springframework.web.servlet.view.UrlBasedViewResolver
-
Set static attributes from a Map, for all views returned by this resolver.
- setAuthorizedRoles(String...) - Method in class org.springframework.web.servlet.handler.UserRoleAuthorizationInterceptor
-
Set the roles that this interceptor should treat as authorized.
- setAutocomplete(String) - Method in class org.springframework.web.servlet.tags.form.FormTag
-
Set the value of the 'autocomplete
' attribute.
- setAutocomplete(String) - Method in class org.springframework.web.servlet.tags.form.InputTag
-
Set the value of the 'autocomplete
' attribute.
- setBasename(String) - Method in class org.springframework.web.servlet.view.ResourceBundleViewResolver
-
Deprecated.
- setBasenames(String...) - Method in class org.springframework.web.servlet.view.ResourceBundleViewResolver
-
Deprecated.
- setBeanFactory(BeanFactory) - Method in class org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter
-
A ConfigurableBeanFactory
is expected for resolving expressions
in method argument default values.
- setBeanName(String) - Method in class org.springframework.web.servlet.handler.AbstractHandlerMapping
-
- setBeanName(String) - Method in class org.springframework.web.servlet.mvc.ServletForwardingController
-
- setBeanName(String) - Method in class org.springframework.web.servlet.mvc.ServletWrappingController
-
- setBeanName(String) - Method in class org.springframework.web.servlet.view.AbstractView
-
Set the view's name.
- setBodyContent(BodyContent) - Method in class org.springframework.web.servlet.tags.EscapeBodyTag
-
- setBodyContent(BodyContent) - Method in class org.springframework.web.servlet.tags.form.AbstractHtmlElementBodyTag
-
- setBodyRequired(boolean) - Method in class org.springframework.web.servlet.mvc.condition.ConsumesRequestCondition
-
Whether this condition should expect requests to have a body.
- setBundleClassLoader(ClassLoader) - Method in class org.springframework.web.servlet.view.ResourceBundleViewResolver
-
Deprecated.
- setCache(boolean) - Method in class org.springframework.web.servlet.view.AbstractCachingViewResolver
-
Enable or disable caching.
- setCacheControl(CacheControl) - Method in class org.springframework.web.servlet.config.annotation.ResourceHandlerRegistration
-
Specify the CacheControl
which should be used
by the resource handler.
- setCacheControl(CacheControl) - Method in class org.springframework.web.servlet.support.WebContentGenerator
-
Set the CacheControl
instance to build
the Cache-Control HTTP response header.
- setCacheFilter(AbstractCachingViewResolver.CacheFilter) - Method in class org.springframework.web.servlet.view.AbstractCachingViewResolver
-
Sets the filter that determines if view should be cached.
- setCacheLimit(int) - Method in class org.springframework.web.servlet.view.AbstractCachingViewResolver
-
Specify the maximum number of entries for the view cache.
- setCacheMappings(Properties) - Method in class org.springframework.web.servlet.mvc.WebContentInterceptor
-
Map settings for cache seconds to specific URL paths via patterns.
- setCachePeriod(Integer) - Method in class org.springframework.web.servlet.config.annotation.ResourceHandlerRegistration
-
Specify the cache period for the resources served by the resource handler, in seconds.
- setCacheSeconds(int) - Method in class org.springframework.web.servlet.support.WebContentGenerator
-
Cache content for the given number of seconds, by writing
cache-related HTTP headers to the response:
seconds == -1 (default value): no generation cache-related headers
seconds == 0: "Cache-Control: no-store" will prevent caching
seconds > 0: "Cache-Control: max-age=seconds" will ask to cache content
- setCacheSecondsForSessionAttributeHandlers(int) - Method in class org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter
-
Cache content produced by @SessionAttributes
annotated handlers
for the given number of seconds.
- setCacheTemplates(boolean) - Method in class org.springframework.web.servlet.view.xslt.XsltView
-
Turn on/off the caching of the XSLT
Templates
instance.
- setCacheTemplates(boolean) - Method in class org.springframework.web.servlet.view.xslt.XsltViewResolver
-
Turn on/off the caching of the XSLT templates.
- setCacheUnresolved(boolean) - Method in class org.springframework.web.servlet.view.AbstractCachingViewResolver
-
Whether a view name once resolved to null
should be cached and
automatically resolved to null
subsequently.
- setCallableInterceptors(List<CallableProcessingInterceptor>) - Method in class org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter
-
Configure CallableProcessingInterceptor
's to register on async requests.
- setCharset(Charset) - Method in class org.springframework.web.servlet.view.script.ScriptTemplateConfigurer
-
Set the charset used to read script and template files.
- setCharset(Charset) - Method in class org.springframework.web.servlet.view.script.ScriptTemplateView
-
- setCheckRefresh(boolean) - Method in class org.springframework.web.servlet.view.tiles3.TilesConfigurer
-
Set whether to check Tiles definition files for a refresh at runtime.
- setCleanupAfterInclude(boolean) - Method in class org.springframework.web.servlet.DispatcherServlet
-
Set whether to perform cleanup of request attributes after an include request, that is,
whether to reset the original state of all request attributes after the DispatcherServlet
has processed within an include request.
- setCode(String) - Method in class org.springframework.web.servlet.tags.MessageTag
-
Set the message code for this tag.
- setCols(String) - Method in class org.springframework.web.servlet.tags.form.TextareaTag
-
Set the value of the 'cols
' attribute.
- setCompleteAutoload(boolean) - Method in class org.springframework.web.servlet.view.tiles3.TilesConfigurer
-
Specify whether to apply Tiles 3.0's "complete-autoload" configuration.
- setConfiguration(Configuration) - Method in class org.springframework.web.servlet.view.freemarker.FreeMarkerConfigurer
-
Set a preconfigured Configuration to use for the FreeMarker web config, e.g.
- setConfiguration(Configuration) - Method in class org.springframework.web.servlet.view.freemarker.FreeMarkerView
-
Set the FreeMarker Configuration to be used by this view.
- setConfigurers(List<WebMvcConfigurer>) - Method in class org.springframework.web.servlet.config.annotation.DelegatingWebMvcConfiguration
-
- setContentCodings(List<String>) - Method in class org.springframework.web.servlet.resource.CachingResourceResolver
-
Configure the supported content codings from the
"Accept-Encoding" header for which to cache resource variations.
- setContentCodings(List<String>) - Method in class org.springframework.web.servlet.resource.EncodedResourceResolver
-
Configure the supported content codings in order of preference.
- setContentNegotiationManager(ContentNegotiationManager) - Method in class org.springframework.web.servlet.mvc.method.annotation.ExceptionHandlerExceptionResolver
-
Set the ContentNegotiationManager
to use to determine requested media types.
- setContentNegotiationManager(ContentNegotiationManager) - Method in class org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter
-
Set the ContentNegotiationManager
to use to determine requested media types.
- setContentNegotiationManager(ContentNegotiationManager) - Method in class org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping
-
Set the ContentNegotiationManager
to use to determine requested media types.
- setContentNegotiationManager(ContentNegotiationManager) - Method in class org.springframework.web.servlet.mvc.method.RequestMappingInfo.BuilderConfiguration
-
Set the ContentNegotiationManager to use for the ProducesRequestCondition.
- setContentNegotiationManager(ContentNegotiationManager) - Method in class org.springframework.web.servlet.resource.ResourceHttpRequestHandler
-
- setContentNegotiationManager(ContentNegotiationManager) - Method in class org.springframework.web.servlet.view.ContentNegotiatingViewResolver
-
Set the ContentNegotiationManager
to use to determine requested media types.
- setContentType(String) - Method in class org.springframework.web.servlet.view.AbstractView
-
Set the content type for this view.
- setContentType(String) - Method in class org.springframework.web.servlet.view.script.ScriptTemplateConfigurer
-
Set the content type to use for the response.
- setContentType(String) - Method in class org.springframework.web.servlet.view.UrlBasedViewResolver
-
Set the content type for all views.
- setContext(String) - Method in class org.springframework.web.servlet.tags.UrlTag
-
Set the context path for the URL.
- setContextAttribute(String) - Method in class org.springframework.web.servlet.FrameworkServlet
-
Set the name of the ServletContext attribute which should be used to retrieve the
WebApplicationContext
that this servlet is supposed to use.
- setContextClass(Class<?>) - Method in class org.springframework.web.servlet.FrameworkServlet
-
Set a custom context class.
- setContextConfigLocation(String) - Method in class org.springframework.web.servlet.FrameworkServlet
-
Set the context config location explicitly, instead of relying on the default
location built from the namespace.
- setContextId(String) - Method in class org.springframework.web.servlet.FrameworkServlet
-
Specify a custom WebApplicationContext id,
to be used as serialization id for the underlying BeanFactory.
- setContextInitializerClasses(String) - Method in class org.springframework.web.servlet.FrameworkServlet
-
Specify the set of fully-qualified ApplicationContextInitializer
class
names, per the optional "contextInitializerClasses" servlet init-param.
- setContextInitializers(ApplicationContextInitializer<?>...) - Method in class org.springframework.web.servlet.FrameworkServlet
-
Specify which ApplicationContextInitializer
instances should be used
to initialize the application context used by this FrameworkServlet
.
- setContextRelative(boolean) - Method in class org.springframework.web.servlet.config.annotation.RedirectViewControllerRegistration
-
Whether to interpret a given redirect URL that starts with a slash ("/")
as relative to the current ServletContext, i.e.
- setContextRelative(boolean) - Method in class org.springframework.web.servlet.view.RedirectView
-
Set whether to interpret a given URL that starts with a slash ("/")
as relative to the current ServletContext, i.e.
- setCorsConfiguration(CorsConfiguration) - Method in class org.springframework.web.servlet.resource.ResourceHttpRequestHandler
-
Specify the CORS configuration for resources served by this handler.
- setCorsConfigurations(Map<String, CorsConfiguration>) - Method in class org.springframework.web.servlet.handler.AbstractHandlerMapping
-
Set "global" CORS configuration mappings.
- setCorsConfigurationSource(CorsConfigurationSource) - Method in class org.springframework.web.servlet.handler.AbstractHandlerMapping
-
Set a CorsConfigurationSource
for "global" CORS config.
- setCorsProcessor(CorsProcessor) - Method in class org.springframework.web.servlet.handler.AbstractHandlerMapping
-
Configure a custom CorsProcessor
to use to apply the matched
CorsConfiguration
for a request.
- setCssClass(String) - Method in class org.springframework.web.servlet.tags.form.AbstractHtmlElementTag
-
Set the value of the 'class
' attribute.
- setCssErrorClass(String) - Method in class org.springframework.web.servlet.tags.form.AbstractHtmlElementTag
-
The CSS class to use when the field bound to a particular tag has errors.
- setCssErrorClass(String) - Method in class org.springframework.web.servlet.tags.form.FormTag
-
Unsupported for forms.
- setCssStyle(String) - Method in class org.springframework.web.servlet.tags.form.AbstractHtmlElementTag
-
Set the value of the 'style
' attribute.
- setCustomArgumentResolvers(List<HandlerMethodArgumentResolver>) - Method in class org.springframework.web.servlet.mvc.method.annotation.ExceptionHandlerExceptionResolver
-
Provide resolvers for custom argument types.
- setCustomArgumentResolvers(List<HandlerMethodArgumentResolver>) - Method in class org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter
-
Provide resolvers for custom argument types.
- setCustomReturnValueHandlers(List<HandlerMethodReturnValueHandler>) - Method in class org.springframework.web.servlet.mvc.method.annotation.ExceptionHandlerExceptionResolver
-
Provide handlers for custom return value types.
- setCustomReturnValueHandlers(List<HandlerMethodReturnValueHandler>) - Method in class org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter
-
Provide handlers for custom return value types.
- setDefaultErrorView(String) - Method in class org.springframework.web.servlet.handler.SimpleMappingExceptionResolver
-
Set the name of the default error view.
- setDefaultHandler(Object) - Method in class org.springframework.web.servlet.handler.AbstractHandlerMapping
-
Set the default handler for this handler mapping.
- setDefaultHtmlEscape(boolean) - Method in class org.springframework.web.servlet.support.RequestContext
-
(De)activate default HTML escaping for messages and errors, for the scope of this RequestContext.
- setDefaultHtmlEscape(boolean) - Method in class org.springframework.web.servlet.tags.HtmlEscapeTag
-
Set the default value for HTML escaping,
to be put into the current PageContext.
- setDefaultLocale(Locale) - Method in class org.springframework.web.servlet.i18n.AbstractLocaleResolver
-
Set a default Locale that this resolver will return if no other locale found.
- setDefaultLocale(Locale) - Method in class org.springframework.web.servlet.i18n.AcceptHeaderLocaleResolver
-
Configure a fixed default locale to fall back on if the request does not
have an "Accept-Language" header.
- setDefaultLocale(Locale) - Method in class org.springframework.web.servlet.i18n.CookieLocaleResolver
-
Set a fixed locale that this resolver will return if no cookie found.
- setDefaultParentView(String) - Method in class org.springframework.web.servlet.view.ResourceBundleViewResolver
-
Deprecated.
Set the default parent for views defined in the ResourceBundle
.
- setDefaultServletName(String) - Method in class org.springframework.web.servlet.resource.DefaultServletHttpRequestHandler
-
Set the name of the default Servlet to be forwarded to for static resource requests.
- setDefaultStatusCode(int) - Method in class org.springframework.web.servlet.handler.SimpleMappingExceptionResolver
-
Set the default HTTP status code that this exception resolver will apply
if it resolves an error view and if there is no status code mapping defined.
- setDefaultThemeName(String) - Method in class org.springframework.web.servlet.theme.AbstractThemeResolver
-
Set the name of the default theme.
- setDefaultThemeName(String) - Method in class org.springframework.web.servlet.theme.CookieThemeResolver
-
Set the name of the default theme.
- setDefaultTimeout(long) - Method in class org.springframework.web.servlet.config.annotation.AsyncSupportConfigurer
-
Specify the amount of time, in milliseconds, before asynchronous request
handling times out.
- setDefaultTimeZone(TimeZone) - Method in class org.springframework.web.servlet.i18n.AbstractLocaleContextResolver
-
Set a default TimeZone that this resolver will return if no other time zone found.
- setDefaultTimeZone(TimeZone) - Method in class org.springframework.web.servlet.i18n.CookieLocaleResolver
-
Set a fixed time zone that this resolver will return if no cookie found.
- setDefaultViews(List<View>) - Method in class org.springframework.web.servlet.view.ContentNegotiatingViewResolver
-
Set the default views to use when a more specific view can not be obtained
from the
ViewResolver
chain.
- setDeferredResultInterceptors(List<DeferredResultProcessingInterceptor>) - Method in class org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter
-
Configure DeferredResultProcessingInterceptor
's to register on async requests.
- setDefinitions(String...) - Method in class org.springframework.web.servlet.view.tiles3.TilesConfigurer
-
Set the Tiles definitions, i.e.
- setDefinitionsFactoryClass(Class<? extends DefinitionsFactory>) - Method in class org.springframework.web.servlet.view.tiles3.TilesConfigurer
-
- setDelimiter(String) - Method in class org.springframework.web.servlet.tags.form.AbstractMultiCheckedElementTag
-
Set the delimiter to be used between each
'input type="checkbox/radio"
' tag.
- setDelimiter(String) - Method in class org.springframework.web.servlet.tags.form.ErrorsTag
-
Set the delimiter to be used between error messages.
- setDetectAllHandlerAdapters(boolean) - Method in class org.springframework.web.servlet.DispatcherServlet
-
Set whether to detect all HandlerAdapter beans in this servlet's context.
- setDetectAllHandlerExceptionResolvers(boolean) - Method in class org.springframework.web.servlet.DispatcherServlet
-
Set whether to detect all HandlerExceptionResolver beans in this servlet's context.
- setDetectAllHandlerMappings(boolean) - Method in class org.springframework.web.servlet.DispatcherServlet
-
Set whether to detect all HandlerMapping beans in this servlet's context.
- setDetectAllViewResolvers(boolean) - Method in class org.springframework.web.servlet.DispatcherServlet
-
Set whether to detect all ViewResolver beans in this servlet's context.
- setDetectHandlerFunctionsInAncestorContexts(boolean) - Method in class org.springframework.web.servlet.function.support.RouterFunctionMapping
-
Set whether to detect handler functions in ancestor ApplicationContexts.
- setDetectHandlerMethodsInAncestorContexts(boolean) - Method in class org.springframework.web.servlet.handler.AbstractHandlerMethodMapping
-
Whether to detect handler methods in beans in ancestor ApplicationContexts.
- setDetectHandlersInAncestorContexts(boolean) - Method in class org.springframework.web.servlet.handler.AbstractDetectingUrlHandlerMapping
-
Set whether to detect handler beans in ancestor ApplicationContexts.
- setDir(String) - Method in class org.springframework.web.servlet.tags.form.AbstractHtmlElementTag
-
Set the value of the 'dir
' attribute.
- setDisableCaching(boolean) - Method in class org.springframework.web.servlet.view.json.AbstractJackson2View
-
Disables caching of the generated JSON.
- setDisabled(boolean) - Method in class org.springframework.web.servlet.tags.form.AbstractHtmlInputElementTag
-
Set the value of the 'disabled
' attribute.
- setDisabled(boolean) - Method in class org.springframework.web.servlet.tags.form.ButtonTag
-
Set the value of the 'disabled
' attribute.
- setDisabled(boolean) - Method in class org.springframework.web.servlet.tags.form.HiddenInputTag
-
Set the value of the 'disabled
' attribute.
- setDisabled(boolean) - Method in class org.springframework.web.servlet.tags.form.OptionsTag
-
Set the value of the 'disabled
' attribute.
- setDisabled(boolean) - Method in class org.springframework.web.servlet.tags.form.OptionTag
-
Set the value of the 'disabled
' attribute.
- setDispatchOptionsRequest(boolean) - Method in class org.springframework.web.servlet.FrameworkServlet
-
- setDispatchTraceRequest(boolean) - Method in class org.springframework.web.servlet.FrameworkServlet
-
- setDynamicAttribute(String, String, Object) - Method in class org.springframework.web.servlet.tags.form.AbstractHtmlElementTag
- setElement(String) - Method in class org.springframework.web.servlet.tags.form.AbstractMultiCheckedElementTag
-
Set the HTML element used to enclose the
'input type="checkbox/radio"
' tag.
- setElement(String) - Method in class org.springframework.web.servlet.tags.form.ErrorsTag
-
Set the HTML element must be used to render the error messages.
- setEmbeddedValueResolver(StringValueResolver) - Method in class org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping
-
- setEmbeddedValueResolver(StringValueResolver) - Method in class org.springframework.web.servlet.resource.ResourceHttpRequestHandler
-
- setEnableLoggingRequestDetails(boolean) - Method in class org.springframework.web.servlet.FrameworkServlet
-
Whether to log request params at DEBUG level, and headers at TRACE level.
- setEncoding(String) - Method in class org.springframework.web.servlet.view.freemarker.FreeMarkerView
-
Set the encoding of the FreeMarker template file.
- setEncoding(JsonEncoding) - Method in class org.springframework.web.servlet.view.json.AbstractJackson2View
-
Set the JsonEncoding
for this view.
- setEncodingScheme(String) - Method in class org.springframework.web.servlet.view.RedirectView
-
Set the encoding scheme for this view.
- setEnctype(String) - Method in class org.springframework.web.servlet.tags.form.FormTag
-
Set the value of the 'enctype
' attribute.
- setEngine(ScriptEngine) - Method in class org.springframework.web.servlet.view.script.ScriptTemplateConfigurer
-
- setEngine(ScriptEngine) - Method in class org.springframework.web.servlet.view.script.ScriptTemplateView
-
- setEngineName(String) - Method in class org.springframework.web.servlet.view.script.ScriptTemplateConfigurer
-
Set the engine name that will be used to instantiate the
ScriptEngine
.
- setEngineName(String) - Method in class org.springframework.web.servlet.view.script.ScriptTemplateView
-
- setEngineSupplier(Supplier<ScriptEngine>) - Method in class org.springframework.web.servlet.view.script.ScriptTemplateConfigurer
-
- setEngineSupplier(Supplier<ScriptEngine>) - Method in class org.springframework.web.servlet.view.script.ScriptTemplateView
-
- setEnvironment(Environment) - Method in class org.springframework.web.servlet.HttpServletBean
-
Set the Environment
that this servlet runs in.
- setErrorListener(ErrorListener) - Method in class org.springframework.web.servlet.view.xslt.XsltView
-
Set an implementation of the
ErrorListener
interface for custom handling of transformation errors and warnings.
- setErrorListener(ErrorListener) - Method in class org.springframework.web.servlet.view.xslt.XsltViewResolver
-
Set an implementation of the
ErrorListener
interface for custom handling of transformation errors and warnings.
- setExceptionAttribute(String) - Method in class org.springframework.web.servlet.handler.SimpleMappingExceptionResolver
-
Set the name of the model attribute as which the exception should be exposed.
- setExceptionMappings(Properties) - Method in class org.springframework.web.servlet.handler.SimpleMappingExceptionResolver
-
Set the mappings between exception class names and error view names.
- setExceptionResolvers(List<HandlerExceptionResolver>) - Method in class org.springframework.web.servlet.handler.HandlerExceptionResolverComposite
-
Set the list of exception resolvers to delegate to.
- setExcludedExceptions(Class<?>...) - Method in class org.springframework.web.servlet.handler.SimpleMappingExceptionResolver
-
Set one or more exceptions to be excluded from the exception mappings.
- setExpandUriTemplateVariables(boolean) - Method in class org.springframework.web.servlet.view.RedirectView
-
Whether to treat the redirect URL as a URI template.
- setExpirationTime(long) - Method in class org.springframework.web.servlet.FlashMap
-
Set the expiration time for the FlashMap.
- setExposeContextBeansAsAttributes(boolean) - Method in class org.springframework.web.servlet.view.AbstractView
-
Set whether to make all Spring beans in the application context accessible
as request attributes, through lazy checking once an attribute gets accessed.
- setExposeContextBeansAsAttributes(boolean) - Method in class org.springframework.web.servlet.view.UrlBasedViewResolver
-
Set whether to make all Spring beans in the application context accessible
as request attributes, through lazy checking once an attribute gets accessed.
- setExposedContextBeanNames(String...) - Method in class org.springframework.web.servlet.view.AbstractView
-
Specify the names of beans in the context which are supposed to be exposed.
- setExposedContextBeanNames(String...) - Method in class org.springframework.web.servlet.view.UrlBasedViewResolver
-
Specify the names of beans in the context which are supposed to be exposed.
- setExposeJstlAttributes(boolean) - Method in class org.springframework.web.servlet.view.tiles3.TilesView
-
Whether to expose JSTL attributes.
- setExposeModelAttributes(boolean) - Method in class org.springframework.web.servlet.view.RedirectView
-
Set the exposeModelAttributes
flag which denotes whether
or not model attributes should be exposed as HTTP query parameters.
- setExposePathVariables(boolean) - Method in class org.springframework.web.servlet.view.AbstractView
-
Specify whether to add path variables to the model or not.
- setExposePathVariables(Boolean) - Method in class org.springframework.web.servlet.view.UrlBasedViewResolver
-
Specify whether views resolved by this resolver should add path
variables to the model or not.
- setExposeRequestAttributes(boolean) - Method in class org.springframework.web.servlet.view.AbstractTemplateView
-
Set whether all request attributes should be added to the
model prior to merging with the template.
- setExposeRequestAttributes(boolean) - Method in class org.springframework.web.servlet.view.AbstractTemplateViewResolver
-
Set whether all request attributes should be added to the
model prior to merging with the template.
- setExposeSessionAttributes(boolean) - Method in class org.springframework.web.servlet.view.AbstractTemplateView
-
Set whether all HttpSession attributes should be added to the
model prior to merging with the template.
- setExposeSessionAttributes(boolean) - Method in class org.springframework.web.servlet.view.AbstractTemplateViewResolver
-
Set whether all HttpSession attributes should be added to the
model prior to merging with the template.
- setExposeSpringMacroHelpers(boolean) - Method in class org.springframework.web.servlet.view.AbstractTemplateView
-
Set whether to expose a RequestContext for use by Spring's macro library,
under the name "springMacroRequestContext".
- setExposeSpringMacroHelpers(boolean) - Method in class org.springframework.web.servlet.view.AbstractTemplateViewResolver
-
Set whether to expose a RequestContext for use by Spring's macro library,
under the name "springMacroRequestContext".
- setExpression(String) - Method in class org.springframework.web.servlet.tags.EvalTag
-
Set the expression to evaluate.
- setExtensions(Map<String, String>) - Method in class org.springframework.web.servlet.resource.EncodedResourceResolver
-
Configure mappings from content codings to file extensions.
- setExtractValueFromSingleKeyModel(boolean) - Method in class org.springframework.web.servlet.view.json.MappingJackson2JsonView
-
Set whether to serialize models containing a single attribute as a map or
whether to extract the single value from the model and serialize it directly.
- setFeedType(String) - Method in class org.springframework.web.servlet.view.feed.AbstractAtomFeedView
-
Set the Rome feed type to use.
- setFlashMapTimeout(int) - Method in class org.springframework.web.servlet.support.AbstractFlashMapManager
-
Set the amount of time in seconds after a
FlashMap
is saved
(at request completion) and before it expires.
- setFor(String) - Method in class org.springframework.web.servlet.tags.form.LabelTag
-
Set the value of the 'for
' attribute.
- setHandlerMap(Map<String, ResourceHttpRequestHandler>) - Method in class org.springframework.web.servlet.resource.ResourceUrlProvider
-
Manually configure the resource mappings.
- setHandlerMethodMappingNamingStrategy(HandlerMethodMappingNamingStrategy<T>) - Method in class org.springframework.web.servlet.handler.AbstractHandlerMethodMapping
-
Configure the naming strategy to use for assigning a default name to every
mapped handler method.
- setHandlerMethodReturnValueHandlers(HandlerMethodReturnValueHandlerComposite) - Method in class org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod
-
Register HandlerMethodReturnValueHandler
instances to use to
handle return values.
- setHeaders(HttpServletResponse, Resource, MediaType) - Method in class org.springframework.web.servlet.resource.ResourceHttpRequestHandler
-
Set headers on the given servlet response.
- setHosts(String...) - Method in class org.springframework.web.servlet.view.RedirectView
-
Configure one or more hosts associated with the application.
- setHtmlEscape(boolean) - Method in class org.springframework.web.servlet.tags.HtmlEscapingAwareTag
-
Set HTML escaping for this tag, as boolean value.
- setHttp10Compatible(boolean) - Method in class org.springframework.web.servlet.view.RedirectView
-
Set whether to stay compatible with HTTP 1.0 clients.
- setHttpMethods(String...) - Method in class org.springframework.web.servlet.i18n.LocaleChangeInterceptor
-
Configure the HTTP method(s) over which the locale can be changed.
- setId(String) - Method in class org.springframework.web.servlet.tags.form.AbstractDataBoundFormElementTag
-
Set the value of the 'id
' attribute.
- setIgnoreDefaultModelOnRedirect(boolean) - Method in class org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter
-
By default the content of the "default" model is used both during
rendering and redirect scenarios.
- setIgnoreInvalidLocale(boolean) - Method in class org.springframework.web.servlet.i18n.LocaleChangeInterceptor
-
Set whether to ignore an invalid value for the locale parameter.
- setIgnoreNestedPath(boolean) - Method in class org.springframework.web.servlet.tags.BindTag
-
Set whether to ignore a nested path, if any.
- setIndent(boolean) - Method in class org.springframework.web.servlet.view.xslt.XsltView
-
Set whether the XSLT transformer may add additional whitespace when
outputting the result tree.
- setIndent(boolean) - Method in class org.springframework.web.servlet.view.xslt.XsltViewResolver
-
Set whether the XSLT transformer may add additional whitespace when
outputting the result tree.
- setInitBinderArgumentResolvers(List<HandlerMethodArgumentResolver>) - Method in class org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter
-
Configure the supported argument types in @InitBinder
methods.
- setInitParameters(Properties) - Method in class org.springframework.web.servlet.mvc.ServletWrappingController
-
Specify init parameters for the servlet to wrap,
as name-value pairs.
- setInterceptors(Object...) - Method in class org.springframework.web.servlet.handler.AbstractHandlerMapping
-
Set the interceptors to apply for all handlers mapped by this handler mapping.
- setItemLabel(String) - Method in class org.springframework.web.servlet.tags.form.AbstractMultiCheckedElementTag
-
Set the value to be displayed as part of the
'input type="checkbox/radio"
' tag.
- setItemLabel(String) - Method in class org.springframework.web.servlet.tags.form.OptionsTag
-
Set the name of the property mapped to the label (inner text) of the
'option
' tag.
- setItemLabel(String) - Method in class org.springframework.web.servlet.tags.form.SelectTag
-
Set the name of the property mapped to the label (inner text) of the
'option
' tag.
- setItems(Object) - Method in class org.springframework.web.servlet.tags.form.AbstractMultiCheckedElementTag
-
Set the
Collection
,
Map
or array of objects
used to generate the '
input type="checkbox/radio"
' tags.
- setItems(Object) - Method in class org.springframework.web.servlet.tags.form.OptionsTag
-
Set the
Collection
,
Map
or array
of objects used to generate the inner '
option
' tags.
- setItems(Object) - Method in class org.springframework.web.servlet.tags.form.SelectTag
-
Set the
Collection
,
Map
or array of objects used to
generate the inner '
option
' tags.
- setItemValue(String) - Method in class org.springframework.web.servlet.tags.form.AbstractMultiCheckedElementTag
-
Set the name of the property mapped to the 'value
' attribute
of the 'input type="checkbox/radio"
' tag.
- setItemValue(String) - Method in class org.springframework.web.servlet.tags.form.OptionsTag
-
Set the name of the property mapped to the 'value
'
attribute of the 'option
' tag.
- setItemValue(String) - Method in class org.springframework.web.servlet.tags.form.SelectTag
-
Set the name of the property mapped to the 'value
'
attribute of the 'option
' tag.
- setJavaScriptEscape(boolean) - Method in class org.springframework.web.servlet.tags.EscapeBodyTag
-
Set JavaScript escaping for this tag, as boolean value.
- setJavaScriptEscape(boolean) - Method in class org.springframework.web.servlet.tags.EvalTag
-
Set JavaScript escaping for this tag, as boolean value.
- setJavaScriptEscape(boolean) - Method in class org.springframework.web.servlet.tags.MessageTag
-
Set JavaScript escaping for this tag, as boolean value.
- setJavaScriptEscape(boolean) - Method in class org.springframework.web.servlet.tags.UrlTag
-
Set JavaScript escaping for this tag, as boolean value.
- setJsonPrefix(String) - Method in class org.springframework.web.servlet.view.json.MappingJackson2JsonView
-
Specify a custom prefix to use for this view's JSON output.
- setKeepQueryParams(boolean) - Method in class org.springframework.web.servlet.config.annotation.RedirectViewControllerRegistration
-
Whether to propagate the query parameters of the current request through
to the target redirect URL.
- setLabel(Object) - Method in class org.springframework.web.servlet.tags.form.AbstractSingleCheckedElementTag
-
Set the value of the 'label
' attribute.
- setLabel(String) - Method in class org.springframework.web.servlet.tags.form.OptionTag
-
Set the text body of the rendered HTML <option>
tag.
- setLang(String) - Method in class org.springframework.web.servlet.tags.form.AbstractHtmlElementTag
-
Set the value of the 'lang
' attribute.
- setLanguageTagCompliant(boolean) - Method in class org.springframework.web.servlet.i18n.CookieLocaleResolver
-
Specify whether this resolver's cookies should be compliant with BCP 47
language tags instead of Java's legacy locale specification format.
- setLanguageTagCompliant(boolean) - Method in class org.springframework.web.servlet.i18n.LocaleChangeInterceptor
-
- setLazyInitHandlers(boolean) - Method in class org.springframework.web.servlet.handler.AbstractUrlHandlerMapping
-
Set whether to lazily initialize handlers.
- setLocale(HttpServletRequest, HttpServletResponse, Locale) - Method in class org.springframework.web.servlet.i18n.AbstractLocaleContextResolver
-
- setLocale(HttpServletRequest, HttpServletResponse, Locale) - Method in class org.springframework.web.servlet.i18n.AcceptHeaderLocaleResolver
-
- setLocale(HttpServletRequest, HttpServletResponse, Locale) - Method in class org.springframework.web.servlet.i18n.CookieLocaleResolver
-
- setLocale(HttpServletRequest, HttpServletResponse, Locale) - Method in interface org.springframework.web.servlet.LocaleResolver
-
Set the current locale to the given one.
- setLocale(Locale) - Method in class org.springframework.web.servlet.view.groovy.GroovyMarkupConfigurer
-
This method should not be used, since the considered Locale for resolving
templates is the Locale for the current HTTP request.
- setLocaleAttributeName(String) - Method in class org.springframework.web.servlet.i18n.SessionLocaleResolver
-
Specify the name of the corresponding attribute in the
HttpSession
,
holding the current
Locale
value.
- setLocaleContext(HttpServletRequest, HttpServletResponse, LocaleContext) - Method in class org.springframework.web.servlet.i18n.CookieLocaleResolver
-
- setLocaleContext(HttpServletRequest, HttpServletResponse, LocaleContext) - Method in class org.springframework.web.servlet.i18n.FixedLocaleResolver
-
- setLocaleContext(HttpServletRequest, HttpServletResponse, LocaleContext) - Method in class org.springframework.web.servlet.i18n.SessionLocaleResolver
-
- setLocaleContext(HttpServletRequest, HttpServletResponse, LocaleContext) - Method in interface org.springframework.web.servlet.LocaleContextResolver
-
Set the current locale context to the given one,
potentially including a locale with associated time zone information.
- setLocalesToInitialize(Locale...) - Method in class org.springframework.web.servlet.view.ResourceBundleViewResolver
-
Deprecated.
Specify Locales to initialize eagerly, rather than lazily when actually accessed.
- setLocation(Resource) - Method in class org.springframework.web.servlet.view.XmlViewResolver
-
Deprecated.
Set the location of the XML file that defines the view beans.
- setLocationCharsets(Map<Resource, Charset>) - Method in class org.springframework.web.servlet.resource.PathResourceResolver
-
Configure charsets associated with locations.
- setLocations(List<Resource>) - Method in class org.springframework.web.servlet.resource.ResourceHttpRequestHandler
-
Configure locations to serve resources from as pre-resourced Resource's.
- setLocationValues(List<String>) - Method in class org.springframework.web.servlet.resource.ResourceHttpRequestHandler
-
Configure String-based locations to serve resources from.
- setMappedHandlerClasses(Class<?>...) - Method in class org.springframework.web.servlet.handler.AbstractHandlerExceptionResolver
-
Specify the set of classes that this exception resolver should apply to.
- setMappedHandlers(Set<?>) - Method in class org.springframework.web.servlet.handler.AbstractHandlerExceptionResolver
-
Specify the set of handlers that this exception resolver should apply to.
- setMappings(Properties) - Method in class org.springframework.web.servlet.handler.SimpleUrlHandlerMapping
-
Map URL paths to handler bean names.
- setMarshaller(Marshaller) - Method in class org.springframework.web.servlet.view.xml.MarshallingView
-
Set the Marshaller
to be used by this view.
- setMaxlength(String) - Method in class org.springframework.web.servlet.tags.form.InputTag
-
Set the value of the 'maxlength
' attribute.
- setMediaTypes(Map<String, MediaType>) - Method in class org.springframework.web.servlet.resource.ResourceHttpRequestHandler
-
Add mappings between file extensions, extracted from the filename of a
static Resource
, and corresponding media type to set on the
response.
- setMessage(MessageSourceResolvable) - Method in class org.springframework.web.servlet.tags.MessageTag
-
Set the MessageSourceResolvable for this tag.
- setMessageConverters(List<HttpMessageConverter<?>>) - Method in class org.springframework.web.servlet.function.support.RouterFunctionMapping
-
Set the message body converters to use.
- setMessageConverters(List<HttpMessageConverter<?>>) - Method in class org.springframework.web.servlet.mvc.method.annotation.ExceptionHandlerExceptionResolver
-
Set the message body converters to use.
- setMessageConverters(List<HttpMessageConverter<?>>) - Method in class org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter
-
Provide the converters to use in argument resolvers and return value
handlers that support reading and/or writing to the body of the
request and response.
- setMessageSource(MessageSource) - Method in class org.springframework.web.servlet.mvc.annotation.ResponseStatusExceptionResolver
-
- setMethod(String) - Method in class org.springframework.web.servlet.tags.form.FormTag
-
Set the value of the 'method
' attribute.
- setMethodParam(String) - Method in class org.springframework.web.servlet.tags.form.FormTag
-
Set the name of the request param for non-browser supported HTTP methods.
- setModelAndViewResolvers(List<ModelAndViewResolver>) - Method in class org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter
-
- setModelAttribute(String) - Method in class org.springframework.web.servlet.tags.form.FormTag
-
Set the name of the form attribute in the model.
- setModelKey(String) - Method in class org.springframework.web.servlet.view.json.AbstractJackson2View
-
Set the attribute in the model that should be rendered by this view.
- setModelKey(String) - Method in class org.springframework.web.servlet.view.json.MappingJackson2JsonView
-
Set the attribute in the model that should be rendered by this view.
- setModelKey(String) - Method in class org.springframework.web.servlet.view.xml.MappingJackson2XmlView
-
- setModelKey(String) - Method in class org.springframework.web.servlet.view.xml.MarshallingView
-
Set the name of the model key that represents the object to be marshalled.
- setModelKeys(Set<String>) - Method in class org.springframework.web.servlet.view.json.MappingJackson2JsonView
-
Set the attributes in the model that should be rendered by this view.
- setMultiple(Object) - Method in class org.springframework.web.servlet.tags.form.SelectTag
-
Set the value of the HTML 'multiple
' attribute rendered
on the final 'select
' element.
- setName(String) - Method in class org.springframework.web.servlet.tags.BindErrorsTag
-
Set the name of the bean that this tag should check.
- setName(String) - Method in class org.springframework.web.servlet.tags.form.ButtonTag
-
Get the value of the 'name
' attribute.
- setName(String) - Method in class org.springframework.web.servlet.tags.form.FormTag
-
Set the value of the 'name
' attribute.
- setName(String) - Method in class org.springframework.web.servlet.tags.Param
-
Set the raw name of the parameter.
- setName(String) - Method in class org.springframework.web.servlet.tags.ParamTag
-
Set the name of the parameter (required).
- setNamespace(String) - Method in class org.springframework.web.servlet.FrameworkServlet
-
Set a custom namespace for this servlet,
to be used for building a default context config location.
- setObjectMapper(ObjectMapper) - Method in class org.springframework.web.servlet.view.json.AbstractJackson2View
-
Set the ObjectMapper
for this view.
- setOnblur(String) - Method in class org.springframework.web.servlet.tags.form.AbstractHtmlInputElementTag
-
Set the value of the 'onblur
' attribute.
- setOnchange(String) - Method in class org.springframework.web.servlet.tags.form.AbstractHtmlInputElementTag
-
Set the value of the 'onchange
' attribute.
- setOnclick(String) - Method in class org.springframework.web.servlet.tags.form.AbstractHtmlElementTag
-
Set the value of the 'onclick
' attribute.
- setOndblclick(String) - Method in class org.springframework.web.servlet.tags.form.AbstractHtmlElementTag
-
Set the value of the 'ondblclick
' attribute.
- setOnfocus(String) - Method in class org.springframework.web.servlet.tags.form.AbstractHtmlInputElementTag
-
Set the value of the 'onfocus
' attribute.
- setOnkeydown(String) - Method in class org.springframework.web.servlet.tags.form.AbstractHtmlElementTag
-
Set the value of the 'onkeydown
' attribute.
- setOnkeypress(String) - Method in class org.springframework.web.servlet.tags.form.AbstractHtmlElementTag
-
Set the value of the 'onkeypress
' attribute.
- setOnkeyup(String) - Method in class org.springframework.web.servlet.tags.form.AbstractHtmlElementTag
-
Set the value of the 'onkeyup
' attribute.
- setOnmousedown(String) - Method in class org.springframework.web.servlet.tags.form.AbstractHtmlElementTag
-
Set the value of the 'onmousedown
' attribute.
- setOnmousemove(String) - Method in class org.springframework.web.servlet.tags.form.AbstractHtmlElementTag
-
Set the value of the 'onmousemove
' attribute.
- setOnmouseout(String) - Method in class org.springframework.web.servlet.tags.form.AbstractHtmlElementTag
-
Set the value of the 'onmouseout
' attribute.
- setOnmouseover(String) - Method in class org.springframework.web.servlet.tags.form.AbstractHtmlElementTag
-
Set the value of the 'onmouseover
' attribute.
- setOnmouseup(String) - Method in class org.springframework.web.servlet.tags.form.AbstractHtmlElementTag
-
Set the value of the 'onmouseup
' attribute.
- setOnreset(String) - Method in class org.springframework.web.servlet.tags.form.FormTag
-
Set the value of the 'onreset
' attribute.
- setOnselect(String) - Method in class org.springframework.web.servlet.tags.form.InputTag
-
Set the value of the 'onselect
' attribute.
- setOnselect(String) - Method in class org.springframework.web.servlet.tags.form.TextareaTag
-
Set the value of the 'onselect
' attribute.
- setOnsubmit(String) - Method in class org.springframework.web.servlet.tags.form.FormTag
-
Set the value of the 'onsubmit
' attribute.
- setOptimizeLocations(boolean) - Method in class org.springframework.web.servlet.config.annotation.ResourceHandlerRegistration
-
Set whether to optimize the specified locations through an existence check on startup,
filtering non-existing directories upfront so that they do not have to be checked
on every resource access.
- setOptimizeLocations(boolean) - Method in class org.springframework.web.servlet.resource.ResourceHttpRequestHandler
-
Set whether to optimize the specified locations through an existence
check on startup, filtering non-existing directories upfront so that
they do not have to be checked on every resource access.
- setOrder(int) - Method in class org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry
-
Specify the order to use for resource handling relative to other
HandlerMappings
configured in the Spring MVC application context.
- setOrder(int) - Method in class org.springframework.web.servlet.config.annotation.ViewControllerRegistry
-
Specify the order to use for the HandlerMapping
used to map view
controllers relative to other handler mappings configured in Spring MVC.
- setOrder(int) - Method in class org.springframework.web.servlet.function.support.HandlerFunctionAdapter
-
Specify the order value for this HandlerAdapter bean.
- setOrder(int) - Method in class org.springframework.web.servlet.handler.AbstractHandlerExceptionResolver
-
- setOrder(int) - Method in class org.springframework.web.servlet.handler.AbstractHandlerMapping
-
Specify the order value for this HandlerMapping bean.
- setOrder(int) - Method in class org.springframework.web.servlet.handler.HandlerExceptionResolverComposite
-
- setOrder(int) - Method in class org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter
-
Specify the order value for this HandlerAdapter bean.
- setOrder(int) - Method in class org.springframework.web.servlet.view.BeanNameViewResolver
-
Specify the order value for this ViewResolver bean.
- setOrder(int) - Method in class org.springframework.web.servlet.view.ContentNegotiatingViewResolver
-
- setOrder(int) - Method in class org.springframework.web.servlet.view.ResourceBundleViewResolver
-
Deprecated.
Specify the order value for this ViewResolver bean.
- setOrder(int) - Method in class org.springframework.web.servlet.view.UrlBasedViewResolver
-
Specify the order value for this ViewResolver bean.
- setOrder(int) - Method in class org.springframework.web.servlet.view.ViewResolverComposite
-
- setOrder(int) - Method in class org.springframework.web.servlet.view.XmlViewResolver
-
Deprecated.
Specify the order value for this ViewResolver bean.
- setOutputProperties(Properties) - Method in class org.springframework.web.servlet.view.xslt.XsltView
-
Set arbitrary transformer output properties to be applied to the stylesheet.
- setOutputProperties(Properties) - Method in class org.springframework.web.servlet.view.xslt.XsltViewResolver
-
Set arbitrary transformer output properties to be applied to the stylesheet.
- setParameterNameDiscoverer(ParameterNameDiscoverer) - Method in class org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter
-
Set the ParameterNameDiscoverer to use for resolving method parameter names if needed
(e.g.
- setParamName(String) - Method in class org.springframework.web.servlet.i18n.LocaleChangeInterceptor
-
Set the name of the parameter that contains a locale specification
in a locale change request.
- setParamName(String) - Method in class org.springframework.web.servlet.theme.ThemeChangeInterceptor
-
Set the name of the parameter that contains a theme specification
in a theme change request.
- setPath(String) - Method in class org.springframework.web.servlet.tags.BindTag
-
Set the path that this tag should apply.
- setPath(String) - Method in class org.springframework.web.servlet.tags.form.AbstractDataBoundFormElementTag
-
- setPath(String) - Method in class org.springframework.web.servlet.tags.form.FormTag
-
Unsupported for forms.
- setPath(String) - Method in class org.springframework.web.servlet.tags.NestedPathTag
-
Set the path that this tag should apply.
- setPathMatcher(PathMatcher) - Method in class org.springframework.web.servlet.config.annotation.PathMatchConfigurer
-
Set the PathMatcher to use for String pattern matching.
- setPathMatcher(PathMatcher) - Method in class org.springframework.web.servlet.handler.AbstractHandlerMapping
-
Configure the PathMatcher to use.
- setPathMatcher(PathMatcher) - Method in class org.springframework.web.servlet.handler.MappedInterceptor
-
Configure the PathMatcher to use to match URL paths with against include
and exclude patterns.
- setPathMatcher(PathMatcher) - Method in class org.springframework.web.servlet.mvc.method.RequestMappingInfo.BuilderConfiguration
-
Set a custom PathMatcher to use for the PatternsRequestCondition.
- setPathMatcher(PathMatcher) - Method in class org.springframework.web.servlet.mvc.WebContentInterceptor
-
Configure the PathMatcher to use to match URL paths against registered
URL patterns to select the cache settings for a request.
- setPathMatcher(PathMatcher) - Method in class org.springframework.web.servlet.resource.ResourceUrlProvider
-
Configure a PathMatcher
to use when comparing target lookup path
against resource mappings.
- setPathPrefixes(Map<String, Predicate<Class<?>>>) - Method in class org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping
-
Configure path prefixes to apply to controller methods.
- setPatternParser(PathPatternParser) - Method in class org.springframework.web.servlet.config.annotation.PathMatchConfigurer
-
- setPatternParser(PathPatternParser) - Method in class org.springframework.web.servlet.handler.AbstractHandlerMapping
-
Enable use of pre-parsed PathPattern
s as an alternative to
String pattern matching with AntPathMatcher
.
- setPatternParser(PathPatternParser) - Method in class org.springframework.web.servlet.handler.AbstractHandlerMethodMapping
-
- setPatternParser(PathPatternParser) - Method in class org.springframework.web.servlet.handler.AbstractUrlHandlerMapping
-
- setPatternParser(PathPatternParser) - Method in class org.springframework.web.servlet.mvc.method.RequestMappingInfo.BuilderConfiguration
-
- setPrefix(String) - Method in class org.springframework.web.servlet.mvc.UrlFilenameViewController
-
Set the prefix to prepend to the request URL filename
to build a view name.
- setPrefix(String) - Method in class org.springframework.web.servlet.view.DefaultRequestToViewNameTranslator
-
Set the prefix to prepend to generated view names.
- setPrefix(String) - Method in class org.springframework.web.servlet.view.UrlBasedViewResolver
-
Set the prefix that gets prepended to view names when building a URL.
- setPrefixJson(boolean) - Method in class org.springframework.web.servlet.view.json.MappingJackson2JsonView
-
Indicates whether the JSON output by this view should be prefixed with ")]}', ".
- setPreparerFactoryClass(Class<? extends PreparerFactory>) - Method in class org.springframework.web.servlet.view.tiles3.TilesConfigurer
-
- setPrettyPrint(boolean) - Method in class org.springframework.web.servlet.view.json.AbstractJackson2View
-
Whether to use the default pretty printer when writing the output.
- setPreventDispatchLoop(boolean) - Method in class org.springframework.web.servlet.view.InternalResourceView
-
Set whether to explicitly prevent dispatching back to the
current handler path.
- setPreventResponseCaching(boolean) - Method in class org.springframework.web.servlet.handler.AbstractHandlerExceptionResolver
-
Specify whether to prevent HTTP response caching for any view resolved
by this exception resolver.
- setPropagateQueryParams(boolean) - Method in class org.springframework.web.servlet.view.RedirectView
-
When set to true
the query string of the current URL is appended
and thus propagated through to the redirected URL.
- setPublishContext(boolean) - Method in class org.springframework.web.servlet.FrameworkServlet
-
Set whether to publish this servlet's context as a ServletContext attribute,
available to all objects in the web container.
- setPublishEvents(boolean) - Method in class org.springframework.web.servlet.FrameworkServlet
-
Set whether this servlet should publish a ServletRequestHandledEvent at the end
of each request.
- setReactiveAdapterRegistry(ReactiveAdapterRegistry) - Method in class org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter
-
Configure the registry for reactive library types to be supported as
return values from controller methods.
- setReadonly(boolean) - Method in class org.springframework.web.servlet.tags.form.AbstractHtmlInputElementTag
-
Sets the value of the 'readonly
' attribute.
- setRedirectContextRelative(boolean) - Method in class org.springframework.web.servlet.view.UrlBasedViewResolver
-
Set whether to interpret a given redirect URL that starts with a
slash ("/") as relative to the current ServletContext, i.e.
- setRedirectHosts(String...) - Method in class org.springframework.web.servlet.view.UrlBasedViewResolver
-
Configure one or more hosts associated with the application.
- setRedirectHttp10Compatible(boolean) - Method in class org.springframework.web.servlet.view.UrlBasedViewResolver
-
Set whether redirects should stay compatible with HTTP 1.0 clients.
- setRedirectPatterns(String...) - Method in class org.springframework.web.servlet.mvc.method.annotation.ModelAndViewMethodReturnValueHandler
-
Configure one more simple patterns (as described in PatternMatchUtils.simpleMatch(java.lang.String, java.lang.String)
)
to use in order to recognize custom redirect prefixes in addition to "redirect:".
- setRedirectPatterns(String...) - Method in class org.springframework.web.servlet.mvc.method.annotation.ViewNameMethodReturnValueHandler
-
Configure one more simple patterns (as described in PatternMatchUtils.simpleMatch(java.lang.String, java.lang.String)
)
to use in order to recognize custom redirect prefixes in addition to "redirect:".
- setRegisteredSuffixPatternMatch(boolean) - Method in class org.springframework.web.servlet.mvc.method.RequestMappingInfo.BuilderConfiguration
-
- setRejectInvalidCookies(boolean) - Method in class org.springframework.web.servlet.i18n.CookieLocaleResolver
-
Specify whether to reject cookies with invalid content (e.g.
- setRemoveSemicolonContent(boolean) - Method in class org.springframework.web.servlet.handler.AbstractHandlerMapping
-
Shortcut to same property on the underlying UrlPathHelper
.
- setRemoveSemicolonContent(boolean) - Method in class org.springframework.web.servlet.mvc.AbstractUrlViewController
-
Set if ";" (semicolon) content should be stripped from the request URI.
- setRemoveSemicolonContent(boolean) - Method in class org.springframework.web.servlet.view.DefaultRequestToViewNameTranslator
-
- setRenderer(Renderer) - Method in class org.springframework.web.servlet.view.tiles3.TilesView
-
- setRenderer(Renderer) - Method in class org.springframework.web.servlet.view.tiles3.TilesViewResolver
-
- setRenderFunction(String) - Method in class org.springframework.web.servlet.view.script.ScriptTemplateConfigurer
-
Set the render function name (optional).
- setRenderFunction(String) - Method in class org.springframework.web.servlet.view.script.ScriptTemplateView
-
- setRenderObject(String) - Method in class org.springframework.web.servlet.view.script.ScriptTemplateConfigurer
-
Set the object where the render function belongs (optional).
- setRenderObject(String) - Method in class org.springframework.web.servlet.view.script.ScriptTemplateView
-
- setRequestBodyAdvice(List<RequestBodyAdvice>) - Method in class org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter
-
Add one or more RequestBodyAdvice
instances to intercept the
request before it is read and converted for @RequestBody
and
HttpEntity
method arguments.
- setRequestContextAttribute(String) - Method in class org.springframework.web.servlet.view.AbstractView
-
Set the name of the RequestContext attribute for this view.
- setRequestContextAttribute(String) - Method in class org.springframework.web.servlet.view.UrlBasedViewResolver
-
Set the name of the RequestContext attribute for all views.
- setRequireSession(boolean) - Method in class org.springframework.web.servlet.support.WebContentGenerator
-
Set whether a session should be required to handle requests.
- setResourceHttpMessageConverter(ResourceHttpMessageConverter) - Method in class org.springframework.web.servlet.resource.ResourceHttpRequestHandler
-
Configure the ResourceHttpMessageConverter
to use.
- setResourceLoaderPath(String) - Method in class org.springframework.web.servlet.view.groovy.GroovyMarkupConfigurer
-
Set the Groovy Markup Template resource loader path(s) via a Spring resource
location.
- setResourceLoaderPath(String) - Method in class org.springframework.web.servlet.view.script.ScriptTemplateConfigurer
-
Set the resource loader path(s) via a Spring resource location.
- setResourceLoaderPath(String) - Method in class org.springframework.web.servlet.view.script.ScriptTemplateView
-
- setResourceRegionHttpMessageConverter(ResourceRegionHttpMessageConverter) - Method in class org.springframework.web.servlet.resource.ResourceHttpRequestHandler
-
Configure the ResourceRegionHttpMessageConverter
to use.
- setResourceResolvers(List<ResourceResolver>) - Method in class org.springframework.web.servlet.resource.ResourceHttpRequestHandler
-
- setResourceTransformers(List<ResourceTransformer>) - Method in class org.springframework.web.servlet.resource.ResourceHttpRequestHandler
-
- setResourceUrlProvider(ResourceUrlProvider) - Method in class org.springframework.web.servlet.resource.ResourceTransformerSupport
-
Configure a
ResourceUrlProvider
to use when resolving the public
URL of links in a transformed resource (e.g.
- setResponseBodyAdvice(List<ResponseBodyAdvice<?>>) - Method in class org.springframework.web.servlet.mvc.method.annotation.ExceptionHandlerExceptionResolver
-
Add one or more components to be invoked after the execution of a controller
method annotated with @ResponseBody
or returning ResponseEntity
but before the body is written to the response with the selected
HttpMessageConverter
.
- setResponseBodyAdvice(List<ResponseBodyAdvice<?>>) - Method in class org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter
-
Add one or more ResponseBodyAdvice
instances to intercept the
response before @ResponseBody
or ResponseEntity
return
values are written to the response body.
- setResponseContentType(HttpServletRequest, HttpServletResponse) - Method in class org.springframework.web.servlet.view.AbstractView
-
- setReturnValueHandlers(List<HandlerMethodReturnValueHandler>) - Method in class org.springframework.web.servlet.mvc.method.annotation.ExceptionHandlerExceptionResolver
-
Configure the complete list of supported return value types thus
overriding handlers that would otherwise be configured by default.
- setReturnValueHandlers(List<HandlerMethodReturnValueHandler>) - Method in class org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter
-
Configure the complete list of supported return value types thus
overriding handlers that would otherwise be configured by default.
- setRootHandler(Object) - Method in class org.springframework.web.servlet.handler.AbstractUrlHandlerMapping
-
Set the root handler for this handler mapping, that is,
the handler to be registered for the root path ("/").
- setRouterFunction(RouterFunction<?>) - Method in class org.springframework.web.servlet.function.support.RouterFunctionMapping
-
Set the router function to map to.
- setRows(String) - Method in class org.springframework.web.servlet.tags.form.TextareaTag
-
Set the value of the 'rows
' attribute.
- setScope(String) - Method in class org.springframework.web.servlet.tags.EvalTag
-
Set the scope to export the evaluation result to.
- setScope(String) - Method in class org.springframework.web.servlet.tags.MessageTag
-
Set the scope to export the variable to.
- setScope(String) - Method in class org.springframework.web.servlet.tags.TransformTag
-
Set the scope to export the variable to.
- setScope(String) - Method in class org.springframework.web.servlet.tags.UrlTag
-
Set the scope to export the URL variable to.
- setScripts(String...) - Method in class org.springframework.web.servlet.view.script.ScriptTemplateConfigurer
-
Set the scripts to be loaded by the script engine (library or user provided).
- setScripts(String...) - Method in class org.springframework.web.servlet.view.script.ScriptTemplateView
-
- setSeparator(String) - Method in class org.springframework.web.servlet.view.DefaultRequestToViewNameTranslator
-
Set the value that will replace '/
' as the separator
in the view name.
- setServletClass(Class<? extends Servlet>) - Method in class org.springframework.web.servlet.mvc.ServletWrappingController
-
Set the class of the servlet to wrap.
- setServletConfig(ServletConfig) - Method in class org.springframework.web.servlet.handler.SimpleServletPostProcessor
-
- setServletContext(ServletContext) - Method in class org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport
-
- setServletContext(ServletContext) - Method in class org.springframework.web.servlet.handler.SimpleServletPostProcessor
-
- setServletContext(ServletContext) - Method in class org.springframework.web.servlet.resource.DefaultServletHttpRequestHandler
-
If the defaultServletName
property has not been explicitly set,
attempts to locate the default Servlet using the known common
container-specific names.
- setServletContext(ServletContext) - Method in class org.springframework.web.servlet.view.freemarker.FreeMarkerConfigurer
-
Initialize the TaglibFactory
for the given ServletContext.
- setServletContext(ServletContext) - Method in class org.springframework.web.servlet.view.tiles3.TilesConfigurer
-
- setServletContext(ServletContext) - Method in class org.springframework.web.servlet.view.ViewResolverComposite
-
- setServletName(String) - Method in class org.springframework.web.servlet.mvc.ServletForwardingController
-
Set the name of the servlet to forward to,
i.e.
- setServletName(String) - Method in class org.springframework.web.servlet.mvc.ServletWrappingController
-
Set the name of the servlet to wrap.
- setServletRelativeAction(String) - Method in class org.springframework.web.servlet.tags.form.FormTag
-
Set the value of the 'action
' attribute through a value
that is to be appended to the current servlet path.
- setSessionAttributeStore(SessionAttributeStore) - Method in class org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter
-
Specify the strategy to store session attributes with.
- setSharedEngine(Boolean) - Method in class org.springframework.web.servlet.view.script.ScriptTemplateConfigurer
-
When set to
false
, use thread-local
ScriptEngine
instances instead
of one single shared instance.
- setSharedEngine(Boolean) - Method in class org.springframework.web.servlet.view.script.ScriptTemplateView
-
- setShowPassword(boolean) - Method in class org.springframework.web.servlet.tags.form.PasswordInputTag
-
Is the password value to be rendered?
- setSize(String) - Method in class org.springframework.web.servlet.tags.form.InputTag
-
Set the value of the 'size
' attribute.
- setSize(String) - Method in class org.springframework.web.servlet.tags.form.SelectTag
-
Set the value of the HTML 'size
' attribute rendered
on the final 'select
' element.
- setSourceKey(String) - Method in class org.springframework.web.servlet.view.xslt.XsltView
-
Set the name of the model attribute that represents the XSLT Source.
- setSourceKey(String) - Method in class org.springframework.web.servlet.view.xslt.XsltViewResolver
-
Set the name of the model attribute that represents the XSLT Source.
- setStatus(HttpStatus) - Method in class org.springframework.web.servlet.ModelAndView
-
Set the HTTP status to use for the response.
- setStatusCode(HttpStatus) - Method in class org.springframework.web.servlet.config.annotation.RedirectViewControllerRegistration
-
Set the specific redirect 3xx status code to use.
- setStatusCode(HttpStatus) - Method in class org.springframework.web.servlet.config.annotation.ViewControllerRegistration
-
Set the status code to set on the response.
- setStatusCode(HttpStatus) - Method in class org.springframework.web.servlet.mvc.ParameterizableViewController
-
Configure the HTTP status code that this controller should set on the
response.
- setStatusCode(HttpStatus) - Method in class org.springframework.web.servlet.view.RedirectView
-
Set the status code for this view.
- setStatusCodes(Properties) - Method in class org.springframework.web.servlet.handler.SimpleMappingExceptionResolver
-
Set the HTTP status code that this exception resolver will apply for a given
resolved error view.
- setStatusOnly(boolean) - Method in class org.springframework.web.servlet.mvc.ParameterizableViewController
-
The property can be used to indicate the request is considered fully
handled within the controller and that no view should be used for rendering.
- setStrategyMap(Map<String, VersionStrategy>) - Method in class org.springframework.web.servlet.resource.VersionResourceResolver
-
Set a Map with URL paths as keys and VersionStrategy
as values.
- setStripExtension(boolean) - Method in class org.springframework.web.servlet.view.DefaultRequestToViewNameTranslator
-
Set whether or not file extensions should be stripped from the URI when
generating the view name.
- setStripLeadingSlash(boolean) - Method in class org.springframework.web.servlet.view.DefaultRequestToViewNameTranslator
-
Set whether or not leading slashes should be stripped from the URI when
generating the view name.
- setStripTrailingSlash(boolean) - Method in class org.springframework.web.servlet.view.DefaultRequestToViewNameTranslator
-
Set whether or not trailing slashes should be stripped from the URI when
generating the view name.
- setSuffix(String) - Method in class org.springframework.web.servlet.mvc.UrlFilenameViewController
-
Set the suffix to append to the request URL filename
to build a view name.
- setSuffix(String) - Method in class org.springframework.web.servlet.view.DefaultRequestToViewNameTranslator
-
Set the suffix to append to generated view names.
- setSuffix(String) - Method in class org.springframework.web.servlet.view.UrlBasedViewResolver
-
Set the suffix that gets appended to view names when building a URL.
- setSuffixPatternMatch(boolean) - Method in class org.springframework.web.servlet.mvc.method.RequestMappingInfo.BuilderConfiguration
-
- setSupportedLocales(List<Locale>) - Method in class org.springframework.web.servlet.i18n.AcceptHeaderLocaleResolver
-
- setSupportedMethods(String...) - Method in class org.springframework.web.servlet.support.WebContentGenerator
-
Set the HTTP methods that this content generator should support.
- setSynchronizeOnSession(boolean) - Method in class org.springframework.web.servlet.mvc.AbstractController
-
Set if controller execution should be synchronized on the session,
to serialize parallel invocations from the same client.
- setSynchronizeOnSession(boolean) - Method in class org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter
-
Set if controller execution should be synchronized on the session,
to serialize parallel invocations from the same client.
- setTabindex(String) - Method in class org.springframework.web.servlet.tags.form.AbstractHtmlElementTag
-
Set the value of the 'tabindex
' attribute.
- setTarget(String) - Method in class org.springframework.web.servlet.tags.form.FormTag
-
Set the value of the 'target
' attribute.
- setTargetRequestPath(String) - Method in class org.springframework.web.servlet.FlashMap
-
Provide a URL path to help identify the target request for this FlashMap.
- setTaskExecutor(AsyncTaskExecutor) - Method in class org.springframework.web.servlet.config.annotation.AsyncSupportConfigurer
-
The provided task executor is used to:
Handle
Callable
controller method return values.
- setTaskExecutor(AsyncTaskExecutor) - Method in class org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter
-
Set the default
AsyncTaskExecutor
to use when a controller method
return a
Callable
.
- setTemplateEngine(MarkupTemplateEngine) - Method in class org.springframework.web.servlet.view.groovy.GroovyMarkupConfigurer
-
Set a pre-configured MarkupTemplateEngine to use for the Groovy Markup
Template web configuration.
- setTemplateEngine(MarkupTemplateEngine) - Method in class org.springframework.web.servlet.view.groovy.GroovyMarkupView
-
Set the MarkupTemplateEngine to use in this view.
- setText(String) - Method in class org.springframework.web.servlet.tags.MessageTag
-
Set the message text for this tag.
- setThemeName(HttpServletRequest, HttpServletResponse, String) - Method in class org.springframework.web.servlet.theme.CookieThemeResolver
-
- setThemeName(HttpServletRequest, HttpServletResponse, String) - Method in class org.springframework.web.servlet.theme.FixedThemeResolver
-
- setThemeName(HttpServletRequest, HttpServletResponse, String) - Method in class org.springframework.web.servlet.theme.SessionThemeResolver
-
- setThemeName(HttpServletRequest, HttpServletResponse, String) - Method in interface org.springframework.web.servlet.ThemeResolver
-
Set the current theme name to the given one.
- setThreadContextInheritable(boolean) - Method in class org.springframework.web.servlet.FrameworkServlet
-
Set whether to expose the LocaleContext and RequestAttributes as inheritable
for child threads (using an
InheritableThreadLocal
).
- setThrowExceptionIfNoHandlerFound(boolean) - Method in class org.springframework.web.servlet.DispatcherServlet
-
Set whether to throw a NoHandlerFoundException when no Handler was found for this request.
- setTilesInitializer(TilesInitializer) - Method in class org.springframework.web.servlet.view.tiles3.TilesConfigurer
-
Configure Tiles using a custom TilesInitializer, typically specified as an inner bean.
- setTimeZoneAttributeName(String) - Method in class org.springframework.web.servlet.i18n.SessionLocaleResolver
-
Specify the name of the corresponding attribute in the
HttpSession
,
holding the current
TimeZone
value.
- setTitle(String) - Method in class org.springframework.web.servlet.tags.form.AbstractHtmlElementTag
-
Set the value of the 'title
' attribute.
- setTrailingSlashMatch(boolean) - Method in class org.springframework.web.servlet.mvc.method.RequestMappingInfo.BuilderConfiguration
-
Set whether to apply trailing slash matching in PatternsRequestCondition.
- setTransformerFactoryClass(Class<? extends TransformerFactory>) - Method in class org.springframework.web.servlet.view.xslt.XsltView
-
Specify the XSLT TransformerFactory class to use.
- setUpdateContentLength(boolean) - Method in class org.springframework.web.servlet.view.json.AbstractJackson2View
-
Whether to update the 'Content-Length' header of the response.
- setUriResolver(URIResolver) - Method in class org.springframework.web.servlet.view.xslt.XsltView
-
Set the URIResolver used in the transform.
- setUriResolver(URIResolver) - Method in class org.springframework.web.servlet.view.xslt.XsltViewResolver
-
Set the URIResolver used in the transform.
- setUrl(String) - Method in class org.springframework.web.servlet.view.AbstractUrlBasedView
-
Set the URL of the resource that this view wraps.
- setUrlDecode(boolean) - Method in class org.springframework.web.servlet.handler.AbstractHandlerMapping
-
Shortcut to same property on the underlying UrlPathHelper
.
- setUrlDecode(boolean) - Method in class org.springframework.web.servlet.mvc.AbstractUrlViewController
-
Set if context path and request URI should be URL-decoded.
- setUrlDecode(boolean) - Method in class org.springframework.web.servlet.mvc.WebContentInterceptor
-
- setUrlDecode(boolean) - Method in class org.springframework.web.servlet.view.DefaultRequestToViewNameTranslator
-
- setUrlMap(Map<String, ?>) - Method in class org.springframework.web.servlet.handler.SimpleUrlHandlerMapping
-
Set a Map with URL paths as keys and handler beans (or handler bean names)
as values.
- setUrlPathHelper(UrlPathHelper) - Method in class org.springframework.web.servlet.config.annotation.PathMatchConfigurer
-
Set the UrlPathHelper to use to resolve the mapping path for the application.
- setUrlPathHelper(UrlPathHelper) - Method in class org.springframework.web.servlet.handler.AbstractHandlerMapping
-
Configure the UrlPathHelper to use for resolution of lookup paths.
- setUrlPathHelper(UrlPathHelper) - Method in class org.springframework.web.servlet.mvc.AbstractUrlViewController
-
Set the UrlPathHelper to use for the resolution of lookup paths.
- setUrlPathHelper(UrlPathHelper) - Method in class org.springframework.web.servlet.mvc.method.annotation.ServletCookieValueMethodArgumentResolver
-
- setUrlPathHelper(UrlPathHelper) - Method in class org.springframework.web.servlet.mvc.method.RequestMappingInfo.BuilderConfiguration
-
- setUrlPathHelper(UrlPathHelper) - Method in class org.springframework.web.servlet.mvc.WebContentInterceptor
-
- setUrlPathHelper(UrlPathHelper) - Method in class org.springframework.web.servlet.resource.PathResourceResolver
-
Provide a reference to the UrlPathHelper
used to map requests to
static resources.
- setUrlPathHelper(UrlPathHelper) - Method in class org.springframework.web.servlet.resource.ResourceHttpRequestHandler
-
Provide a reference to the UrlPathHelper
used to map requests to
static resources.
- setUrlPathHelper(UrlPathHelper) - Method in class org.springframework.web.servlet.resource.ResourceUrlProvider
-
- setUrlPathHelper(UrlPathHelper) - Method in class org.springframework.web.servlet.support.AbstractFlashMapManager
-
Set the UrlPathHelper to use to match FlashMap instances to requests.
- setUrlPathHelper(UrlPathHelper) - Method in class org.springframework.web.servlet.support.RequestContext
-
Set the UrlPathHelper to use for context path and request URI decoding.
- setUrlPathHelper(UrlPathHelper) - Method in class org.springframework.web.servlet.view.DefaultRequestToViewNameTranslator
-
- setUseCacheControlHeader(boolean) - Method in class org.springframework.web.servlet.support.WebContentGenerator
-
- setUseCacheControlNoStore(boolean) - Method in class org.springframework.web.servlet.support.WebContentGenerator
-
- setUseExpiresHeader(boolean) - Method in class org.springframework.web.servlet.support.WebContentGenerator
-
- setUseLastModified(boolean) - Method in class org.springframework.web.servlet.config.annotation.ResourceHandlerRegistration
-
Set whether the Resource.lastModified()
information should be used to drive HTTP responses.
- setUseLastModified(boolean) - Method in class org.springframework.web.servlet.resource.ResourceHttpRequestHandler
-
Set whether we should look at the Resource.lastModified()
when
serving resources and use this information to drive "Last-Modified"
HTTP response headers.
- setUseMutableTilesContainer(boolean) - Method in class org.springframework.web.servlet.view.tiles3.TilesConfigurer
-
Set whether to use a MutableTilesContainer (typically the CachingTilesContainer
implementation) for this application.
- setUseNotAcceptableStatusCode(boolean) - Method in class org.springframework.web.servlet.view.ContentNegotiatingViewResolver
-
Indicate whether a
406 Not Acceptable
status code should be returned if no suitable view can be found.
- setUseRegisteredSuffixPatternMatch(Boolean) - Method in class org.springframework.web.servlet.config.annotation.PathMatchConfigurer
-
- setUseRegisteredSuffixPatternMatch(boolean) - Method in class org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping
-
- setUseSharedServletConfig(boolean) - Method in class org.springframework.web.servlet.handler.SimpleServletPostProcessor
-
Set whether to use the shared ServletConfig object passed in
through setServletConfig
, if available.
- setUseSuffixPatternMatch(Boolean) - Method in class org.springframework.web.servlet.config.annotation.PathMatchConfigurer
-
- setUseSuffixPatternMatch(boolean) - Method in class org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping
-
- setUseTrailingSlashMatch(Boolean) - Method in class org.springframework.web.servlet.config.annotation.PathMatchConfigurer
-
Whether to match to URLs irrespective of the presence of a trailing slash.
- setUseTrailingSlashMatch(boolean) - Method in class org.springframework.web.servlet.handler.AbstractUrlHandlerMapping
-
Whether to match to URLs irrespective of the presence of a trailing slash.
- setUseTrailingSlashMatch(boolean) - Method in class org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping
-
Whether to match to URLs irrespective of the presence of a trailing slash.
- setValidateDefinitions(boolean) - Method in class org.springframework.web.servlet.view.tiles3.TilesConfigurer
-
Set whether to validate the Tiles XML definitions.
- setValue(Object) - Method in class org.springframework.web.servlet.tags.ArgumentTag
-
Set the value of the argument (optional).
- setValue(Object) - Method in class org.springframework.web.servlet.tags.form.AbstractSingleCheckedElementTag
-
Set the value of the 'value
' attribute.
- setValue(String) - Method in class org.springframework.web.servlet.tags.form.ButtonTag
-
Set the value of the 'value
' attribute.
- setValue(Object) - Method in class org.springframework.web.servlet.tags.form.OptionTag
-
Set the 'value' attribute of the rendered HTML <option>
tag.
- setValue(String) - Method in class org.springframework.web.servlet.tags.Param
-
Set the raw value of the parameter.
- setValue(String) - Method in class org.springframework.web.servlet.tags.ParamTag
-
Set the value of the parameter (optional).
- setValue(Object) - Method in class org.springframework.web.servlet.tags.TransformTag
-
Set the value to transform, using the appropriate PropertyEditor
from the enclosing BindTag.
- setValue(String) - Method in class org.springframework.web.servlet.tags.UrlTag
-
Set the value of the URL.
- setVar(String) - Method in class org.springframework.web.servlet.tags.EvalTag
-
Set the variable name to expose the evaluation result under.
- setVar(String) - Method in class org.springframework.web.servlet.tags.MessageTag
-
Set PageContext attribute name under which to expose
a variable that contains the resolved message.
- setVar(String) - Method in class org.springframework.web.servlet.tags.TransformTag
-
Set PageContext attribute name under which to expose
a variable that contains the result of the transformation.
- setVar(String) - Method in class org.springframework.web.servlet.tags.UrlTag
-
Set the variable name to expose the URL under.
- setVaryByRequestHeaders(String...) - Method in class org.springframework.web.servlet.support.WebContentGenerator
-
Configure one or more request header names (e.g.
- setView(View) - Method in class org.springframework.web.servlet.ModelAndView
-
Set a View object for this ModelAndView.
- setView(View) - Method in class org.springframework.web.servlet.mvc.ParameterizableViewController
-
Set a View object for the ModelAndView to return.
- setViewClass(Class<?>) - Method in class org.springframework.web.servlet.view.UrlBasedViewResolver
-
Set the view class that should be used to create views.
- setViewName(String) - Method in class org.springframework.web.servlet.config.annotation.ViewControllerRegistration
-
Set the view name to return.
- setViewName(String) - Method in class org.springframework.web.servlet.ModelAndView
-
Set a view name for this ModelAndView, to be resolved by the
DispatcherServlet via a ViewResolver.
- setViewName(String) - Method in class org.springframework.web.servlet.mvc.ParameterizableViewController
-
Set a view name for the ModelAndView to return, to be resolved by the
DispatcherServlet via a ViewResolver.
- setViewNames(String...) - Method in class org.springframework.web.servlet.view.UrlBasedViewResolver
-
Set the view names (or name patterns) that can be handled by this
ViewResolver
.
- setViewResolvers(List<ViewResolver>) - Method in class org.springframework.web.servlet.view.ContentNegotiatingViewResolver
-
Sets the view resolvers to be wrapped by this view resolver.
- setViewResolvers(List<ViewResolver>) - Method in class org.springframework.web.servlet.view.ViewResolverComposite
-
Set the list of view viewResolvers to delegate to.
- setWarnLogCategory(String) - Method in class org.springframework.web.servlet.handler.AbstractHandlerExceptionResolver
-
Set the log category for warn logging.
- setWebBindingInitializer(WebBindingInitializer) - Method in class org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter
-
Provide a WebBindingInitializer with "global" initialization to apply
to every DataBinder instance.
- shouldApplyTo(HttpServletRequest, Object) - Method in class org.springframework.web.servlet.handler.AbstractHandlerExceptionResolver
-
Check whether this resolver is supposed to apply to the given handler.
- shouldApplyTo(HttpServletRequest, Object) - Method in class org.springframework.web.servlet.handler.AbstractHandlerMethodExceptionResolver
-
Checks if the handler is a HandlerMethod
and then delegates to the
base class implementation of #shouldApplyTo(HttpServletRequest, Object)
passing the bean of the HandlerMethod
.
- shouldRender() - Method in class org.springframework.web.servlet.tags.form.AbstractHtmlElementBodyTag
-
Should rendering of this tag proceed at all.
- shouldRender() - Method in class org.springframework.web.servlet.tags.form.ErrorsTag
-
Should rendering of this tag proceed at all?
- simpleControllerHandlerAdapter() - Method in class org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport
-
- SimpleControllerHandlerAdapter - Class in org.springframework.web.servlet.mvc
-
- SimpleControllerHandlerAdapter() - Constructor for class org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter
-
- SimpleMappingExceptionResolver - Class in org.springframework.web.servlet.handler
-
HandlerExceptionResolver
implementation
that allows for mapping exception class names to view names, either for a set of
given handlers or for all handlers in the DispatcherServlet.
- SimpleMappingExceptionResolver() - Constructor for class org.springframework.web.servlet.handler.SimpleMappingExceptionResolver
-
- SimpleServletHandlerAdapter - Class in org.springframework.web.servlet.handler
-
Adapter to use the Servlet interface with the generic DispatcherServlet.
- SimpleServletHandlerAdapter() - Constructor for class org.springframework.web.servlet.handler.SimpleServletHandlerAdapter
-
- SimpleServletPostProcessor - Class in org.springframework.web.servlet.handler
-
BeanPostProcessor
that applies initialization and destruction callbacks to beans that
implement the
Servlet
interface.
- SimpleServletPostProcessor() - Constructor for class org.springframework.web.servlet.handler.SimpleServletPostProcessor
-
- SimpleSpringPreparerFactory - Class in org.springframework.web.servlet.view.tiles3
-
Tiles
PreparerFactory
implementation
that expects preparer class names and builds preparer instances for those,
creating them through the Spring ApplicationContext in order to apply
Spring container callbacks and configured Spring BeanPostProcessors.
- SimpleSpringPreparerFactory() - Constructor for class org.springframework.web.servlet.view.tiles3.SimpleSpringPreparerFactory
-
- SimpleUrlHandlerMapping - Class in org.springframework.web.servlet.handler
-
Implementation of the
HandlerMapping
interface that maps from URLs to request handler beans.
- SimpleUrlHandlerMapping() - Constructor for class org.springframework.web.servlet.handler.SimpleUrlHandlerMapping
-
Create a SimpleUrlHandlerMapping
with default settings.
- SimpleUrlHandlerMapping(Map<String, ?>) - Constructor for class org.springframework.web.servlet.handler.SimpleUrlHandlerMapping
-
Create a SimpleUrlHandlerMapping
using the supplied URL map.
- SimpleUrlHandlerMapping(Map<String, ?>, int) - Constructor for class org.springframework.web.servlet.handler.SimpleUrlHandlerMapping
-
Create a SimpleUrlHandlerMapping
using the supplied URL map and order.
- SIZE_ATTRIBUTE - Static variable in class org.springframework.web.servlet.tags.form.InputTag
-
- SmartView - Interface in org.springframework.web.servlet
-
Provides additional information about a View such as whether it
performs redirects.
- SPAN_TAG - Static variable in class org.springframework.web.servlet.tags.form.ErrorsTag
-
The HTML 'span
' tag.
- SPRING_MACRO_REQUEST_CONTEXT_ATTRIBUTE - Static variable in class org.springframework.web.servlet.view.AbstractTemplateView
-
Variable name of the RequestContext instance in the template model,
available to Spring's macros: e.g.
- SpringBeanPreparerFactory - Class in org.springframework.web.servlet.view.tiles3
-
Tiles
PreparerFactory
implementation
that expects preparer bean names and obtains preparer beans from the
Spring ApplicationContext.
- SpringBeanPreparerFactory() - Constructor for class org.springframework.web.servlet.view.tiles3.SpringBeanPreparerFactory
-
- SpringLocaleResolver - Class in org.springframework.web.servlet.view.tiles3
-
Tiles LocaleResolver adapter that delegates to a Spring
LocaleResolver
, exposing the
DispatcherServlet-managed locale.
- SpringLocaleResolver() - Constructor for class org.springframework.web.servlet.view.tiles3.SpringLocaleResolver
-
- SpringWildcardServletTilesApplicationContext - Class in org.springframework.web.servlet.view.tiles3
-
Spring-specific subclass of the Tiles ServletApplicationContext.
- SpringWildcardServletTilesApplicationContext(ServletContext) - Constructor for class org.springframework.web.servlet.view.tiles3.SpringWildcardServletTilesApplicationContext
-
- sse(Consumer<ServerResponse.SseBuilder>) - Static method in interface org.springframework.web.servlet.function.ServerResponse
-
Create a server-sent event response.
- sse(Consumer<ServerResponse.SseBuilder>, Duration) - Static method in interface org.springframework.web.servlet.function.ServerResponse
-
Create a server-sent event response.
- SseEmitter - Class in org.springframework.web.servlet.mvc.method.annotation
-
- SseEmitter() - Constructor for class org.springframework.web.servlet.mvc.method.annotation.SseEmitter
-
Create a new SseEmitter instance.
- SseEmitter(Long) - Constructor for class org.springframework.web.servlet.mvc.method.annotation.SseEmitter
-
Create a SseEmitter with a custom timeout value.
- SseEmitter.SseEventBuilder - Interface in org.springframework.web.servlet.mvc.method.annotation
-
A builder for an SSE event.
- startAnd() - Method in interface org.springframework.web.servlet.function.RequestPredicates.Visitor
-
Receive first notification of a logical AND predicate.
- startExpirationPeriod(int) - Method in class org.springframework.web.servlet.FlashMap
-
Start the expiration period for this instance.
- startNegate() - Method in interface org.springframework.web.servlet.function.RequestPredicates.Visitor
-
Receive first notification of a negated predicate.
- startNested(RequestPredicate) - Method in interface org.springframework.web.servlet.function.RouterFunctions.Visitor
-
Receive notification of the beginning of a nested router function.
- startOr() - Method in interface org.springframework.web.servlet.function.RequestPredicates.Visitor
-
Receive first notification of a logical OR predicate.
- startTag(String) - Method in class org.springframework.web.servlet.tags.form.TagWriter
-
Start a new tag with the supplied name.
- status(HttpStatus) - Method in interface org.springframework.web.servlet.function.EntityResponse.Builder
-
Set the HTTP status.
- status(int) - Method in interface org.springframework.web.servlet.function.EntityResponse.Builder
-
Set the HTTP status.
- status(HttpStatus) - Method in interface org.springframework.web.servlet.function.RenderingResponse.Builder
-
Set the HTTP status.
- status(int) - Method in interface org.springframework.web.servlet.function.RenderingResponse.Builder
-
Set the HTTP status.
- status(HttpStatus) - Static method in interface org.springframework.web.servlet.function.ServerResponse
-
Create a builder with the given HTTP status.
- status(int) - Static method in interface org.springframework.web.servlet.function.ServerResponse
-
Create a builder with the given HTTP status.
- STATUS_VARIABLE_NAME - Static variable in class org.springframework.web.servlet.tags.BindTag
-
Name of the exposed variable within the scope of this tag: "status".
- statusCode() - Method in interface org.springframework.web.servlet.function.ServerResponse
-
Return the status code of this response.
- strategies(List<ContentNegotiationStrategy>) - Method in class org.springframework.web.servlet.config.annotation.ContentNegotiationConfigurer
-
Set the exact list of strategies to use.
- StreamingResponseBody - Interface in org.springframework.web.servlet.mvc.method.annotation
-
A controller method return value type for asynchronous request processing
where the application can write directly to the response OutputStream
without holding up the Servlet container thread.
- StreamingResponseBodyReturnValueHandler - Class in org.springframework.web.servlet.mvc.method.annotation
-
- StreamingResponseBodyReturnValueHandler() - Constructor for class org.springframework.web.servlet.mvc.method.annotation.StreamingResponseBodyReturnValueHandler
-
- STYLE_ATTRIBUTE - Static variable in class org.springframework.web.servlet.tags.form.AbstractHtmlElementTag
-
- suffix(String) - Method in class org.springframework.web.servlet.config.annotation.UrlBasedViewResolverRegistration
-
Set the suffix that gets appended to view names when building a URL.
- supports(Object) - Method in class org.springframework.web.servlet.function.support.HandlerFunctionAdapter
-
- supports(Object) - Method in class org.springframework.web.servlet.handler.SimpleServletHandlerAdapter
-
- supports(Object) - Method in interface org.springframework.web.servlet.HandlerAdapter
-
Given a handler instance, return whether or not this HandlerAdapter
can support it.
- supports(Object) - Method in class org.springframework.web.servlet.mvc.HttpRequestHandlerAdapter
-
- supports(Object) - Method in class org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter
-
This implementation expects the handler to be an HandlerMethod
.
- supports(MethodParameter, Class<? extends HttpMessageConverter<?>>) - Method in class org.springframework.web.servlet.mvc.method.annotation.AbstractMappingJacksonResponseBodyAdvice
-
- supports(MethodParameter, Type, Class<? extends HttpMessageConverter<?>>) - Method in class org.springframework.web.servlet.mvc.method.annotation.JsonViewRequestBodyAdvice
-
- supports(MethodParameter, Class<? extends HttpMessageConverter<?>>) - Method in class org.springframework.web.servlet.mvc.method.annotation.JsonViewResponseBodyAdvice
-
- supports(MethodParameter, Type, Class<? extends HttpMessageConverter<?>>) - Method in interface org.springframework.web.servlet.mvc.method.annotation.RequestBodyAdvice
-
Invoked first to determine if this interceptor applies.
- supports(MethodParameter, Class<? extends HttpMessageConverter<?>>) - Method in interface org.springframework.web.servlet.mvc.method.annotation.ResponseBodyAdvice
-
Whether this component supports the given controller method return type
and the selected HttpMessageConverter
type.
- supports(Object) - Method in class org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter
-
- supportsInternal(HandlerMethod) - Method in class org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter
-
Given a handler method, return whether or not this adapter can support it.
- supportsInternal(HandlerMethod) - Method in class org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter
-
Always return true
since any method argument and return value
type will be processed in some way.
- supportsParameter(MethodParameter) - Method in class org.springframework.web.servlet.mvc.method.annotation.ContinuationHandlerMethodArgumentResolver
-
- supportsParameter(MethodParameter) - Method in class org.springframework.web.servlet.mvc.method.annotation.HttpEntityMethodProcessor
-
- supportsParameter(MethodParameter) - Method in class org.springframework.web.servlet.mvc.method.annotation.MatrixVariableMapMethodArgumentResolver
-
- supportsParameter(MethodParameter) - Method in class org.springframework.web.servlet.mvc.method.annotation.MatrixVariableMethodArgumentResolver
-
- supportsParameter(MethodParameter) - Method in class org.springframework.web.servlet.mvc.method.annotation.PathVariableMapMethodArgumentResolver
-
- supportsParameter(MethodParameter) - Method in class org.springframework.web.servlet.mvc.method.annotation.PathVariableMethodArgumentResolver
-
- supportsParameter(MethodParameter) - Method in class org.springframework.web.servlet.mvc.method.annotation.PrincipalMethodArgumentResolver
-
- supportsParameter(MethodParameter) - Method in class org.springframework.web.servlet.mvc.method.annotation.RedirectAttributesMethodArgumentResolver
-
- supportsParameter(MethodParameter) - Method in class org.springframework.web.servlet.mvc.method.annotation.RequestAttributeMethodArgumentResolver
-
- supportsParameter(MethodParameter) - Method in class org.springframework.web.servlet.mvc.method.annotation.RequestPartMethodArgumentResolver
-
Whether the given method parameter is
supported as multi-part.
- supportsParameter(MethodParameter) - Method in class org.springframework.web.servlet.mvc.method.annotation.RequestResponseBodyMethodProcessor
-
- supportsParameter(MethodParameter) - Method in class org.springframework.web.servlet.mvc.method.annotation.ServletRequestMethodArgumentResolver
-
- supportsParameter(MethodParameter) - Method in class org.springframework.web.servlet.mvc.method.annotation.ServletResponseMethodArgumentResolver
-
- supportsParameter(MethodParameter) - Method in class org.springframework.web.servlet.mvc.method.annotation.SessionAttributeMethodArgumentResolver
-
- supportsParameter(MethodParameter) - Method in class org.springframework.web.servlet.mvc.method.annotation.UriComponentsBuilderMethodArgumentResolver
-
- supportsReturnType(MethodParameter) - Method in class org.springframework.web.servlet.mvc.method.annotation.AsyncTaskMethodReturnValueHandler
-
- supportsReturnType(MethodParameter) - Method in class org.springframework.web.servlet.mvc.method.annotation.CallableMethodReturnValueHandler
-
- supportsReturnType(MethodParameter) - Method in class org.springframework.web.servlet.mvc.method.annotation.DeferredResultMethodReturnValueHandler
-
- supportsReturnType(MethodParameter) - Method in class org.springframework.web.servlet.mvc.method.annotation.HttpEntityMethodProcessor
-
- supportsReturnType(MethodParameter) - Method in class org.springframework.web.servlet.mvc.method.annotation.HttpHeadersReturnValueHandler
-
- supportsReturnType(MethodParameter) - Method in class org.springframework.web.servlet.mvc.method.annotation.ModelAndViewMethodReturnValueHandler
-
- supportsReturnType(MethodParameter) - Method in class org.springframework.web.servlet.mvc.method.annotation.ModelAndViewResolverMethodReturnValueHandler
-
Always returns true
.
- supportsReturnType(MethodParameter) - Method in class org.springframework.web.servlet.mvc.method.annotation.RequestResponseBodyMethodProcessor
-
- supportsReturnType(MethodParameter) - Method in class org.springframework.web.servlet.mvc.method.annotation.ResponseBodyEmitterReturnValueHandler
-
- supportsReturnType(MethodParameter) - Method in class org.springframework.web.servlet.mvc.method.annotation.StreamingResponseBodyReturnValueHandler
-
- supportsReturnType(MethodParameter) - Method in class org.springframework.web.servlet.mvc.method.annotation.ViewMethodReturnValueHandler
-
- supportsReturnType(MethodParameter) - Method in class org.springframework.web.servlet.mvc.method.annotation.ViewNameMethodReturnValueHandler
-
- supportsTypeLevelMappings() - Method in class org.springframework.web.servlet.handler.AbstractUrlHandlerMapping
-
Indicates whether this handler mapping support type-level mappings.