Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- AbstractAnnotationConfigDispatcherServletInitializer - Class in org.springframework.web.servlet.support
-
WebApplicationInitializer
to register aDispatcherServlet
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
-
Convenient base class for
ViewResolver
implementations. - 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 aDispatcherServlet
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
-
A base class for
FlashMapManager
implementations. - 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
-
Abstract base class for
HandlerExceptionResolver
implementations. - AbstractHandlerExceptionResolver() - Constructor for class org.springframework.web.servlet.handler.AbstractHandlerExceptionResolver
- AbstractHandlerMapping - Class in org.springframework.web.servlet.handler
-
Abstract base class for
HandlerMapping
implementations. - 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 typeHandlerMethod
. - 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 typeHandlerMethod
. - 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 aHandlerMethod
. - AbstractHandlerMethodMapping() - Constructor for class org.springframework.web.servlet.handler.AbstractHandlerMethodMapping
- AbstractHtmlElementBodyTag - Class in org.springframework.web.servlet.tags.form
-
Convenient superclass 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
-
Abstract base class for
LocaleContextResolver
implementations. - AbstractLocaleContextResolver() - Constructor for class org.springframework.web.servlet.i18n.AbstractLocaleContextResolver
- AbstractLocaleResolver - Class in org.springframework.web.servlet.i18n
-
Abstract base class for
LocaleResolver
implementations. - 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 withAbstractJackson2HttpMessageConverter
'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~
andResponseBodyAdvice
. - AbstractMessageConverterMethodProcessor - Class in org.springframework.web.servlet.mvc.method.annotation
-
Extends
AbstractMessageConverterMethodArgumentResolver
with the ability to handle method return values by writing to the response withHttpMessageConverters
. - 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
-
A base class for
RequestCondition
types providing implementations ofAbstractRequestCondition.equals(Object)
,AbstractRequestCondition.hashCode()
, andAbstractRequestCondition.toString()
. - AbstractRequestCondition() - Constructor for class org.springframework.web.servlet.mvc.condition.AbstractRequestCondition
- AbstractResourceResolver - Class in org.springframework.web.servlet.resource
-
Base class for
ResourceResolver
implementations. - 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
- 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
-
Deprecated.as of 6.0 in favor of using CSS, without direct replacement
- AbstractThemeResolver() - Constructor for class org.springframework.web.servlet.theme.AbstractThemeResolver
-
Deprecated.
- 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
-
Abstract base class for URL-mapped
HandlerMapping
implementations. - 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
-
Abstract base class for
VersionStrategy
implementations. - 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() - Method in interface org.springframework.web.servlet.function.ServerRequest.Headers
-
Get the list of acceptable media types, as specified by the
Accept
header. - 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(RequestPredicates.Visitor) - Method in interface org.springframework.web.servlet.function.RequestPredicate
-
Accept the given visitor.
- accept(RouterFunctions.Visitor) - Method in interface org.springframework.web.servlet.function.RouterFunction
-
Accept the given visitor.
- 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 looks for a match between locales in theAccept-Language
header and a list of configured supported locales. - 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
-
Adapt the given interceptor object to
HandlerInterceptor
. - 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.
- addAttribute(Object) - Method in interface org.springframework.web.servlet.mvc.support.RedirectAttributes
- addAttribute(Object) - Method in class org.springframework.web.servlet.mvc.support.RedirectAttributesModelMap
- addAttribute(String, Object) - Method in interface org.springframework.web.servlet.mvc.support.RedirectAttributes
- addAttribute(String, 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.
- 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
-
A method available to subclasses for adding default
HandlerExceptionResolvers
. - 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(Object) - Method in interface org.springframework.web.servlet.mvc.support.RedirectAttributes
-
Add the given flash storage using a
generated name
. - addFlashAttribute(Object) - Method in class org.springframework.web.servlet.mvc.support.RedirectAttributesModelMap
- addFlashAttribute(String, Object) - Method in interface org.springframework.web.servlet.mvc.support.RedirectAttributes
-
Add the given flash attribute.
- addFlashAttribute(String, 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/orFormatter
delegates to the commonFormattingConversionService
. - addFormatters(FormatterRegistry) - Method in interface org.springframework.web.servlet.config.annotation.WebMvcConfigurer
-
Add
Converters
andFormatters
in addition to the ones registered by default. - addInterceptor(int, HandlerInterceptor) - Method in class org.springframework.web.servlet.HandlerExecutionChain
-
Add the given interceptor at the specified index of this chain.
- addInterceptor(HandlerInterceptor) - Method in class org.springframework.web.servlet.config.annotation.InterceptorRegistry
-
Adds the provided
HandlerInterceptor
. - addInterceptor(HandlerInterceptor) - Method in class org.springframework.web.servlet.HandlerExecutionChain
-
Add the given interceptor to the end 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(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(Object) - Method in class org.springframework.web.servlet.ModelAndView
-
Add an attribute to the model using parameter name generation.
- addObject(String, Object) - Method in class org.springframework.web.servlet.ModelAndView
-
Add an attribute to the model.
- 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
-
List-based variant of
InterceptorRegistration.addPathPatterns(String...)
. - 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.
- 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.
- 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
-
An alternative to
SimpleMappingExceptionResolver.setStatusCodes(Properties)
for use with Java-based configuration. - addStatusController(String, HttpStatusCode) - 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.
- 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
andafterCompletion
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.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(Set<HttpMethod>) - Method in interface org.springframework.web.servlet.function.EntityResponse.Builder
-
Set the set of allowed
HTTP methods
, as specified by theAllow
header. - allow(Set<HttpMethod>) - Method in interface org.springframework.web.servlet.function.ServerResponse.HeadersBuilder
-
Set the set of allowed
HTTP methods
, as specified by theAllow
header. - allow(HttpMethod...) - Method in interface org.springframework.web.servlet.function.EntityResponse.Builder
-
Set the set of allowed
HTTP methods
, as specified by theAllow
header. - allow(HttpMethod...) - Method in interface org.springframework.web.servlet.function.ServerResponse.HeadersBuilder
-
Set the set of allowed
HTTP methods
, as specified by theAllow
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
-
Alternative to
CorsRegistration.allowedOrigins(String...)
that supports more flexible patterns for specifying the origins for which cross-origin requests are allowed from a browser. - 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() - Method in interface org.springframework.web.servlet.function.RequestPredicates.Visitor
-
Receive "middle" notification of a logical AND predicate.
- 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(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 typeT
) 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. - 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
-
Deprecated.
- 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 givenView
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 JSTLfmt: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() - 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.
- 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.
- AUTOCOMPLETE_ATTRIBUTE - Static variable in class org.springframework.web.servlet.tags.form.InputTag
- autodetectConfiguration() - Method in class org.springframework.web.servlet.view.freemarker.FreeMarkerView
-
Autodetect a
FreeMarkerConfig
object via the ApplicationContext. - 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
B
- badRequest() - Static method in interface org.springframework.web.servlet.function.ServerResponse
-
Create a builder with a 400 Bad Request status.
- BEAN_NAME - Static variable in class org.springframework.web.servlet.config.FreeMarkerConfigurerBeanDefinitionParser
-
The bean name used for the
FreeMarkerConfigurer
. - BEAN_NAME - Static variable in class org.springframework.web.servlet.config.GroovyMarkupConfigurerBeanDefinitionParser
-
The bean name used for the
GroovyMarkupConfigurer
. - BEAN_NAME - Static variable in class org.springframework.web.servlet.config.ScriptTemplateConfigurerBeanDefinitionParser
-
The bean name used for the
ScriptTemplateConfigurer
. - beanName() - Method in class org.springframework.web.servlet.config.annotation.ViewResolverRegistry
-
Register a bean name view resolver that interprets view names as the names of
View
beans. - beanNameHandlerMapping(FormattingConversionService, ResourceUrlProvider) - Method in class org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport
-
Return a
BeanNameUrlHandlerMapping
ordered at 2 to map URL paths to controller bean names. - BeanNameUrlHandlerMapping - Class in org.springframework.web.servlet.handler
-
Implementation of the
HandlerMapping
interface that maps from URLs to beans with names that start with a slash ("/"), similar to how Struts maps URLs to action names. - BeanNameUrlHandlerMapping() - Constructor for class org.springframework.web.servlet.handler.BeanNameUrlHandlerMapping
- BeanNameViewResolver - Class in org.springframework.web.servlet.view
-
A simple implementation of
ViewResolver
that interprets a view name as a bean name in the current application context, i.e. - BeanNameViewResolver() - Constructor for class org.springframework.web.servlet.view.BeanNameViewResolver
- before(Function<ServerRequest, ServerRequest>) - Method in interface org.springframework.web.servlet.function.RouterFunctions.Builder
-
Filter the request object for all routes created by this builder with the given request processing function.
- beforeBodyRead(HttpInputMessage, MethodParameter, Type, Class<? extends HttpMessageConverter<?>>) - Method in class org.springframework.web.servlet.mvc.method.annotation.JsonViewRequestBodyAdvice
- beforeBodyRead(HttpInputMessage, MethodParameter, Type, Class<? extends HttpMessageConverter<?>>) - Method in interface org.springframework.web.servlet.mvc.method.annotation.RequestBodyAdvice
-
Invoked second before the request body is read and converted.
- beforeBodyRead(HttpInputMessage, MethodParameter, Type, Class<? extends HttpMessageConverter<?>>) - Method in class org.springframework.web.servlet.mvc.method.annotation.RequestBodyAdviceAdapter
-
The default implementation returns the InputMessage that was passed in.
- beforeBodyWrite(Object, MethodParameter, MediaType, Class<? extends HttpMessageConverter<?>>, ServerHttpRequest, ServerHttpResponse) - Method in class org.springframework.web.servlet.mvc.method.annotation.AbstractMappingJacksonResponseBodyAdvice
- beforeBodyWrite(T, MethodParameter, MediaType, Class<? extends HttpMessageConverter<?>>, ServerHttpRequest, ServerHttpResponse) - Method in interface org.springframework.web.servlet.mvc.method.annotation.ResponseBodyAdvice
-
Invoked after an
HttpMessageConverter
is selected and just before its write method is invoked. - beforeBodyWriteInternal(MappingJacksonValue, MediaType, MethodParameter, ServerHttpRequest, ServerHttpResponse) - Method in class org.springframework.web.servlet.mvc.method.annotation.AbstractMappingJacksonResponseBodyAdvice
-
Invoked only if the converter type is
MappingJackson2HttpMessageConverter
. - beforeBodyWriteInternal(MappingJacksonValue, MediaType, MethodParameter, ServerHttpRequest, ServerHttpResponse) - Method in class org.springframework.web.servlet.mvc.method.annotation.JsonViewResponseBodyAdvice
- BEST_MATCHING_HANDLER_ATTRIBUTE - Static variable in interface org.springframework.web.servlet.HandlerMapping
-
Name of the
HttpServletRequest
attribute that contains the mapped handler for the best matching pattern. - BEST_MATCHING_PATTERN_ATTRIBUTE - Static variable in interface org.springframework.web.servlet.HandlerMapping
-
Name of the
HttpServletRequest
attribute that contains the best matching pattern within the handler mapping. - BindErrorsTag - Class in org.springframework.web.servlet.tags
-
This
<hasBindErrors>
tag provides anErrors
instance in case of bind errors. - BindErrorsTag() - Constructor for class org.springframework.web.servlet.tags.BindErrorsTag
- bindRequestParameters(WebDataBinder, NativeWebRequest) - Method in class org.springframework.web.servlet.mvc.method.annotation.ServletModelAttributeMethodProcessor
-
This implementation downcasts
WebDataBinder
toServletRequestDataBinder
before binding. - BindStatus - Class in org.springframework.web.servlet.support
-
Simple adapter to expose the bind status of a field or object.
- BindStatus(RequestContext, String, boolean) - Constructor for class org.springframework.web.servlet.support.BindStatus
-
Create a new BindStatus instance, representing a field or object status.
- BindTag - Class in org.springframework.web.servlet.tags
-
The
<bind>
tag supports evaluation of binding errors for a certain bean or bean property. - BindTag() - Constructor for class org.springframework.web.servlet.tags.BindTag
- block() - Method in interface org.springframework.web.servlet.function.AsyncServerResponse
-
Blocks indefinitely until the future response is obtained.
- body(byte[]) - Method in interface org.springframework.web.servlet.function.ServerRequest.Builder
-
Set the body of the request.
- body(Class<T>) - Method in interface org.springframework.web.servlet.function.ServerRequest
-
Extract the body as an object of the given type.
- body(Object) - Method in interface org.springframework.web.servlet.function.ServerResponse.BodyBuilder
-
Set the body of the response to the given
Object
and return it. - body(String) - Method in interface org.springframework.web.servlet.function.ServerRequest.Builder
-
Set the body of the request to the UTF-8 encoded bytes of the given string.
- body(ParameterizedTypeReference<T>) - Method in interface org.springframework.web.servlet.function.ServerRequest
-
Extract the body as an object of the given type.
- body(T, ParameterizedTypeReference<T>) - Method in interface org.springframework.web.servlet.function.ServerResponse.BodyBuilder
-
Set the body of the response to the given
Object
and return it. - build() - Method in interface org.springframework.web.servlet.function.EntityResponse.Builder
-
Build the response.
- build() - Method in interface org.springframework.web.servlet.function.RenderingResponse.Builder
-
Build the response.
- build() - Method in interface org.springframework.web.servlet.function.RouterFunctions.Builder
-
Builds the
RouterFunction
. - build() - Method in interface org.springframework.web.servlet.function.ServerRequest.Builder
-
Build the request.
- build() - Method in interface org.springframework.web.servlet.function.ServerResponse.HeadersBuilder
-
Build the response entity with no body.
- build() - Method in class org.springframework.web.servlet.mvc.method.annotation.MvcUriComponentsBuilder.MethodArgumentBuilder
- build() - Method in interface org.springframework.web.servlet.mvc.method.annotation.SseEmitter.SseEventBuilder
-
Return one or more Object-MediaType pairs to write via
SseEmitter.send(Object, MediaType)
. - build() - Method in interface org.springframework.web.servlet.mvc.method.RequestMappingInfo.Builder
-
Build the RequestMappingInfo.
- build(BiFunction<HttpServletRequest, HttpServletResponse, ModelAndView>) - Method in interface org.springframework.web.servlet.function.ServerResponse.HeadersBuilder
-
Build the response entity with a custom write function.
- buildAndExpand(Object...) - Method in class org.springframework.web.servlet.mvc.method.annotation.MvcUriComponentsBuilder.MethodArgumentBuilder
- buildContentNegotiationManager() - Method in class org.springframework.web.servlet.config.annotation.ContentNegotiationConfigurer
-
Build a
ContentNegotiationManager
based on this configurer's settings. - BuilderConfiguration() - Constructor for class org.springframework.web.servlet.mvc.method.RequestMappingInfo.BuilderConfiguration
- buildExcelDocument(Map<String, Object>, Workbook, HttpServletRequest, HttpServletResponse) - Method in class org.springframework.web.servlet.view.document.AbstractXlsView
-
Application-provided subclasses must implement this method to populate the Excel workbook document, given the model.
- buildFeedEntries(Map<String, Object>, Feed, HttpServletRequest, HttpServletResponse) - Method in class org.springframework.web.servlet.view.feed.AbstractAtomFeedView
-
Invokes
AbstractAtomFeedView.buildFeedEntries(Map, HttpServletRequest, HttpServletResponse)
to get a list of feed entries. - buildFeedEntries(Map<String, Object>, Channel, HttpServletRequest, HttpServletResponse) - Method in class org.springframework.web.servlet.view.feed.AbstractRssFeedView
-
Invokes
AbstractRssFeedView.buildFeedItems(Map, HttpServletRequest, HttpServletResponse)
to get a list of feed items. - buildFeedEntries(Map<String, Object>, HttpServletRequest, HttpServletResponse) - Method in class org.springframework.web.servlet.view.feed.AbstractAtomFeedView
-
Subclasses must implement this method to build feed entries, given the model.
- buildFeedEntries(Map<String, Object>, T, HttpServletRequest, HttpServletResponse) - Method in class org.springframework.web.servlet.view.feed.AbstractFeedView
-
Subclasses must implement this method to build feed entries, given the model.
- buildFeedItems(Map<String, Object>, HttpServletRequest, HttpServletResponse) - Method in class org.springframework.web.servlet.view.feed.AbstractRssFeedView
-
Subclasses must implement this method to build feed items, given the model.
- buildFeedMetadata(Map<String, Object>, T, HttpServletRequest) - Method in class org.springframework.web.servlet.view.feed.AbstractFeedView
-
Populate the feed metadata (title, link, description, etc.).
- buildHandlerMapping() - Method in class org.springframework.web.servlet.config.annotation.DefaultServletHandlerConfigurer
-
Return a handler mapping instance ordered at
Ordered.LOWEST_PRECEDENCE
containing theDefaultServletHttpRequestHandler
instance mapped to"/**"
; ornull
if default servlet handling was not enabled. - buildHandlerMapping() - Method in class org.springframework.web.servlet.config.annotation.ViewControllerRegistry
-
Return the
HandlerMapping
that contains the registered view controller mappings, ornull
for no registrations. - buildLocaleContext(HttpServletRequest) - Method in class org.springframework.web.servlet.DispatcherServlet
-
Build a LocaleContext for the given request, exposing the request's primary locale as current locale.
- buildLocaleContext(HttpServletRequest) - Method in class org.springframework.web.servlet.FrameworkServlet
-
Build a LocaleContext for the given request, exposing the request's primary locale as current locale.
- buildLogMessage(Exception, HttpServletRequest) - Method in class org.springframework.web.servlet.handler.AbstractHandlerExceptionResolver
-
Build a log message for the given exception, occurred during processing the given request.
- buildPathExposingHandler(Object, String, String, Map<String, String>) - Method in class org.springframework.web.servlet.handler.AbstractUrlHandlerMapping
-
Build a handler object for the given raw handler, exposing the actual handler, the
HandlerMapping.PATH_WITHIN_HANDLER_MAPPING_ATTRIBUTE
, as well as theHandlerMapping.URI_TEMPLATE_VARIABLES_ATTRIBUTE
before executing the handler. - buildPdfDocument(Map<String, Object>, Document, PdfWriter, HttpServletRequest, HttpServletResponse) - Method in class org.springframework.web.servlet.view.document.AbstractPdfView
-
Subclasses must implement this method to build an iText PDF document, given the model.
- buildPdfMetadata(Map<String, Object>, Document, HttpServletRequest) - Method in class org.springframework.web.servlet.view.document.AbstractPdfView
-
Populate the iText Document's meta fields (author, title, etc.).
- buildRequestAttributes(HttpServletRequest, HttpServletResponse, RequestAttributes) - Method in class org.springframework.web.servlet.FrameworkServlet
-
Build ServletRequestAttributes for the given request (potentially also holding a reference to the response), taking pre-bound attributes (and their type) into consideration.
- buildTemplateModel(Map<String, Object>, HttpServletRequest, HttpServletResponse) - Method in class org.springframework.web.servlet.view.freemarker.FreeMarkerView
-
Build a FreeMarker template model for the given model Map.
- buildView(String) - Method in class org.springframework.web.servlet.view.AbstractTemplateViewResolver
- buildView(String) - Method in class org.springframework.web.servlet.view.InternalResourceViewResolver
- buildView(String) - Method in class org.springframework.web.servlet.view.UrlBasedViewResolver
-
Creates a new View instance of the specified view class and configures it.
- buildView(String) - Method in class org.springframework.web.servlet.view.xslt.XsltViewResolver
- ButtonTag - Class in org.springframework.web.servlet.tags.form
-
The
<button>
tag renders a form field label in an HTML 'button' tag. - ButtonTag() - Constructor for class org.springframework.web.servlet.tags.form.ButtonTag
C
- 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
-
Deprecated.
- cacheForSeconds(HttpServletResponse, int, boolean) - Method in class org.springframework.web.servlet.support.WebContentGenerator
-
Deprecated.
- 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 aCache
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 aCache
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
-
Handles return values of type
Callable
. - 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 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
-
Changes the
PathPatternParser
on the given router function. - changeTheme(String) - Method in class org.springframework.web.servlet.support.RequestContext
-
Deprecated.as of 6.0, with no direct replacement
- changeTheme(Theme) - Method in class org.springframework.web.servlet.support.RequestContext
-
Deprecated.as of 6.0, with no direct replacement
- checkAndPrepare(HttpServletRequest, HttpServletResponse, int, boolean) - Method in class org.springframework.web.servlet.support.WebContentGenerator
-
Deprecated.as of 4.2, since the
lastModified
flag is effectively ignored, with a must-revalidate header only generated if explicitly configured - 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(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) - 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(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(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(Resource, Resource) - Method in class org.springframework.web.servlet.resource.PathResourceResolver
-
Perform additional checks on a resolved resource beyond checking whether the resource exists and is readable.
- 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
-
Use this to clear
ProducesRequestCondition.MEDIA_TYPES_ATTRIBUTE
that contains the parsed, requested media types. - 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 viaCorsConfiguration.combine(CorsConfiguration)
which in turn has been initialized withCorsConfiguration.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
-
Combine the patterns of the current and of the other instances as follows: If only one instance has patterns, use those.
- combine(PatternsRequestCondition) - Method in class org.springframework.web.servlet.mvc.condition.PatternsRequestCondition
-
Combine the patterns of the current and of the other instances as follows: If only one instance has patterns, use those.
- 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(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.
- 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. - 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
MimeTypeUtils.sortBySpecificity(List)
and iterate the list. - 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.
- 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.
- 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 multipleRequestCondition
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.
- 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.
- 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.
- 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
-
Override this method to configure the list of
HandlerExceptionResolvers
to use. - configureHandlerExceptionResolvers(List<HandlerExceptionResolver>) - Method in interface org.springframework.web.servlet.config.annotation.WebMvcConfigurer
-
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
-
Override this method to add custom
HttpMessageConverters
to use with theRequestMappingHandlerAdapter
and theExceptionHandlerExceptionResolver
. - 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. - 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 parsedPathPatterns
or String pattern matching withPathMatcher
, whether to match trailing slashes, and more. - configureResponse(Map<String, Object>, HttpServletResponse, Transformer) - Method in class org.springframework.web.servlet.view.xslt.XsltView
-
Configure the supplied
HttpServletResponse
. - configureTransformer(Map<String, Object>, HttpServletResponse, Transformer) - Method in class org.springframework.web.servlet.view.xslt.XsltView
-
Configure the supplied
Transformer
instance. - 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. - 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() - 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.EntityResponse.Builder
-
Set 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 orAccept
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 moreContentNegotiationStrategy
instances. - ContentNegotiationConfigurer(ServletContext) - Constructor for class org.springframework.web.servlet.config.annotation.ContentNegotiationConfigurer
-
Class constructor with
ServletContext
. - 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.EntityResponse.Builder
-
Set 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. - 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. - ContentVersionStrategy - Class in org.springframework.web.servlet.resource
-
A
VersionStrategy
that calculates a Hex MD5 hash 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
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(Class<T>) - Static method in class org.springframework.web.servlet.mvc.method.annotation.MvcUriComponentsBuilder
-
Return a "mock" controller instance.
- Controller - Interface in org.springframework.web.servlet.mvc
-
Base Controller interface, representing a component that receives
HttpServletRequest
andHttpServletResponse
instances just like aHttpServlet
but is able to participate in an MVC workflow. - 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
-
Creates a new
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(Cookie) - Method in interface org.springframework.web.servlet.function.ServerResponse.HeadersBuilder
-
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).
- 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 configured default locale, the request'sAccept-Language
header, or the default locale for the server. - CookieLocaleResolver() - Constructor for class org.springframework.web.servlet.i18n.CookieLocaleResolver
-
Constructor with a default cookie name.
- CookieLocaleResolver(String) - Constructor for class org.springframework.web.servlet.i18n.CookieLocaleResolver
-
Constructor with a given cookie name.
- 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.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(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
-
Deprecated.as of 6.0 in favor of using CSS, without direct replacement
- CookieThemeResolver() - Constructor for class org.springframework.web.servlet.theme.CookieThemeResolver
-
Deprecated.
- copyModelParameters(Map<String, Object>, Transformer) - Method in class org.springframework.web.servlet.view.xslt.XsltView
-
Copy all entries from the supplied Map into the
parameter set
of the suppliedTransformer
. - copyOutputProperties(Transformer) - Method in class org.springframework.web.servlet.view.xslt.XsltView
-
Copy the configured output
Properties
, if any, into theoutput property set
of the suppliedTransformer
. - CorsBeanDefinitionParser - Class in org.springframework.web.servlet.config
-
BeanDefinitionParser
that parses acors
element in order to set the CORS configuration in the various {AbstractHandlerMapping} beans created byAnnotationDrivenBeanDefinitionParser
,ResourcesBeanDefinitionParser
andViewControllerBeanDefinitionParser
. - 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(HttpServletRequest, List<HttpMessageConverter<?>>) - Static method in interface org.springframework.web.servlet.function.ServerRequest
-
Create a new
ServerRequest
based on the givenHttpServletRequest
and message converters. - 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.
- 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
-
Returns an instance of
ExtendedServletRequestDataBinder
. - 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
-
Create a
DispatcherServlet
(or other kind ofFrameworkServlet
-derived dispatcher) with the specifiedWebApplicationContext
. - 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
-
Protected method for plugging in a custom subclass of
ExceptionHandlerExceptionResolver
. - 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 givenNativeWebRequest
. - createInvocableHandlerMethod(HandlerMethod) - Method in class org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter
-
Create a
ServletInvocableHandlerMethod
from the givenHandlerMethod
definition. - 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 givenNativeWebRequest
. - createProblemDetail(Exception, HttpStatusCode, String, String, Object[], WebRequest) - Method in class org.springframework.web.servlet.mvc.method.annotation.ResponseEntityExceptionHandler
-
Convenience method to create a
ProblemDetail
for any exception that doesn't implementErrorResponse
, also performing aMessageSource
lookup for the "detail" field. - 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
-
Protected method for plugging in a custom subclass of
RequestMappingHandlerAdapter
. - createRequestMappingHandlerMapping() - Method in class org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport
-
Protected method for plugging in a custom subclass of
RequestMappingHandlerMapping
. - 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. - createResponseEntity(Object, HttpHeaders, HttpStatusCode, WebRequest) - Method in class org.springframework.web.servlet.mvc.method.annotation.ResponseEntityExceptionHandler
-
Create the
ResponseEntity
to use from the given body, headers, and statusCode. - 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.
- 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 acustom 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 acustom 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
-
Abstract base class for
CssLinkResourceTransformer.LinkParser
implementations. - 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
-
Optionally perform further registration customization once
AbstractDispatcherServletInitializer.registerDispatcherServlet(ServletContext)
has completed.
D
- data(Object) - Method in interface org.springframework.web.servlet.function.ServerResponse.SseBuilder
-
Add an SSE "data" line for the given object and sends the built server-sent event to the client.
- data(Object) - Method in interface org.springframework.web.servlet.mvc.method.annotation.SseEmitter.SseEventBuilder
-
Add an SSE "data" line.
- data(Object, MediaType) - Method in interface org.springframework.web.servlet.mvc.method.annotation.SseEmitter.SseEventBuilder
-
Add an SSE "data" line.
- DataWithMediaType(Object, MediaType) - Constructor for class org.springframework.web.servlet.mvc.method.annotation.ResponseBodyEmitter.DataWithMediaType
- DEFAULT_ARGUMENT_SEPARATOR - Static variable in class org.springframework.web.servlet.tags.MessageTag
-
Default separator for splitting an arguments String: a comma (",").
- DEFAULT_BASENAME - Static variable in class org.springframework.web.servlet.view.ResourceBundleViewResolver
-
Deprecated.The default basename if no other basename is supplied.
- DEFAULT_CACHE_LIMIT - Static variable in class org.springframework.web.servlet.view.AbstractCachingViewResolver
-
Default maximum number of entries for the view cache: 1024.
- DEFAULT_CODINGS - Static variable in class org.springframework.web.servlet.resource.EncodedResourceResolver
-
The default content codings.
- DEFAULT_COMMAND_NAME - Static variable in class org.springframework.web.servlet.tags.form.FormTag
-
The default attribute name: "command".
- DEFAULT_CONTENT_TYPE - Static variable in class org.springframework.web.servlet.view.AbstractView
-
Default content type.
- DEFAULT_CONTENT_TYPE - Static variable in class org.springframework.web.servlet.view.json.MappingJackson2JsonView
-
Default content type: "application/json".
- DEFAULT_CONTENT_TYPE - Static variable in class org.springframework.web.servlet.view.script.ScriptTemplateView
-
The default content type for the view.
- DEFAULT_CONTENT_TYPE - Static variable in class org.springframework.web.servlet.view.xml.MappingJackson2XmlView
-
The default content type for the view.
- DEFAULT_CONTENT_TYPE - Static variable in class org.springframework.web.servlet.view.xml.MarshallingView
-
Default content type.
- DEFAULT_CONTEXT_CLASS - Static variable in class org.springframework.web.servlet.FrameworkServlet
-
Default context class for FrameworkServlet.
- DEFAULT_COOKIE_NAME - Static variable in class org.springframework.web.servlet.i18n.CookieLocaleResolver
-
The default cookie name used if none is explicitly set.
- DEFAULT_COOKIE_NAME - Static variable in class org.springframework.web.servlet.theme.CookieThemeResolver
-
Deprecated.The default name of the cookie that holds the theme name.
- DEFAULT_EXCEPTION_ATTRIBUTE - Static variable in class org.springframework.web.servlet.handler.SimpleMappingExceptionResolver
-
The default name of the exception attribute: "exception".
- DEFAULT_FEED_TYPE - Static variable in class org.springframework.web.servlet.view.feed.AbstractAtomFeedView
-
The default feed type used.
- DEFAULT_LOCATION - Static variable in class org.springframework.web.servlet.view.XmlViewResolver
-
Deprecated.Default if no other location is supplied.
- DEFAULT_NAMESPACE_SUFFIX - Static variable in class org.springframework.web.servlet.FrameworkServlet
-
Suffix for WebApplicationContext namespaces.
- DEFAULT_PARAM_NAME - Static variable in class org.springframework.web.servlet.i18n.LocaleChangeInterceptor
-
Default name of the locale specification parameter: "locale".
- DEFAULT_PARAM_NAME - Static variable in class org.springframework.web.servlet.theme.ThemeChangeInterceptor
-
Deprecated.Default name of the theme specification parameter: "theme".
- DEFAULT_SERVLET_NAME - Static variable in class org.springframework.web.servlet.support.AbstractDispatcherServletInitializer
-
The default servlet name.
- DEFAULT_THEME_NAME - Static variable in class org.springframework.web.servlet.support.RequestContext
-
Deprecated.as of 6.0, with no direct replacement
- defaultContentType(MediaType...) - Method in class org.springframework.web.servlet.config.annotation.ContentNegotiationConfigurer
-
Set the default content type(s) to use when no content type is requested in order of priority.
- defaultContentTypeStrategy(ContentNegotiationStrategy) - Method in class org.springframework.web.servlet.config.annotation.ContentNegotiationConfigurer
-
Set a custom
ContentNegotiationStrategy
to use to determine the content type to use when no content type is requested. - DefaultHandlerExceptionResolver - Class in org.springframework.web.servlet.mvc.support
-
The default implementation of the
HandlerExceptionResolver
interface, resolving standard Spring MVC exceptions and translating them to corresponding HTTP status codes. - DefaultHandlerExceptionResolver() - Constructor for class org.springframework.web.servlet.mvc.support.DefaultHandlerExceptionResolver
-
Sets the order to
Ordered.LOWEST_PRECEDENCE
. - DefaultRequestToViewNameTranslator - Class in org.springframework.web.servlet.view
-
RequestToViewNameTranslator
that simply transforms the URI of the incoming request into a view name. - DefaultRequestToViewNameTranslator() - Constructor for class org.springframework.web.servlet.view.DefaultRequestToViewNameTranslator
- DefaultServletHandlerConfigurer - Class in org.springframework.web.servlet.config.annotation
-
Configures a request handler for serving static resources by forwarding the request to the Servlet container's "default" Servlet.
- DefaultServletHandlerConfigurer(ServletContext) - Constructor for class org.springframework.web.servlet.config.annotation.DefaultServletHandlerConfigurer
-
Create a
DefaultServletHandlerConfigurer
instance. - defaultServletHandlerMapping() - Method in class org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport
-
Return a handler mapping ordered at Integer.MAX_VALUE with a mapped default servlet handler.
- DefaultServletHttpRequestHandler - Class in org.springframework.web.servlet.resource
-
An
HttpRequestHandler
for serving static files using the Servlet container's "default" Servlet. - DefaultServletHttpRequestHandler() - Constructor for class org.springframework.web.servlet.resource.DefaultServletHttpRequestHandler
- DeferredResultMethodReturnValueHandler - Class in org.springframework.web.servlet.mvc.method.annotation
- DeferredResultMethodReturnValueHandler() - Constructor for class org.springframework.web.servlet.mvc.method.annotation.DeferredResultMethodReturnValueHandler
- DelegatingWebMvcConfiguration - Class in org.springframework.web.servlet.config.annotation
-
A subclass of
WebMvcConfigurationSupport
that detects and delegates to all beans of typeWebMvcConfigurer
allowing them to customize the configuration provided byWebMvcConfigurationSupport
. - DelegatingWebMvcConfiguration() - Constructor for class org.springframework.web.servlet.config.annotation.DelegatingWebMvcConfiguration
- DELETE(String) - Static method in class org.springframework.web.servlet.function.RequestPredicates
-
Return a
RequestPredicate
that matches if request's HTTP method isDELETE
and the givenpattern
matches against the request path. - DELETE(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
DELETE
requests that match the given pattern. - DELETE(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
DELETE
requests that match the given pattern and predicate. - DELETE(HandlerFunction<ServerResponse>) - Method in interface org.springframework.web.servlet.function.RouterFunctions.Builder
-
Adds a route to the given handler function that handles HTTP
DELETE
requests. - DELETE(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
DELETE
requests that match the given predicate. - destroy() - Method in class org.springframework.web.servlet.FrameworkServlet
-
Close the WebApplicationContext of this servlet.
- destroy() - Method in class org.springframework.web.servlet.mvc.ServletWrappingController
-
Destroy the wrapped Servlet instance.
- destroy() - Method in class org.springframework.web.servlet.view.ResourceBundleViewResolver
-
Deprecated.Close the bundle View factories on context shutdown.
- destroy() - Method in class org.springframework.web.servlet.view.XmlViewResolver
-
Deprecated.Close the view bean factory on context shutdown.
- detectHandlerMethods(Object) - Method in class org.springframework.web.servlet.handler.AbstractHandlerMethodMapping
-
Look for handler methods in the specified handler bean.
- detectHandlers() - Method in class org.springframework.web.servlet.handler.AbstractDetectingUrlHandlerMapping
-
Register all handlers found in the current ApplicationContext.
- detectMappedInterceptors(List<HandlerInterceptor>) - Method in class org.springframework.web.servlet.handler.AbstractHandlerMapping
-
Detect beans of type
MappedInterceptor
and add them to the list of mapped interceptors. - detectResourceHandlers(ApplicationContext) - Method in class org.springframework.web.servlet.resource.ResourceUrlProvider
- determineDefaultLocale(HttpServletRequest) - Method in class org.springframework.web.servlet.i18n.CookieLocaleResolver
-
Deprecated.as of 6.0, in favor of
CookieLocaleResolver.setDefaultLocaleFunction(Function)
- determineDefaultLocale(HttpServletRequest) - Method in class org.springframework.web.servlet.i18n.SessionLocaleResolver
-
Deprecated.as of 6.0, in favor of
SessionLocaleResolver.setDefaultLocaleFunction(Function)
- determineDefaultTimeZone(HttpServletRequest) - Method in class org.springframework.web.servlet.i18n.CookieLocaleResolver
-
Deprecated.as of 6.0, in favor of
CookieLocaleResolver.setDefaultTimeZoneFunction(Function)
- determineDefaultTimeZone(HttpServletRequest) - Method in class org.springframework.web.servlet.i18n.SessionLocaleResolver
-
Deprecated.as of 6.0, in favor of
SessionLocaleResolver.setDefaultTimeZoneFunction(Function)
- determineStatusCode(HttpServletRequest, String) - Method in class org.springframework.web.servlet.handler.SimpleMappingExceptionResolver
-
Determine the HTTP status code to apply for the given error view.
- determineUrlsForHandler(String) - Method in class org.springframework.web.servlet.handler.AbstractDetectingUrlHandlerMapping
-
Determine the URLs for the given handler bean.
- determineUrlsForHandler(String) - Method in class org.springframework.web.servlet.handler.BeanNameUrlHandlerMapping
-
Checks name and aliases of the given bean for URLs, starting with "/".
- determineViewName(Exception, HttpServletRequest) - Method in class org.springframework.web.servlet.handler.SimpleMappingExceptionResolver
-
Determine the view name for the given exception, first checking against the
"excludedExecptions"
, then searching the"exceptionMappings"
, and finally using the"defaultErrorView"
as a fallback. - DIR_ATTRIBUTE - Static variable in class org.springframework.web.servlet.tags.form.AbstractHtmlElementTag
- DISABLED_ATTRIBUTE - Static variable in class org.springframework.web.servlet.tags.form.AbstractHtmlInputElementTag
-
The name of the '
disabled
' attribute. - DISABLED_ATTRIBUTE - Static variable in class org.springframework.web.servlet.tags.form.ButtonTag
-
The name of the '
disabled
' attribute. - DISABLED_ATTRIBUTE - Static variable in class org.springframework.web.servlet.tags.form.HiddenInputTag
-
The name of the '
disabled
' attribute. - DispatcherServlet - Class in org.springframework.web.servlet
-
Central dispatcher for HTTP request handlers/controllers, e.g.
- DispatcherServlet() - Constructor for class org.springframework.web.servlet.DispatcherServlet
-
Create a new
DispatcherServlet
that will create its own internal web application context based on defaults and values provided through servlet init-params. - DispatcherServlet(WebApplicationContext) - Constructor for class org.springframework.web.servlet.DispatcherServlet
-
Create a new
DispatcherServlet
with the given web application context. - DispatcherServletWebRequest - Class in org.springframework.web.servlet.handler
-
ServletWebRequest
subclass that is aware ofDispatcherServlet
's request context, such as the Locale determined by the configuredLocaleResolver
. - DispatcherServletWebRequest(HttpServletRequest) - Constructor for class org.springframework.web.servlet.handler.DispatcherServletWebRequest
-
Create a new DispatcherServletWebRequest instance for the given request.
- DispatcherServletWebRequest(HttpServletRequest, HttpServletResponse) - Constructor for class org.springframework.web.servlet.handler.DispatcherServletWebRequest
-
Create a new DispatcherServletWebRequest instance for the given request and response.
- DISPLAY_VALUE_VARIABLE_NAME - Static variable in class org.springframework.web.servlet.tags.form.OptionTag
-
The name of the JSP variable used to expose the display value for this tag.
- doAfterBody() - Method in class org.springframework.web.servlet.tags.EscapeBodyTag
- doCatch(Throwable) - Method in class org.springframework.web.servlet.tags.NestedPathTag
- doCatch(Throwable) - Method in class org.springframework.web.servlet.tags.RequestContextAwareTag
- doDelete(HttpServletRequest, HttpServletResponse) - Method in class org.springframework.web.servlet.FrameworkServlet
-
Delegate DELETE requests to
FrameworkServlet.processRequest(jakarta.servlet.http.HttpServletRequest, jakarta.servlet.http.HttpServletResponse)
. - doDispatch(HttpServletRequest, HttpServletResponse) - Method in class org.springframework.web.servlet.DispatcherServlet
-
Process the actual dispatching to the handler.
- doEndTag() - Method in class org.springframework.web.servlet.tags.ArgumentTag
- doEndTag() - Method in class org.springframework.web.servlet.tags.BindErrorsTag
- doEndTag() - Method in class org.springframework.web.servlet.tags.BindTag
- doEndTag() - Method in class org.springframework.web.servlet.tags.EvalTag
- doEndTag() - Method in class org.springframework.web.servlet.tags.form.AbstractHtmlElementBodyTag
-
If
rendering
, flush any bufferedBodyContent
or, if noBodyContent
is supplied,render the default content
. - doEndTag() - Method in class org.springframework.web.servlet.tags.form.ButtonTag
-
Closes the '
button
' block tag. - doEndTag() - Method in class org.springframework.web.servlet.tags.form.FormTag
-
Closes the '
form
' block tag and removes the form object name from thePageContext
. - doEndTag() - Method in class org.springframework.web.servlet.tags.form.LabelTag
-
Close the '
label
' tag. - doEndTag() - Method in class org.springframework.web.servlet.tags.form.SelectTag
-
Closes any block tag that might have been opened when using nested
options
. - doEndTag() - Method in class org.springframework.web.servlet.tags.MessageTag
-
Resolves the message, escapes it if demanded, and writes it to the page (or exposes it as variable).
- doEndTag() - Method in class org.springframework.web.servlet.tags.NestedPathTag
-
Reset any previous nestedPath value.
- doEndTag() - Method in class org.springframework.web.servlet.tags.ParamTag
- doEndTag() - Method in class org.springframework.web.servlet.tags.UrlTag
- doFilter(ServletRequest, ServletResponse, FilterChain) - Method in class org.springframework.web.servlet.resource.ResourceUrlEncodingFilter
- doFinally() - Method in class org.springframework.web.servlet.tags.BindErrorsTag
- doFinally() - Method in class org.springframework.web.servlet.tags.BindTag
- doFinally() - Method in class org.springframework.web.servlet.tags.form.AbstractDataBoundFormElementTag
-
Disposes of the
BindStatus
instance. - doFinally() - Method in class org.springframework.web.servlet.tags.form.AbstractHtmlElementBodyTag
-
Clean up any attributes and stored resources.
- doFinally() - Method in class org.springframework.web.servlet.tags.form.FormTag
-
Clears the stored
TagWriter
. - doFinally() - Method in class org.springframework.web.servlet.tags.form.LabelTag
-
Disposes of the
TagWriter
instance. - doFinally() - Method in class org.springframework.web.servlet.tags.form.SelectTag
- doFinally() - Method in class org.springframework.web.servlet.tags.NestedPathTag
- doFinally() - Method in class org.springframework.web.servlet.tags.RequestContextAwareTag
- doGet(HttpServletRequest, HttpServletResponse) - Method in class org.springframework.web.servlet.FrameworkServlet
-
Delegate GET requests to processRequest/doService.
- doInitBody() - Method in class org.springframework.web.servlet.tags.EscapeBodyTag
- doInitBody() - Method in class org.springframework.web.servlet.tags.form.AbstractHtmlElementBodyTag
- doOptions(HttpServletRequest, HttpServletResponse) - Method in class org.springframework.web.servlet.FrameworkServlet
-
Delegate OPTIONS requests to
FrameworkServlet.processRequest(jakarta.servlet.http.HttpServletRequest, jakarta.servlet.http.HttpServletResponse)
, if desired. - doParse(Element, ParserContext, BeanDefinitionBuilder) - Method in class org.springframework.web.servlet.config.FreeMarkerConfigurerBeanDefinitionParser
- doParse(Element, ParserContext, BeanDefinitionBuilder) - Method in class org.springframework.web.servlet.config.ScriptTemplateConfigurerBeanDefinitionParser
- doPost(HttpServletRequest, HttpServletResponse) - Method in class org.springframework.web.servlet.FrameworkServlet
- doPut(HttpServletRequest, HttpServletResponse) - Method in class org.springframework.web.servlet.FrameworkServlet
- doRender(Map<String, Object>, HttpServletRequest, HttpServletResponse) - Method in class org.springframework.web.servlet.view.freemarker.FreeMarkerView
-
Render the FreeMarker view to the given response, using the given model map which contains the complete template model to use.
- doResolveException(HttpServletRequest, HttpServletResponse, Object, Exception) - Method in class org.springframework.web.servlet.handler.AbstractHandlerExceptionResolver
-
Actually resolve the given exception that got thrown during handler execution, returning a
ModelAndView
that represents a specific error page if appropriate. - doResolveException(HttpServletRequest, HttpServletResponse, Object, Exception) - Method in class org.springframework.web.servlet.handler.AbstractHandlerMethodExceptionResolver
- doResolveException(HttpServletRequest, HttpServletResponse, Object, Exception) - Method in class org.springframework.web.servlet.handler.SimpleMappingExceptionResolver
-
Actually resolve the given exception that got thrown during on handler execution, returning a ModelAndView that represents a specific error page if appropriate.
- doResolveException(HttpServletRequest, HttpServletResponse, Object, Exception) - Method in class org.springframework.web.servlet.mvc.annotation.ResponseStatusExceptionResolver
- doResolveException(HttpServletRequest, HttpServletResponse, Object, Exception) - Method in class org.springframework.web.servlet.mvc.support.DefaultHandlerExceptionResolver
- doResolveHandlerMethodException(HttpServletRequest, HttpServletResponse, HandlerMethod, Exception) - Method in class org.springframework.web.servlet.handler.AbstractHandlerMethodExceptionResolver
-
Actually resolve the given exception that got thrown during on handler execution, returning a ModelAndView that represents a specific error page if appropriate.
- doResolveHandlerMethodException(HttpServletRequest, HttpServletResponse, HandlerMethod, Exception) - Method in class org.springframework.web.servlet.mvc.method.annotation.ExceptionHandlerExceptionResolver
-
Find an
@ExceptionHandler
method and invoke it to handle the raised exception. - doService(HttpServletRequest, HttpServletResponse) - Method in class org.springframework.web.servlet.DispatcherServlet
-
Exposes the DispatcherServlet-specific request attributes and delegates to
DispatcherServlet.doDispatch(jakarta.servlet.http.HttpServletRequest, jakarta.servlet.http.HttpServletResponse)
for the actual dispatching. - doService(HttpServletRequest, HttpServletResponse) - Method in class org.springframework.web.servlet.FrameworkServlet
-
Subclasses must implement this method to do the work of request handling, receiving a centralized callback for GET, POST, PUT and DELETE.
- doStartTag() - Method in class org.springframework.web.servlet.tags.NestedPathTag
- doStartTag() - Method in class org.springframework.web.servlet.tags.RequestContextAwareTag
-
Create and expose the current RequestContext.
- doStartTagInternal() - Method in class org.springframework.web.servlet.tags.BindErrorsTag
- doStartTagInternal() - Method in class org.springframework.web.servlet.tags.BindTag
- doStartTagInternal() - Method in class org.springframework.web.servlet.tags.EscapeBodyTag
- doStartTagInternal() - Method in class org.springframework.web.servlet.tags.EvalTag
- doStartTagInternal() - Method in class org.springframework.web.servlet.tags.form.AbstractFormTag
-
Provide a simple template method that calls
AbstractFormTag.createTagWriter()
and passes the createdTagWriter
to theAbstractFormTag.writeTagContent(TagWriter)
method. - doStartTagInternal() - Method in class org.springframework.web.servlet.tags.HtmlEscapeTag
- doStartTagInternal() - Method in class org.springframework.web.servlet.tags.MessageTag
- doStartTagInternal() - Method in class org.springframework.web.servlet.tags.RequestContextAwareTag
-
Called by doStartTag to perform the actual work.
- doStartTagInternal() - Method in class org.springframework.web.servlet.tags.TransformTag
- doStartTagInternal() - Method in class org.springframework.web.servlet.tags.UrlTag
- doTrace(HttpServletRequest, HttpServletResponse) - Method in class org.springframework.web.servlet.FrameworkServlet
-
Delegate TRACE requests to
FrameworkServlet.processRequest(jakarta.servlet.http.HttpServletRequest, jakarta.servlet.http.HttpServletResponse)
, if desired.
E
- EditorAwareTag - Interface in org.springframework.web.servlet.tags
-
Interface to be implemented by JSP tags that expose a PropertyEditor for a property that they are currently bound to.
- enable() - Method in class org.springframework.web.servlet.config.annotation.DefaultServletHandlerConfigurer
-
Enable forwarding to the "default" Servlet.
- enable(String) - Method in class org.springframework.web.servlet.config.annotation.DefaultServletHandlerConfigurer
-
Enable forwarding to the "default" Servlet identified by the given name.
- enableContentNegotiation(boolean, View...) - Method in class org.springframework.web.servlet.config.annotation.ViewResolverRegistry
-
Enable use of a
ContentNegotiatingViewResolver
to front all other configured view resolvers and select among all selected Views based on media types requested by the client (e.g. - enableContentNegotiation(View...) - Method in class org.springframework.web.servlet.config.annotation.ViewResolverRegistry
-
Enable use of a
ContentNegotiatingViewResolver
to front all other configured view resolvers and select among all selected Views based on media types requested by the client (e.g. - EnableWebMvc - Annotation Interface in org.springframework.web.servlet.config.annotation
-
Adding this annotation to an
@Configuration
class imports the Spring MVC configuration fromWebMvcConfigurationSupport
, e.g.: - encode() - Method in class org.springframework.web.servlet.mvc.method.annotation.MvcUriComponentsBuilder.MethodArgumentBuilder
-
Use this method only if you need to apply strong encoding to expanded URI variables by quoting all characters with reserved meaning.
- EncodedResourceResolver - Class in org.springframework.web.servlet.resource
-
Resolver that delegates to the chain, and if a resource is found, it then attempts to find an encoded (e.g.
- EncodedResourceResolver() - Constructor for class org.springframework.web.servlet.resource.EncodedResourceResolver
- endAnd() - Method in interface org.springframework.web.servlet.function.RequestPredicates.Visitor
-
Receive last notification of a logical AND predicate.
- endNegate() - Method in interface org.springframework.web.servlet.function.RequestPredicates.Visitor
-
Receive last notification of a negated predicate.
- endNested(RequestPredicate) - Method in interface org.springframework.web.servlet.function.RouterFunctions.Visitor
-
Receive notification of the end of a nested router function.
- endOr() - Method in interface org.springframework.web.servlet.function.RequestPredicates.Visitor
-
Receive last notification of a logical OR predicate.
- endTag() - Method in class org.springframework.web.servlet.tags.form.TagWriter
-
Close the current tag.
- endTag(boolean) - Method in class org.springframework.web.servlet.tags.form.TagWriter
-
Close the current tag, allowing to enforce a full closing tag.
- entity() - Method in interface org.springframework.web.servlet.function.EntityResponse
-
Return the entity that makes up this response.
- EntityResponse<T> - Interface in org.springframework.web.servlet.function
-
Entity-specific subtype of
ServerResponse
that exposes entity data. - EntityResponse.Builder<T> - Interface in org.springframework.web.servlet.function
-
Defines a builder for
EntityResponse
. - equals(Object) - Method in class org.springframework.web.servlet.FlashMap
- equals(Object) - Method in class org.springframework.web.servlet.mvc.condition.AbstractRequestCondition
- equals(Object) - Method in class org.springframework.web.servlet.mvc.method.RequestMappingInfo
- error(Throwable) - Method in interface org.springframework.web.servlet.function.ServerResponse.SseBuilder
-
Completes the event stream with the given error.
- ERRORS_VARIABLE_NAME - Static variable in class org.springframework.web.servlet.tags.BindErrorsTag
-
Page context attribute containing
Errors
. - ErrorsTag - Class in org.springframework.web.servlet.tags.form
-
The
<errors>
tag renders field errors in an HTML 'span' tag. - ErrorsTag() - Constructor for class org.springframework.web.servlet.tags.form.ErrorsTag
- EscapeBodyTag - Class in org.springframework.web.servlet.tags
-
The
<escapeBody>
tag is used to escape its enclosed body content, applying HTML escaping and/or JavaScript escaping. - EscapeBodyTag() - Constructor for class org.springframework.web.servlet.tags.EscapeBodyTag
- eTag(String) - Method in interface org.springframework.web.servlet.function.EntityResponse.Builder
-
Set the entity tag of the body, as specified by the
ETag
header. - eTag(String) - Method in interface org.springframework.web.servlet.function.ServerResponse.HeadersBuilder
-
Set the entity tag of the body, as specified by the
ETag
header. - EvalTag - Class in org.springframework.web.servlet.tags
-
The
<eval>
tag evaluates a Spring expression (SpEL) and either prints the result or assigns it to a variable. - EvalTag() - Constructor for class org.springframework.web.servlet.tags.EvalTag
- evaluate(String, Object) - Method in class org.springframework.web.servlet.tags.form.AbstractFormTag
-
Evaluate the supplied value for the supplied attribute name.
- event() - Static method in class org.springframework.web.servlet.mvc.method.annotation.SseEmitter
- event(String) - Method in interface org.springframework.web.servlet.function.ServerResponse.SseBuilder
-
Add an SSE "event" line.
- EXCEPTION_ATTRIBUTE - Static variable in class org.springframework.web.servlet.DispatcherServlet
-
Name of request attribute that exposes an Exception resolved with a
HandlerExceptionResolver
but where no view was rendered (e.g. - ExceptionHandlerExceptionResolver - Class in org.springframework.web.servlet.mvc.method.annotation
-
An
AbstractHandlerMethodExceptionResolver
that resolves exceptions through@ExceptionHandler
methods. - ExceptionHandlerExceptionResolver() - Constructor for class org.springframework.web.servlet.mvc.method.annotation.ExceptionHandlerExceptionResolver
- excludePathPatterns(String...) - Method in class org.springframework.web.servlet.config.annotation.InterceptorRegistration
-
Add patterns for URLs the interceptor should be excluded from.
- excludePathPatterns(List<String>) - Method in class org.springframework.web.servlet.config.annotation.InterceptorRegistration
-
List-based variant of
InterceptorRegistration.excludePathPatterns(String...)
. - exposeAttributes() - Method in class org.springframework.web.servlet.tags.form.AbstractHtmlElementBodyTag
-
Called during
AbstractHtmlElementBodyTag.writeTagContent(org.springframework.web.servlet.tags.form.TagWriter)
allowing subclasses to add any attributes to thePageContext
as needed. - exposeAttributes() - Method in class org.springframework.web.servlet.tags.form.ErrorsTag
-
Exposes any bind status error messages under
this key
in thePageContext.PAGE_SCOPE
. - exposeAttributes() - Method in class org.springframework.web.servlet.tags.form.OptionTag
- exposedHeaders(String...) - Method in class org.springframework.web.servlet.config.annotation.CorsRegistration
-
Set the list of response headers that an actual response might have and can be exposed.
- exposeHelpers(HttpServletRequest) - Method in class org.springframework.web.servlet.view.InternalResourceView
-
Expose helpers unique to each rendering operation.
- exposeHelpers(HttpServletRequest) - Method in class org.springframework.web.servlet.view.JstlView
-
Exposes a JSTL LocalizationContext for Spring's locale and MessageSource.
- exposeHelpers(Map<String, Object>, HttpServletRequest) - Method in class org.springframework.web.servlet.view.freemarker.FreeMarkerView
-
Expose helpers unique to each rendering operation.
- exposeLocalizationContext(HttpServletRequest, MessageSource) - Static method in class org.springframework.web.servlet.support.JstlUtils
-
Exposes JSTL-specific request attributes specifying locale and resource bundle for JSTL's formatting and message tags, using Spring's locale and MessageSource.
- exposeLocalizationContext(RequestContext) - Static method in class org.springframework.web.servlet.support.JstlUtils
-
Exposes JSTL-specific request attributes specifying locale and resource bundle for JSTL's formatting and message tags, using Spring's locale and MessageSource.
- exposeModelAsRequestAttributes(Map<String, Object>, HttpServletRequest) - Method in class org.springframework.web.servlet.view.AbstractView
-
Expose the model objects in the given map as request attributes.
- exposePathWithinMapping(String, String, HttpServletRequest) - Method in class org.springframework.web.servlet.handler.AbstractUrlHandlerMapping
-
Expose the path within the current mapping as request attribute.
- exposeUriTemplateVariables(Map<String, String>, HttpServletRequest) - Method in class org.springframework.web.servlet.handler.AbstractUrlHandlerMapping
-
Expose the URI templates variables as request attribute.
- ExtendedServletRequestDataBinder - Class in org.springframework.web.servlet.mvc.method.annotation
-
Subclass of
ServletRequestDataBinder
that adds URI template variables to the values used for data binding. - ExtendedServletRequestDataBinder(Object) - Constructor for class org.springframework.web.servlet.mvc.method.annotation.ExtendedServletRequestDataBinder
-
Create a new instance, with default object name.
- ExtendedServletRequestDataBinder(Object, String) - Constructor for class org.springframework.web.servlet.mvc.method.annotation.ExtendedServletRequestDataBinder
-
Create a new instance.
- extendHandlerExceptionResolvers(List<HandlerExceptionResolver>) - Method in class org.springframework.web.servlet.config.annotation.DelegatingWebMvcConfiguration
- extendHandlerExceptionResolvers(List<HandlerExceptionResolver>) - Method in class org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport
-
Override this method to extend or modify the list of
HandlerExceptionResolvers
after it has been configured. - extendHandlerExceptionResolvers(List<HandlerExceptionResolver>) - Method in interface org.springframework.web.servlet.config.annotation.WebMvcConfigurer
-
Extending or modify the list of exception resolvers configured by default.
- extendInterceptors(List<Object>) - Method in class org.springframework.web.servlet.handler.AbstractHandlerMapping
-
Extension hook that subclasses can override to register additional interceptors, given the configured interceptors (see
AbstractHandlerMapping.setInterceptors(java.lang.Object...)
). - extendMessageConverters(List<HttpMessageConverter<?>>) - Method in class org.springframework.web.servlet.config.annotation.DelegatingWebMvcConfiguration
- extendMessageConverters(List<HttpMessageConverter<?>>) - Method in class org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport
-
Override this method to extend or modify the list of converters after it has been configured.
- extendMessageConverters(List<HttpMessageConverter<?>>) - Method in interface org.springframework.web.servlet.config.annotation.WebMvcConfigurer
-
Extend or modify the list of converters after it has been, either
configured
or initialized with a default list. - extendResponse(ServerHttpResponse) - Method in class org.springframework.web.servlet.mvc.method.annotation.ResponseBodyEmitter
-
Invoked after the response is updated with the status code and headers, if the ResponseBodyEmitter is wrapped in a ResponseEntity, but before the response is committed, i.e.
- extendResponse(ServerHttpResponse) - Method in class org.springframework.web.servlet.mvc.method.annotation.SseEmitter
- extractLink(int, String, String, SortedSet<CssLinkResourceTransformer.ContentChunkInfo>) - Method in class org.springframework.web.servlet.resource.CssLinkResourceTransformer.AbstractLinkParser
- extractLink(int, String, SortedSet<CssLinkResourceTransformer.ContentChunkInfo>) - Method in class org.springframework.web.servlet.resource.CssLinkResourceTransformer.AbstractLinkParser
-
Invoked after a keyword match, after whitespace has been removed, and when the next char is neither a single nor double quote.
- extractOperableUrl(HttpServletRequest) - Method in class org.springframework.web.servlet.mvc.UrlFilenameViewController
-
Extract a URL path from the given request, suitable for view name extraction.
- extractUriTemplateVariables() - Method in class org.springframework.web.servlet.handler.RequestMatchResult
-
Extract URI template variables from the matching pattern as defined in
PathMatcher.extractUriTemplateVariables(java.lang.String, java.lang.String)
. - extractVersion(String) - Method in class org.springframework.web.servlet.resource.AbstractVersionStrategy
- extractVersion(String) - Method in class org.springframework.web.servlet.resource.AbstractVersionStrategy.FileNameVersionPathStrategy
- extractVersion(String) - Method in class org.springframework.web.servlet.resource.AbstractVersionStrategy.PrefixVersionPathStrategy
- extractVersion(String) - Method in interface org.springframework.web.servlet.resource.VersionPathStrategy
-
Extract the resource version from the request path.
- extractViewNameFromUrlPath(String) - Method in class org.springframework.web.servlet.mvc.UrlFilenameViewController
-
Extract the URL filename from the given request URI.
F
- favorParameter(boolean) - Method in class org.springframework.web.servlet.config.annotation.ContentNegotiationConfigurer
-
Whether a request parameter ("format" by default) should be used to determine the requested media type.
- favorPathExtension(boolean) - Method in class org.springframework.web.servlet.config.annotation.ContentNegotiationConfigurer
-
Deprecated.as of 5.2.4. See deprecation note on
ContentNegotiationManagerFactoryBean.setFavorPathExtension(boolean)
. - FileNameVersionPathStrategy() - Constructor for class org.springframework.web.servlet.resource.AbstractVersionStrategy.FileNameVersionPathStrategy
- filter(HandlerFilterFunction<ServerResponse, ServerResponse>) - Method in interface org.springframework.web.servlet.function.RouterFunctions.Builder
-
Filters all routes created by this builder with the given filter function.
- filter(HandlerFilterFunction<T, S>) - Method in interface org.springframework.web.servlet.function.RouterFunction
-
Filter all handler functions routed by this function with the given filter function.
- filter(ServerRequest, HandlerFunction<T>) - Method in interface org.springframework.web.servlet.function.HandlerFilterFunction
-
Apply this filter to the given handler function.
- filter(View, String, Locale) - Method in interface org.springframework.web.servlet.view.AbstractCachingViewResolver.CacheFilter
-
Indicates whether the given view should be cached.
- filterAndWrapModel(Map<String, Object>, HttpServletRequest) - Method in class org.springframework.web.servlet.view.json.AbstractJackson2View
-
Filter and optionally wrap the model in
MappingJacksonValue
container. - filterModel(Map<String, Object>) - Method in class org.springframework.web.servlet.view.json.AbstractJackson2View
-
Filter out undesired attributes from the given model.
- filterModel(Map<String, Object>) - Method in class org.springframework.web.servlet.view.json.MappingJackson2JsonView
-
Filter out undesired attributes from the given model.
- filterModel(Map<String, Object>) - Method in class org.springframework.web.servlet.view.xml.MappingJackson2XmlView
- findEditor(Class<?>) - Method in class org.springframework.web.servlet.support.BindStatus
-
Find a PropertyEditor for the given value class, associated with the property that this bound status is currently bound to.
- findMatchingViewName(Properties, Exception) - Method in class org.springframework.web.servlet.handler.SimpleMappingExceptionResolver
-
Find a matching view name in the given exception mappings.
- findWebApplicationContext() - Method in class org.springframework.web.servlet.FrameworkServlet
- findWebApplicationContext(HttpServletRequest) - Static method in class org.springframework.web.servlet.support.RequestContextUtils
-
Look for the WebApplicationContext associated with the DispatcherServlet that has initiated request processing, and for the global context if none was found associated with the current request.
- findWebApplicationContext(HttpServletRequest, ServletContext) - Static method in class org.springframework.web.servlet.support.RequestContextUtils
-
Look for the WebApplicationContext associated with the DispatcherServlet that has initiated request processing, and for the global context if none was found associated with the current request.
- findWebJarResourcePath(String) - Method in class org.springframework.web.servlet.resource.WebJarsResourceResolver
- firstHeader(String) - Method in interface org.springframework.web.servlet.function.ServerRequest.Headers
-
Get the first header value, if any, for the header for the given name.
- FixedLocaleResolver - Class in org.springframework.web.servlet.i18n
-
LocaleResolver
implementation that always returns a fixed default locale and optionally time zone. - FixedLocaleResolver() - Constructor for class org.springframework.web.servlet.i18n.FixedLocaleResolver
-
Create a default FixedLocaleResolver, exposing a configured default locale (or the JVM's default locale as fallback).
- FixedLocaleResolver(Locale) - Constructor for class org.springframework.web.servlet.i18n.FixedLocaleResolver
-
Create a FixedLocaleResolver that exposes the given locale.
- FixedLocaleResolver(Locale, TimeZone) - Constructor for class org.springframework.web.servlet.i18n.FixedLocaleResolver
-
Create a FixedLocaleResolver that exposes the given locale and time zone.
- FixedThemeResolver - Class in org.springframework.web.servlet.theme
-
Deprecated.as of 6.0 in favor of using CSS, without direct replacement
- FixedThemeResolver() - Constructor for class org.springframework.web.servlet.theme.FixedThemeResolver
-
Deprecated.
- FixedVersionStrategy - Class in org.springframework.web.servlet.resource
-
A
VersionStrategy
that relies on a fixed version applied as a request path prefix, e.g. - FixedVersionStrategy(String) - Constructor for class org.springframework.web.servlet.resource.FixedVersionStrategy
-
Create a new FixedVersionStrategy with the given version string.
- FLASH_MAP_MANAGER_ATTRIBUTE - Static variable in class org.springframework.web.servlet.DispatcherServlet
-
Name of request attribute that holds the
FlashMapManager
. - FLASH_MAP_MANAGER_BEAN_NAME - Static variable in class org.springframework.web.servlet.DispatcherServlet
-
Well-known name for the FlashMapManager object in the bean factory for this namespace.
- FlashMap - Class in org.springframework.web.servlet
-
A FlashMap provides a way for one request to store attributes intended for use in another.
- FlashMap() - Constructor for class org.springframework.web.servlet.FlashMap
- flashMapManager() - Method in class org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport
- FlashMapManager - Interface in org.springframework.web.servlet
-
A strategy interface for retrieving and saving FlashMap instances.
- flushBufferedBodyContent(BodyContent) - Method in class org.springframework.web.servlet.tags.form.AbstractHtmlElementBodyTag
-
The user customised the output of the error messages - flush the buffered content into the main
JspWriter
. - forceBlock() - Method in class org.springframework.web.servlet.tags.form.TagWriter
-
Indicate that the currently open tag should be closed and marked as a block level element.
- formatMappingName() - Method in class org.springframework.web.servlet.handler.AbstractHandlerMapping
- formatUriValue(ConversionService, TypeDescriptor, Object) - Method in class org.springframework.web.servlet.mvc.method.annotation.PathVariableMethodArgumentResolver
- formatViewName() - Method in class org.springframework.web.servlet.view.AbstractView
- FormTag - Class in org.springframework.web.servlet.tags.form
-
The
<form>
tag renders an HTML 'form' tag and exposes a binding path to inner tags for binding. - FormTag() - Constructor for class org.springframework.web.servlet.tags.form.FormTag
- FORWARD_URL_PREFIX - Static variable in class org.springframework.web.servlet.view.UrlBasedViewResolver
-
Prefix for special view names that specify a forward URL (usually to a controller after a form has been submitted and processed).
- FrameworkServlet - Class in org.springframework.web.servlet
-
Base servlet for Spring's web framework.
- FrameworkServlet() - Constructor for class org.springframework.web.servlet.FrameworkServlet
-
Create a new
FrameworkServlet
that will create its own internal web application context based on defaults and values provided through servlet init-params. - FrameworkServlet(WebApplicationContext) - Constructor for class org.springframework.web.servlet.FrameworkServlet
-
Create a new
FrameworkServlet
with the given web application context. - freeMarker() - Method in class org.springframework.web.servlet.config.annotation.ViewResolverRegistry
-
Register a FreeMarker view resolver with an empty default view name prefix and a default suffix of ".ftl".
- FreeMarkerConfig - Interface in org.springframework.web.servlet.view.freemarker
-
Interface to be implemented by objects that configure and manage a FreeMarker Configuration object in a web environment.
- FreeMarkerConfigurer - Class in org.springframework.web.servlet.view.freemarker
-
JavaBean to configure FreeMarker for web usage, via the "configLocation" and/or "freemarkerSettings" and/or "templateLoaderPath" properties.
- FreeMarkerConfigurer() - Constructor for class org.springframework.web.servlet.view.freemarker.FreeMarkerConfigurer
- FreeMarkerConfigurerBeanDefinitionParser - Class in org.springframework.web.servlet.config
-
Parse the
<mvc:freemarker-configurer>
MVC namespace element and registerFreeMarkerConfigurer
bean. - FreeMarkerConfigurerBeanDefinitionParser() - Constructor for class org.springframework.web.servlet.config.FreeMarkerConfigurerBeanDefinitionParser
- FreeMarkerView - Class in org.springframework.web.servlet.view.freemarker
-
View using the FreeMarker template engine.
- FreeMarkerView() - Constructor for class org.springframework.web.servlet.view.freemarker.FreeMarkerView
- FreeMarkerViewResolver - Class in org.springframework.web.servlet.view.freemarker
-
Convenience subclass of
UrlBasedViewResolver
that supportsFreeMarkerView
(i.e. - FreeMarkerViewResolver() - Constructor for class org.springframework.web.servlet.view.freemarker.FreeMarkerViewResolver
-
Sets the default
view class
toFreeMarkerViewResolver.requiredViewClass()
: by defaultFreeMarkerView
. - FreeMarkerViewResolver(String, String) - Constructor for class org.springframework.web.servlet.view.freemarker.FreeMarkerViewResolver
- from(ErrorResponse) - Static method in interface org.springframework.web.servlet.function.ServerResponse
-
Create a
ServerResponse
from the givenErrorResponse
. - from(RenderingResponse) - Static method in interface org.springframework.web.servlet.function.RenderingResponse
-
Create a builder with the template name, status code, headers and model of the given response.
- from(ServerRequest) - Static method in interface org.springframework.web.servlet.function.ServerRequest
-
Create a builder with the status, headers, and cookies of the given request.
- from(ServerResponse) - Static method in interface org.springframework.web.servlet.function.ServerResponse
-
Create a builder with the status code and headers of the given response.
- fromContextPath(HttpServletRequest) - Static method in class org.springframework.web.servlet.support.ServletUriComponentsBuilder
-
Prepare a builder from the host, port, scheme, and context path of the given HttpServletRequest.
- fromController(Class<?>) - Static method in class org.springframework.web.servlet.mvc.method.annotation.MvcUriComponentsBuilder
-
Create a
UriComponentsBuilder
from the mapping of a controller class and current request information including Servlet mapping. - fromController(UriComponentsBuilder, Class<?>) - Static method in class org.springframework.web.servlet.mvc.method.annotation.MvcUriComponentsBuilder
-
An alternative to
MvcUriComponentsBuilder.fromController(Class)
that accepts aUriComponentsBuilder
representing the base URL. - fromCurrentContextPath() - Static method in class org.springframework.web.servlet.support.ServletUriComponentsBuilder
-
Same as
ServletUriComponentsBuilder.fromContextPath(HttpServletRequest)
except the request is obtained throughRequestContextHolder
. - fromCurrentRequest() - Static method in class org.springframework.web.servlet.support.ServletUriComponentsBuilder
-
Same as
ServletUriComponentsBuilder.fromRequest(HttpServletRequest)
except the request is obtained throughRequestContextHolder
. - fromCurrentRequestUri() - Static method in class org.springframework.web.servlet.support.ServletUriComponentsBuilder
-
Same as
ServletUriComponentsBuilder.fromRequestUri(HttpServletRequest)
except the request is obtained throughRequestContextHolder
. - fromCurrentServletMapping() - Static method in class org.springframework.web.servlet.support.ServletUriComponentsBuilder
-
Same as
ServletUriComponentsBuilder.fromServletMapping(HttpServletRequest)
except the request is obtained throughRequestContextHolder
. - fromMappingName(String) - Static method in class org.springframework.web.servlet.mvc.method.annotation.MvcUriComponentsBuilder
-
Create a URL from the name of a Spring MVC controller method's request mapping.
- fromMappingName(UriComponentsBuilder, String) - Static method in class org.springframework.web.servlet.mvc.method.annotation.MvcUriComponentsBuilder
-
An alternative to
MvcUriComponentsBuilder.fromMappingName(String)
that accepts aUriComponentsBuilder
representing the base URL. - fromMethod(Class<?>, Method, Object...) - Static method in class org.springframework.web.servlet.mvc.method.annotation.MvcUriComponentsBuilder
-
Create a
UriComponentsBuilder
from the mapping of a controller method and an array of method argument values. - fromMethod(UriComponentsBuilder, Class<?>, Method, Object...) - Static method in class org.springframework.web.servlet.mvc.method.annotation.MvcUriComponentsBuilder
-
An alternative to
MvcUriComponentsBuilder.fromMethod(Class, Method, Object...)
that accepts aUriComponentsBuilder
representing the base URL. - fromMethodCall(Object) - Static method in class org.springframework.web.servlet.mvc.method.annotation.MvcUriComponentsBuilder
-
Create a
UriComponentsBuilder
by invoking a "mock" controller method. - fromMethodCall(UriComponentsBuilder, Object) - Static method in class org.springframework.web.servlet.mvc.method.annotation.MvcUriComponentsBuilder
-
An alternative to
MvcUriComponentsBuilder.fromMethodCall(Object)
that accepts aUriComponentsBuilder
representing the base URL. - fromMethodName(Class<?>, String, Object...) - Static method in class org.springframework.web.servlet.mvc.method.annotation.MvcUriComponentsBuilder
-
Create a
UriComponentsBuilder
from the mapping of a controller method and an array of method argument values. - fromMethodName(UriComponentsBuilder, Class<?>, String, Object...) - Static method in class org.springframework.web.servlet.mvc.method.annotation.MvcUriComponentsBuilder
-
An alternative to
MvcUriComponentsBuilder.fromMethodName(Class, String, Object...)
that accepts aUriComponentsBuilder
representing the base URL. - fromObject(T) - Static method in interface org.springframework.web.servlet.function.EntityResponse
-
Create a builder with the given object.
- fromObject(T, ParameterizedTypeReference<T>) - Static method in interface org.springframework.web.servlet.function.EntityResponse
-
Create a builder with the given object and type reference.
- fromRequest(HttpServletRequest) - Static method in class org.springframework.web.servlet.support.ServletUriComponentsBuilder
-
Prepare a builder by copying the scheme, host, port, path, and query string of an HttpServletRequest.
- fromRequestUri(HttpServletRequest) - Static method in class org.springframework.web.servlet.support.ServletUriComponentsBuilder
-
Prepare a builder from the host, port, scheme, and path (but not the query) of the HttpServletRequest.
- fromServletMapping(HttpServletRequest) - Static method in class org.springframework.web.servlet.support.ServletUriComponentsBuilder
-
Prepare a builder from the host, port, scheme, context path, and servlet mapping of the given HttpServletRequest.
G
- 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 isGET
and the givenpattern
matches against the request path. - 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(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. - 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(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. - 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
-
Returns either
RequestMappingInfo.getPathPatternsCondition()
orRequestMappingInfo.getPatternsCondition()
depending on which is not null. - 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
-
Return all configured interceptors adapted to
HandlerInterceptor
. - 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
-
Provide access to the shared custom argument resolvers used by the
RequestMappingHandlerAdapter
and theExceptionHandlerExceptionResolver
. - getArgumentResolvers() - Method in class org.springframework.web.servlet.mvc.method.annotation.ExceptionHandlerExceptionResolver
-
Return the configured argument resolvers, or possibly
null
if not initialized yet viaExceptionHandlerExceptionResolver.afterPropertiesSet()
. - getArgumentResolvers() - Method in class org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter
-
Return the configured argument resolvers, or possibly
null
if not initialized yet viaRequestMappingHandlerAdapter.afterPropertiesSet()
. - 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
-
Callback for building the
AsyncSupportConfigurer
. - 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
- 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() - Method in class org.springframework.web.servlet.tags.form.AbstractDataBoundFormElementTag
-
Get the
BindStatus
for this tag. - getBindStatus() - Method in class org.springframework.web.servlet.tags.form.OptionsTag
- getBindStatus() - Method in class org.springframework.web.servlet.tags.form.OptionTag
- 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.
- getBody() - Method in exception org.springframework.web.servlet.NoHandlerFoundException
- 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 thisHandlerMapping
and can be used to setRequestMappingInfo.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.Return the
ClassLoader
to load resource bundles with. - 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 allWebDataBinder
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 (nevernull
). - 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() - 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
-
Deprecated.as of 5.2.4
- getContentNegotiationManager() - Method in class org.springframework.web.servlet.view.ContentNegotiatingViewResolver
-
Return the
ContentNegotiationManager
to use to determine requested media types. - getContentNegotiationManager(ParserContext) - Static method in class org.springframework.web.servlet.config.MvcNamespaceUtils
-
Find the
ContentNegotiationManager
bean created by or registered with theannotation-driven
element. - 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(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.
- 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
- 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
-
Return the "custom" condition of this
RequestMappingInfo
, ornull
. - 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
-
Return the list of argument resolvers to use including built-in resolvers and custom resolvers provided via
ExceptionHandlerExceptionResolver.setCustomArgumentResolvers(java.util.List<org.springframework.web.method.support.HandlerMethodArgumentResolver>)
. - 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
-
Get the default
Locale
that this resolver is supposed to fall back to, 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
-
Return the list of return value handlers to use including built-in and custom handlers provided via
ExceptionHandlerExceptionResolver.setReturnValueHandlers(java.util.List<org.springframework.web.method.support.HandlerMethodReturnValueHandler>)
. - 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
-
Deprecated.Return the name of the default theme.
- getDefaultThemeName() - Method in class org.springframework.web.servlet.theme.CookieThemeResolver
-
Deprecated.Return the name of the default theme.
- getDefaultTimeZone() - Method in class org.springframework.web.servlet.i18n.AbstractLocaleContextResolver
-
Get the default
TimeZone
that this resolver is supposed to fall back to, 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() - 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
- getDirectPaths(T) - Method in class org.springframework.web.servlet.handler.AbstractHandlerMethodMapping
-
Return the request mapping paths that are not patterns.
- 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
-
Exposes the
PropertyEditor
forEditorAwareTag
. - 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
-
Return the
ScriptEngine
to use by the views. - 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() - 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.
- 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.
- 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
-
Deprecated.as of 6.0, with no direct replacement
- 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
-
Deprecated.as of 5.2.4. See class-level note on the deprecation of path extension config options.
- getFileExtensions() - Method in class org.springframework.web.servlet.mvc.method.RequestMappingInfo.BuilderConfiguration
-
Deprecated.as of 5.2.4. See class-level note in
RequestMappingHandlerMapping
on the deprecation of path extension config options. - 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
-
Obtain a mutex for modifying the FlashMap List as handled by
AbstractFlashMapManager.retrieveFlashMaps(jakarta.servlet.http.HttpServletRequest)
andAbstractFlashMapManager.updateFlashMaps(java.util.List<org.springframework.web.servlet.FlashMap>, jakarta.servlet.http.HttpServletRequest, jakarta.servlet.http.HttpServletResponse)
, - 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 matchedResourceHttpRequestHandler
to resolve the URL path to expose for public use. - getForRequestUrl(HttpServletRequest, String) - Method in class org.springframework.web.servlet.resource.ResourceUrlProvider
-
A variation on
ResourceUrlProvider.getForLookupPath(String)
that accepts a full request URL path (i.e. - getHandler() - Method in class org.springframework.web.servlet.HandlerExecutionChain
-
Return the handler object to execute.
- 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(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
-
Build a
HandlerExecutionChain
for the given handler, including applicable interceptors. - 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 theWebApplicationContext
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
-
Return headers to use for the response.
- getHeadersCondition() - Method in class org.springframework.web.servlet.mvc.method.RequestMappingInfo
-
Return the "headers" condition of this
RequestMappingInfo
; or instance with 0 header expressions (nevernull
). - 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
-
Return the argument resolvers for
@InitBinder
methods, or possiblynull
if not initialized yet viaRequestMappingHandlerAdapter.afterPropertiesSet()
. - 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
-
The target
HandlerInterceptor
to invoke in case of a match. - 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() - Method in class org.springframework.web.servlet.HandlerExecutionChain
-
Return the array of interceptors to apply (in the given order).
- 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. - 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
- 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 "jakarta.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) - 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.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
-
Deprecated.as of 5.3.9 along with
LastModified
. - getLastModified(HttpServletRequest, Object) - Method in class org.springframework.web.servlet.mvc.HttpRequestHandlerAdapter
- 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
-
Deprecated.as of 5.3.9 along with
LastModified
. - 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() - Method in class org.springframework.web.servlet.view.script.RenderingContext
-
Return the locale of the rendered template.
- 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 theDispatcherServlet
(if available), falling back to the request's locale based on theAccept-Language
header or the default locale for the server. - getLocaleResolver(HttpServletRequest) - Static method in class org.springframework.web.servlet.support.RequestContextUtils
-
Return the
LocaleResolver
that has been bound to the request by theDispatcherServlet
. - 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
ofResource
locations including both String-based locations provided viasetLocationValues
and pre-resolvedResource
locations provided viasetLocations
. - getMappedInterceptors() - Method in class org.springframework.web.servlet.handler.AbstractHandlerMapping
-
Return all configured
MappedInterceptor
s as an array. - 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(RequestMappingInfo) - Method in class org.springframework.web.servlet.mvc.method.RequestMappingInfoHandlerMapping
-
Get the URL path patterns associated with the supplied
RequestMappingInfo
. - getMappingPathPatterns(T) - Method in class org.springframework.web.servlet.handler.AbstractHandlerMethodMapping
-
Deprecated.as of 5.3 in favor of providing non-pattern mappings via
AbstractHandlerMethodMapping.getDirectPaths(Object)
instead - getMatchableHandlerMapping(HttpServletRequest) - Method in class org.springframework.web.servlet.handler.HandlerMappingIntrospector
-
Find the
HandlerMapping
that would handle the given request and return aMatchableHandlerMapping
to use for path matching. - 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(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.
- 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.
- 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
-
Return the
configured
media types. - getMediaTypes(HttpServletRequest) - Method in class org.springframework.web.servlet.view.ContentNegotiatingViewResolver
-
Determines the list of
MediaType
for the givenHttpServletRequest
. - 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, Object[], boolean) - Method in class org.springframework.web.servlet.support.RequestContext
-
Retrieve the message for the given code.
- 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, Object[], String, boolean) - Method in class org.springframework.web.servlet.support.RequestContext
-
Retrieve the message for the given code.
- 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, List<?>) - 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(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. - getMessageConverters() - Method in class org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport
-
Provides access to the shared
HttpMessageConverters
used by theRequestMappingHandlerAdapter
and theExceptionHandlerExceptionResolver
. - 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.mvc.method.annotation.ResponseEntityExceptionHandler
-
Get the
MessageSource
that this exception handler uses. - 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
-
Deprecated.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 (nevernull
). - 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() - Method in exception org.springframework.web.servlet.ModelAndViewDefiningException
-
Return the ModelAndView that this exception contains for forwarding to.
- getModelAndView(String, Exception) - Method in class org.springframework.web.servlet.handler.SimpleMappingExceptionResolver
-
Return a ModelAndView for the given view name and exception.
- getModelAndView(String, Exception, HttpServletRequest) - Method in class org.springframework.web.servlet.handler.SimpleMappingExceptionResolver
-
Return a ModelAndView for the given request, view name and exception.
- getModelAndViewResolvers() - Method in class org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter
-
Return the configured
ModelAndViewResolvers
, ornull
. - 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 (nevernull
). - 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() - 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() - 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 returnnull
, 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.
- getName(HandlerMethod, RequestMappingInfo) - Method in class org.springframework.web.servlet.mvc.method.RequestMappingInfoHandlerMethodMappingNamingStrategy
- getName(HandlerMethod, T) - Method in interface org.springframework.web.servlet.handler.HandlerMethodMappingNamingStrategy
-
Determine the name for the given HandlerMethod and mapping.
- 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
-
Deprecated.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 thedefault 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
-
Deprecated.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 (nevernull
). - 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
-
Get the
resolved
property path for theform object
. - 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
-
Callback for building the
PathMatchConfigurer
. - getPathMatcher() - Method in class org.springframework.web.servlet.config.annotation.PathMatchConfigurer
- getPathMatcher() - Method in class org.springframework.web.servlet.handler.AbstractHandlerMapping
-
Return the
configured
PathMatcher
. - getPathMatcher() - Method in class org.springframework.web.servlet.handler.MappedInterceptor
-
The
configured
PathMatcher. - 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
-
Identical to
AbstractUrlHandlerMapping.getHandlerMap()
but populated when parsed patterns areenabled
; otherwise empty. - 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
-
Return the
configured
PathPatternParser
, ornull
otherwise which indicates that String pattern matching withAntPathMatcher
is enabled instead. - 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
-
Return the
PathPatternsRequestCondition.getPatterns()
mapped to Strings. - 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.
- getProducesCondition() - Method in class org.springframework.web.servlet.mvc.method.RequestMappingInfo
-
Return the "produces" condition of this
RequestMappingInfo
; or instance with 0 produces expressions (nevernull
). - 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
-
Get the
PropertyEditor
, if any, in use for value bound to this tag. - 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
-
Return a
ResourceHttpRequestHandler
instance. - getRequestHeaders() - Method in exception org.springframework.web.servlet.NoHandlerFoundException
-
Return the headers of the request.
- 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 theResource
being transformed. - 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, Resource) - Method in class org.springframework.web.servlet.resource.PathResourceResolver
-
Find the resource under the given location.
- 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.
- 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
-
Provide access to the shared return value handlers used by the
RequestMappingHandlerAdapter
and theExceptionHandlerExceptionResolver
. - getReturnValueHandlers() - Method in class org.springframework.web.servlet.mvc.method.annotation.ExceptionHandlerExceptionResolver
-
Return the configured handlers, or possibly
null
if not initialized yet viaExceptionHandlerExceptionResolver.afterPropertiesSet()
. - getReturnValueHandlers() - Method in class org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter
-
Return the configured handlers, or possibly
null
if not initialized yet viaRequestMappingHandlerAdapter.afterPropertiesSet()
. - 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
-
Return the configured
RouterFunction
. - 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
-
Return the associated
ServletContext
. - 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
-
Return the name under which the
DispatcherServlet
will be registered. - 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
- 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
. - getStatusCode() - Method in exception org.springframework.web.servlet.NoHandlerFoundException
- getStatusCodesAsMap() - Method in class org.springframework.web.servlet.handler.SimpleMappingExceptionResolver
-
Returns the HTTP status codes provided via
SimpleMappingExceptionResolver.setStatusCodes(Properties)
. - 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
-
Get the XSLT
Source
for the XSLT template under theconfigured URL
. - 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
-
Get 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
MimeTypeUtils.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. - 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(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
- 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(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.
- 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
-
Deprecated.as of 6.0, with no direct replacement
- getTheme(HttpServletRequest) - Static method in class org.springframework.web.servlet.support.RequestContextUtils
-
Deprecated.as of 6.0, with no direct replacement
- getThemeMessage(String) - Method in class org.springframework.web.servlet.support.RequestContext
-
Deprecated.as of 6.0, with no direct replacement
- getThemeMessage(String, Object[]) - Method in class org.springframework.web.servlet.support.RequestContext
-
Deprecated.as of 6.0, with no direct replacement
- getThemeMessage(String, Object[], String) - Method in class org.springframework.web.servlet.support.RequestContext
-
Deprecated.as of 6.0, with no direct replacement
- getThemeMessage(String, String) - Method in class org.springframework.web.servlet.support.RequestContext
-
Deprecated.as of 6.0, with no direct replacement
- getThemeMessage(String, List<?>) - Method in class org.springframework.web.servlet.support.RequestContext
-
Deprecated.as of 6.0, with no direct replacement
- getThemeMessage(String, List<?>, String) - Method in class org.springframework.web.servlet.support.RequestContext
-
Deprecated.as of 6.0, with no direct replacement
- getThemeMessage(MessageSourceResolvable) - Method in class org.springframework.web.servlet.support.RequestContext
-
Deprecated.as of 6.0, with no direct replacement
- getThemeResolver(HttpServletRequest) - Static method in class org.springframework.web.servlet.support.RequestContextUtils
-
Deprecated.as of 6.0, with no direct replacement
- getThemeSource() - Method in class org.springframework.web.servlet.DispatcherServlet
-
Deprecated.
- getThemeSource(HttpServletRequest) - Static method in class org.springframework.web.servlet.support.RequestContextUtils
-
Deprecated.as of 6.0, with no direct replacement
- 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
TimeZoneAwareLocaleContext
in theLocaleResolver
bound to the request by theDispatcherServlet
(if available). - 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
-
Return the
configured
UrlPathHelper
. - 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
-
Deprecated.as of 5.3, the path is resolved externally and obtained with
ServletRequestPathUtils.getCachedPathValue(ServletRequest)
; this method always returnsUrlPathHelper.defaultInstance
. - 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. - 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
-
Translate the given
HttpServletRequest
into a view name. - 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'sGroovyMarkupConfig
for creating aMarkupTemplateEngine
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 aGroovyConfigurer
bean. - GroovyMarkupConfigurerBeanDefinitionParser() - Constructor for class org.springframework.web.servlet.config.GroovyMarkupConfigurerBeanDefinitionParser
- GroovyMarkupView - Class in org.springframework.web.servlet.view.groovy
-
An
AbstractTemplateView
subclass based on Groovy XML/XHTML markup templates. - GroovyMarkupView() - Constructor for class org.springframework.web.servlet.view.groovy.GroovyMarkupView
- GroovyMarkupViewResolver - Class in org.springframework.web.servlet.view.groovy
-
Convenience subclass of
AbstractTemplateViewResolver
that supportsGroovyMarkupView
(i.e. - GroovyMarkupViewResolver() - Constructor for class org.springframework.web.servlet.view.groovy.GroovyMarkupViewResolver
-
Sets the default
view class
toGroovyMarkupViewResolver.requiredViewClass()
: by defaultGroovyMarkupView
. - GroovyMarkupViewResolver(String, String) - Constructor for class org.springframework.web.servlet.view.groovy.GroovyMarkupViewResolver
H
- handle(HttpServletRequest, HttpServletResponse, Object) - Method in class org.springframework.web.servlet.function.support.HandlerFunctionAdapter
- handle(HttpServletRequest, HttpServletResponse, Object) - Method in class org.springframework.web.servlet.handler.SimpleServletHandlerAdapter
- handle(HttpServletRequest, HttpServletResponse, Object) - Method in interface org.springframework.web.servlet.HandlerAdapter
-
Use the given handler to handle this request.
- handle(HttpServletRequest, HttpServletResponse, Object) - Method in class org.springframework.web.servlet.mvc.HttpRequestHandlerAdapter
- handle(HttpServletRequest, HttpServletResponse, Object) - Method in class org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter
-
This implementation expects the handler to be an
HandlerMethod
. - handle(HttpServletRequest, HttpServletResponse, Object) - Method in class org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter
- handle(ServerRequest) - Method in interface org.springframework.web.servlet.function.HandlerFunction
-
Handle the given request.
- handleAsyncRequestTimeoutException(AsyncRequestTimeoutException, HttpServletRequest, HttpServletResponse, Object) - Method in class org.springframework.web.servlet.mvc.support.DefaultHandlerExceptionResolver
-
Handle the case where an async request timed out.
- handleAsyncRequestTimeoutException(AsyncRequestTimeoutException, HttpHeaders, HttpStatusCode, WebRequest) - Method in class org.springframework.web.servlet.mvc.method.annotation.ResponseEntityExceptionHandler
-
Customize the handling of
AsyncRequestTimeoutException
. - handleBindException(BindException, HttpServletRequest, HttpServletResponse, Object) - Method in class org.springframework.web.servlet.mvc.support.DefaultHandlerExceptionResolver
-
Deprecated, for removal: This API element is subject to removal in a future version.as of 6.0 since
ModelAttributeMethodProcessor
now raises theMethodArgumentNotValidException
subclass instead. - handleBindException(BindException, HttpHeaders, HttpStatusCode, WebRequest) - Method in class org.springframework.web.servlet.mvc.method.annotation.ResponseEntityExceptionHandler
-
Deprecated, for removal: This API element is subject to removal in a future version.as of 6.0 since
ModelAttributeMethodProcessor
now raises theMethodArgumentNotValidException
subclass instead. - handleConversionNotSupported(ConversionNotSupportedException, HttpServletRequest, HttpServletResponse, Object) - Method in class org.springframework.web.servlet.mvc.support.DefaultHandlerExceptionResolver
-
Handle the case when a
WebDataBinder
conversion cannot occur. - handleConversionNotSupported(ConversionNotSupportedException, HttpHeaders, HttpStatusCode, WebRequest) - Method in class org.springframework.web.servlet.mvc.method.annotation.ResponseEntityExceptionHandler
-
Customize the handling of
ConversionNotSupportedException
. - handleEmptyBody(Object, HttpInputMessage, MethodParameter, Type, Class<? extends HttpMessageConverter<?>>) - Method in interface org.springframework.web.servlet.mvc.method.annotation.RequestBodyAdvice
-
Invoked second (and last) if the body is empty.
- handleEmptyBody(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.
- handleErrorResponse(ErrorResponse, HttpServletRequest, HttpServletResponse, Object) - Method in class org.springframework.web.servlet.mvc.support.DefaultHandlerExceptionResolver
-
Handle an
ErrorResponse
exception. - handleErrorResponseException(ErrorResponseException, HttpHeaders, HttpStatusCode, WebRequest) - Method in class org.springframework.web.servlet.mvc.method.annotation.ResponseEntityExceptionHandler
-
Customize the handling of any
ErrorResponseException
. - handleException(Exception, WebRequest) - Method in class org.springframework.web.servlet.mvc.method.annotation.ResponseEntityExceptionHandler
-
Handle all exceptions raised within Spring MVC handling of the request.
- handleExceptionInternal(Exception, Object, HttpHeaders, HttpStatusCode, WebRequest) - Method in class org.springframework.web.servlet.mvc.method.annotation.ResponseEntityExceptionHandler
-
Internal handler method that all others in this class delegate to, for common handling, and for the creation of a
ResponseEntity
. - handleHttpMediaTypeNotAcceptable(HttpMediaTypeNotAcceptableException, HttpServletRequest, HttpServletResponse, Object) - Method in class org.springframework.web.servlet.mvc.support.DefaultHandlerExceptionResolver
-
Handle the case where no message converters were found that were acceptable for the client (expressed via the
Accept
header). - handleHttpMediaTypeNotAcceptable(HttpMediaTypeNotAcceptableException, HttpHeaders, HttpStatusCode, WebRequest) - Method in class org.springframework.web.servlet.mvc.method.annotation.ResponseEntityExceptionHandler
-
Customize the handling of
HttpMediaTypeNotAcceptableException
. - handleHttpMediaTypeNotSupported(HttpMediaTypeNotSupportedException, HttpServletRequest, HttpServletResponse, Object) - Method in class org.springframework.web.servlet.mvc.support.DefaultHandlerExceptionResolver
-
Handle the case where no message converters were found for PUT or POSTed content.
- handleHttpMediaTypeNotSupported(HttpMediaTypeNotSupportedException, HttpHeaders, HttpStatusCode, WebRequest) - Method in class org.springframework.web.servlet.mvc.method.annotation.ResponseEntityExceptionHandler
-
Customize the handling of
HttpMediaTypeNotSupportedException
. - handleHttpMessageNotReadable(HttpMessageNotReadableException, HttpServletRequest, HttpServletResponse, Object) - Method in class org.springframework.web.servlet.mvc.support.DefaultHandlerExceptionResolver
-
Handle the case where a message converter cannot read from an HTTP request.
- handleHttpMessageNotReadable(HttpMessageNotReadableException, HttpHeaders, HttpStatusCode, WebRequest) - Method in class org.springframework.web.servlet.mvc.method.annotation.ResponseEntityExceptionHandler
-
Customize the handling of
HttpMessageNotReadableException
. - handleHttpMessageNotWritable(HttpMessageNotWritableException, HttpServletRequest, HttpServletResponse, Object) - Method in class org.springframework.web.servlet.mvc.support.DefaultHandlerExceptionResolver
-
Handle the case where a message converter cannot write to an HTTP request.
- handleHttpMessageNotWritable(HttpMessageNotWritableException, HttpHeaders, HttpStatusCode, WebRequest) - Method in class org.springframework.web.servlet.mvc.method.annotation.ResponseEntityExceptionHandler
-
Customize the handling of
HttpMessageNotWritableException
. - handleHttpRequestMethodNotSupported(HttpRequestMethodNotSupportedException, HttpServletRequest, HttpServletResponse, Object) - Method in class org.springframework.web.servlet.mvc.support.DefaultHandlerExceptionResolver
-
Handle the case where no handler was found for the HTTP method.
- handleHttpRequestMethodNotSupported(HttpRequestMethodNotSupportedException, HttpHeaders, HttpStatusCode, WebRequest) - Method in class org.springframework.web.servlet.mvc.method.annotation.ResponseEntityExceptionHandler
-
Customize the handling of
HttpRequestMethodNotSupportedException
. - handleInternal(HttpServletRequest, HttpServletResponse, HandlerMethod) - Method in class org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter
-
Use the given handler method to handle the request.
- handleInternal(HttpServletRequest, HttpServletResponse, HandlerMethod) - Method in class org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter
- handleMatch(RequestMappingInfo, String, HttpServletRequest) - Method in class org.springframework.web.servlet.mvc.method.RequestMappingInfoHandlerMapping
-
Expose URI template variables, matrix variables, and producible media types in the request.
- handleMatch(T, String, HttpServletRequest) - Method in class org.springframework.web.servlet.handler.AbstractHandlerMethodMapping
-
Invoked when a matching mapping is found.
- handleMethodArgumentNotValid(MethodArgumentNotValidException, HttpHeaders, HttpStatusCode, WebRequest) - Method in class org.springframework.web.servlet.mvc.method.annotation.ResponseEntityExceptionHandler
-
Customize the handling of
MethodArgumentNotValidException
. - handleMethodArgumentNotValidException(MethodArgumentNotValidException, HttpServletRequest, HttpServletResponse, Object) - Method in class org.springframework.web.servlet.mvc.support.DefaultHandlerExceptionResolver
-
Handle the case where an argument annotated with
@Valid
such as anRequestBody
orRequestPart
argument fails validation. - handleMissingPathVariable(MissingPathVariableException, HttpServletRequest, HttpServletResponse, Object) - Method in class org.springframework.web.servlet.mvc.support.DefaultHandlerExceptionResolver
-
Handle the case when a declared path variable does not match any extracted URI variable.
- handleMissingPathVariable(MissingPathVariableException, HttpHeaders, HttpStatusCode, WebRequest) - Method in class org.springframework.web.servlet.mvc.method.annotation.ResponseEntityExceptionHandler
-
Customize the handling of
MissingPathVariableException
. - handleMissingServletRequestParameter(MissingServletRequestParameterException, HttpServletRequest, HttpServletResponse, Object) - Method in class org.springframework.web.servlet.mvc.support.DefaultHandlerExceptionResolver
-
Handle the case when a required parameter is missing.
- handleMissingServletRequestParameter(MissingServletRequestParameterException, HttpHeaders, HttpStatusCode, WebRequest) - Method in class org.springframework.web.servlet.mvc.method.annotation.ResponseEntityExceptionHandler
-
Customize the handling of
MissingServletRequestParameterException
. - handleMissingServletRequestPart(MissingServletRequestPartException, HttpHeaders, HttpStatusCode, WebRequest) - Method in class org.springframework.web.servlet.mvc.method.annotation.ResponseEntityExceptionHandler
-
Customize the handling of
MissingServletRequestPartException
. - handleMissingServletRequestPartException(MissingServletRequestPartException, HttpServletRequest, HttpServletResponse, Object) - Method in class org.springframework.web.servlet.mvc.support.DefaultHandlerExceptionResolver
-
Handle the case where an @RequestPart, a
MultipartFile
, or ajakarta.servlet.http.Part
argument is required but is missing. - handleMissingValue(String, MethodParameter) - Method in class org.springframework.web.servlet.mvc.method.annotation.MatrixVariableMethodArgumentResolver
- handleMissingValue(String, MethodParameter) - Method in class org.springframework.web.servlet.mvc.method.annotation.PathVariableMethodArgumentResolver
- handleMissingValue(String, MethodParameter) - Method in class org.springframework.web.servlet.mvc.method.annotation.RequestAttributeMethodArgumentResolver
- handleMissingValue(String, MethodParameter) - Method in class org.springframework.web.servlet.mvc.method.annotation.SessionAttributeMethodArgumentResolver
- handleMissingValueAfterConversion(String, MethodParameter, NativeWebRequest) - Method in class org.springframework.web.servlet.mvc.method.annotation.MatrixVariableMethodArgumentResolver
- handleMissingValueAfterConversion(String, MethodParameter, NativeWebRequest) - Method in class org.springframework.web.servlet.mvc.method.annotation.PathVariableMethodArgumentResolver
- handleNoHandlerFoundException(NoHandlerFoundException, HttpServletRequest, HttpServletResponse, Object) - Method in class org.springframework.web.servlet.mvc.support.DefaultHandlerExceptionResolver
-
Handle the case where no handler was found during the dispatch.
- handleNoHandlerFoundException(NoHandlerFoundException, HttpHeaders, HttpStatusCode, WebRequest) - Method in class org.springframework.web.servlet.mvc.method.annotation.ResponseEntityExceptionHandler
-
Customize the handling of
NoHandlerFoundException
. - handleNoMatch(Set<RequestMappingInfo>, String, HttpServletRequest) - Method in class org.springframework.web.servlet.mvc.method.RequestMappingInfoHandlerMapping
-
Iterate all RequestMappingInfo's once again, look if any match by URL at least and raise exceptions according to what doesn't match.
- handleNoMatch(Set<T>, String, HttpServletRequest) - Method in class org.springframework.web.servlet.handler.AbstractHandlerMethodMapping
-
Invoked when no matching mapping is not found.
- handleNotAuthorized(HttpServletRequest, HttpServletResponse, Object) - Method in class org.springframework.web.servlet.handler.UserRoleAuthorizationInterceptor
-
Handle a request that is not authorized according to this interceptor.
- HANDLER_ADAPTER_BEAN_NAME - Static variable in class org.springframework.web.servlet.DispatcherServlet
-
Well-known name for the HandlerAdapter object in the bean factory for this namespace.
- HANDLER_EXCEPTION_RESOLVER_BEAN_NAME - Static variable in class org.springframework.web.servlet.DispatcherServlet
-
Well-known name for the HandlerExceptionResolver object in the bean factory for this namespace.
- HANDLER_MAPPING_BEAN_NAME - Static variable in class org.springframework.web.servlet.DispatcherServlet
-
Well-known name for the HandlerMapping object in the bean factory for this namespace.
- HandlerAdapter - Interface in org.springframework.web.servlet
-
MVC framework SPI, allowing parameterization of the core MVC workflow.
- handleRequest(HttpServletRequest, HttpServletResponse) - Method in class org.springframework.web.servlet.mvc.AbstractController
- handleRequest(HttpServletRequest, HttpServletResponse) - Method in interface org.springframework.web.servlet.mvc.Controller
-
Process the request and return a ModelAndView object which the DispatcherServlet will render.
- handleRequest(HttpServletRequest, HttpServletResponse) - Method in class org.springframework.web.servlet.resource.DefaultServletHttpRequestHandler
- handleRequest(HttpServletRequest, HttpServletResponse) - Method in class org.springframework.web.servlet.resource.ResourceHttpRequestHandler
-
Processes a resource request.
- handleRequestInternal(HttpServletRequest, HttpServletResponse) - Method in class org.springframework.web.servlet.mvc.AbstractController
-
Template method.
- handleRequestInternal(HttpServletRequest, HttpServletResponse) - Method in class org.springframework.web.servlet.mvc.AbstractUrlViewController
-
Retrieves the URL path to use for lookup and delegates to
AbstractUrlViewController.getViewNameForRequest(jakarta.servlet.http.HttpServletRequest)
. - handleRequestInternal(HttpServletRequest, HttpServletResponse) - Method in class org.springframework.web.servlet.mvc.ParameterizableViewController
-
Return a ModelAndView object with the specified view name.
- handleRequestInternal(HttpServletRequest, HttpServletResponse) - Method in class org.springframework.web.servlet.mvc.ServletForwardingController
- handleRequestInternal(HttpServletRequest, HttpServletResponse) - Method in class org.springframework.web.servlet.mvc.ServletWrappingController
-
Invoke the wrapped Servlet instance.
- handleResolvedValue(Object, String, MethodParameter, ModelAndViewContainer, NativeWebRequest) - Method in class org.springframework.web.servlet.mvc.method.annotation.PathVariableMethodArgumentResolver
- handleReturnValue(Object, MethodParameter, ModelAndViewContainer, NativeWebRequest) - Method in class org.springframework.web.servlet.mvc.method.annotation.AsyncTaskMethodReturnValueHandler
- handleReturnValue(Object, MethodParameter, ModelAndViewContainer, NativeWebRequest) - Method in class org.springframework.web.servlet.mvc.method.annotation.CallableMethodReturnValueHandler
- handleReturnValue(Object, MethodParameter, ModelAndViewContainer, NativeWebRequest) - Method in class org.springframework.web.servlet.mvc.method.annotation.DeferredResultMethodReturnValueHandler
- handleReturnValue(Object, MethodParameter, ModelAndViewContainer, NativeWebRequest) - Method in class org.springframework.web.servlet.mvc.method.annotation.HttpEntityMethodProcessor
- handleReturnValue(Object, MethodParameter, ModelAndViewContainer, NativeWebRequest) - Method in class org.springframework.web.servlet.mvc.method.annotation.HttpHeadersReturnValueHandler
- handleReturnValue(Object, MethodParameter, ModelAndViewContainer, NativeWebRequest) - Method in class org.springframework.web.servlet.mvc.method.annotation.ModelAndViewMethodReturnValueHandler
- handleReturnValue(Object, MethodParameter, ModelAndViewContainer, NativeWebRequest) - Method in class org.springframework.web.servlet.mvc.method.annotation.ModelAndViewResolverMethodReturnValueHandler
- handleReturnValue(Object, MethodParameter, ModelAndViewContainer, NativeWebRequest) - Method in class org.springframework.web.servlet.mvc.method.annotation.RequestResponseBodyMethodProcessor
- handleReturnValue(Object, MethodParameter, ModelAndViewContainer, NativeWebRequest) - Method in class org.springframework.web.servlet.mvc.method.annotation.ResponseBodyEmitterReturnValueHandler
- handleReturnValue(Object, MethodParameter, ModelAndViewContainer, NativeWebRequest) - Method in class org.springframework.web.servlet.mvc.method.annotation.StreamingResponseBodyReturnValueHandler
- handleReturnValue(Object, MethodParameter, ModelAndViewContainer, NativeWebRequest) - Method in class org.springframework.web.servlet.mvc.method.annotation.ViewMethodReturnValueHandler
- handleReturnValue(Object, MethodParameter, ModelAndViewContainer, NativeWebRequest) - Method in class org.springframework.web.servlet.mvc.method.annotation.ViewNameMethodReturnValueHandler
- handlerExceptionResolver(ContentNegotiationManager) - Method in class org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport
-
Returns a
HandlerExceptionResolverComposite
containing a list of exception resolvers obtained either throughWebMvcConfigurationSupport.configureHandlerExceptionResolvers(java.util.List<org.springframework.web.servlet.HandlerExceptionResolver>)
or throughWebMvcConfigurationSupport.addDefaultHandlerExceptionResolvers(java.util.List<org.springframework.web.servlet.HandlerExceptionResolver>, org.springframework.web.accept.ContentNegotiationManager)
. - HandlerExceptionResolver - Interface in org.springframework.web.servlet
-
Interface to be implemented by objects that can resolve exceptions thrown during handler mapping or execution, in the typical case to error views.
- HandlerExceptionResolverComposite - Class in org.springframework.web.servlet.handler
-
A
HandlerExceptionResolver
that delegates to a list of otherHandlerExceptionResolvers
. - HandlerExceptionResolverComposite() - Constructor for class org.springframework.web.servlet.handler.HandlerExceptionResolverComposite
- HandlerExecutionChain - Class in org.springframework.web.servlet
-
Handler execution chain, consisting of handler object and any handler interceptors.
- HandlerExecutionChain(Object) - Constructor for class org.springframework.web.servlet.HandlerExecutionChain
-
Create a new HandlerExecutionChain.
- HandlerExecutionChain(Object, List<HandlerInterceptor>) - Constructor for class org.springframework.web.servlet.HandlerExecutionChain
-
Create a new HandlerExecutionChain.
- HandlerExecutionChain(Object, HandlerInterceptor...) - Constructor for class org.springframework.web.servlet.HandlerExecutionChain
-
Create a new HandlerExecutionChain.
- HandlerFilterFunction<T extends ServerResponse,
R extends ServerResponse> - Interface in org.springframework.web.servlet.function -
Represents a function that filters a handler function.
- HandlerFunction<T extends ServerResponse> - Interface in org.springframework.web.servlet.function
-
Represents a function that handles a request.
- handlerFunctionAdapter() - Method in class org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport
-
Returns a
HandlerFunctionAdapter
for processing requests through handler functions. - HandlerFunctionAdapter - Class in org.springframework.web.servlet.function.support
-
HandlerAdapter
implementation that supportsHandlerFunction
s. - HandlerFunctionAdapter() - Constructor for class org.springframework.web.servlet.function.support.HandlerFunctionAdapter
- HandlerInterceptor - Interface in org.springframework.web.servlet
-
Workflow interface that allows for customized handler execution chains.
- HandlerMapping - Interface in org.springframework.web.servlet
-
Interface to be implemented by objects that define a mapping between requests and handler objects.
- HandlerMappingIntrospector - Class in org.springframework.web.servlet.handler
-
Helper class to get information from the
HandlerMapping
that would serve a specific request. - HandlerMappingIntrospector() - Constructor for class org.springframework.web.servlet.handler.HandlerMappingIntrospector
- HandlerMethodMappingNamingStrategy<T> - Interface in org.springframework.web.servlet.handler
-
A strategy for assigning a name to a handler method's mapping.
- handlerMethodsInitialized(Map<T, HandlerMethod>) - Method in class org.springframework.web.servlet.handler.AbstractHandlerMethodMapping
-
Invoked after all handler methods have been detected.
- handleServletRequestBindingException(ServletRequestBindingException, HttpServletRequest, HttpServletResponse, Object) - Method in class org.springframework.web.servlet.mvc.support.DefaultHandlerExceptionResolver
-
Handle the case when an unrecoverable binding exception occurs - e.g.
- handleServletRequestBindingException(ServletRequestBindingException, HttpHeaders, HttpStatusCode, WebRequest) - Method in class org.springframework.web.servlet.mvc.method.annotation.ResponseEntityExceptionHandler
-
Customize the handling of
ServletRequestBindingException
. - handleTypeMismatch(TypeMismatchException, HttpServletRequest, HttpServletResponse, Object) - Method in class org.springframework.web.servlet.mvc.support.DefaultHandlerExceptionResolver
-
Handle the case when a
WebDataBinder
conversion error occurs. - handleTypeMismatch(TypeMismatchException, HttpHeaders, HttpStatusCode, WebRequest) - Method in class org.springframework.web.servlet.mvc.method.annotation.ResponseEntityExceptionHandler
-
Customize the handling of
TypeMismatchException
. - hasCorsConfigurationSource(Object) - Method in class org.springframework.web.servlet.handler.AbstractHandlerMapping
-
Return
true
if there is aCorsConfigurationSource
for this handler. - hasCorsConfigurationSource(Object) - Method in class org.springframework.web.servlet.handler.AbstractHandlerMethodMapping
- hasGlobalExceptionHandlers() - Method in class org.springframework.web.servlet.handler.AbstractHandlerMethodExceptionResolver
-
Whether this resolver has global exception handlers, e.g.
- hasGlobalExceptionHandlers() - Method in class org.springframework.web.servlet.mvc.method.annotation.ExceptionHandlerExceptionResolver
- hasHandlerMappings() - Method in class org.springframework.web.servlet.handler.AbstractHandlerExceptionResolver
-
Whether there are any handler mappings registered via
AbstractHandlerExceptionResolver.setMappedHandlers(Set)
orAbstractHandlerExceptionResolver.setMappedHandlerClasses(Class[])
. - hashCode() - Method in class org.springframework.web.servlet.FlashMap
- hashCode() - Method in class org.springframework.web.servlet.mvc.condition.AbstractRequestCondition
- hashCode() - Method in class org.springframework.web.servlet.mvc.method.RequestMappingInfo
- hasMappingForPattern(String) - Method in class org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry
-
Whether a resource handler has already been registered for the given path pattern.
- hasRegistrations() - Method in class org.springframework.web.servlet.config.annotation.ViewResolverRegistry
-
Whether any view resolvers have been registered.
- hasView() - Method in class org.springframework.web.servlet.ModelAndView
-
Indicate whether this
ModelAndView
has a view, either as a view name or as a directView
instance. - HEAD(String) - Static method in class org.springframework.web.servlet.function.RequestPredicates
-
Return a
RequestPredicate
that matches if request's HTTP method isHEAD
and the givenpattern
matches against the request path. - HEAD(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
HEAD
requests that match the given pattern. - HEAD(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
HEAD
requests that match the given pattern and predicate. - HEAD(HandlerFunction<ServerResponse>) - Method in interface org.springframework.web.servlet.function.RouterFunctions.Builder
-
Adds a route to the given handler function that handles HTTP
HEAD
requests. - HEAD(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
HEAD
requests that match the given predicate. - header(String) - Method in interface org.springframework.web.servlet.function.ServerRequest.Headers
-
Get the header value(s), if any, for the header of the given name.
- header(String, String) - Method in interface org.springframework.web.servlet.function.RequestPredicates.Visitor
-
Receive notification of an HTTP header predicate.
- header(String, String...) - Method in interface org.springframework.web.servlet.function.EntityResponse.Builder
-
Add the given header value(s) under the given name.
- header(String, String...) - Method in interface org.springframework.web.servlet.function.RenderingResponse.Builder
-
Add the given header value(s) under the given name.
- header(String, String...) - Method in interface org.springframework.web.servlet.function.ServerRequest.Builder
-
Add the given header value(s) under the given name.
- header(String, String...) - Method in interface org.springframework.web.servlet.function.ServerResponse.HeadersBuilder
-
Add the given header value(s) under the given name.
- HEADER_CACHE_CONTROL - Static variable in class org.springframework.web.servlet.support.WebContentGenerator
- headers() - Method in interface org.springframework.web.servlet.function.ServerRequest
-
Get the headers of this request.
- headers() - Method in interface org.springframework.web.servlet.function.ServerResponse
-
Return the headers of this response.
- headers(String...) - Method in interface org.springframework.web.servlet.mvc.method.RequestMappingInfo.Builder
-
Set the header conditions.
- headers(Consumer<HttpHeaders>) - Method in interface org.springframework.web.servlet.function.EntityResponse.Builder
-
Manipulate this response's headers with the given consumer.
- headers(Consumer<HttpHeaders>) - Method in interface org.springframework.web.servlet.function.RenderingResponse.Builder
-
Manipulate this response's headers with the given consumer.
- headers(Consumer<HttpHeaders>) - Method in interface org.springframework.web.servlet.function.ServerRequest.Builder
-
Manipulate this request's headers with the given consumer.
- headers(Consumer<HttpHeaders>) - Method in interface org.springframework.web.servlet.function.ServerResponse.HeadersBuilder
-
Manipulate this response's headers with the given consumer.
- headers(Predicate<ServerRequest.Headers>) - Static method in class org.springframework.web.servlet.function.RequestPredicates
-
Return a
RequestPredicate
that tests the request's headers against the given headers predicate. - HeadersRequestCondition - Class in org.springframework.web.servlet.mvc.condition
-
A logical conjunction (
' && '
) request condition that matches a request against a set of header expressions with syntax defined inRequestMapping.headers()
. - HeadersRequestCondition(String...) - Constructor for class org.springframework.web.servlet.mvc.condition.HeadersRequestCondition
-
Create a new instance from the given header expressions.
- HiddenInputTag - Class in org.springframework.web.servlet.tags.form
-
The
<hidden>
tag renders an HTML 'input' tag with type 'hidden' using the bound value. - HiddenInputTag() - Constructor for class org.springframework.web.servlet.tags.form.HiddenInputTag
- host() - Method in interface org.springframework.web.servlet.function.ServerRequest.Headers
-
Get the value of the
Host
header, if available. - htmlEscape(String) - Method in class org.springframework.web.servlet.tags.HtmlEscapingAwareTag
-
HTML-encodes the given String, only if the "htmlEscape" setting is enabled.
- HtmlEscapeTag - Class in org.springframework.web.servlet.tags
-
The
<htmlEscape>
tag sets default HTML escape value for the current page. - HtmlEscapeTag() - Constructor for class org.springframework.web.servlet.tags.HtmlEscapeTag
- HtmlEscapingAwareTag - Class in org.springframework.web.servlet.tags
-
Superclass for tags that output content that might get HTML-escaped.
- HtmlEscapingAwareTag() - Constructor for class org.springframework.web.servlet.tags.HtmlEscapingAwareTag
- HttpEntityMethodProcessor - Class in org.springframework.web.servlet.mvc.method.annotation
-
Resolves
HttpEntity
andRequestEntity
method argument values, as well as return values of typeHttpEntity
,ResponseEntity
,ErrorResponse
andProblemDetail
. - HttpEntityMethodProcessor(List<HttpMessageConverter<?>>) - Constructor for class org.springframework.web.servlet.mvc.method.annotation.HttpEntityMethodProcessor
-
Basic constructor with converters only.
- HttpEntityMethodProcessor(List<HttpMessageConverter<?>>, List<Object>) - Constructor for class org.springframework.web.servlet.mvc.method.annotation.HttpEntityMethodProcessor
-
Complete constructor for resolving
HttpEntity
method arguments. - HttpEntityMethodProcessor(List<HttpMessageConverter<?>>, ContentNegotiationManager) - Constructor for class org.springframework.web.servlet.mvc.method.annotation.HttpEntityMethodProcessor
-
Basic constructor with converters and
ContentNegotiationManager
. - HttpEntityMethodProcessor(List<HttpMessageConverter<?>>, ContentNegotiationManager, List<Object>) - Constructor for class org.springframework.web.servlet.mvc.method.annotation.HttpEntityMethodProcessor
-
Complete constructor for resolving
HttpEntity
and handlingResponseEntity
. - HttpHeadersReturnValueHandler - Class in org.springframework.web.servlet.mvc.method.annotation
-
Handles
HttpHeaders
return values. - HttpHeadersReturnValueHandler() - Constructor for class org.springframework.web.servlet.mvc.method.annotation.HttpHeadersReturnValueHandler
- httpRequestHandlerAdapter() - Method in class org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport
-
Returns a
HttpRequestHandlerAdapter
for processing requests withHttpRequestHandlers
. - HttpRequestHandlerAdapter - Class in org.springframework.web.servlet.mvc
-
Adapter to use the plain
HttpRequestHandler
interface with the genericDispatcherServlet
. - HttpRequestHandlerAdapter() - Constructor for class org.springframework.web.servlet.mvc.HttpRequestHandlerAdapter
- HttpResource - Interface in org.springframework.web.servlet.resource
-
Extended interface for a
Resource
to be written to an HTTP response. - HttpServletBean - Class in org.springframework.web.servlet
-
Simple extension of
HttpServlet
which treats its config parameters (init-param
entries within theservlet
tag inweb.xml
) as bean properties. - HttpServletBean() - Constructor for class org.springframework.web.servlet.HttpServletBean
I
- id(String) - Method in interface org.springframework.web.servlet.function.ServerResponse.SseBuilder
-
Add an SSE "id" line.
- id(String) - Method in interface org.springframework.web.servlet.mvc.method.annotation.SseEmitter.SseEventBuilder
-
Add an SSE "id" line.
- ignoreAcceptHeader(boolean) - Method in class org.springframework.web.servlet.config.annotation.ContentNegotiationConfigurer
-
Whether to disable checking the 'Accept' request header.
- ignoreUnknownPathExtensions(boolean) - Method in class org.springframework.web.servlet.config.annotation.ContentNegotiationConfigurer
-
Deprecated.as of 5.2.4. See deprecation note on
ContentNegotiationManagerFactoryBean.setIgnoreUnknownPathExtensions(boolean)
. - init() - Method in class org.springframework.web.servlet.config.MvcNamespaceHandler
- init() - Method in class org.springframework.web.servlet.HttpServletBean
-
Map config parameters onto bean properties of this servlet, and invoke subclass initialization.
- INIT_BINDER_METHODS - Static variable in class org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter
-
MethodFilter that matches
@InitBinder
methods. - initAllowedLocations() - Method in class org.springframework.web.servlet.resource.ResourceHttpRequestHandler
-
Look for a
PathResourceResolver
among the configured resource resolvers and set itsallowedLocations
property (if empty) to match thelocations
configured on this class. - initApplicationContext() - Method in class org.springframework.web.servlet.handler.AbstractDetectingUrlHandlerMapping
-
Calls the
AbstractDetectingUrlHandlerMapping.detectHandlers()
method in addition to the superclass's initialization. - initApplicationContext() - Method in class org.springframework.web.servlet.handler.AbstractHandlerMapping
-
Initializes the interceptors.
- initApplicationContext() - Method in class org.springframework.web.servlet.handler.SimpleUrlHandlerMapping
-
Calls the
SimpleUrlHandlerMapping.registerHandlers(java.util.Map<java.lang.String, java.lang.Object>)
method in addition to the superclass's initialization. - initApplicationContext() - Method in class org.springframework.web.servlet.view.UrlBasedViewResolver
- initApplicationContext() - Method in class org.springframework.web.servlet.view.xml.MarshallingView
- initApplicationContext() - Method in class org.springframework.web.servlet.view.xslt.XsltView
-
Initialize this XsltView's TransformerFactory.
- initApplicationContext(ApplicationContext) - Method in class org.springframework.web.servlet.view.groovy.GroovyMarkupView
-
Invoked at startup.
- initApplicationContext(ApplicationContext) - Method in class org.springframework.web.servlet.view.script.ScriptTemplateView
- initBeanWrapper(BeanWrapper) - Method in class org.springframework.web.servlet.HttpServletBean
-
Initialize the BeanWrapper for this HttpServletBean, possibly with custom editors.
- initContentNegotiationStrategy() - Method in class org.springframework.web.servlet.resource.ResourceHttpRequestHandler
-
Deprecated.as of 5.2.4 this method returns
null
, and if a subclass returns an actual instance, the instance is used only as a source of media type mappings, if it contains any. Please, useResourceHttpRequestHandler.setMediaTypes(Map)
instead, or if you need to change behavior, you can overrideResourceHttpRequestHandler.getMediaType(HttpServletRequest, Resource)
. - initCorsConfiguration(Object, Method, RequestMappingInfo) - Method in class org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping
- initCorsConfiguration(Object, Method, T) - Method in class org.springframework.web.servlet.handler.AbstractHandlerMethodMapping
-
Extract and return the CORS configuration for the mapping.
- initFactory() - Method in class org.springframework.web.servlet.view.XmlViewResolver
-
Deprecated.Initialize the view bean factory from the XML file.
- initFactory(Locale) - Method in class org.springframework.web.servlet.view.ResourceBundleViewResolver
-
Deprecated.
- initFrameworkServlet() - Method in class org.springframework.web.servlet.FrameworkServlet
-
This method will be invoked after any bean properties have been set and the WebApplicationContext has been loaded.
- initHandlerMethods() - Method in class org.springframework.web.servlet.handler.AbstractHandlerMethodMapping
-
Scan beans in the ApplicationContext, detect and register handler methods.
- initInterceptors() - Method in class org.springframework.web.servlet.handler.AbstractHandlerMapping
-
Initialize the specified interceptors adapting
WebRequestInterceptor
s toHandlerInterceptor
. - initLookupPath(HttpServletRequest) - Method in class org.springframework.web.servlet.handler.AbstractHandlerMapping
-
Initialize the path to use for request mapping.
- initServletBean() - Method in class org.springframework.web.servlet.FrameworkServlet
-
Overridden method of
HttpServletBean
, invoked after any bean properties have been set. - initServletBean() - Method in class org.springframework.web.servlet.HttpServletBean
-
Subclasses may override this to perform custom initialization.
- initServletContext(ServletContext) - Method in class org.springframework.web.servlet.view.ContentNegotiatingViewResolver
- initServletContext(ServletContext) - Method in class org.springframework.web.servlet.view.freemarker.FreeMarkerView
-
Invoked on startup.
- initServletContext(ServletContext) - Method in class org.springframework.web.servlet.view.JstlView
-
Wraps the MessageSource with a JSTL-aware MessageSource that is aware of JSTL's
jakarta.servlet.jsp.jstl.fmt.localizationContext
context-param. - initStrategies(ApplicationContext) - Method in class org.springframework.web.servlet.DispatcherServlet
-
Initialize the strategy objects that this servlet uses.
- initWebApplicationContext() - Method in class org.springframework.web.servlet.FrameworkServlet
-
Initialize and publish the WebApplicationContext for this servlet.
- INPUT_FLASH_MAP_ATTRIBUTE - Static variable in class org.springframework.web.servlet.DispatcherServlet
-
Name of request attribute that holds a read-only
Map<String,?>
with "input" flash attributes saved by a previous request, if any. - InputTag - Class in org.springframework.web.servlet.tags.form
-
The
<input>
tag renders an HTML 'input' tag with type 'text' using the bound value. - InputTag() - Constructor for class org.springframework.web.servlet.tags.form.InputTag
- instantiateView() - Method in class org.springframework.web.servlet.view.freemarker.FreeMarkerViewResolver
- instantiateView() - Method in class org.springframework.web.servlet.view.groovy.GroovyMarkupViewResolver
- instantiateView() - Method in class org.springframework.web.servlet.view.InternalResourceViewResolver
- instantiateView() - Method in class org.springframework.web.servlet.view.script.ScriptTemplateViewResolver
- instantiateView() - Method in class org.springframework.web.servlet.view.UrlBasedViewResolver
-
Instantiate the specified view class.
- instantiateView() - Method in class org.springframework.web.servlet.view.xslt.XsltViewResolver
- InterceptorRegistration - Class in org.springframework.web.servlet.config.annotation
-
Assists with the creation of a
MappedInterceptor
. - InterceptorRegistration(HandlerInterceptor) - Constructor for class org.springframework.web.servlet.config.annotation.InterceptorRegistration
-
Create an
InterceptorRegistration
instance. - InterceptorRegistry - Class in org.springframework.web.servlet.config.annotation
-
Helps with configuring a list of mapped interceptors.
- InterceptorRegistry() - Constructor for class org.springframework.web.servlet.config.annotation.InterceptorRegistry
- InternalResourceView - Class in org.springframework.web.servlet.view
-
Wrapper for a JSP or other resource within the same web application.
- InternalResourceView() - Constructor for class org.springframework.web.servlet.view.InternalResourceView
-
Constructor for use as a bean.
- InternalResourceView(String) - Constructor for class org.springframework.web.servlet.view.InternalResourceView
-
Create a new InternalResourceView with the given URL.
- InternalResourceView(String, boolean) - Constructor for class org.springframework.web.servlet.view.InternalResourceView
-
Create a new InternalResourceView with the given URL.
- InternalResourceViewResolver - Class in org.springframework.web.servlet.view
-
Convenient subclass of
UrlBasedViewResolver
that supportsInternalResourceView
(i.e. - InternalResourceViewResolver() - Constructor for class org.springframework.web.servlet.view.InternalResourceViewResolver
-
Sets the default
view class
toInternalResourceViewResolver.requiredViewClass()
: by defaultInternalResourceView
, orJstlView
if the JSTL API is present. - InternalResourceViewResolver(String, String) - Constructor for class org.springframework.web.servlet.view.InternalResourceViewResolver
- INTROSPECT_TYPE_LEVEL_MAPPING - Static variable in interface org.springframework.web.servlet.HandlerMapping
-
Name of the boolean
HttpServletRequest
attribute that indicates whether type-level mappings should be inspected. - invokeAndHandle(ServletWebRequest, ModelAndViewContainer, Object...) - Method in class org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod
-
Invoke the method and handle the return value through one of the configured
HandlerMethodReturnValueHandlers
. - invokeHandlerMethod(HttpServletRequest, HttpServletResponse, HandlerMethod) - Method in class org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter
-
Invoke the
RequestMapping
handler method preparing aModelAndView
if view resolution is required. - isAlwaysMustRevalidate() - Method in class org.springframework.web.servlet.support.WebContentGenerator
-
Deprecated.as of 4.2, in favor of
WebContentGenerator.getCacheControl()
- isAsyncSupported() - Method in class org.springframework.web.servlet.support.AbstractDispatcherServletInitializer
-
A single place to control the
asyncSupported
flag for theDispatcherServlet
and all filters added viaAbstractDispatcherServletInitializer.getServletFilters()
. - isAutodetect() - Method in class org.springframework.web.servlet.resource.ResourceUrlProvider
-
Return
false
if resource mappings were manually configured,true
otherwise. - isBindExceptionRequired(WebDataBinder, MethodParameter) - Method in class org.springframework.web.servlet.mvc.method.annotation.AbstractMessageConverterMethodArgumentResolver
-
Whether to raise a fatal bind exception on validation errors.
- isBodyRequired() - Method in class org.springframework.web.servlet.mvc.condition.ConsumesRequestCondition
-
Return the setting for
ConsumesRequestCondition.setBodyRequired(boolean)
. - isCache() - Method in class org.springframework.web.servlet.view.AbstractCachingViewResolver
-
Return if caching is enabled.
- isCacheUnresolved() - Method in class org.springframework.web.servlet.view.AbstractCachingViewResolver
-
Return if caching of unresolved views is enabled.
- isContextRequired() - Method in class org.springframework.web.servlet.view.InternalResourceView
-
An ApplicationContext is not strictly required for InternalResourceView.
- isContextRequired() - Method in class org.springframework.web.servlet.view.RedirectView
-
An ApplicationContext is not strictly required for RedirectView.
- isDefaultHtmlEscape() - Method in class org.springframework.web.servlet.support.RequestContext
-
Is default HTML escaping active? Falls back to
false
in case of no explicit default given. - isDefaultHtmlEscape() - Method in class org.springframework.web.servlet.tags.form.AbstractFormTag
-
Overridden to default to
true
in case of no explicit default given. - isDefaultHtmlEscape() - Method in class org.springframework.web.servlet.tags.HtmlEscapingAwareTag
-
Return the applicable default HTML escape setting for this tag.
- isDisabled() - Method in class org.springframework.web.servlet.tags.form.AbstractHtmlInputElementTag
-
Get the value of the '
disabled
' attribute. - isDisabled() - Method in class org.springframework.web.servlet.tags.form.ButtonTag
-
Get the value of the '
disabled
' attribute. - isDisabled() - Method in class org.springframework.web.servlet.tags.form.HiddenInputTag
-
Get the value of the '
disabled
' attribute. - isDisabled() - Method in class org.springframework.web.servlet.tags.form.OptionsTag
-
Get the value of the '
disabled
' attribute. - isDisabled() - Method in class org.springframework.web.servlet.tags.form.OptionTag
-
Get the value of the '
disabled
' attribute. - isEligibleAttribute(String) - Method in class org.springframework.web.servlet.config.GroovyMarkupConfigurerBeanDefinitionParser
- isEligibleAttribute(String) - Method in class org.springframework.web.servlet.config.ScriptTemplateConfigurerBeanDefinitionParser
- isEligibleForMarshalling(String, Object) - Method in class org.springframework.web.servlet.view.xml.MarshallingView
-
Check whether the given value from the current view's model is eligible for marshalling through the configured
Marshaller
. - isEligibleProperty(String, Object) - Method in class org.springframework.web.servlet.view.RedirectView
-
Determine whether the given model element should be exposed as a query property.
- isEligibleValue(Object) - Method in class org.springframework.web.servlet.view.RedirectView
-
Determine whether the given model element value is eligible for exposure.
- isEmpty() - Method in class org.springframework.web.servlet.ModelAndView
-
Return whether this ModelAndView object is empty, i.e.
- isEmpty() - Method in class org.springframework.web.servlet.mvc.condition.AbstractRequestCondition
-
Indicates whether this condition is empty, i.e.
- isEmpty() - Method in class org.springframework.web.servlet.mvc.condition.CompositeRequestCondition
-
Whether this instance contains 0 conditions or not.
- isEmpty() - Method in class org.springframework.web.servlet.mvc.condition.ConsumesRequestCondition
-
Whether the condition has any media type expressions.
- isEmpty() - Method in class org.springframework.web.servlet.mvc.condition.ProducesRequestCondition
-
Whether the condition has any media type expressions.
- isEmptyMapping() - Method in class org.springframework.web.servlet.mvc.method.RequestMappingInfo
-
Whether the request mapping has an empty URL path mapping.
- isEmptyPathMapping() - Method in class org.springframework.web.servlet.mvc.condition.PathPatternsRequestCondition
-
Whether the condition is the "" (empty path) mapping.
- isEmptyPathMapping() - Method in class org.springframework.web.servlet.mvc.condition.PatternsRequestCondition
-
Whether the condition is the "" (empty path) mapping.
- isEnableLoggingRequestDetails() - Method in class org.springframework.web.servlet.FrameworkServlet
-
Whether logging of potentially sensitive, request details at DEBUG and TRACE level is allowed.
- isError() - Method in class org.springframework.web.servlet.support.BindStatus
-
Return if this status represents a field or object error.
- isExpired() - Method in class org.springframework.web.servlet.FlashMap
-
Return whether this instance has expired depending on the amount of elapsed time since the call to
FlashMap.startExpirationPeriod(int)
. - isExposePathVariables() - Method in class org.springframework.web.servlet.view.AbstractView
-
Return whether to add path variables to the model or not.
- isFlashMapForRequest(FlashMap, HttpServletRequest) - Method in class org.springframework.web.servlet.support.AbstractFlashMapManager
-
Whether the given FlashMap matches the current request.
- isHandler(Class<?>) - Method in class org.springframework.web.servlet.handler.AbstractHandlerMethodMapping
-
Whether the given type is a handler with handler methods.
- isHandler(Class<?>) - Method in class org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping
-
Whether the given type is a handler with handler methods.
- isHtmlEscape() - Method in class org.springframework.web.servlet.tags.HtmlEscapingAwareTag
-
Return the HTML escaping setting for this tag, or the default setting if not overridden.
- isIgnoreInvalidLocale() - Method in class org.springframework.web.servlet.i18n.LocaleChangeInterceptor
-
Return whether to ignore an invalid value for the locale parameter.
- isIgnoreNestedPath() - Method in class org.springframework.web.servlet.tags.BindTag
-
Return whether to ignore a nested path, if any.
- isInvalidPath(String) - Method in class org.springframework.web.servlet.resource.ResourceHttpRequestHandler
-
Identifies invalid resource paths.
- isLanguageTagCompliant() - Method in class org.springframework.web.servlet.i18n.CookieLocaleResolver
-
Return whether this resolver's cookies should be compliant with BCP 47 language tags instead of Java's legacy locale specification format.
- isMethodBrowserSupported(String) - Method in class org.springframework.web.servlet.tags.form.FormTag
-
Determine if the HTTP method is supported by browsers (i.e.
- isNegated() - Method in interface org.springframework.web.servlet.mvc.condition.MediaTypeExpression
- isNegated() - Method in interface org.springframework.web.servlet.mvc.condition.NameValueExpression
- isOptimizeLocations() - Method in class org.springframework.web.servlet.resource.ResourceHttpRequestHandler
-
Return 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.
- isPropagateQueryProperties() - Method in class org.springframework.web.servlet.view.RedirectView
-
Whether to propagate the query params of the current URL.
- isReadonly() - Method in class org.springframework.web.servlet.tags.form.AbstractHtmlInputElementTag
-
Gets the value of the '
readonly
' attribute. - isRedirectContextRelative() - Method in class org.springframework.web.servlet.view.UrlBasedViewResolver
-
Return whether to interpret a given redirect URL that starts with a slash ("/") as relative to the current ServletContext, i.e.
- isRedirectHttp10Compatible() - Method in class org.springframework.web.servlet.view.UrlBasedViewResolver
-
Return whether redirects should stay compatible with HTTP 1.0 clients.
- isRedirectView() - Method in interface org.springframework.web.servlet.SmartView
-
Whether the view performs a redirect.
- isRedirectView() - Method in class org.springframework.web.servlet.view.RedirectView
-
Returns "true" indicating this view performs a redirect.
- isRedirectViewName(String) - Method in class org.springframework.web.servlet.mvc.method.annotation.ModelAndViewMethodReturnValueHandler
-
Whether the given view name is a redirect view reference.
- isRedirectViewName(String) - Method in class org.springframework.web.servlet.mvc.method.annotation.ViewNameMethodReturnValueHandler
-
Whether the given view name is a redirect view reference.
- isReference() - Method in class org.springframework.web.servlet.ModelAndView
-
Return whether we use a view reference, i.e.
- isRejectInvalidCookies() - Method in class org.springframework.web.servlet.i18n.CookieLocaleResolver
-
Return whether to reject cookies with invalid content (e.g.
- isRemoteHost(String) - Method in class org.springframework.web.servlet.view.RedirectView
-
Whether the given targetUrl has a host that is a "foreign" system in which case
HttpServletResponse.encodeRedirectURL(java.lang.String)
will not be applied. - isRequireSession() - Method in class org.springframework.web.servlet.support.WebContentGenerator
-
Return whether a session is required to handle requests.
- isResourceType(Object, MethodParameter) - Method in class org.springframework.web.servlet.mvc.method.annotation.AbstractMessageConverterMethodProcessor
-
Return whether the returned value or the declared return type extends
Resource
. - isResponseEncodedHtmlEscape() - Method in class org.springframework.web.servlet.support.RequestContext
-
Is HTML escaping using the response encoding by default? If enabled, only XML markup significant characters will be escaped with UTF-* encodings.
- isResponseEncodedHtmlEscape() - Method in class org.springframework.web.servlet.tags.HtmlEscapingAwareTag
-
Return the applicable default for the use of response encoding with HTML escaping for this tag.
- isSharedEngine() - Method in interface org.springframework.web.servlet.view.script.ScriptTemplateConfig
-
Return whether to use a shared engine for all threads or whether to create thread-local engine instances for each thread.
- isSharedEngine() - Method in class org.springframework.web.servlet.view.script.ScriptTemplateConfigurer
- isShowPassword() - Method in class org.springframework.web.servlet.tags.form.PasswordInputTag
-
Is the password value to be rendered?
- isStatusOnly() - Method in class org.springframework.web.servlet.mvc.ParameterizableViewController
-
Whether the request is fully handled within the controller.
- isSynchronizeOnSession() - Method in class org.springframework.web.servlet.mvc.AbstractController
-
Return whether controller execution should be synchronized on the session.
- isUrlRequired() - Method in class org.springframework.web.servlet.view.AbstractUrlBasedView
-
Return whether the 'url' property is required.
- isUseCacheControlHeader() - Method in class org.springframework.web.servlet.support.WebContentGenerator
-
Deprecated.as of 4.2, in favor of
WebContentGenerator.getCacheControl()
- isUseCacheControlNoStore() - Method in class org.springframework.web.servlet.support.WebContentGenerator
-
Deprecated.as of 4.2, in favor of
WebContentGenerator.getCacheControl()
- isUseExpiresHeader() - Method in class org.springframework.web.servlet.support.WebContentGenerator
-
Deprecated.as of 4.2, in favor of
WebContentGenerator.getCacheControl()
- isUseLastModified() - Method in class org.springframework.web.servlet.resource.ResourceHttpRequestHandler
-
Return whether the
Resource.lastModified()
information is used to drive HTTP responses when serving static resources. - isUseNotAcceptableStatusCode() - Method in class org.springframework.web.servlet.view.ContentNegotiatingViewResolver
-
Whether to return HTTP Status 406 if no suitable is found.
- isUseRegisteredSuffixPatternMatch() - Method in class org.springframework.web.servlet.config.annotation.PathMatchConfigurer
-
Deprecated.as of 5.2.4, see deprecation note on
PathMatchConfigurer.setUseRegisteredSuffixPatternMatch(Boolean)
. - isUseSuffixPatternMatch() - Method in class org.springframework.web.servlet.config.annotation.PathMatchConfigurer
-
Deprecated.as of 5.2.4, see deprecation note on
PathMatchConfigurer.setUseSuffixPatternMatch(Boolean)
. - isUseTrailingSlashMatch() - Method in class org.springframework.web.servlet.config.annotation.PathMatchConfigurer
-
Deprecated.
- isValidDynamicAttribute(String, Object) - Method in class org.springframework.web.servlet.tags.form.AbstractCheckedElementTag
-
Flags "type" as an illegal dynamic attribute.
- isValidDynamicAttribute(String, Object) - Method in class org.springframework.web.servlet.tags.form.AbstractHtmlElementTag
-
Whether the given name-value pair is a valid dynamic attribute.
- isValidDynamicAttribute(String, Object) - Method in class org.springframework.web.servlet.tags.form.HiddenInputTag
-
Flags "type" as an illegal dynamic attribute.
- isValidDynamicAttribute(String, Object) - Method in class org.springframework.web.servlet.tags.form.InputTag
-
Flags
type="checkbox"
andtype="radio"
as illegal dynamic attributes. - isValidDynamicAttribute(String, Object) - Method in class org.springframework.web.servlet.tags.form.PasswordInputTag
-
Flags "type" as an illegal dynamic attribute.
J
- JsonViewRequestBodyAdvice - Class in org.springframework.web.servlet.mvc.method.annotation
-
A
RequestBodyAdvice
implementation that adds support for Jackson's@JsonView
annotation declared on a Spring MVC@HttpEntity
or@RequestBody
method parameter. - JsonViewRequestBodyAdvice() - Constructor for class org.springframework.web.servlet.mvc.method.annotation.JsonViewRequestBodyAdvice
- JsonViewResponseBodyAdvice - Class in org.springframework.web.servlet.mvc.method.annotation
-
A
ResponseBodyAdvice
implementation that adds support for Jackson's@JsonView
annotation declared on a Spring MVC@RequestMapping
or@ExceptionHandler
method. - JsonViewResponseBodyAdvice() - Constructor for class org.springframework.web.servlet.mvc.method.annotation.JsonViewResponseBodyAdvice
- jsp() - Method in class org.springframework.web.servlet.config.annotation.ViewResolverRegistry
-
Register JSP view resolver using a default view name prefix of "/WEB-INF/" and a default suffix of ".jsp".
- jsp(String, String) - Method in class org.springframework.web.servlet.config.annotation.ViewResolverRegistry
-
Register JSP view resolver with the specified prefix and suffix.
- JspAwareRequestContext - Class in org.springframework.web.servlet.support
-
JSP-aware (and JSTL-aware) subclass of RequestContext, allowing for population of the context from a
jakarta.servlet.jsp.PageContext
. - JspAwareRequestContext(PageContext) - Constructor for class org.springframework.web.servlet.support.JspAwareRequestContext
-
Create a new JspAwareRequestContext for the given page context, using the request attributes for Errors retrieval.
- JspAwareRequestContext(PageContext, Map<String, Object>) - Constructor for class org.springframework.web.servlet.support.JspAwareRequestContext
-
Create a new JspAwareRequestContext for the given page context, using the given model attributes for Errors retrieval.
- jstlPresent - Static variable in class org.springframework.web.servlet.support.RequestContext
- JstlUtils - Class in org.springframework.web.servlet.support
-
Helper class for preparing JSTL views, in particular for exposing a JSTL localization context.
- JstlUtils() - Constructor for class org.springframework.web.servlet.support.JstlUtils
- JstlView - Class in org.springframework.web.servlet.view
-
Specialization of
InternalResourceView
for JSTL pages, i.e. - JstlView() - Constructor for class org.springframework.web.servlet.view.JstlView
-
Constructor for use as a bean.
- JstlView(String) - Constructor for class org.springframework.web.servlet.view.JstlView
-
Create a new JstlView with the given URL.
- JstlView(String, MessageSource) - Constructor for class org.springframework.web.servlet.view.JstlView
-
Create a new JstlView with the given URL.
L
- LabelTag - Class in org.springframework.web.servlet.tags.form
-
The
<label>
tag renders a form field label in an HTML 'label' tag. - LabelTag() - Constructor for class org.springframework.web.servlet.tags.form.LabelTag
- LANG_ATTRIBUTE - Static variable in class org.springframework.web.servlet.tags.form.AbstractHtmlElementTag
- lastModified() - Method in class org.springframework.web.servlet.resource.TransformedResource
- lastModified(Instant) - Method in interface org.springframework.web.servlet.function.EntityResponse.Builder
-
Set the time the resource was last changed, as specified by the
Last-Modified
header. - lastModified(Instant) - Method in interface org.springframework.web.servlet.function.ServerResponse.HeadersBuilder
-
Set the time the resource was last changed, as specified by the
Last-Modified
header. - lastModified(ZonedDateTime) - Method in interface org.springframework.web.servlet.function.EntityResponse.Builder
-
Set the time the resource was last changed, as specified by the
Last-Modified
header. - lastModified(ZonedDateTime) - Method in interface org.springframework.web.servlet.function.ServerResponse.HeadersBuilder
-
Set the time the resource was last changed, as specified by the
Last-Modified
header. - LastModified - Interface in org.springframework.web.servlet.mvc
-
Deprecated.as of 5.3.9 in favor of using the
checkNotModified
methods inWebRequest
, or from an annotated controller method, returning aResponseEntity
with an "ETag" and/or "Last-Modified" headers set. - LIST_VALUE_PAGE_ATTRIBUTE - Static variable in class org.springframework.web.servlet.tags.form.SelectTag
-
The
PageContext
attribute under which the bound value is exposed to innerOptionTags
. - loadScripts(ScriptEngine) - Method in class org.springframework.web.servlet.view.script.ScriptTemplateView
- loadView(String, Locale) - Method in class org.springframework.web.servlet.view.AbstractCachingViewResolver
-
Subclasses must implement this method, building a View object for the specified view.
- loadView(String, Locale) - Method in class org.springframework.web.servlet.view.ResourceBundleViewResolver
-
Deprecated.
- loadView(String, Locale) - Method in class org.springframework.web.servlet.view.UrlBasedViewResolver
-
Delegates to
buildView
for creating a new instance of the specified view class. - loadView(String, Locale) - Method in class org.springframework.web.servlet.view.XmlViewResolver
-
Deprecated.
- LOCALE_REQUEST_ATTRIBUTE_NAME - Static variable in class org.springframework.web.servlet.i18n.CookieLocaleResolver
-
The name of the request attribute that holds the
Locale
. - LOCALE_RESOLVER_ATTRIBUTE - Static variable in class org.springframework.web.servlet.DispatcherServlet
-
Request attribute to hold the current LocaleResolver, retrievable by views.
- LOCALE_RESOLVER_BEAN_NAME - Static variable in class org.springframework.web.servlet.DispatcherServlet
-
Well-known name for the LocaleResolver object in the bean factory for this namespace.
- LOCALE_SESSION_ATTRIBUTE_NAME - Static variable in class org.springframework.web.servlet.i18n.SessionLocaleResolver
-
Default name of the session attribute that holds the Locale.
- LocaleChangeInterceptor - Class in org.springframework.web.servlet.i18n
-
Interceptor that allows for changing the current locale on every request, via a configurable request parameter (default parameter name: "locale").
- LocaleChangeInterceptor() - Constructor for class org.springframework.web.servlet.i18n.LocaleChangeInterceptor
- LocaleContextResolver - Interface in org.springframework.web.servlet
-
Extension of
LocaleResolver
that adds support for a rich locale context (potentially including locale and time zone information). - localeResolver() - Method in class org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport
- LocaleResolver - Interface in org.springframework.web.servlet
-
Interface for web-based locale resolution strategies that allows for both locale resolution via the request and locale modification via request and response.
- locateSource(Map<String, Object>) - Method in class org.springframework.web.servlet.view.xslt.XsltView
-
Locate the
Source
object in the supplied model, converting objects as required. - locateToBeMarshalled(Map<String, Object>) - Method in class org.springframework.web.servlet.view.xml.MarshallingView
-
Locate the object to be marshalled.
- location(URI) - Method in interface org.springframework.web.servlet.function.EntityResponse.Builder
-
Set the location of a resource, as specified by the
Location
header. - location(URI) - Method in interface org.springframework.web.servlet.function.ServerResponse.HeadersBuilder
-
Set the location of a resource, as specified by the
Location
header. - logException(Exception, HttpServletRequest) - Method in class org.springframework.web.servlet.handler.AbstractHandlerExceptionResolver
-
Log the given exception at warn level, provided that warn logging has been activated through the
"warnLogCategory"
property. - logger - Variable in class org.springframework.web.servlet.handler.AbstractHandlerExceptionResolver
-
Logger available to subclasses.
- logger - Variable in class org.springframework.web.servlet.HttpServletBean
-
Logger available to subclasses.
- logger - Variable in class org.springframework.web.servlet.i18n.LocaleChangeInterceptor
- logger - Variable in class org.springframework.web.servlet.mvc.method.annotation.AbstractMessageConverterMethodArgumentResolver
- logger - Variable in class org.springframework.web.servlet.mvc.method.annotation.ResponseEntityExceptionHandler
-
Common logger for use in subclasses.
- logger - Variable in class org.springframework.web.servlet.resource.AbstractResourceResolver
- logger - Variable in class org.springframework.web.servlet.resource.AbstractVersionStrategy
- logger - Variable in class org.springframework.web.servlet.resource.ResourceUrlProvider
- logger - Variable in class org.springframework.web.servlet.support.AbstractFlashMapManager
- logger - Variable in class org.springframework.web.servlet.tags.RequestContextAwareTag
-
Logger available to subclasses.
- LOOKUP_PATH - Static variable in interface org.springframework.web.servlet.HandlerMapping
-
Deprecated.as of 5.3 in favor of
UrlPathHelper.PATH_ATTRIBUTE
andServletRequestPathUtils.PATH_ATTRIBUTE
. To access the cached path used for request mapping, useServletRequestPathUtils.getCachedPathValue(ServletRequest)
. - lookupCacheControl(String) - Method in class org.springframework.web.servlet.mvc.WebContentInterceptor
-
Find a
CacheControl
instance for the given String lookupPath. - lookupCacheControl(PathContainer) - Method in class org.springframework.web.servlet.mvc.WebContentInterceptor
-
Find a
CacheControl
instance for the given parsedpath
. - lookupCacheSeconds(String) - Method in class org.springframework.web.servlet.mvc.WebContentInterceptor
-
Find a cacheSeconds instance for the given String lookupPath.
- lookupCacheSeconds(PathContainer) - Method in class org.springframework.web.servlet.mvc.WebContentInterceptor
-
Find a cacheSeconds value for the given parsed
path
. - lookupHandler(String, HttpServletRequest) - Method in class org.springframework.web.servlet.handler.AbstractUrlHandlerMapping
-
Look up a handler instance for the given URL path.
- lookupHandler(RequestPath, String, HttpServletRequest) - Method in class org.springframework.web.servlet.handler.AbstractUrlHandlerMapping
-
Look up a handler instance for the given URL path.
- lookupHandlerMethod(String, HttpServletRequest) - Method in class org.springframework.web.servlet.handler.AbstractHandlerMethodMapping
-
Look up the best-matching handler method for the current request.
M
- MappedInterceptor - Class in org.springframework.web.servlet.handler
-
Wraps a
HandlerInterceptor
and uses URL patterns to determine whether it applies to a given request. - MappedInterceptor(String[], String[], WebRequestInterceptor) - Constructor for class org.springframework.web.servlet.handler.MappedInterceptor
-
Variant of
MappedInterceptor(String[], String[], HandlerInterceptor, PathPatternParser)
with aWebRequestInterceptor
as the target. - MappedInterceptor(String[], String[], HandlerInterceptor) - Constructor for class org.springframework.web.servlet.handler.MappedInterceptor
-
Variant of
MappedInterceptor(String[], String[], HandlerInterceptor, PathPatternParser)
without a provided parser. - MappedInterceptor(String[], String[], HandlerInterceptor, PathPatternParser) - Constructor for class org.springframework.web.servlet.handler.MappedInterceptor
-
Create an instance with the given include and exclude patterns along with the target interceptor for the mappings.
- MappedInterceptor(String[], WebRequestInterceptor) - Constructor for class org.springframework.web.servlet.handler.MappedInterceptor
-
Variant of
MappedInterceptor(String[], String[], HandlerInterceptor, PathPatternParser)
with aWebRequestInterceptor
as the target. - MappedInterceptor(String[], HandlerInterceptor) - Constructor for class org.springframework.web.servlet.handler.MappedInterceptor
-
Variant of
MappedInterceptor(String[], String[], HandlerInterceptor, PathPatternParser)
with include patterns only. - MappingJackson2JsonView - Class in org.springframework.web.servlet.view.json
-
Spring MVC
View
that renders JSON content by serializing the model for the current request using Jackson 2'sObjectMapper
. - MappingJackson2JsonView() - Constructor for class org.springframework.web.servlet.view.json.MappingJackson2JsonView
-
Construct a new
MappingJackson2JsonView
using default configuration provided byJackson2ObjectMapperBuilder
and setting the content type toapplication/json
. - MappingJackson2JsonView(ObjectMapper) - Constructor for class org.springframework.web.servlet.view.json.MappingJackson2JsonView
-
Construct a new
MappingJackson2JsonView
using the providedObjectMapper
and setting the content type toapplication/json
. - MappingJackson2XmlView - Class in org.springframework.web.servlet.view.xml
-
Spring MVC
View
that renders XML content by serializing the model for the current request using Jackson 2'sXmlMapper
. - MappingJackson2XmlView() - Constructor for class org.springframework.web.servlet.view.xml.MappingJackson2XmlView
-
Construct a new
MappingJackson2XmlView
using default configuration provided byJackson2ObjectMapperBuilder
and setting the content type toapplication/xml
. - MappingJackson2XmlView(XmlMapper) - Constructor for class org.springframework.web.servlet.view.xml.MappingJackson2XmlView
-
Construct a new
MappingJackson2XmlView
using the providedXmlMapper
and setting the content type toapplication/xml
. - mappingName(String) - Method in interface org.springframework.web.servlet.mvc.method.RequestMappingInfo.Builder
-
Set the mapping name.
- mappingsLogger - Variable in class org.springframework.web.servlet.handler.AbstractHandlerMapping
-
Dedicated "hidden" logger for request mappings.
- MarshallingView - Class in org.springframework.web.servlet.view.xml
-
Spring-MVC
View
that allows for response context to be rendered as the result of marshalling by aMarshaller
. - MarshallingView() - Constructor for class org.springframework.web.servlet.view.xml.MarshallingView
-
Construct a new
MarshallingView
with noMarshaller
set. - MarshallingView(Marshaller) - Constructor for class org.springframework.web.servlet.view.xml.MarshallingView
-
Constructs a new
MarshallingView
with the givenMarshaller
set. - match(HttpServletRequest, String) - Method in class org.springframework.web.servlet.handler.AbstractUrlHandlerMapping
- match(HttpServletRequest, String) - Method in interface org.springframework.web.servlet.handler.MatchableHandlerMapping
-
Determine whether the request matches the given pattern.
- match(HttpServletRequest, String) - Method in class org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping
- MatchableHandlerMapping - Interface in org.springframework.web.servlet.handler
-
Additional interface that a
HandlerMapping
can implement to expose a request matching API aligned with its internal request matching configuration and implementation. - matches(HttpServletRequest) - Method in class org.springframework.web.servlet.handler.MappedInterceptor
-
Check whether this interceptor is mapped to the request.
- matches(String, PathMatcher) - Method in class org.springframework.web.servlet.handler.MappedInterceptor
-
Deprecated.as of 5.3 in favor of
MappedInterceptor.matches(HttpServletRequest)
- MATCHING_PATTERN_ATTRIBUTE - Static variable in class org.springframework.web.servlet.function.RouterFunctions
-
Name of the request attribute that contains the matching pattern, as a
PathPattern
. - MATRIX_VARIABLES_ATTRIBUTE - Static variable in interface org.springframework.web.servlet.HandlerMapping
-
Name of the
HttpServletRequest
attribute that contains a map with URI variable names and a corresponding MultiValueMap of URI matrix variables for each. - MatrixVariableMapMethodArgumentResolver - Class in org.springframework.web.servlet.mvc.method.annotation
-
Resolves arguments of type
Map
annotated with@MatrixVariable
where the annotation does not specify a name. - MatrixVariableMapMethodArgumentResolver() - Constructor for class org.springframework.web.servlet.mvc.method.annotation.MatrixVariableMapMethodArgumentResolver
- MatrixVariableMethodArgumentResolver - Class in org.springframework.web.servlet.mvc.method.annotation
-
Resolves arguments annotated with
@MatrixVariable
. - MatrixVariableMethodArgumentResolver() - Constructor for class org.springframework.web.servlet.mvc.method.annotation.MatrixVariableMethodArgumentResolver
- maxAge(long) - Method in class org.springframework.web.servlet.config.annotation.CorsRegistration
-
Configure how long in seconds the response from a pre-flight request can be cached by clients.
- MAXLENGTH_ATTRIBUTE - Static variable in class org.springframework.web.servlet.tags.form.InputTag
- mediaType(String, MediaType) - Method in class org.springframework.web.servlet.config.annotation.ContentNegotiationConfigurer
-
Add a mapping from a key, extracted from a path extension or a query parameter, to a MediaType.
- MediaTypeExpression - Interface in org.springframework.web.servlet.mvc.condition
-
A contract for media type expressions (e.g.
- mediaTypes(Map<String, MediaType>) - Method in class org.springframework.web.servlet.config.annotation.ContentNegotiationConfigurer
- mergeAttributes(Map<String, ?>) - Method in interface org.springframework.web.servlet.mvc.support.RedirectAttributes
- mergeAttributes(Map<String, ?>) - Method in class org.springframework.web.servlet.mvc.support.RedirectAttributesModelMap
- mergePdfDocument(Map<String, Object>, PdfStamper, HttpServletRequest, HttpServletResponse) - Method in class org.springframework.web.servlet.view.document.AbstractPdfStamperView
-
Subclasses must implement this method to merge the PDF form with the given model data.
- messageConverters - Variable in class org.springframework.web.servlet.mvc.method.annotation.AbstractMessageConverterMethodArgumentResolver
- messageConverters() - Method in interface org.springframework.web.servlet.function.ServerRequest
-
Get the readers used to convert the body of this request.
- messageConverters() - Method in interface org.springframework.web.servlet.function.ServerResponse.Context
-
Return the
HttpMessageConverters
to be used for response body conversion. - MESSAGES_ATTRIBUTE - Static variable in class org.springframework.web.servlet.tags.form.ErrorsTag
-
The key under which this tag exposes error messages in the
page context scope
. - MessageTag - Class in org.springframework.web.servlet.tags
-
The
<message>
tag looks up a message in the scope of this page. - MessageTag() - Constructor for class org.springframework.web.servlet.tags.MessageTag
- method() - Method in interface org.springframework.web.servlet.function.ServerRequest
-
Get the HTTP method.
- method(Set<HttpMethod>) - Method in interface org.springframework.web.servlet.function.RequestPredicates.Visitor
-
Receive notification of an HTTP method predicate.
- method(HttpMethod) - Static method in class org.springframework.web.servlet.function.RequestPredicates
-
Return a
RequestPredicate
that matches if the request's HTTP method is equal to the given method. - method(HttpMethod) - Method in interface org.springframework.web.servlet.function.ServerRequest.Builder
-
Set the method of the request.
- METHOD_GET - Static variable in class org.springframework.web.servlet.support.WebContentGenerator
-
HTTP method "GET".
- METHOD_HEAD - Static variable in class org.springframework.web.servlet.support.WebContentGenerator
-
HTTP method "HEAD".
- METHOD_POST - Static variable in class org.springframework.web.servlet.support.WebContentGenerator
-
HTTP method "POST".
- MethodArgumentBuilder(Class<?>, Method) - Constructor for class org.springframework.web.servlet.mvc.method.annotation.MvcUriComponentsBuilder.MethodArgumentBuilder
-
Create a new
MvcUriComponentsBuilder.MethodArgumentBuilder
instance. - MethodArgumentBuilder(UriComponentsBuilder, Class<?>, Method) - Constructor for class org.springframework.web.servlet.mvc.method.annotation.MvcUriComponentsBuilder.MethodArgumentBuilder
-
Create a new
MvcUriComponentsBuilder.MethodArgumentBuilder
instance. - methodName() - Method in interface org.springframework.web.servlet.function.ServerRequest
-
Deprecated.in favor of
ServerRequest.method()
- methods(HttpMethod...) - Static method in class org.springframework.web.servlet.function.RequestPredicates
-
Return a
RequestPredicate
that matches if the request's HTTP method is equal to one the of the given methods. - methods(RequestMethod...) - Method in interface org.springframework.web.servlet.mvc.method.RequestMappingInfo.Builder
-
Set the request method conditions.
- model() - Method in interface org.springframework.web.servlet.function.RenderingResponse
-
Return the unmodifiable model map.
- MODEL_ATTRIBUTE_METHODS - Static variable in class org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter
-
MethodFilter that matches
@ModelAttribute
methods. - MODEL_ATTRIBUTE_VARIABLE_NAME - Static variable in class org.springframework.web.servlet.tags.form.FormTag
-
The name of the
PageContext
attribute under which the form object name is exposed. - ModelAndView - Class in org.springframework.web.servlet
-
Holder for both Model and View in the web MVC framework.
- ModelAndView() - Constructor for class org.springframework.web.servlet.ModelAndView
-
Default constructor for bean-style usage: populating bean properties instead of passing in constructor arguments.
- ModelAndView(String) - Constructor for class org.springframework.web.servlet.ModelAndView
-
Convenient constructor when there is no model data to expose.
- ModelAndView(String, String, Object) - Constructor for class org.springframework.web.servlet.ModelAndView
-
Convenient constructor to take a single model object.
- ModelAndView(String, Map<String, ?>) - Constructor for class org.springframework.web.servlet.ModelAndView
-
Create a new ModelAndView given a view name and a model.
- ModelAndView(String, Map<String, ?>, HttpStatusCode) - Constructor for class org.springframework.web.servlet.ModelAndView
-
Create a new ModelAndView given a view name, model, and HTTP status.
- ModelAndView(String, HttpStatusCode) - Constructor for class org.springframework.web.servlet.ModelAndView
-
Create a new ModelAndView given a view name and HTTP status.
- ModelAndView(View) - Constructor for class org.springframework.web.servlet.ModelAndView
-
Convenient constructor when there is no model data to expose.
- ModelAndView(View, String, Object) - Constructor for class org.springframework.web.servlet.ModelAndView
-
Convenient constructor to take a single model object.
- ModelAndView(View, Map<String, ?>) - Constructor for class org.springframework.web.servlet.ModelAndView
-
Create a new ModelAndView given a View object and a model.
- ModelAndViewDefiningException - Exception in org.springframework.web.servlet
-
Exception to be thrown on error conditions that should forward to a specific view with a specific model.
- ModelAndViewDefiningException(ModelAndView) - Constructor for exception org.springframework.web.servlet.ModelAndViewDefiningException
-
Create new ModelAndViewDefiningException with the given ModelAndView, typically representing a specific error page.
- ModelAndViewMethodReturnValueHandler - Class in org.springframework.web.servlet.mvc.method.annotation
-
Handles return values of type
ModelAndView
copying view and model information to theModelAndViewContainer
. - ModelAndViewMethodReturnValueHandler() - Constructor for class org.springframework.web.servlet.mvc.method.annotation.ModelAndViewMethodReturnValueHandler
- ModelAndViewResolver - Interface in org.springframework.web.servlet.mvc.annotation
-
SPI for resolving custom return values from a specific handler method.
- ModelAndViewResolverMethodReturnValueHandler - Class in org.springframework.web.servlet.mvc.method.annotation
-
This return value handler is intended to be ordered after all others as it attempts to handle _any_ return value type (i.e.
- ModelAndViewResolverMethodReturnValueHandler(List<ModelAndViewResolver>) - Constructor for class org.springframework.web.servlet.mvc.method.annotation.ModelAndViewResolverMethodReturnValueHandler
-
Create a new instance.
- modelAttribute(Object) - Method in interface org.springframework.web.servlet.function.RenderingResponse.Builder
-
Add the supplied attribute to the model using a generated name.
- modelAttribute(String, Object) - Method in interface org.springframework.web.servlet.function.RenderingResponse.Builder
-
Add the supplied attribute value under the supplied name.
- modelAttributes(Object...) - Method in interface org.springframework.web.servlet.function.RenderingResponse.Builder
-
Copy all attributes in the supplied array into the model, using attribute name generation for each element.
- modelAttributes(Collection<?>) - Method in interface org.springframework.web.servlet.function.RenderingResponse.Builder
-
Copy all attributes in the supplied
Collection
into the model, using attribute name generation for each element. - modelAttributes(Map<String, ?>) - Method in interface org.springframework.web.servlet.function.RenderingResponse.Builder
-
Copy all attributes in the supplied
Map
into the model. - MULTIPART_RESOLVER_BEAN_NAME - Static variable in class org.springframework.web.servlet.DispatcherServlet
-
Well-known name for the MultipartResolver object in the bean factory for this namespace.
- multipartData() - Method in interface org.springframework.web.servlet.function.ServerRequest
-
Get the parts of a multipart request, provided the Content-Type is
"multipart/form-data"
, or an exception otherwise. - mutate() - Method in class org.springframework.web.servlet.mvc.method.RequestMappingInfo
-
Return a builder to create a new RequestMappingInfo by modifying this one.
- MVC_URI_COMPONENTS_CONTRIBUTOR_BEAN_NAME - Static variable in class org.springframework.web.servlet.mvc.method.annotation.MvcUriComponentsBuilder
-
Well-known name for the
CompositeUriComponentsContributor
object in the bean factory. - mvcContentNegotiationManager() - Method in class org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport
-
Return a
ContentNegotiationManager
instance to use to determine requested media types in a given request. - mvcConversionService() - Method in class org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport
-
Return a
FormattingConversionService
for use with annotated controllers. - mvcHandlerMappingIntrospector() - Method in class org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport
- MvcNamespaceHandler - Class in org.springframework.web.servlet.config
-
NamespaceHandler
for Spring MVC configuration namespace. - MvcNamespaceHandler() - Constructor for class org.springframework.web.servlet.config.MvcNamespaceHandler
- MvcNamespaceUtils - Class in org.springframework.web.servlet.config
-
Convenience methods for use in MVC namespace BeanDefinitionParsers.
- MvcNamespaceUtils() - Constructor for class org.springframework.web.servlet.config.MvcNamespaceUtils
- mvcPathMatcher() - Method in class org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport
-
Return a global
PathMatcher
instance which is used for URL path matching with String patterns. - mvcPatternParser() - Method in class org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport
-
Return a global
PathPatternParser
instance to use for parsing patterns to match to theRequestPath
. - mvcResourceUrlProvider() - Method in class org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport
-
A
ResourceUrlProvider
bean for use with the MVC dispatcher. - MvcUriComponentsBuilder - Class in org.springframework.web.servlet.mvc.method.annotation
-
Creates instances of
UriComponentsBuilder
by pointing to@RequestMapping
methods on Spring MVC controllers. - MvcUriComponentsBuilder(UriComponentsBuilder) - Constructor for class org.springframework.web.servlet.mvc.method.annotation.MvcUriComponentsBuilder
-
Default constructor.
- MvcUriComponentsBuilder.MethodArgumentBuilder - Class in org.springframework.web.servlet.mvc.method.annotation
-
Builder class to create URLs for method arguments.
- MvcUriComponentsBuilder.MethodInvocationInfo - Interface in org.springframework.web.servlet.mvc.method.annotation
-
Method invocation information.
- mvcUriComponentsContributor(FormattingConversionService, RequestMappingHandlerAdapter) - Method in class org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport
-
Return an instance of
CompositeUriComponentsContributor
for use withMvcUriComponentsBuilder
. - mvcUrlPathHelper() - Method in class org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport
-
Return a global
UrlPathHelper
instance which is used to resolve the request mapping path for an application. - mvcValidator() - Method in class org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport
-
Return a global
Validator
instance for example for validating@ModelAttribute
and@RequestBody
method arguments. - mvcViewResolver(ContentNegotiationManager) - Method in class org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport
-
Register a
ViewResolverComposite
that contains a chain of view resolvers to use for view resolution.
N
- name() - Method in interface org.springframework.web.servlet.function.RenderingResponse
-
Return the name of the template to be rendered.
- name(String) - Method in interface org.springframework.web.servlet.mvc.method.annotation.SseEmitter.SseEventBuilder
-
Add an SSE "event" line.
- NameValueExpression<T> - Interface in org.springframework.web.servlet.mvc.condition
-
A contract for
"name!=value"
style expression used to specify request parameters and request header conditions in@RequestMapping
. - negate() - Method in interface org.springframework.web.servlet.function.RequestPredicate
-
Return a predicate that represents the logical negation of this predicate.
- nest(RequestPredicate, Consumer<RouterFunctions.Builder>) - Method in interface org.springframework.web.servlet.function.RouterFunctions.Builder
-
Route to a built router function if the given request predicate applies.
- nest(RequestPredicate, Supplier<RouterFunction<ServerResponse>>) - Method in interface org.springframework.web.servlet.function.RouterFunctions.Builder
-
Route to the supplied router function if the given request predicate applies.
- nest(RequestPredicate, RouterFunction<T>) - Static method in class org.springframework.web.servlet.function.RouterFunctions
-
Route to the given router function if the given request predicate applies.
- nest(ServerRequest) - Method in interface org.springframework.web.servlet.function.RequestPredicate
-
Transform the given request into a request used for a nested route.
- NESTED_PATH_VARIABLE_NAME - Static variable in class org.springframework.web.servlet.tags.form.AbstractDataBoundFormElementTag
-
Name of the exposed path variable within the scope of this tag: "nestedPath".
- NESTED_PATH_VARIABLE_NAME - Static variable in class org.springframework.web.servlet.tags.NestedPathTag
-
Name of the exposed variable within the scope of this tag: "nestedPath".
- NestedPathTag - Class in org.springframework.web.servlet.tags
-
The
<nestedPath>
tag supports and assists with nested beans or bean properties in the model. - NestedPathTag() - Constructor for class org.springframework.web.servlet.tags.NestedPathTag
- newDocument() - Method in class org.springframework.web.servlet.view.document.AbstractPdfView
-
Create a new document to hold the PDF contents.
- newFeed() - Method in class org.springframework.web.servlet.view.feed.AbstractAtomFeedView
-
Create a new Feed instance to hold the entries.
- newFeed() - Method in class org.springframework.web.servlet.view.feed.AbstractFeedView
-
Create a new feed to hold the entries.
- newFeed() - Method in class org.springframework.web.servlet.view.feed.AbstractRssFeedView
-
Create a new Channel instance to hold the entries.
- newTransformerFactory(Class<? extends TransformerFactory>) - Method in class org.springframework.web.servlet.view.xslt.XsltView
-
Instantiate a new TransformerFactory for this view.
- newWriter(Document, OutputStream) - Method in class org.springframework.web.servlet.view.document.AbstractPdfView
-
Create a new PdfWriter for the given iText Document.
- noContent() - Static method in interface org.springframework.web.servlet.function.ServerResponse
-
Create a builder with a 204 No Content status.
- noHandlerFound(HttpServletRequest, HttpServletResponse) - Method in class org.springframework.web.servlet.DispatcherServlet
-
No handler found → set appropriate HTTP response status.
- NoHandlerFoundException - Exception in org.springframework.web.servlet
-
By default, when the DispatcherServlet can't find a handler for a request it sends a 404 response.
- NoHandlerFoundException(String, String, HttpHeaders) - Constructor for exception org.springframework.web.servlet.NoHandlerFoundException
-
Constructor for NoHandlerFoundException.
- notFound() - Static method in interface org.springframework.web.servlet.function.ServerResponse
-
Create a builder with a 404 Not Found status.
O
- obtainConfiguration() - Method in class org.springframework.web.servlet.view.freemarker.FreeMarkerView
-
Obtain the FreeMarker configuration for actual use.
- ofErrorHandler(Predicate<Throwable>, BiFunction<Throwable, ServerRequest, T>) - Static method in interface org.springframework.web.servlet.function.HandlerFilterFunction
-
Adapt the given predicate and response provider function to a filter function that returns a
ServerResponse
on a given exception. - ofRequestProcessor(Function<ServerRequest, ServerRequest>) - Static method in interface org.springframework.web.servlet.function.HandlerFilterFunction
-
Adapt the given request processor function to a filter function that only operates on the
ServerRequest
. - ofResponseProcessor(BiFunction<ServerRequest, T, R>) - Static method in interface org.springframework.web.servlet.function.HandlerFilterFunction
-
Adapt the given response processor function to a filter function that only operates on the
ServerResponse
. - ok() - Static method in interface org.springframework.web.servlet.function.ServerResponse
-
Create a builder with the status set to 200 OK.
- on(Class<T>) - Static method in class org.springframework.web.servlet.mvc.method.annotation.MvcUriComponentsBuilder
-
Return a "mock" controller instance.
- onApplicationEvent(ContextRefreshedEvent) - Method in class org.springframework.web.servlet.FrameworkServlet
-
Callback that receives refresh events from this servlet's WebApplicationContext.
- onApplicationEvent(ContextRefreshedEvent) - Method in class org.springframework.web.servlet.resource.ResourceUrlProvider
- ONBLUR_ATTRIBUTE - Static variable in class org.springframework.web.servlet.tags.form.AbstractHtmlInputElementTag
-
The name of the '
onblur
' attribute. - ONCHANGE_ATTRIBUTE - Static variable in class org.springframework.web.servlet.tags.form.AbstractHtmlInputElementTag
-
The name of the '
onchange
' attribute. - ONCLICK_ATTRIBUTE - Static variable in class org.springframework.web.servlet.tags.form.AbstractHtmlElementTag
- onComplete(Runnable) - Method in interface org.springframework.web.servlet.function.ServerResponse.SseBuilder
-
Register a callback to be invoked when the SSE request completes.
- onCompletion(Runnable) - Method in class org.springframework.web.servlet.mvc.method.annotation.ResponseBodyEmitter
-
Register code to invoke when the async request completes.
- ONDBLCLICK_ATTRIBUTE - Static variable in class org.springframework.web.servlet.tags.form.AbstractHtmlElementTag
- onError(Class<? extends Throwable>, BiFunction<Throwable, ServerRequest, ServerResponse>) - Method in interface org.springframework.web.servlet.function.RouterFunctions.Builder
-
Filters all exceptions of the given type by applying the given response provider function.
- onError(Consumer<Throwable>) - Method in interface org.springframework.web.servlet.function.ServerResponse.SseBuilder
-
Register a callback to be invoked when an error occurs during SSE processing.
- onError(Consumer<Throwable>) - Method in class org.springframework.web.servlet.mvc.method.annotation.ResponseBodyEmitter
-
Register code to invoke for an error during async request processing.
- onError(Predicate<Throwable>, BiFunction<Throwable, ServerRequest, ServerResponse>) - Method in interface org.springframework.web.servlet.function.RouterFunctions.Builder
-
Filters all exceptions that match the predicate by applying the given response provider function.
- ONFOCUS_ATTRIBUTE - Static variable in class org.springframework.web.servlet.tags.form.AbstractHtmlInputElementTag
-
The name of the '
onfocus
' attribute. - ONKEYDOWN_ATTRIBUTE - Static variable in class org.springframework.web.servlet.tags.form.AbstractHtmlElementTag
- ONKEYPRESS_ATTRIBUTE - Static variable in class org.springframework.web.servlet.tags.form.AbstractHtmlElementTag
- ONKEYUP_ATTRIBUTE - Static variable in class org.springframework.web.servlet.tags.form.AbstractHtmlElementTag
- ONMOUSEDOWN_ATTRIBUTE - Static variable in class org.springframework.web.servlet.tags.form.AbstractHtmlElementTag
- ONMOUSEMOVE_ATTRIBUTE - Static variable in class org.springframework.web.servlet.tags.form.AbstractHtmlElementTag
- ONMOUSEOUT_ATTRIBUTE - Static variable in class org.springframework.web.servlet.tags.form.AbstractHtmlElementTag
- ONMOUSEOVER_ATTRIBUTE - Static variable in class org.springframework.web.servlet.tags.form.AbstractHtmlElementTag
- ONMOUSEUP_ATTRIBUTE - Static variable in class org.springframework.web.servlet.tags.form.AbstractHtmlElementTag
- onRefresh(ApplicationContext) - Method in class org.springframework.web.servlet.DispatcherServlet
-
This implementation calls
DispatcherServlet.initStrategies(org.springframework.context.ApplicationContext)
. - onRefresh(ApplicationContext) - Method in class org.springframework.web.servlet.FrameworkServlet
-
Template method which can be overridden to add servlet-specific refresh work.
- ONSELECT_ATTRIBUTE - Static variable in class org.springframework.web.servlet.tags.form.InputTag
- ONSELECT_ATTRIBUTE - Static variable in class org.springframework.web.servlet.tags.form.TextareaTag
- onStartup(ServletContext) - Method in class org.springframework.web.servlet.support.AbstractDispatcherServletInitializer
- onTimeout(Runnable) - Method in interface org.springframework.web.servlet.function.ServerResponse.SseBuilder
-
Register a callback to be invoked when an SSE request times out.
- onTimeout(Runnable) - Method in class org.springframework.web.servlet.mvc.method.annotation.ResponseBodyEmitter
-
Register code to invoke when the async request times out.
- onWriteTagContent() - Method in class org.springframework.web.servlet.tags.form.AbstractHtmlElementBodyTag
-
Called at the start of
AbstractHtmlElementBodyTag.writeTagContent(org.springframework.web.servlet.tags.form.TagWriter)
allowing subclasses to perform any precondition checks or setup tasks that might be necessary. - onWriteTagContent() - Method in class org.springframework.web.servlet.tags.form.OptionTag
-
Make sure we are under a '
select
' tag before proceeding. - options(RequestMappingInfo.BuilderConfiguration) - Method in interface org.springframework.web.servlet.mvc.method.RequestMappingInfo.Builder
-
Provide additional configuration needed for request mapping purposes.
- OPTIONS(String) - Static method in class org.springframework.web.servlet.function.RequestPredicates
-
Return a
RequestPredicate
that matches if request's HTTP method isOPTIONS
and the givenpattern
matches against the request path. - OPTIONS(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
OPTIONS
requests that match the given pattern. - OPTIONS(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
OPTIONS
requests that match the given pattern and predicate. - OPTIONS(HandlerFunction<ServerResponse>) - Method in interface org.springframework.web.servlet.function.RouterFunctions.Builder
-
Adds a route to the given handler function that handles HTTP
OPTIONS
requests. - OPTIONS(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
OPTIONS
requests that match the given predicate. - OptionsTag - Class in org.springframework.web.servlet.tags.form
-
The
<options>
tag renders a list of HTML 'option' tags. - OptionsTag() - Constructor for class org.springframework.web.servlet.tags.form.OptionsTag
- OptionTag - Class in org.springframework.web.servlet.tags.form
-
The
<option>
tag renders a single HTML 'option'. - OptionTag() - Constructor for class org.springframework.web.servlet.tags.form.OptionTag
- or() - Method in interface org.springframework.web.servlet.function.RequestPredicates.Visitor
-
Receive "middle" notification of a logical OR predicate.
- or(RequestPredicate) - Method in interface org.springframework.web.servlet.function.RequestPredicate
-
Return a composed request predicate that tests against both this predicate OR the
other
predicate. - order(int) - Method in class org.springframework.web.servlet.config.annotation.InterceptorRegistration
-
Specify an order position to be used.
- order(int) - Method in class org.springframework.web.servlet.config.annotation.ViewResolverRegistry
-
ViewResolver's registered through this registry are encapsulated in an instance of
ViewResolverComposite
and follow the order of registration. - org.springframework.web.servlet - package org.springframework.web.servlet
-
Provides servlets that integrate with the application context infrastructure, and the core interfaces and classes for the Spring web MVC framework.
- org.springframework.web.servlet.config - package org.springframework.web.servlet.config
-
Defines the XML configuration namespace for Spring MVC.
- org.springframework.web.servlet.config.annotation - package org.springframework.web.servlet.config.annotation
-
Annotation-based setup for Spring MVC.
- org.springframework.web.servlet.function - package org.springframework.web.servlet.function
-
Provides the types that make up Spring's functional web framework for Servlet environments.
- org.springframework.web.servlet.function.support - package org.springframework.web.servlet.function.support
-
Classes supporting the
org.springframework.web.servlet.function
package. - org.springframework.web.servlet.handler - package org.springframework.web.servlet.handler
-
Provides standard HandlerMapping implementations, including abstract base classes for custom implementations.
- org.springframework.web.servlet.i18n - package org.springframework.web.servlet.i18n
-
Locale support classes for Spring's web MVC framework.
- org.springframework.web.servlet.mvc - package org.springframework.web.servlet.mvc
-
Standard controller implementations for the Servlet MVC framework that comes with Spring.
- org.springframework.web.servlet.mvc.annotation - package org.springframework.web.servlet.mvc.annotation
-
Support package for annotation-based Servlet MVC controllers.
- org.springframework.web.servlet.mvc.condition - package org.springframework.web.servlet.mvc.condition
-
Common MVC logic for matching incoming requests based on conditions.
- org.springframework.web.servlet.mvc.method - package org.springframework.web.servlet.mvc.method
-
Servlet-based infrastructure for handler method processing, building on the
org.springframework.web.method
package. - org.springframework.web.servlet.mvc.method.annotation - package org.springframework.web.servlet.mvc.method.annotation
-
MVC infrastructure for annotation-based handler method processing, building on the
org.springframework.web.method.annotation
package. - org.springframework.web.servlet.mvc.support - package org.springframework.web.servlet.mvc.support
-
Support package for MVC controllers.
- org.springframework.web.servlet.resource - package org.springframework.web.servlet.resource
-
Support classes for serving static resources.
- org.springframework.web.servlet.support - package org.springframework.web.servlet.support
-
Support classes for Spring's web MVC framework.
- org.springframework.web.servlet.tags - package org.springframework.web.servlet.tags
-
This package contains Spring's JSP standard tag library for JSP 2.0+.
- org.springframework.web.servlet.tags.form - package org.springframework.web.servlet.tags.form
-
Spring's form tag library for JSP views in Spring's Web MVC framework.
- org.springframework.web.servlet.theme - package org.springframework.web.servlet.theme
-
Theme support classes for Spring's web MVC framework.
- org.springframework.web.servlet.view - package org.springframework.web.servlet.view
-
Provides standard View and ViewResolver implementations, including abstract base classes for custom implementations.
- org.springframework.web.servlet.view.document - package org.springframework.web.servlet.view.document
-
Support classes for document generation, providing View implementations for PDF and Excel.
- org.springframework.web.servlet.view.feed - package org.springframework.web.servlet.view.feed
-
Support classes for feed generation, providing View implementations for Atom and RSS.
- org.springframework.web.servlet.view.freemarker - package org.springframework.web.servlet.view.freemarker
-
Support classes for the integration of FreeMarker as Spring web view technology.
- org.springframework.web.servlet.view.groovy - package org.springframework.web.servlet.view.groovy
-
Support classes for the integration of Groovy Templates as Spring web view technology.
- org.springframework.web.servlet.view.json - package org.springframework.web.servlet.view.json
-
Support classes for providing a View implementation based on JSON serialization.
- org.springframework.web.servlet.view.script - package org.springframework.web.servlet.view.script
-
Support classes for views based on the JSR-223 script engine abstraction (as included in Java 6+), e.g.
- org.springframework.web.servlet.view.xml - package org.springframework.web.servlet.view.xml
-
Support classes for providing a View implementation based on XML Marshalling.
- org.springframework.web.servlet.view.xslt - package org.springframework.web.servlet.view.xslt
-
Support classes for XSLT, providing a View implementation for XSLT stylesheets.
- ORIGINAL_DEFAULT_THEME_NAME - Static variable in class org.springframework.web.servlet.theme.AbstractThemeResolver
-
Deprecated.Out-of-the-box value for the default theme name: "theme".
- ORIGINAL_DEFAULT_THEME_NAME - Static variable in class org.springframework.web.servlet.theme.CookieThemeResolver
-
Deprecated.The default theme name used if no alternative is provided.
- OUTPUT_FLASH_MAP_ATTRIBUTE - Static variable in class org.springframework.web.servlet.DispatcherServlet
-
Name of request attribute that holds the "output"
FlashMap
with attributes to save for a subsequent request.
P
- PAGE_NOT_FOUND_LOG_CATEGORY - Static variable in class org.springframework.web.servlet.DispatcherServlet
-
Log category to use when no mapped handler is found for a request.
- PAGE_NOT_FOUND_LOG_CATEGORY - Static variable in class org.springframework.web.servlet.mvc.method.annotation.ResponseEntityExceptionHandler
-
Log category to use when no mapped handler is found for a request.
- PAGE_NOT_FOUND_LOG_CATEGORY - Static variable in class org.springframework.web.servlet.mvc.support.DefaultHandlerExceptionResolver
-
Log category to use when no mapped handler is found for a request.
- pageNotFoundLogger - Static variable in class org.springframework.web.servlet.DispatcherServlet
-
Additional logger to use when no mapped handler is found for a request.
- pageNotFoundLogger - Static variable in class org.springframework.web.servlet.mvc.method.annotation.ResponseEntityExceptionHandler
-
Specific logger to use when no mapped handler is found for a request.
- pageNotFoundLogger - Static variable in class org.springframework.web.servlet.mvc.support.DefaultHandlerExceptionResolver
-
Additional logger to use when no mapped handler is found for a request.
- param(String) - Method in interface org.springframework.web.servlet.function.ServerRequest
-
Get the first parameter with the given name, if present.
- param(String, String) - Static method in class org.springframework.web.servlet.function.RequestPredicates
-
Return a
RequestPredicate
that matches if the request's parameter of the given name has the given value. - param(String, String) - Method in interface org.springframework.web.servlet.function.RequestPredicates.Visitor
-
Receive notification of a parameter predicate.
- param(String, String...) - Method in interface org.springframework.web.servlet.function.ServerRequest.Builder
-
Add a parameter with the given name and value.
- param(String, Predicate<String>) - Static method in class org.springframework.web.servlet.function.RequestPredicates
-
Return a
RequestPredicate
that tests the request's parameter of the given name against the given predicate. - Param - Class in org.springframework.web.servlet.tags
-
Bean used to pass name-value pair parameters from a
ParamTag
to aParamAware
tag. - Param() - Constructor for class org.springframework.web.servlet.tags.Param
- ParamAware - Interface in org.springframework.web.servlet.tags
-
Allows implementing tag to utilize nested
spring:param
tags. - ParameterizableViewController - Class in org.springframework.web.servlet.mvc
-
Trivial controller that always returns a pre-configured view and optionally sets the response status code.
- ParameterizableViewController() - Constructor for class org.springframework.web.servlet.mvc.ParameterizableViewController
- parameterName(String) - Method in class org.springframework.web.servlet.config.annotation.ContentNegotiationConfigurer
-
Set the query parameter name to use when
ContentNegotiationConfigurer.favorParameter(boolean)
is on. - params() - Method in interface org.springframework.web.servlet.function.ServerRequest
-
Get all parameters for this request.
- params(String...) - Method in interface org.springframework.web.servlet.mvc.method.RequestMappingInfo.Builder
-
Set the request param conditions.
- params(Consumer<MultiValueMap<String, String>>) - Method in interface org.springframework.web.servlet.function.ServerRequest.Builder
-
Manipulate this request's parameters with the given consumer.
- ParamsRequestCondition - Class in org.springframework.web.servlet.mvc.condition
-
A logical conjunction (
' && '
) request condition that matches a request against a set parameter expressions with syntax defined inRequestMapping.params()
. - ParamsRequestCondition(String...) - Constructor for class org.springframework.web.servlet.mvc.condition.ParamsRequestCondition
-
Create a new instance from the given param expressions.
- ParamTag - Class in org.springframework.web.servlet.tags
-
The
<param>
tag collects name-value parameters and passes them to aParamAware
ancestor in the tag hierarchy. - ParamTag() - Constructor for class org.springframework.web.servlet.tags.ParamTag
- parse(String, SortedSet<CssLinkResourceTransformer.ContentChunkInfo>) - Method in class org.springframework.web.servlet.resource.CssLinkResourceTransformer.AbstractLinkParser
- parse(String, SortedSet<CssLinkResourceTransformer.ContentChunkInfo>) - Method in interface org.springframework.web.servlet.resource.CssLinkResourceTransformer.LinkParser
- parse(Element, ParserContext) - Method in class org.springframework.web.servlet.config.CorsBeanDefinitionParser
- parse(Element, ParserContext) - Method in class org.springframework.web.servlet.config.ViewResolversBeanDefinitionParser
- parseLocaleValue(String) - Method in class org.springframework.web.servlet.i18n.CookieLocaleResolver
-
Parse the given locale value coming from an incoming cookie.
- parseLocaleValue(String) - Method in class org.springframework.web.servlet.i18n.LocaleChangeInterceptor
-
Parse the given locale value as coming from a request parameter.
- PasswordInputTag - Class in org.springframework.web.servlet.tags.form
-
The
<password>
tag renders an HTML 'input' tag with type 'password' using the bound value. - PasswordInputTag() - Constructor for class org.springframework.web.servlet.tags.form.PasswordInputTag
- PATCH(String) - Static method in class org.springframework.web.servlet.function.RequestPredicates
-
Return a
RequestPredicate
that matches if request's HTTP method isPATCH
and the givenpattern
matches against the request path. - PATCH(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
PATCH
requests that match the given pattern. - PATCH(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
PATCH
requests that match the given pattern and predicate. - PATCH(HandlerFunction<ServerResponse>) - Method in interface org.springframework.web.servlet.function.RouterFunctions.Builder
-
Adds a route to the given handler function that handles HTTP
PATCH
requests. - PATCH(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
PATCH
requests that match the given predicate. - path() - Method in interface org.springframework.web.servlet.function.ServerRequest
-
Get the request path.
- path(String) - Static method in class org.springframework.web.servlet.function.RequestPredicates
-
Return a
RequestPredicate
that tests the request path against the given path pattern. - path(String) - Method in interface org.springframework.web.servlet.function.RequestPredicates.Visitor
-
Receive notification of a path predicate.
- path(String, Consumer<RouterFunctions.Builder>) - Method in interface org.springframework.web.servlet.function.RouterFunctions.Builder
-
Route to a built router function if the given path prefix pattern applies.
- path(String, Supplier<RouterFunction<ServerResponse>>) - Method in interface org.springframework.web.servlet.function.RouterFunctions.Builder
-
Route to the supplied router function if the given path prefix pattern applies.
- PATH_VARIABLES - Static variable in interface org.springframework.web.servlet.View
-
Name of the
HttpServletRequest
attribute that contains a Map with path variables. - PATH_WITHIN_HANDLER_MAPPING_ATTRIBUTE - Static variable in interface org.springframework.web.servlet.HandlerMapping
-
Name of the
HttpServletRequest
attribute that contains the path within the handler mapping, in case of a pattern match, or the full relevant URI (typically within the DispatcherServlet's mapping) else. - pathContainer() - Method in interface org.springframework.web.servlet.function.ServerRequest
-
Deprecated.as of 5.3, in favor on
ServerRequest.requestPath()
- pathExtension(String) - Static method in class org.springframework.web.servlet.function.RequestPredicates
-
Return a
RequestPredicate
that matches if the request's path has the given extension. - pathExtension(String) - Method in interface org.springframework.web.servlet.function.RequestPredicates.Visitor
-
Receive notification of a path extension predicate.
- pathExtension(Predicate<String>) - Static method in class org.springframework.web.servlet.function.RequestPredicates
-
Return a
RequestPredicate
that matches if the request's path matches the given predicate. - PathMatchConfigurer - Class in org.springframework.web.servlet.config.annotation
-
Configure path matching options.
- PathMatchConfigurer() - Constructor for class org.springframework.web.servlet.config.annotation.PathMatchConfigurer
- pathMatcher(PathMatcher) - Method in class org.springframework.web.servlet.config.annotation.InterceptorRegistration
-
Configure the PathMatcher to use to match URL paths with against include and exclude patterns.
- PathPatternsRequestCondition - Class in org.springframework.web.servlet.mvc.condition
-
A logical disjunction (' || ') request condition that matches a request against a set of URL path patterns.
- PathPatternsRequestCondition() - Constructor for class org.springframework.web.servlet.mvc.condition.PathPatternsRequestCondition
-
Default constructor resulting in an
""
(empty path) mapping. - PathPatternsRequestCondition(PathPatternParser, String...) - Constructor for class org.springframework.web.servlet.mvc.condition.PathPatternsRequestCondition
-
Constructor with patterns to use.
- pathPredicates(PathPatternParser) - Static method in class org.springframework.web.servlet.function.RequestPredicates
-
Return a function that creates new path-matching
RequestPredicates
from pattern Strings using the givenPathPatternParser
. - PathResourceResolver - Class in org.springframework.web.servlet.resource
-
A simple
ResourceResolver
that tries to find a resource under the given locations matching to the request path. - PathResourceResolver() - Constructor for class org.springframework.web.servlet.resource.PathResourceResolver
- paths(String...) - Method in interface org.springframework.web.servlet.mvc.method.RequestMappingInfo.Builder
-
Set the URL path patterns.
- paths(String...) - Static method in class org.springframework.web.servlet.mvc.method.RequestMappingInfo
-
Create a new
RequestMappingInfo.Builder
with the given paths. - pathVariable(String) - Method in interface org.springframework.web.servlet.function.ServerRequest
-
Get the path variable with the given name, if present.
- PathVariableMapMethodArgumentResolver - Class in org.springframework.web.servlet.mvc.method.annotation
-
Resolves
Map
method arguments annotated with@PathVariable
where the annotation does not specify a path variable name. - PathVariableMapMethodArgumentResolver() - Constructor for class org.springframework.web.servlet.mvc.method.annotation.PathVariableMapMethodArgumentResolver
- PathVariableMethodArgumentResolver - Class in org.springframework.web.servlet.mvc.method.annotation
-
Resolves method arguments annotated with an @
PathVariable
. - PathVariableMethodArgumentResolver() - Constructor for class org.springframework.web.servlet.mvc.method.annotation.PathVariableMethodArgumentResolver
- pathVariables() - Method in interface org.springframework.web.servlet.function.ServerRequest
-
Get all path variables for this request.
- PatternsRequestCondition - Class in org.springframework.web.servlet.mvc.condition
-
A logical disjunction (' || ') request condition that matches a request against a set of URL path patterns.
- PatternsRequestCondition(String...) - Constructor for class org.springframework.web.servlet.mvc.condition.PatternsRequestCondition
-
Constructor with URL patterns which are prepended with "/" if necessary.
- PatternsRequestCondition(String[], boolean, PathMatcher) - Constructor for class org.springframework.web.servlet.mvc.condition.PatternsRequestCondition
-
Variant of
PatternsRequestCondition(String...)
with aPathMatcher
and flag for matching trailing slashes. - PatternsRequestCondition(String[], UrlPathHelper, PathMatcher, boolean) - Constructor for class org.springframework.web.servlet.mvc.condition.PatternsRequestCondition
-
Deprecated.as of 5.3 in favor of
PatternsRequestCondition(String[], boolean, PathMatcher)
. - PatternsRequestCondition(String[], UrlPathHelper, PathMatcher, boolean, boolean) - Constructor for class org.springframework.web.servlet.mvc.condition.PatternsRequestCondition
-
Deprecated.as of 5.2.4. See class-level note in
RequestMappingHandlerMapping
on the deprecation of path extension config options. - PatternsRequestCondition(String[], UrlPathHelper, PathMatcher, boolean, boolean, List<String>) - Constructor for class org.springframework.web.servlet.mvc.condition.PatternsRequestCondition
-
Deprecated.as of 5.2.4. See class-level note in
RequestMappingHandlerMapping
on the deprecation of path extension config options. - permanentRedirect(URI) - Static method in interface org.springframework.web.servlet.function.ServerResponse
-
Create a builder with a 308 Permanent Redirect status and a location header set to the given URI.
- POST(String) - Static method in class org.springframework.web.servlet.function.RequestPredicates
-
Return a
RequestPredicate
that matches if request's HTTP method isPOST
and the givenpattern
matches against the request path. - POST(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
POST
requests that match the given pattern. - POST(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
POST
requests that match the given pattern and predicate. - POST(HandlerFunction<ServerResponse>) - Method in interface org.springframework.web.servlet.function.RouterFunctions.Builder
-
Adds a route to the given handler function that handles HTTP
POST
requests. - POST(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
POST
requests that match the given predicate. - postHandle(HttpServletRequest, HttpServletResponse, Object, ModelAndView) - Method in class org.springframework.web.servlet.handler.MappedInterceptor
- postHandle(HttpServletRequest, HttpServletResponse, Object, ModelAndView) - Method in class org.springframework.web.servlet.handler.WebRequestHandlerInterceptorAdapter
- postHandle(HttpServletRequest, HttpServletResponse, Object, ModelAndView) - Method in interface org.springframework.web.servlet.HandlerInterceptor
-
Interception point after successful execution of a handler.
- postHandle(HttpServletRequest, HttpServletResponse, Object, ModelAndView) - Method in class org.springframework.web.servlet.mvc.WebContentInterceptor
-
This implementation is empty.
- postProcessAfterInitialization(Object, String) - Method in class org.springframework.web.servlet.handler.SimpleServletPostProcessor
- postProcessBeforeDestruction(Object, String) - Method in class org.springframework.web.servlet.handler.SimpleServletPostProcessor
- postProcessBeforeInitialization(Object, String) - Method in class org.springframework.web.servlet.handler.SimpleServletPostProcessor
- postProcessTemplateLoaders(List<TemplateLoader>) - Method in class org.springframework.web.servlet.view.freemarker.FreeMarkerConfigurer
-
This implementation registers an additional ClassTemplateLoader for the Spring-provided macros, added to the end of the list.
- postProcessViewName(String) - Method in class org.springframework.web.servlet.mvc.UrlFilenameViewController
-
Build the full view name based on the given view name as indicated by the URL path.
- postProcessWebApplicationContext(ConfigurableWebApplicationContext) - Method in class org.springframework.web.servlet.FrameworkServlet
-
Post-process the given WebApplicationContext before it is refreshed and activated as context for this servlet.
- preferPathMatcher() - Method in class org.springframework.web.servlet.config.annotation.PathMatchConfigurer
-
Whether to prefer
PathMatcher
. - prefix(String) - Method in class org.springframework.web.servlet.config.annotation.UrlBasedViewResolverRegistration
-
Set the prefix that gets prepended to view names when building a URL.
- PrefixVersionPathStrategy(String) - Constructor for class org.springframework.web.servlet.resource.AbstractVersionStrategy.PrefixVersionPathStrategy
- preHandle(HttpServletRequest, HttpServletResponse, Object) - Method in class org.springframework.web.servlet.handler.ConversionServiceExposingInterceptor
- preHandle(HttpServletRequest, HttpServletResponse, Object) - Method in class org.springframework.web.servlet.handler.MappedInterceptor
- preHandle(HttpServletRequest, HttpServletResponse, Object) - Method in class org.springframework.web.servlet.handler.UserRoleAuthorizationInterceptor
- preHandle(HttpServletRequest, HttpServletResponse, Object) - Method in class org.springframework.web.servlet.handler.WebRequestHandlerInterceptorAdapter
- preHandle(HttpServletRequest, HttpServletResponse, Object) - Method in interface org.springframework.web.servlet.HandlerInterceptor
-
Interception point before the execution of a handler.
- preHandle(HttpServletRequest, HttpServletResponse, Object) - Method in class org.springframework.web.servlet.i18n.LocaleChangeInterceptor
- preHandle(HttpServletRequest, HttpServletResponse, Object) - Method in class org.springframework.web.servlet.mvc.WebContentInterceptor
- preHandle(HttpServletRequest, HttpServletResponse, Object) - Method in class org.springframework.web.servlet.resource.ResourceUrlProviderExposingInterceptor
- preHandle(HttpServletRequest, HttpServletResponse, Object) - Method in class org.springframework.web.servlet.theme.ThemeChangeInterceptor
-
Deprecated.
- prepareForRendering(HttpServletRequest, HttpServletResponse) - Method in class org.springframework.web.servlet.view.InternalResourceView
-
Prepare for rendering, and determine the request dispatcher path to forward to (or to include).
- prepareResponse(HttpServletRequest, HttpServletResponse) - Method in class org.springframework.web.servlet.view.AbstractView
-
Prepare the given response for rendering.
- prepareResponse(HttpServletRequest, HttpServletResponse) - Method in class org.springframework.web.servlet.view.json.AbstractJackson2View
- prepareResponse(HttpServletRequest, HttpServletResponse) - Method in class org.springframework.web.servlet.view.script.ScriptTemplateView
- prepareResponse(HttpServletResponse) - Method in class org.springframework.web.servlet.support.WebContentGenerator
-
Prepare the given response according to the settings of this generator.
- prepareResponse(Exception, HttpServletResponse) - Method in class org.springframework.web.servlet.handler.AbstractHandlerExceptionResolver
-
Prepare the response for the exceptional case.
- prepareWriter(Map<String, Object>, PdfWriter, HttpServletRequest) - Method in class org.springframework.web.servlet.view.document.AbstractPdfView
-
Prepare the given PdfWriter.
- preventCaching(HttpServletResponse) - Method in class org.springframework.web.servlet.handler.AbstractHandlerExceptionResolver
-
Prevents the response from being cached, through setting corresponding HTTP
Cache-Control: no-store
header. - preventCaching(HttpServletResponse) - Method in class org.springframework.web.servlet.support.WebContentGenerator
-
Deprecated.
- principal() - Method in interface org.springframework.web.servlet.function.ServerRequest
-
Get the authenticated user for the request, if any.
- PrincipalMethodArgumentResolver - Class in org.springframework.web.servlet.mvc.method.annotation
-
Resolves an argument of type
Principal
, similar toServletRequestMethodArgumentResolver
but irrespective of whether the argument is annotated or not. - PrincipalMethodArgumentResolver() - Constructor for class org.springframework.web.servlet.mvc.method.annotation.PrincipalMethodArgumentResolver
- processAction(HttpServletRequest, String, String) - Method in interface org.springframework.web.servlet.support.RequestDataValueProcessor
-
Invoked when a new form action is rendered.
- processCandidateBean(String) - Method in class org.springframework.web.servlet.handler.AbstractHandlerMethodMapping
-
Determine the type of the specified candidate bean and call
AbstractHandlerMethodMapping.detectHandlerMethods(java.lang.Object)
if identified as a handler type. - processFieldValue(String, String, String) - Method in class org.springframework.web.servlet.tags.form.AbstractDataBoundFormElementTag
-
Process the given form field through a
RequestDataValueProcessor
instance if one is configured or otherwise returns the same value. - processFormFieldValue(HttpServletRequest, String, String, String) - Method in interface org.springframework.web.servlet.support.RequestDataValueProcessor
-
Invoked when a form field value is rendered.
- processHandlerException(HttpServletRequest, HttpServletResponse, Object, Exception) - Method in class org.springframework.web.servlet.DispatcherServlet
-
Determine an error ModelAndView via the registered HandlerExceptionResolvers.
- processPath(String) - Method in class org.springframework.web.servlet.resource.ResourceHttpRequestHandler
-
Process the given resource path.
- processRequest(HttpServletRequest, HttpServletResponse) - Method in class org.springframework.web.servlet.FrameworkServlet
-
Process this request, publishing an event regardless of the outcome.
- processTemplate(Template, SimpleHash, HttpServletResponse) - Method in class org.springframework.web.servlet.view.freemarker.FreeMarkerView
-
Process the FreeMarker template to the servlet response.
- processUrl(HttpServletRequest, String) - Method in interface org.springframework.web.servlet.support.RequestDataValueProcessor
-
Invoked when a URL is about to be rendered or redirected to.
- produces(String...) - Method in interface org.springframework.web.servlet.mvc.method.RequestMappingInfo.Builder
-
Set the produces conditions.
- ProducesRequestCondition - Class in org.springframework.web.servlet.mvc.condition
-
A logical disjunction (' || ') request condition to match a request's 'Accept' header to a list of media type expressions.
- ProducesRequestCondition(String...) - Constructor for class org.springframework.web.servlet.mvc.condition.ProducesRequestCondition
-
Creates a new instance from "produces" expressions.
- ProducesRequestCondition(String[], String[]) - Constructor for class org.springframework.web.servlet.mvc.condition.ProducesRequestCondition
-
Creates a new instance with "produces" and "header" expressions.
- ProducesRequestCondition(String[], String[], ContentNegotiationManager) - Constructor for class org.springframework.web.servlet.mvc.condition.ProducesRequestCondition
-
Same as
ProducesRequestCondition(String[], String[])
but also accepting aContentNegotiationManager
. - PRODUCIBLE_MEDIA_TYPES_ATTRIBUTE - Static variable in interface org.springframework.web.servlet.HandlerMapping
-
Name of the
HttpServletRequest
attribute that contains the set of producible MediaTypes applicable to the mapped handler. - put(String, Object) - Method in class org.springframework.web.servlet.mvc.support.RedirectAttributesModelMap
- PUT(String) - Static method in class org.springframework.web.servlet.function.RequestPredicates
-
Return a
RequestPredicate
that matches if request's HTTP method isPUT
and the givenpattern
matches against the request path. - PUT(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
PUT
requests that match the given pattern. - PUT(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
PUT
requests that match the given pattern and predicate. - PUT(HandlerFunction<ServerResponse>) - Method in interface org.springframework.web.servlet.function.RouterFunctions.Builder
-
Adds a route to the given handler function that handles HTTP
PUT
requests. - PUT(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
PUT
requests that match the given predicate. - putAll(Map<? extends String, ? extends Object>) - Method in class org.springframework.web.servlet.mvc.support.RedirectAttributesModelMap
Q
- queryProperties(Map<String, Object>) - Method in class org.springframework.web.servlet.view.RedirectView
-
Determine name-value pairs for query strings, which will be stringified, URL-encoded and formatted by
RedirectView.appendQueryProperties(java.lang.StringBuilder, java.util.Map<java.lang.String, java.lang.Object>, java.lang.String)
.
R
- 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
-
Deprecated.as of 6.0, in favor of
ServerResponse.statusCode()
- 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(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.AbstractMessageConverterMethodArgumentResolver
-
Create the method argument value of the expected parameter type by reading from the given request.
- 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
-
Resolves method arguments of type
RedirectAttributes
. - RedirectAttributesMethodArgumentResolver() - Constructor for class org.springframework.web.servlet.mvc.method.annotation.RedirectAttributesMethodArgumentResolver
- RedirectAttributesModelMap - Class in org.springframework.web.servlet.mvc.support
- 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>
(mappedCorsConfiguration
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
-
Register a
DispatcherServlet
against the given servlet context. - registerExtension(String, String) - Method in class org.springframework.web.servlet.resource.EncodedResourceResolver
-
Java config friendly alternative to
EncodedResourceResolver.setExtensions(Map)
. - 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, RequestMappingInfo) - Method in class org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping
-
Register a handler method and its unique mapping.
- registerHandlerMethod(Object, Method, T) - Method in class org.springframework.web.servlet.handler.AbstractHandlerMethodMapping
-
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(RequestMappingInfo, Object, Method) - Method in class org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping
- registerMapping(T, Object, Method) - Method in class org.springframework.web.servlet.handler.AbstractHandlerMethodMapping
-
Register the given mapping.
- 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 theasyncSupported
flag is set depending on the return value ofasyncSupported
a filter mapping is created with dispatcher typesREQUEST
,FORWARD
,INCLUDE
, and conditionallyASYNC
depending on the return value ofasyncSupported
- 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() - Method in interface org.springframework.web.servlet.function.ServerRequest
-
Get the remote address to which this request is connected, if available.
- remoteAddress(InetSocketAddress) - Method in interface org.springframework.web.servlet.function.ServerRequest.Builder
-
Set the remote address of the request.
- removeAttributes() - Method in class org.springframework.web.servlet.tags.form.AbstractHtmlElementBodyTag
-
Called by
AbstractHtmlElementBodyTag.doFinally()
allowing subclasses to remove any attributes from thePageContext
as needed. - removeAttributes() - Method in class org.springframework.web.servlet.tags.form.ErrorsTag
-
Removes any bind status error messages that were previously stored under
this key
in thePageContext.PAGE_SCOPE
. - 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
-
Remove any path extension from the
requestURI
. - 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(String, Object...) - Method in interface org.springframework.web.servlet.function.ServerResponse.BodyBuilder
-
Render the template with the given
name
using the givenmodelAttributes
. - render(String, Map<String, ?>) - Method in interface org.springframework.web.servlet.function.ServerResponse.BodyBuilder
-
Render the template with the given
name
using the givenmodel
. - 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.
- render(ModelAndView, HttpServletRequest, HttpServletResponse) - Method in class org.springframework.web.servlet.DispatcherServlet
-
Render the given ModelAndView.
- 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 istrue
. - 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. - 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. - 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.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
-
Similar to
ContentNegotiationConfigurer.mediaType(java.lang.String, org.springframework.http.MediaType)
but for replacing existing mappings. - 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
-
Name of the request attribute that contains the
ServerRequest
. - REQUEST_CONTEXT_PAGE_ATTRIBUTE - Static variable in class org.springframework.web.servlet.tags.RequestContextAwareTag
-
PageContext
attribute for the page-levelRequestContext
instance. - REQUEST_DATA_VALUE_PROCESSOR_BEAN_NAME - Static variable in class org.springframework.web.servlet.support.RequestContextUtils
-
The name of the bean to use to determine if an implementation of
RequestDataValueProcessor
has been configured. - 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 anHttpEntity
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, 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.
- 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.
- RequestContextAwareTag - Class in org.springframework.web.servlet.tags
-
Superclass for all tags that require a
RequestContext
. - 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
-
Returns a
RequestMappingHandlerAdapter
for processing requests through annotated controller methods. - 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
-
Return a
RequestMappingHandlerMapping
ordered at 0 for mapping requests to annotated controllers. - 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
-
Deprecated.as of 5.3 in favor using
RequestMappingInfo.Builder
viaRequestMappingInfo.paths(String...)
. - RequestMappingInfo(PatternsRequestCondition, RequestMethodsRequestCondition, ParamsRequestCondition, HeadersRequestCondition, ConsumesRequestCondition, ProducesRequestCondition, RequestCondition<?>) - Constructor for class org.springframework.web.servlet.mvc.method.RequestMappingInfo
-
Deprecated.as of 5.3 in favor using
RequestMappingInfo.Builder
viaRequestMappingInfo.paths(String...)
. - RequestMappingInfo(RequestMappingInfo, RequestCondition<?>) - Constructor for class org.springframework.web.servlet.mvc.method.RequestMappingInfo
-
Deprecated.since 5.3 in favor of using
RequestMappingInfo.addCustomCondition(RequestCondition)
. - 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
-
A
HandlerMethodMappingNamingStrategy
forRequestMappingInfo
-based handler method mappings. - 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(String, String, PathMatcher) - Constructor for class org.springframework.web.servlet.handler.RequestMatchResult
-
Create an instance with the matched String pattern.
- RequestMatchResult(PathPattern, PathContainer) - Constructor for class org.springframework.web.servlet.handler.RequestMatchResult
-
Create an instance with the matched
PathPattern
. - 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 typeMultipartFile
in conjunction with Spring'sMultipartResolver
abstraction Of typejakarta.servlet.http.Part
in conjunction with Servlet 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
andResponseBodyAdvice
. - 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
-
Represents a function that evaluates on a given
ServerRequest
. - 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 anHttpMessageConverter
. - RequestResponseBodyMethodProcessor(List<HttpMessageConverter<?>>) - Constructor for class org.springframework.web.servlet.mvc.method.annotation.RequestResponseBodyMethodProcessor
-
Basic constructor with converters only.
- 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) - Constructor for class org.springframework.web.servlet.mvc.method.annotation.RequestResponseBodyMethodProcessor
-
Basic constructor with converters and
ContentNegotiationManager
. - 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
-
Requires
FreeMarkerView
. - 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.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)
tofalse
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() - 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.
- 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
- 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.LocaleContextResolver
-
Default implementation of
LocaleResolver.resolveLocale(HttpServletRequest)
that delegates toLocaleContextResolver.resolveLocaleContext(HttpServletRequest)
, falling back toServletRequest.getLocale()
if necessary. - resolveLocale(HttpServletRequest) - Method in interface org.springframework.web.servlet.LocaleResolver
-
Resolve the current locale via the given request.
- 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>) - 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. - 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. - 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.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
-
Deprecated.
- resolveThemeName(HttpServletRequest) - Method in class org.springframework.web.servlet.theme.FixedThemeResolver
-
Deprecated.
- resolveThemeName(HttpServletRequest) - Method in class org.springframework.web.servlet.theme.SessionThemeResolver
-
Deprecated.
- resolveThemeName(HttpServletRequest) - Method in interface org.springframework.web.servlet.ThemeResolver
-
Deprecated.Resolve the current theme name via the given request.
- 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.
- 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, 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.
- 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.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, 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.
- 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).
- RESOURCE_URL_PROVIDER_ATTR - Static variable in class org.springframework.web.servlet.resource.ResourceUrlProviderExposingInterceptor
-
Name of the request attribute that holds the
ResourceUrlProvider
. - ResourceBundleViewResolver - Class in org.springframework.web.servlet.view
-
Deprecated.as of 5.3, in favor of Spring's common view resolver variants and/or custom resolver implementations
- 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
-
Create a
ResourceHandlerRegistration
instance. - 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
-
A variant of
ResourceHandlerRegistry(ApplicationContext, ServletContext, ContentNegotiationManager)
that also accepts theUrlPathHelper
used for mapping requests to static resources. - 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
-
Returns the resource lookup function used by
RouterFunctions.resources(String, Resource)
. - 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(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>>) - Method in interface org.springframework.web.servlet.function.RouterFunctions.Builder
-
Route to resources using the provided lookup function.
- 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 itsencodeURL
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
-
Name of the
HttpServletRequest
attribute that contains the response status code. - ResponseBodyAdvice<T> - Interface in org.springframework.web.servlet.mvc.method.annotation
-
Allows customizing the response after the execution of an
@ResponseBody
or aResponseEntity
controller method but before the body is written with anHttpMessageConverter
. - 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
-
Handler for return values of type
ResponseBodyEmitter
and subclasses such asSseEmitter
including the same types wrapped withResponseEntity
. - 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
, andContentNegotiationManager
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 class with an
@ExceptionHandler
method that handles all Spring MVC raised exceptions by returning aResponseEntity
with RFC 7807 formatted error details in the body. - ResponseEntityExceptionHandler() - Constructor for class org.springframework.web.servlet.mvc.method.annotation.ResponseEntityExceptionHandler
- ResponseStatusExceptionResolver - Class in org.springframework.web.servlet.mvc.annotation
-
A
HandlerExceptionResolver
that uses the@ResponseStatus
annotation to map exceptions to HTTP status codes. - 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() - 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<?>) - Method in interface org.springframework.web.servlet.function.RouterFunctions.Visitor
-
Receive notification of a standard predicated route to a handler function.
- 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(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(ServerRequest) - Method in interface org.springframework.web.servlet.function.RouterFunction
-
Return the handler function that matches the given request.
- RouterFunction<T extends ServerResponse> - Interface in org.springframework.web.servlet.function
-
Represents a function that routes to a handler function.
- routerFunctionMapping(FormattingConversionService, ResourceUrlProvider) - Method in class org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport
-
Return a
RouterFunctionMapping
ordered at 3 to map router functions. - RouterFunctionMapping - Class in org.springframework.web.servlet.function.support
-
HandlerMapping
implementation that supportsRouterFunctions
. - 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
-
Create a
RouterFunctionMapping
with the givenRouterFunction
. - 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 aRouterFunction
given aRequestPredicate
andHandlerFunction
, 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
S
- 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 theFlashMapManager
. - 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
- 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 aScriptEngine
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 aScriptTemplateConfigurer
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
-
Convenience subclass of
UrlBasedViewResolver
that supportsScriptTemplateView
and custom subclasses of it. - ScriptTemplateViewResolver() - Constructor for class org.springframework.web.servlet.view.script.ScriptTemplateViewResolver
-
Sets the default
view class
toScriptTemplateViewResolver.requiredViewClass()
: by defaultScriptTemplateView
. - ScriptTemplateViewResolver(String, String) - Constructor for class org.springframework.web.servlet.view.script.ScriptTemplateViewResolver
- 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) - 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.ResponseBodyEmitter
-
Overloaded variant of
ResponseBodyEmitter.send(Object)
that also accepts a MediaType hint for how to serialize the given Object. - 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(Set<ResponseBodyEmitter.DataWithMediaType>) - Method in class org.springframework.web.servlet.mvc.method.annotation.ResponseBodyEmitter
-
Write a set of data and MediaType pairs in a batch.
- 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
-
Represents a typed server-side HTTP response, as returned by a handler function or filter 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
-
Defines the context used during the
ServerResponse.writeTo(HttpServletRequest, HttpServletResponse, Context)
. - 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 requests using PATCH or non-standard HTTP methods (WebDAV).
- 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 anHttpServletRequest
. - 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 registeredHandlerMethodReturnValueHandler
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
-
Variant of
ServletInvocableHandlerMethod(Object, Method)
that also accepts aMessageSource
, e.g. - 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 typeServletRequestDataBinder
. - 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 aNativeWebRequest
fromServletRequestAttributes
. - 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 configured default locale, the request'sAccept-Language
header, or the default locale for the server. - SessionLocaleResolver() - Constructor for class org.springframework.web.servlet.i18n.SessionLocaleResolver
- SessionThemeResolver - Class in org.springframework.web.servlet.theme
-
Deprecated.as of 6.0 in favor of using CSS, without direct replacement
- SessionThemeResolver() - Constructor for class org.springframework.web.servlet.theme.SessionThemeResolver
-
Deprecated.
- 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.
- setAlwaysMustRevalidate(boolean) - Method in class org.springframework.web.servlet.support.WebContentGenerator
-
Deprecated.as of 4.2, in favor of
WebContentGenerator.setCacheControl(org.springframework.http.CacheControl)
- setAlwaysUseFullPath(boolean) - Method in class org.springframework.web.servlet.handler.AbstractHandlerMapping
-
Deprecated.as of 6.0, in favor of using
AbstractHandlerMapping.setUrlPathHelper(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
-
Deprecated.as of 5.3, the path is resolved externally and obtained with
ServletRequestPathUtils.getCachedPathValue(ServletRequest)
- 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.Set a single basename, following
ResourceBundle
conventions. - setBasenames(String...) - Method in class org.springframework.web.servlet.view.ResourceBundleViewResolver
-
Deprecated.Set an array of basenames, each following
ResourceBundle
conventions. - 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.Set the
ClassLoader
to load resource bundles with. - 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
-
Set 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 tonull
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
-
See
ScriptTemplateConfigurer.setCharset(Charset)
documentation. - 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. - 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
-
Deprecated.as of 5.2.4 in favor of using
ResourceHttpRequestHandler.setMediaTypes(Map)
with mappings possibly obtained fromContentNegotiationManager.getMediaTypeMappings()
. - 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 thisFrameworkServlet
. - 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.
- setCookieDomain(String) - Method in class org.springframework.web.servlet.i18n.CookieLocaleResolver
-
Set the cookie "Domain" attribute.
- setCookieHttpOnly(boolean) - Method in class org.springframework.web.servlet.i18n.CookieLocaleResolver
-
Add the "HttpOnly" attribute to the cookie.
- setCookieMaxAge(Integer) - Method in class org.springframework.web.servlet.i18n.CookieLocaleResolver
-
Deprecated.as of 6.0 in favor of
CookieLocaleResolver.setCookieMaxAge(Duration)
- setCookieMaxAge(Duration) - Method in class org.springframework.web.servlet.i18n.CookieLocaleResolver
-
Set the cookie "Max-Age" attribute.
- setCookieName(String) - Method in class org.springframework.web.servlet.i18n.CookieLocaleResolver
-
Deprecated.as of 6.0 in favor of
CookieLocaleResolver(String)
- setCookiePath(String) - Method in class org.springframework.web.servlet.i18n.CookieLocaleResolver
-
Set the cookie "Path" attribute.
- setCookieSameSite(String) - Method in class org.springframework.web.servlet.i18n.CookieLocaleResolver
-
Add the "SameSite" attribute to the cookie.
- setCookieSecure(boolean) - Method in class org.springframework.web.servlet.i18n.CookieLocaleResolver
-
Add the "Secure" attribute to the cookie.
- 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 matchedCorsConfiguration
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 is found. - setDefaultLocaleFunction(Function<HttpServletRequest, Locale>) - Method in class org.springframework.web.servlet.i18n.CookieLocaleResolver
-
Set the function used to determine the default locale for the given request, called if no locale cookie has been found.
- setDefaultLocaleFunction(Function<HttpServletRequest, Locale>) - Method in class org.springframework.web.servlet.i18n.SessionLocaleResolver
-
Set the function used to determine the default locale for the given request, called if no
Locale
session attribute has been 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
-
Deprecated.Set the name of the default theme.
- setDefaultThemeName(String) - Method in class org.springframework.web.servlet.theme.CookieThemeResolver
-
Deprecated.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 is found. - setDefaultTimeZoneFunction(Function<HttpServletRequest, TimeZone>) - Method in class org.springframework.web.servlet.i18n.CookieLocaleResolver
-
Set the function used to determine the default time zone for the given request, called if no locale cookie has been found.
- setDefaultTimeZoneFunction(Function<HttpServletRequest, TimeZone>) - Method in class org.springframework.web.servlet.i18n.SessionLocaleResolver
-
Set the function used to determine the default time zone for the given request, called if no
TimeZone
session attribute has been 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. - 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
-
Set whether this servlet should dispatch an HTTP OPTIONS request to the
FrameworkServlet.doService(jakarta.servlet.http.HttpServletRequest, jakarta.servlet.http.HttpServletResponse)
method. - setDispatchTraceRequest(boolean) - Method in class org.springframework.web.servlet.FrameworkServlet
-
Set whether this servlet should dispatch an HTTP TRACE request to the
FrameworkServlet.doService(jakarta.servlet.http.HttpServletRequest, jakarta.servlet.http.HttpServletResponse)
method. - 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(JsonEncoding) - Method in class org.springframework.web.servlet.view.json.AbstractJackson2View
-
Set the
JsonEncoding
for this view. - setEncoding(String) - Method in class org.springframework.web.servlet.view.freemarker.FreeMarkerView
-
Set the encoding of the FreeMarker template file.
- 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
-
Set the
ScriptEngine
to use by the view. - setEngine(ScriptEngine) - Method in class org.springframework.web.servlet.view.script.ScriptTemplateView
-
See
ScriptTemplateConfigurer.setEngine(ScriptEngine)
documentation. - 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
-
See
ScriptTemplateConfigurer.setEngineName(String)
documentation. - setEngineSupplier(Supplier<ScriptEngine>) - Method in class org.springframework.web.servlet.view.script.ScriptTemplateConfigurer
-
Set the
ScriptEngine
supplier to use by the view, usually used withScriptTemplateConfigurer.setSharedEngine(Boolean)
set tofalse
. - setEngineSupplier(Supplier<ScriptEngine>) - Method in class org.springframework.web.servlet.view.script.ScriptTemplateView
-
See
ScriptTemplateConfigurer.setEngineSupplier(Supplier)
documentation. - 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.
- setExposeModelAttributes(boolean) - Method in class org.springframework.web.servlet.view.RedirectView
-
Set the
exposeModelAttributes
flag which denotes whether 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
-
Deprecated.as of 6.0 without a replacement; once removed, the default model will always be ignored on redirect
- 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
- setItems(Object) - Method in class org.springframework.web.servlet.tags.form.SelectTag
- 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.
- 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.AcceptHeaderLocaleResolver
- setLocale(HttpServletRequest, HttpServletResponse, Locale) - Method in interface org.springframework.web.servlet.LocaleContextResolver
-
Default implementation of
LocaleResolver.setLocale(HttpServletRequest, HttpServletResponse, Locale)
that delegates toLocaleContextResolver.setLocaleContext(HttpServletRequest, HttpServletResponse, LocaleContext)
, using aSimpleLocaleContext
. - 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 currentLocale
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
- setMessageSource(MessageSource) - Method in class org.springframework.web.servlet.mvc.method.annotation.ResponseEntityExceptionHandler
- 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
-
Provide custom
ModelAndViewResolvers
. - 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
-
Deprecated.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
-
Set the property path from the
form object
. - 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
-
Set the
PathPatternParser
to parsepatterns
with for URL path matching. - setPatternParser(PathPatternParser) - Method in class org.springframework.web.servlet.handler.AbstractHandlerMapping
-
Set the
PathPatternParser
to parsepatterns
with for URL path matching. - 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.annotation.RequestMappingHandlerMapping
- setPatternParser(PathPatternParser) - Method in class org.springframework.web.servlet.mvc.method.RequestMappingInfo.BuilderConfiguration
-
Enable use of parsed
PathPattern
s as described inAbstractHandlerMapping.setPatternParser(PathPatternParser)
. - 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
")]}', "
. - 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
-
Deprecated.as of 5.2.4. See class-level note in
RequestMappingHandlerMapping
on the deprecation of path extension config options. - 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
-
Deprecated.as of 6.0, in favor of using
AbstractHandlerMapping.setUrlPathHelper(UrlPathHelper)
- setRemoveSemicolonContent(boolean) - Method in class org.springframework.web.servlet.mvc.AbstractUrlViewController
-
Set if ";" (semicolon) content should be stripped from the request URI.
- 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
-
See
ScriptTemplateConfigurer.setRenderFunction(String)
documentation. - 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
-
See
ScriptTemplateConfigurer.setRenderObject(String)
documentation. - 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
andHttpEntity
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
-
See
ScriptTemplateConfigurer.setResourceLoaderPath(String)
documentation. - 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
-
Configure the list of
ResourceResolvers
to use. - setResourceTransformers(List<ResourceTransformer>) - Method in class org.springframework.web.servlet.resource.ResourceHttpRequestHandler
-
Configure the list of
ResourceTransformers
to use. - 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 returningResponseEntity
but before the body is written to the response with the selectedHttpMessageConverter
. - 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
orResponseEntity
return values are written to the response body. - setResponseContentType(HttpServletRequest, HttpServletResponse) - Method in class org.springframework.web.servlet.view.AbstractView
-
Set the content type of the response to the configured
content type
unless theView.SELECTED_CONTENT_TYPE
request attribute is present and set to a concrete media type. - 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
-
See
ScriptTemplateConfigurer.setScripts(String...)
documentation. - 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
-
Set the
ServletContext
, e.g. - 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.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-localScriptEngine
instances instead of one single shared instance. - setSharedEngine(Boolean) - Method in class org.springframework.web.servlet.view.script.ScriptTemplateView
-
See
ScriptTemplateConfigurer.setSharedEngine(Boolean)
documentation. - 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(HttpStatusCode) - Method in class org.springframework.web.servlet.ModelAndView
-
Set the HTTP status to use for the response.
- setStatusCode(HttpStatusCode) - Method in class org.springframework.web.servlet.config.annotation.RedirectViewControllerRegistration
-
Set the specific redirect 3xx status code to use.
- setStatusCode(HttpStatusCode) - Method in class org.springframework.web.servlet.config.annotation.ViewControllerRegistration
-
Set the status code to set on the response.
- setStatusCode(HttpStatusCode) - Method in class org.springframework.web.servlet.mvc.ParameterizableViewController
-
Configure the HTTP status code that this controller should set on the response.
- setStatusCode(HttpStatusCode) - 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 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 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 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
-
Deprecated.as of 5.2.4. See deprecation note on
RequestMappingHandlerMapping.setUseSuffixPatternMatch(boolean)
. - setSupportedLocales(List<Locale>) - Method in class org.springframework.web.servlet.i18n.AcceptHeaderLocaleResolver
-
Configure the list of supported locales to compare and match against
requested locales
. - 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 aCallable
. - 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
-
Deprecated.
- setThemeName(HttpServletRequest, HttpServletResponse, String) - Method in class org.springframework.web.servlet.theme.FixedThemeResolver
-
Deprecated.
- setThemeName(HttpServletRequest, HttpServletResponse, String) - Method in class org.springframework.web.servlet.theme.SessionThemeResolver
-
Deprecated.
- setThemeName(HttpServletRequest, HttpServletResponse, String) - Method in interface org.springframework.web.servlet.ThemeResolver
-
Deprecated.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.
- setTimeZoneAttributeName(String) - Method in class org.springframework.web.servlet.i18n.SessionLocaleResolver
-
Specify the name of the corresponding attribute in the
HttpSession
, holding the currentTimeZone
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
-
Deprecated.as of 6.0, see
PathPatternParser.setMatchOptionalTrailingSeparator(boolean)
- 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
-
Deprecated.as of 6.0, in favor of using
AbstractHandlerMapping.setUrlPathHelper(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
-
Deprecated.as of 5.3, the path is resolved externally and obtained with
ServletRequestPathUtils.getCachedPathValue(ServletRequest)
- 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
-
Deprecated.as of 5.3, the path is resolved externally and obtained with
ServletRequestPathUtils.getCachedPathValue(ServletRequest)
- setUrlPathHelper(UrlPathHelper) - Method in class org.springframework.web.servlet.mvc.WebContentInterceptor
-
Deprecated.as of 5.3, the path is resolved externally and obtained with
ServletRequestPathUtils.getCachedPathValue(ServletRequest)
- 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
-
Configure a
UrlPathHelper
to use inResourceUrlProvider.getForRequestUrl(jakarta.servlet.http.HttpServletRequest, String)
in order to derive the lookup path for a target request URL path. - 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.
- setUseCacheControlHeader(boolean) - Method in class org.springframework.web.servlet.support.WebContentGenerator
-
Deprecated.as of 4.2, since going forward, the HTTP 1.1 cache-control header will be required, with the HTTP 1.0 headers disappearing
- setUseCacheControlNoStore(boolean) - Method in class org.springframework.web.servlet.support.WebContentGenerator
-
Deprecated.as of 4.2, in favor of
WebContentGenerator.setCacheControl(org.springframework.http.CacheControl)
- setUseExpiresHeader(boolean) - Method in class org.springframework.web.servlet.support.WebContentGenerator
-
Deprecated.as of 4.2, since going forward, the HTTP 1.1 cache-control header will be required, with the HTTP 1.0 headers disappearing
- 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. - 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.mvc.method.annotation.RequestMappingHandlerMapping
-
Deprecated.as of 5.2.4. See class level note on the deprecation of path extension config options.
- setUseRegisteredSuffixPatternMatch(Boolean) - Method in class org.springframework.web.servlet.config.annotation.PathMatchConfigurer
-
Deprecated.as of 5.2.4. See class-level note in
RequestMappingHandlerMapping
on the deprecation of path extension config options. - 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.mvc.method.annotation.RequestMappingHandlerMapping
-
Deprecated.as of 5.2.4. See class level note on the deprecation of path extension config options. As there is no replacement for this method, in 5.2.x it is necessary to set it to
false
. In 5.3 the default changes tofalse
and use of this property becomes unnecessary. - setUseSuffixPatternMatch(Boolean) - Method in class org.springframework.web.servlet.config.annotation.PathMatchConfigurer
-
Deprecated.as of 5.2.4. See class-level note in
RequestMappingHandlerMapping
on the deprecation of path extension config options. As there is no replacement for this method, in 5.2.x it is necessary to set it tofalse
. In 5.3 the default changes tofalse
and use of this property becomes unnecessary. - setUseTrailingSlashMatch(boolean) - Method in class org.springframework.web.servlet.handler.AbstractUrlHandlerMapping
-
Deprecated.as of 6.0, see
PathPatternParser.setMatchOptionalTrailingSeparator(boolean)
- setUseTrailingSlashMatch(boolean) - Method in class org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping
-
Deprecated.as of 6.0, see
PathPatternParser.setMatchOptionalTrailingSeparator(boolean)
- setUseTrailingSlashMatch(Boolean) - Method in class org.springframework.web.servlet.config.annotation.PathMatchConfigurer
-
Deprecated.as of 6.0, see
PathPatternParser.setMatchOptionalTrailingSeparator(boolean)
- 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(Object) - Method in class org.springframework.web.servlet.tags.form.OptionTag
-
Set the 'value' attribute of the rendered HTML
<option>
tag. - 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.form.ButtonTag
-
Set the value of the '
value
' attribute. - 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(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 theHandlerMethod
. - 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
-
Returns a
SimpleControllerHandlerAdapter
for processing requests with interface-based controllers. - SimpleControllerHandlerAdapter - Class in org.springframework.web.servlet.mvc
-
Adapter to use the plain
Controller
workflow interface with the genericDispatcherServlet
. - 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 theServlet
interface. - SimpleServletPostProcessor() - Constructor for class org.springframework.web.servlet.handler.SimpleServletPostProcessor
- 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.
- 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
-
A specialization of
ResponseBodyEmitter
for sending Server-Sent Events. - 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(int) - Method in interface org.springframework.web.servlet.function.EntityResponse.Builder
-
Set the HTTP status.
- status(int) - Method in interface org.springframework.web.servlet.function.RenderingResponse.Builder
-
Set the HTTP status.
- status(int) - Static method in interface org.springframework.web.servlet.function.ServerResponse
-
Create a builder with the given HTTP status.
- status(HttpStatusCode) - Method in interface org.springframework.web.servlet.function.EntityResponse.Builder
-
Set the HTTP status.
- status(HttpStatusCode) - Method in interface org.springframework.web.servlet.function.RenderingResponse.Builder
-
Set the HTTP status.
- status(HttpStatusCode) - 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
-
Supports return values of type
StreamingResponseBody
and alsoResponseEntity<StreamingResponseBody>
. - 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 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(Object) - Method in class org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter
- supports(MethodParameter, Class<? extends HttpMessageConverter<?>>) - Method in class org.springframework.web.servlet.mvc.method.annotation.AbstractMappingJacksonResponseBodyAdvice
- supports(MethodParameter, Class<? extends HttpMessageConverter<?>>) - Method in class org.springframework.web.servlet.mvc.method.annotation.JsonViewResponseBodyAdvice
- 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(MethodParameter, Type, Class<? extends HttpMessageConverter<?>>) - Method in class org.springframework.web.servlet.mvc.method.annotation.JsonViewRequestBodyAdvice
- 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.
- supportsInternal(HandlerMethod) - Method in class org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter
-
Given a handler method, return whether 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 multipart.
- 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.
T
- TABINDEX_ATTRIBUTE - Static variable in class org.springframework.web.servlet.tags.form.AbstractHtmlElementTag
- TagWriter - Class in org.springframework.web.servlet.tags.form
-
Utility class for writing HTML content to a
Writer
instance. - TagWriter(PageContext) - Constructor for class org.springframework.web.servlet.tags.form.TagWriter
-
Create a new instance of the
TagWriter
class that writes to the suppliedPageContext
. - TagWriter(Writer) - Constructor for class org.springframework.web.servlet.tags.form.TagWriter
- temporaryRedirect(URI) - Static method in interface org.springframework.web.servlet.function.ServerResponse
-
Create a builder with a 307 Temporary Redirect status and a location header set to the given URI.
- test(ServerRequest) - Method in interface org.springframework.web.servlet.function.RequestPredicate
-
Evaluate this predicate on the given request.
- TextareaTag - Class in org.springframework.web.servlet.tags.form
-
The
<textarea>
tag renders an HTML 'textarea'. - TextareaTag() - Constructor for class org.springframework.web.servlet.tags.form.TextareaTag
- THEME_REQUEST_ATTRIBUTE_NAME - Static variable in class org.springframework.web.servlet.theme.CookieThemeResolver
-
Deprecated.Name of the request attribute that holds the theme name.
- THEME_RESOLVER_ATTRIBUTE - Static variable in class org.springframework.web.servlet.DispatcherServlet
-
Deprecated.as of 6.0, with no direct replacement
- THEME_RESOLVER_BEAN_NAME - Static variable in class org.springframework.web.servlet.DispatcherServlet
-
Deprecated.as of 6.0, with no direct replacement
- THEME_SESSION_ATTRIBUTE_NAME - Static variable in class org.springframework.web.servlet.theme.SessionThemeResolver
-
Deprecated.Name of the session attribute that holds the theme name.
- THEME_SOURCE_ATTRIBUTE - Static variable in class org.springframework.web.servlet.DispatcherServlet
-
Deprecated.as of 6.0, with no direct replacement
- ThemeChangeInterceptor - Class in org.springframework.web.servlet.theme
-
Deprecated.as of 6.0 in favor of using CSS, without direct replacement
- ThemeChangeInterceptor() - Constructor for class org.springframework.web.servlet.theme.ThemeChangeInterceptor
-
Deprecated.
- themeResolver() - Method in class org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport
-
Deprecated.
- ThemeResolver - Interface in org.springframework.web.servlet
-
Deprecated.as of 6.0 in favor of using CSS, without direct replacement
- ThemeTag - Class in org.springframework.web.servlet.tags
-
Deprecated.as of 6.0, with no direct replacement
- ThemeTag() - Constructor for class org.springframework.web.servlet.tags.ThemeTag
-
Deprecated.
- TIME_ZONE_REQUEST_ATTRIBUTE_NAME - Static variable in class org.springframework.web.servlet.i18n.CookieLocaleResolver
-
The name of the request attribute that holds the
TimeZone
. - TIME_ZONE_SESSION_ATTRIBUTE_NAME - Static variable in class org.springframework.web.servlet.i18n.SessionLocaleResolver
-
Default name of the session attribute that holds the TimeZone.
- TITLE_ATTRIBUTE - Static variable in class org.springframework.web.servlet.tags.form.AbstractHtmlElementTag
- toAbsolutePath(String, HttpServletRequest) - Method in class org.springframework.web.servlet.resource.ResourceTransformerSupport
-
Transform the given relative request path to an absolute path, taking the path of the given request as a point of reference.
- toLocaleValue(Locale) - Method in class org.springframework.web.servlet.i18n.CookieLocaleResolver
-
Render the given locale as a text value for inclusion in a cookie.
- toString() - Method in class org.springframework.web.servlet.FlashMap
- toString() - Method in class org.springframework.web.servlet.HandlerExecutionChain
-
Delegates to the handler's
toString()
implementation. - toString() - Method in class org.springframework.web.servlet.ModelAndView
-
Return diagnostic information about this model and view.
- toString() - Method in class org.springframework.web.servlet.mvc.condition.AbstractRequestCondition
- toString() - Method in class org.springframework.web.servlet.mvc.method.annotation.ResponseBodyEmitter
- toString() - Method in class org.springframework.web.servlet.mvc.method.annotation.SseEmitter
- toString() - Method in class org.springframework.web.servlet.mvc.method.RequestMappingInfo
- toString() - Method in class org.springframework.web.servlet.mvc.ParameterizableViewController
- toString() - Method in class org.springframework.web.servlet.resource.ResourceHttpRequestHandler
- toString() - Method in class org.springframework.web.servlet.support.BindStatus
- toString() - Method in class org.springframework.web.servlet.tags.Param
- toString() - Method in class org.springframework.web.servlet.view.AbstractUrlBasedView
- toString() - Method in class org.springframework.web.servlet.view.AbstractView
- transform(HttpServletRequest, Resource) - Method in interface org.springframework.web.servlet.resource.ResourceTransformerChain
-
Transform the given resource.
- transform(HttpServletRequest, Resource, ResourceTransformerChain) - Method in class org.springframework.web.servlet.resource.CachingResourceTransformer
- transform(HttpServletRequest, Resource, ResourceTransformerChain) - Method in class org.springframework.web.servlet.resource.CssLinkResourceTransformer
- transform(HttpServletRequest, Resource, ResourceTransformerChain) - Method in interface org.springframework.web.servlet.resource.ResourceTransformer
-
Transform the given resource.
- TransformedResource - Class in org.springframework.web.servlet.resource
-
An extension of
ByteArrayResource
that aResourceTransformer
can use to represent an original resource preserving all other information except the content. - TransformedResource(Resource, byte[]) - Constructor for class org.springframework.web.servlet.resource.TransformedResource
- transformPath(String) - Method in class org.springframework.web.servlet.view.DefaultRequestToViewNameTranslator
-
Transform the request URI (in the context of the webapp) stripping slashes and extensions, and replacing the separator as required.
- TransformTag - Class in org.springframework.web.servlet.tags
-
The
<transform>
tag provides transformation for reference data values from controllers and other objects inside aspring:bind
tag (or a data-bound form element tag from Spring's form tag library). - TransformTag() - Constructor for class org.springframework.web.servlet.tags.TransformTag
U
- unknown(RequestPredicate) - Method in interface org.springframework.web.servlet.function.RequestPredicates.Visitor
-
Receive first notification of an unknown predicate.
- unknown(RouterFunction<?>) - Method in interface org.springframework.web.servlet.function.RouterFunctions.Visitor
-
Receive notification of an unknown router function.
- unprocessableEntity() - Static method in interface org.springframework.web.servlet.function.ServerResponse
-
Create a builder with a 422 Unprocessable Entity status.
- unregisterMapping(T) - Method in class org.springframework.web.servlet.handler.AbstractHandlerMethodMapping
-
Un-register the given mapping.
- UNRESOLVED - Static variable in interface org.springframework.web.servlet.mvc.annotation.ModelAndViewResolver
-
Marker to be returned when the resolver does not know how to handle the given method parameter.
- updateContentLength - Variable in class org.springframework.web.servlet.view.json.AbstractJackson2View
- updateFlashMaps(List<FlashMap>, HttpServletRequest, HttpServletResponse) - Method in class org.springframework.web.servlet.support.AbstractFlashMapManager
-
Update the FlashMap instances in the underlying storage.
- updateFlashMaps(List<FlashMap>, HttpServletRequest, HttpServletResponse) - Method in class org.springframework.web.servlet.support.SessionFlashMapManager
-
Saves the given FlashMap instances in the HTTP session.
- updateTargetUrl(String, Map<String, Object>, HttpServletRequest, HttpServletResponse) - Method in class org.springframework.web.servlet.view.RedirectView
-
Find the registered
RequestDataValueProcessor
, if any, and allow it to update the redirect target URL. - uri() - Method in interface org.springframework.web.servlet.function.ServerRequest
-
Get the request URI.
- uri(URI) - Method in interface org.springframework.web.servlet.function.ServerRequest.Builder
-
Set the URI of the request.
- URI_TEMPLATE_VARIABLES_ATTRIBUTE - Static variable in class org.springframework.web.servlet.function.RouterFunctions
-
Name of the request attribute that contains the URI templates map, mapping variable names to values.
- URI_TEMPLATE_VARIABLES_ATTRIBUTE - Static variable in interface org.springframework.web.servlet.HandlerMapping
-
Name of the
HttpServletRequest
attribute that contains the URI templates map, mapping variable names to values. - uriBuilder() - Method in interface org.springframework.web.servlet.function.ServerRequest
-
Get a
UriBuilderComponents
from the URI associated with thisServerRequest
. - UriComponentsBuilderMethodArgumentResolver - Class in org.springframework.web.servlet.mvc.method.annotation
-
Resolvers argument values of type
UriComponentsBuilder
. - UriComponentsBuilderMethodArgumentResolver() - Constructor for class org.springframework.web.servlet.mvc.method.annotation.UriComponentsBuilderMethodArgumentResolver
- UrlBasedViewResolver - Class in org.springframework.web.servlet.view
-
Simple implementation of the
ViewResolver
interface, allowing for direct resolution of symbolic view names to URLs, without explicit mapping definitions. - UrlBasedViewResolver() - Constructor for class org.springframework.web.servlet.view.UrlBasedViewResolver
- UrlBasedViewResolverRegistration - Class in org.springframework.web.servlet.config.annotation
-
Assist with configuring a
UrlBasedViewResolver
. - UrlBasedViewResolverRegistration(UrlBasedViewResolver) - Constructor for class org.springframework.web.servlet.config.annotation.UrlBasedViewResolverRegistration
- urlEncode(String, String) - Method in class org.springframework.web.servlet.view.RedirectView
-
URL-encode the given input String with the given encoding scheme.
- UrlFilenameViewController - Class in org.springframework.web.servlet.mvc
-
Simple
Controller
implementation that transforms the virtual path of a URL into a view name and returns that view. - UrlFilenameViewController() - Constructor for class org.springframework.web.servlet.mvc.UrlFilenameViewController
- UrlTag - Class in org.springframework.web.servlet.tags
-
The
<url>
tag creates URLs. - UrlTag() - Constructor for class org.springframework.web.servlet.tags.UrlTag
- useInclude(HttpServletRequest, HttpServletResponse) - Method in class org.springframework.web.servlet.mvc.ServletForwardingController
-
Determine whether to use RequestDispatcher's
include
orforward
method. - useInclude(HttpServletRequest, HttpServletResponse) - Method in class org.springframework.web.servlet.view.InternalResourceView
-
Determine whether to use RequestDispatcher's
include
orforward
method. - useJaf(boolean) - Method in class org.springframework.web.servlet.config.annotation.ContentNegotiationConfigurer
-
Deprecated.as of 5.0, in favor of
ContentNegotiationConfigurer.useRegisteredExtensionsOnly(boolean)
which has reverse behavior - useRegisteredExtensionsOnly(boolean) - Method in class org.springframework.web.servlet.config.annotation.ContentNegotiationConfigurer
-
When
favorPathExtension
is set, this property determines whether to use only registeredMediaType
mappings to resolve a path extension to a specific MediaType. - useRegisteredSuffixPatternMatch() - Method in class org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping
-
Deprecated.as of 5.2.4. See deprecation notice on
RequestMappingHandlerMapping.setUseRegisteredSuffixPatternMatch(boolean)
. - useRegisteredSuffixPatternMatch() - Method in class org.springframework.web.servlet.mvc.method.RequestMappingInfo.BuilderConfiguration
-
Deprecated.as of 5.2.4. See class-level note in
RequestMappingHandlerMapping
on the deprecation of path extension config options. - UserRoleAuthorizationInterceptor - Class in org.springframework.web.servlet.handler
-
Interceptor that checks the authorization of the current user via the user's roles, as evaluated by HttpServletRequest's isUserInRole method.
- UserRoleAuthorizationInterceptor() - Constructor for class org.springframework.web.servlet.handler.UserRoleAuthorizationInterceptor
- usesPathPatterns() - Method in class org.springframework.web.servlet.handler.AbstractHandlerMapping
- usesPathPatterns() - Method in interface org.springframework.web.servlet.HandlerMapping
-
Whether this
HandlerMapping
instance has been enabled to use parsedPathPattern
s in which case theDispatcherServlet
automaticallyparses
theRequestPath
to make it available foraccess
inHandlerMapping
s,HandlerInterceptor
s, and other components. - useSuffixPatternMatch() - Method in class org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping
-
Deprecated.as of 5.2.4. See deprecation notice on
RequestMappingHandlerMapping.setUseSuffixPatternMatch(boolean)
. - useSuffixPatternMatch() - Method in class org.springframework.web.servlet.mvc.method.RequestMappingInfo.BuilderConfiguration
-
Deprecated.as of 5.2.4. See deprecation note on
RequestMappingHandlerMapping.setUseSuffixPatternMatch(boolean)
. - useTrailingSlashMatch() - Method in class org.springframework.web.servlet.handler.AbstractUrlHandlerMapping
-
Whether to match to URLs irrespective of the presence of a trailing slash.
- useTrailingSlashMatch() - Method in class org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping
-
Whether to match to URLs irrespective of the presence of a trailing slash.
- useTrailingSlashMatch() - Method in class org.springframework.web.servlet.mvc.method.RequestMappingInfo.BuilderConfiguration
-
Deprecated.as of 6.0 together with
RequestMappingInfo.BuilderConfiguration.setTrailingSlashMatch(boolean)
V
- validateHandler(Object, HttpServletRequest) - Method in class org.springframework.web.servlet.handler.AbstractUrlHandlerMapping
-
Validate the given handler against the current request.
- validateIfApplicable(WebDataBinder, MethodParameter) - Method in class org.springframework.web.servlet.mvc.method.annotation.AbstractMessageConverterMethodArgumentResolver
-
Validate the binding target if applicable.
- VALUE_VARIABLE_NAME - Static variable in class org.springframework.web.servlet.tags.form.OptionTag
-
The name of the JSP variable used to expose the value for this tag.
- varyBy(String...) - Method in interface org.springframework.web.servlet.function.EntityResponse.Builder
-
Configure one or more request header names (e.g.
- varyBy(String...) - Method in interface org.springframework.web.servlet.function.ServerResponse.HeadersBuilder
-
Configure one or more request header names (e.g.
- VersionPathStrategy - Interface in org.springframework.web.servlet.resource
-
A strategy for extracting and embedding a resource version in its URL path.
- VersionResourceResolver - Class in org.springframework.web.servlet.resource
-
Resolves request paths containing a version string that can be used as part of an HTTP caching strategy in which a resource is cached with a date in the distant future (e.g.
- VersionResourceResolver() - Constructor for class org.springframework.web.servlet.resource.VersionResourceResolver
- VersionStrategy - Interface in org.springframework.web.servlet.resource
-
An extension of
VersionPathStrategy
that adds a method to determine the actual version of aResource
. - View - Interface in org.springframework.web.servlet
-
MVC View for a web interaction.
- VIEW_RESOLVER_BEAN_NAME - Static variable in class org.springframework.web.servlet.config.ViewResolversBeanDefinitionParser
-
The bean name used for the
ViewResolverComposite
. - VIEW_RESOLVER_BEAN_NAME - Static variable in class org.springframework.web.servlet.DispatcherServlet
-
Well-known name for the ViewResolver object in the bean factory for this namespace.
- viewClass(Class<?>) - Method in class org.springframework.web.servlet.config.annotation.UrlBasedViewResolverRegistration
-
Set the view class that should be used to create views.
- viewControllerHandlerMapping(FormattingConversionService, ResourceUrlProvider) - Method in class org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport
-
Return a handler mapping ordered at 1 to map URL paths directly to view names.
- ViewControllerRegistration - Class in org.springframework.web.servlet.config.annotation
-
Assist with the registration of a single view controller.
- ViewControllerRegistration(String) - Constructor for class org.springframework.web.servlet.config.annotation.ViewControllerRegistration
- ViewControllerRegistry - Class in org.springframework.web.servlet.config.annotation
-
Assists with the registration of simple automated controllers pre-configured with status code and/or a view.
- ViewControllerRegistry(ApplicationContext) - Constructor for class org.springframework.web.servlet.config.annotation.ViewControllerRegistry
-
Class constructor with
ApplicationContext
. - ViewMethodReturnValueHandler - Class in org.springframework.web.servlet.mvc.method.annotation
-
Handles return values that are of type
View
. - ViewMethodReturnValueHandler() - Constructor for class org.springframework.web.servlet.mvc.method.annotation.ViewMethodReturnValueHandler
- ViewNameMethodReturnValueHandler - Class in org.springframework.web.servlet.mvc.method.annotation
-
Handles return values of types
void
andString
interpreting them as view name reference. - ViewNameMethodReturnValueHandler() - Constructor for class org.springframework.web.servlet.mvc.method.annotation.ViewNameMethodReturnValueHandler
- viewNames(String...) - Method in class org.springframework.web.servlet.config.annotation.UrlBasedViewResolverRegistration
-
Set the view names (or name patterns) that can be handled by this view resolver.
- viewNameTranslator() - Method in class org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport
- viewResolver - Variable in class org.springframework.web.servlet.config.annotation.UrlBasedViewResolverRegistration
- viewResolver(ViewResolver) - Method in class org.springframework.web.servlet.config.annotation.ViewResolverRegistry
-
Register a
ViewResolver
bean instance. - ViewResolver - Interface in org.springframework.web.servlet
-
Interface to be implemented by objects that can resolve views by name.
- ViewResolverComposite - Class in org.springframework.web.servlet.view
-
A
ViewResolver
that delegates to others. - ViewResolverComposite() - Constructor for class org.springframework.web.servlet.view.ViewResolverComposite
- ViewResolverRegistry - Class in org.springframework.web.servlet.config.annotation
-
Assist with the configuration of a chain of
ViewResolver
instances. - ViewResolverRegistry(ContentNegotiationManager, ApplicationContext) - Constructor for class org.springframework.web.servlet.config.annotation.ViewResolverRegistry
-
Class constructor with
ContentNegotiationManager
andApplicationContext
. - ViewResolversBeanDefinitionParser - Class in org.springframework.web.servlet.config
-
Parses the
view-resolvers
MVC namespace element and registersViewResolver
bean definitions. - ViewResolversBeanDefinitionParser() - Constructor for class org.springframework.web.servlet.config.ViewResolversBeanDefinitionParser
W
- wasCleared() - Method in class org.springframework.web.servlet.ModelAndView
-
Return whether this ModelAndView object is empty as a result of a call to
ModelAndView.clear()
i.e. - WEB_APPLICATION_CONTEXT_ATTRIBUTE - Static variable in class org.springframework.web.servlet.DispatcherServlet
-
Request attribute to hold the current web application context.
- WEB_APPLICATION_CONTEXT_ATTRIBUTE - Static variable in class org.springframework.web.servlet.support.RequestContext
-
Request attribute to hold the current web application context for RequestContext usage.
- WebContentGenerator - Class in org.springframework.web.servlet.support
-
Convenient superclass for any kind of web content generator, like
AbstractController
andWebContentInterceptor
. - WebContentGenerator() - Constructor for class org.springframework.web.servlet.support.WebContentGenerator
-
Create a new WebContentGenerator which supports HTTP methods GET, HEAD and POST by default.
- WebContentGenerator(boolean) - Constructor for class org.springframework.web.servlet.support.WebContentGenerator
-
Create a new WebContentGenerator.
- WebContentGenerator(String...) - Constructor for class org.springframework.web.servlet.support.WebContentGenerator
-
Create a new WebContentGenerator.
- WebContentInterceptor - Class in org.springframework.web.servlet.mvc
-
Handler interceptor that checks the request for supported methods and a required session and prepares the response by applying the configured cache settings.
- WebContentInterceptor() - Constructor for class org.springframework.web.servlet.mvc.WebContentInterceptor
-
Default constructor with
PathPatternParser.defaultInstance
. - WebContentInterceptor(PathPatternParser) - Constructor for class org.springframework.web.servlet.mvc.WebContentInterceptor
-
Constructor with a
PathPatternParser
to parse patterns with. - WebJarsResourceResolver - Class in org.springframework.web.servlet.resource
-
A
ResourceResolver
that delegates to the chain to locate a resource and then attempts to find a matching versioned resource contained in a WebJar JAR file. - WebJarsResourceResolver() - Constructor for class org.springframework.web.servlet.resource.WebJarsResourceResolver
-
Create a
WebJarsResourceResolver
with a defaultWebJarAssetLocator
instance. - WebJarsResourceResolver(WebJarAssetLocator) - Constructor for class org.springframework.web.servlet.resource.WebJarsResourceResolver
-
Create a
WebJarsResourceResolver
with a customWebJarAssetLocator
instance, e.g. - WebMvcConfigurationSupport - Class in org.springframework.web.servlet.config.annotation
-
This is the main class providing the configuration behind the MVC Java config.
- WebMvcConfigurationSupport() - Constructor for class org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport
- WebMvcConfigurer - Interface in org.springframework.web.servlet.config.annotation
-
Defines callback methods to customize the Java-based configuration for Spring MVC enabled via
@EnableWebMvc
. - WebRequestHandlerInterceptorAdapter - Class in org.springframework.web.servlet.handler
-
Adapter that implements the Servlet HandlerInterceptor interface and wraps an underlying WebRequestInterceptor.
- WebRequestHandlerInterceptorAdapter(WebRequestInterceptor) - Constructor for class org.springframework.web.servlet.handler.WebRequestHandlerInterceptorAdapter
-
Create a new WebRequestHandlerInterceptorAdapter for the given WebRequestInterceptor.
- withAttribute(String, Object) - Method in interface org.springframework.web.servlet.function.RouterFunction
-
Return a new routing function with the given attribute.
- withAttribute(String, Object) - Method in interface org.springframework.web.servlet.function.RouterFunctions.Builder
-
Add an attribute with the given name and value to the last route built with this builder.
- withAttributes(Consumer<Map<String, Object>>) - Method in interface org.springframework.web.servlet.function.RouterFunction
-
Return a new routing function with attributes manipulated with the given consumer.
- withAttributes(Consumer<Map<String, Object>>) - Method in interface org.springframework.web.servlet.function.RouterFunctions.Builder
-
Manipulate the attributes of the last route built with the given consumer.
- withController(Class<?>) - Method in class org.springframework.web.servlet.mvc.method.annotation.MvcUriComponentsBuilder
-
An alternative to
MvcUriComponentsBuilder.fromController(Class)
for use with an instance of this class created via a call toMvcUriComponentsBuilder.relativeTo(org.springframework.web.util.UriComponentsBuilder)
. - withMappingName(String) - Method in class org.springframework.web.servlet.mvc.method.annotation.MvcUriComponentsBuilder
-
An alternative to
MvcUriComponentsBuilder.fromMappingName(String)
for use with an instance of this class created viaMvcUriComponentsBuilder.relativeTo(org.springframework.web.util.UriComponentsBuilder)
. - withMethod(Class<?>, Method, Object...) - Method in class org.springframework.web.servlet.mvc.method.annotation.MvcUriComponentsBuilder
-
An alternative to
MvcUriComponentsBuilder.fromMethod(Class, Method, Object...)
for use with an instance of this class created viaMvcUriComponentsBuilder.relativeTo(org.springframework.web.util.UriComponentsBuilder)
. - withMethodCall(Object) - Method in class org.springframework.web.servlet.mvc.method.annotation.MvcUriComponentsBuilder
-
An alternative to
MvcUriComponentsBuilder.fromMethodCall(Object)
for use with an instance of this class created viaMvcUriComponentsBuilder.relativeTo(org.springframework.web.util.UriComponentsBuilder)
. - withMethodName(Class<?>, String, Object...) - Method in class org.springframework.web.servlet.mvc.method.annotation.MvcUriComponentsBuilder
-
An alternative to
MvcUriComponentsBuilder.fromMethodName(Class, String, Object...)
} for use with an instance of this class created viaMvcUriComponentsBuilder.relativeTo(org.springframework.web.util.UriComponentsBuilder)
. - writeAttribute(String) - Method in class org.springframework.web.servlet.tags.form.TagWriter
-
Variant of
TagWriter.writeAttribute(String, String)
for writing empty HTML attributes without a value such asrequired
. - writeAttribute(String, String) - Method in class org.springframework.web.servlet.tags.form.TagWriter
-
Write an HTML attribute with the specified name and value.
- writeBodyContent(String) - Method in class org.springframework.web.servlet.tags.EscapeBodyTag
-
Write the escaped body content to the page.
- writeContent(OutputStream, Object) - Method in class org.springframework.web.servlet.view.json.AbstractJackson2View
-
Write the actual JSON content to the stream.
- writeDefaultAttributes(TagWriter) - Method in class org.springframework.web.servlet.tags.form.AbstractDataBoundFormElementTag
-
Writes the default set of attributes to the supplied
TagWriter
. - writeDefaultAttributes(TagWriter) - Method in class org.springframework.web.servlet.tags.form.AbstractHtmlElementTag
-
Writes the default attributes configured via this base class to the supplied
TagWriter
. - writeMessage(String) - Method in class org.springframework.web.servlet.tags.MessageTag
-
Write the message to the page.
- writeOptionalAttribute(TagWriter, String, String) - Method in class org.springframework.web.servlet.tags.form.AbstractFormTag
-
Optionally writes the supplied value under the supplied attribute name into the supplied
TagWriter
. - writeOptionalAttributes(TagWriter) - Method in class org.springframework.web.servlet.tags.form.AbstractHtmlElementTag
-
Writes the optional attributes configured via this base class to the supplied
TagWriter
. - writeOptionalAttributes(TagWriter) - Method in class org.springframework.web.servlet.tags.form.AbstractHtmlInputElementTag
-
Adds input-specific optional attributes as defined by this base class.
- writeOptionalAttributeValue(String, String) - Method in class org.springframework.web.servlet.tags.form.TagWriter
-
Write an HTML attribute if the supplied value is not
null
or zero length. - writePrefix(JsonGenerator, Object) - Method in class org.springframework.web.servlet.view.json.AbstractJackson2View
-
Write a prefix before the main content.
- writePrefix(JsonGenerator, Object) - Method in class org.springframework.web.servlet.view.json.MappingJackson2JsonView
- writeSuffix(JsonGenerator, Object) - Method in class org.springframework.web.servlet.view.json.AbstractJackson2View
-
Write a suffix after the main content.
- writeTagContent(TagWriter) - Method in class org.springframework.web.servlet.tags.form.AbstractCheckedElementTag
-
Writes the '
input
' element to the suppliedTagWriter
, marking it as 'checked' if appropriate. - writeTagContent(TagWriter) - Method in class org.springframework.web.servlet.tags.form.AbstractFormTag
-
Subclasses should implement this method to perform tag content rendering.
- writeTagContent(TagWriter) - Method in class org.springframework.web.servlet.tags.form.AbstractHtmlElementBodyTag
- writeTagContent(TagWriter) - Method in class org.springframework.web.servlet.tags.form.AbstractMultiCheckedElementTag
-
Renders the '
input type="radio"
' element with the configuredAbstractMultiCheckedElementTag.setItems(Object)
values. - writeTagContent(TagWriter) - Method in class org.springframework.web.servlet.tags.form.AbstractSingleCheckedElementTag
-
Renders the '
input(radio)
' element with the configuredvalue
. - writeTagContent(TagWriter) - Method in class org.springframework.web.servlet.tags.form.ButtonTag
- writeTagContent(TagWriter) - Method in class org.springframework.web.servlet.tags.form.CheckboxesTag
- writeTagContent(TagWriter) - Method in class org.springframework.web.servlet.tags.form.CheckboxTag
- writeTagContent(TagWriter) - Method in class org.springframework.web.servlet.tags.form.FormTag
-
Writes the opening part of the block '
form
' tag and exposes the form object name in thePageContext
. - writeTagContent(TagWriter) - Method in class org.springframework.web.servlet.tags.form.HiddenInputTag
-
Writes the HTML '
input
' tag to the suppliedTagWriter
including the databound value. - writeTagContent(TagWriter) - Method in class org.springframework.web.servlet.tags.form.InputTag
-
Writes the '
input
' tag to the suppliedTagWriter
. - writeTagContent(TagWriter) - Method in class org.springframework.web.servlet.tags.form.LabelTag
-
Writes the opening '
label
' tag and forces a block tag so that body content is written correctly. - writeTagContent(TagWriter) - Method in class org.springframework.web.servlet.tags.form.OptionsTag
- writeTagContent(TagWriter) - Method in class org.springframework.web.servlet.tags.form.SelectTag
-
Renders the HTML '
select
' tag to the suppliedTagWriter
. - writeTagContent(TagWriter) - Method in class org.springframework.web.servlet.tags.form.TextareaTag
- writeTagDetails(TagWriter) - Method in class org.springframework.web.servlet.tags.form.AbstractSingleCheckedElementTag
-
Write the details for the given primary tag: i.e.
- writeTagDetails(TagWriter) - Method in class org.springframework.web.servlet.tags.form.CheckboxTag
- writeTagDetails(TagWriter) - Method in class org.springframework.web.servlet.tags.form.RadioButtonTag
- writeTo(HttpServletRequest, HttpServletResponse, ServerResponse.Context) - Method in interface org.springframework.web.servlet.function.ServerResponse
-
Write this response to the given servlet response.
- writeTo(OutputStream) - Method in interface org.springframework.web.servlet.mvc.method.annotation.StreamingResponseBody
-
A callback for writing to the response body.
- writeToResponse(HttpServletResponse, ByteArrayOutputStream) - Method in class org.springframework.web.servlet.view.AbstractView
-
Write the given temporary OutputStream to the HTTP response.
- writeValue(TagWriter) - Method in class org.springframework.web.servlet.tags.form.ButtonTag
-
Writes the '
value
' attribute to the suppliedTagWriter
. - writeValue(TagWriter) - Method in class org.springframework.web.servlet.tags.form.InputTag
-
Writes the '
value
' attribute to the suppliedTagWriter
. - writeValue(TagWriter) - Method in class org.springframework.web.servlet.tags.form.PasswordInputTag
- writeWithMessageConverters(T, MethodParameter, ServletServerHttpRequest, ServletServerHttpResponse) - Method in class org.springframework.web.servlet.mvc.method.annotation.AbstractMessageConverterMethodProcessor
-
Writes the given return type to the given output message.
- writeWithMessageConverters(T, MethodParameter, NativeWebRequest) - Method in class org.springframework.web.servlet.mvc.method.annotation.AbstractMessageConverterMethodProcessor
-
Writes the given return value to the given web request.
X
- XmlViewResolver - Class in org.springframework.web.servlet.view
-
Deprecated.as of 5.3, in favor of Spring's common view resolver variants and/or custom resolver implementations
- XmlViewResolver() - Constructor for class org.springframework.web.servlet.view.XmlViewResolver
-
Deprecated.
- XsltView - Class in org.springframework.web.servlet.view.xslt
-
XSLT-driven View that allows for response context to be rendered as the result of an XSLT transformation.
- XsltView() - Constructor for class org.springframework.web.servlet.view.xslt.XsltView
- XsltViewResolver - Class in org.springframework.web.servlet.view.xslt
-
ViewResolver
implementation that resolves instances ofXsltView
by translating the supplied view name into the URL of the XSLT stylesheet. - XsltViewResolver() - Constructor for class org.springframework.web.servlet.view.xslt.XsltViewResolver
-
This resolver requires
XsltView
.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form