Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- AbstractAnnotationConfigDispatcherServletInitializer - Class in org.springframework.web.servlet.support
-
WebApplicationInitializerto register aDispatcherServletand use Java-based Spring configuration. - AbstractAnnotationConfigDispatcherServletInitializer() - Constructor for class org.springframework.web.servlet.support.AbstractAnnotationConfigDispatcherServletInitializer
- AbstractAtomFeedView - Class in org.springframework.web.servlet.view.feed
-
Deprecated, for removal: This API element is subject to removal in a future version.
- AbstractAtomFeedView() - Constructor for class org.springframework.web.servlet.view.feed.AbstractAtomFeedView
-
Deprecated.
- AbstractCachingViewResolver - Class in org.springframework.web.servlet.view
-
Convenient base class for
ViewResolverimplementations. - 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
HandlerMappinginterface, 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
WebApplicationInitializerimplementations that register aDispatcherServletin the servlet context. - AbstractDispatcherServletInitializer() - Constructor for class org.springframework.web.servlet.support.AbstractDispatcherServletInitializer
- AbstractFeedView<T> - Class in org.springframework.web.servlet.view.feed
-
Deprecated, for removal: This API element is subject to removal in a future version.since 7.0. Libraries or applications can provide their own
Viewclass or perform rendering in web handlers directly. - AbstractFeedView() - Constructor for class org.springframework.web.servlet.view.feed.AbstractFeedView
-
Deprecated.
- AbstractFlashMapManager - Class in org.springframework.web.servlet.support
-
A base class for
FlashMapManagerimplementations. - 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
HandlerExceptionResolverimplementations. - AbstractHandlerExceptionResolver() - Constructor for class org.springframework.web.servlet.handler.AbstractHandlerExceptionResolver
- AbstractHandlerMapping - Class in org.springframework.web.servlet.handler
-
Abstract base class for
HandlerMappingimplementations. - AbstractHandlerMapping() - Constructor for class org.springframework.web.servlet.handler.AbstractHandlerMapping
- AbstractHandlerMethodAdapter - Class in org.springframework.web.servlet.mvc.method
-
Abstract base class for
HandlerAdapterimplementations 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
HandlerExceptionResolverimplementations 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
HandlerMappingimplementations 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
-
Deprecated, for removal: This API element is subject to removal in a future version.since 7.0 in favor of
AbstractJacksonView - AbstractJackson2View(ObjectMapper, String) - Constructor for class org.springframework.web.servlet.view.json.AbstractJackson2View
-
Deprecated.
- AbstractJacksonView - Class in org.springframework.web.servlet.view
-
Abstract base class for Jackson 3.x based and content type independent
AbstractViewimplementations. - AbstractJacksonView(MapperBuilder, String) - Constructor for class org.springframework.web.servlet.view.AbstractJacksonView
- AbstractJacksonView(ObjectMapper, String) - Constructor for class org.springframework.web.servlet.view.AbstractJacksonView
- AbstractLinkParser() - Constructor for class org.springframework.web.servlet.resource.CssLinkResourceTransformer.AbstractLinkParser
- AbstractLocaleContextResolver - Class in org.springframework.web.servlet.i18n
-
Abstract base class for
LocaleContextResolverimplementations. - AbstractLocaleContextResolver() - Constructor for class org.springframework.web.servlet.i18n.AbstractLocaleContextResolver
- AbstractLocaleResolver - Class in org.springframework.web.servlet.i18n
-
Abstract base class for
LocaleResolverimplementations. - 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
ResponseBodyAdviceimplementations that customize the response before JSON serialization withAbstractJacksonHttpMessageConverter's andAbstractJackson2HttpMessageConverter'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) - Constructor for class org.springframework.web.servlet.mvc.method.annotation.AbstractMessageConverterMethodArgumentResolver
-
Basic constructor with converters only.
- AbstractMessageConverterMethodArgumentResolver(List, List) - Constructor for class org.springframework.web.servlet.mvc.method.annotation.AbstractMessageConverterMethodArgumentResolver
-
Constructor with converters and
Request~andResponseBodyAdvice. - AbstractMessageConverterMethodArgumentResolver.ConverterType - Enum Class in org.springframework.web.servlet.mvc.method.annotation
- AbstractMessageConverterMethodProcessor - Class in org.springframework.web.servlet.mvc.method.annotation
-
Extends
AbstractMessageConverterMethodArgumentResolverwith the ability to handle method return values by writing to the response withHttpMessageConverters. - AbstractMessageConverterMethodProcessor(List) - Constructor for class org.springframework.web.servlet.mvc.method.annotation.AbstractMessageConverterMethodProcessor
-
Construct with the provided list of converters only.
- AbstractMessageConverterMethodProcessor(List, ContentNegotiationManager) - Constructor for class org.springframework.web.servlet.mvc.method.annotation.AbstractMessageConverterMethodProcessor
-
Construct with the provided list of converters and
ContentNegotiationManager. - AbstractMessageConverterMethodProcessor(List, ContentNegotiationManager, List) - Constructor for class org.springframework.web.servlet.mvc.method.annotation.AbstractMessageConverterMethodProcessor
-
Variant of
AbstractMessageConverterMethodProcessor(List, ContentNegotiationManager)with an additionalrequestResponseBodyAdvicelist for return value handling. - AbstractMessageConverterMethodProcessor(List, ContentNegotiationManager, List, List) - Constructor for class org.springframework.web.servlet.mvc.method.annotation.AbstractMessageConverterMethodProcessor
-
Variant of
AbstractMessageConverterMethodProcessor(List, ContentNegotiationManager, List)with additional list ofErrorResponse.Interceptors for return value handling. - 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
-
Deprecated, for removal: This API element is subject to removal in a future version.since 7.0. Libraries or applications can provide their own
Viewclass or perform rendering in web handlers directly. - AbstractPdfStamperView() - Constructor for class org.springframework.web.servlet.view.document.AbstractPdfStamperView
-
Deprecated.
- AbstractPdfView - Class in org.springframework.web.servlet.view.document
-
Deprecated, for removal: This API element is subject to removal in a future version.since 7.0. Libraries or applications can provide their own
Viewclass or perform rendering in web handlers directly. - AbstractPdfView() - Constructor for class org.springframework.web.servlet.view.document.AbstractPdfView
-
Deprecated.This constructor sets the appropriate content type "application/pdf".
- AbstractRequestCondition<T> - Class in org.springframework.web.servlet.mvc.condition
-
A base class for
RequestConditiontypes 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
ResourceResolverimplementations. - AbstractResourceResolver() - Constructor for class org.springframework.web.servlet.resource.AbstractResourceResolver
- AbstractRssFeedView - Class in org.springframework.web.servlet.view.feed
-
Deprecated, for removal: This API element is subject to removal in a future version.since 7.0. Libraries or applications can provide their own
Viewclass or perform rendering in web handlers directly. - AbstractRssFeedView() - Constructor for class org.springframework.web.servlet.view.feed.AbstractRssFeedView
-
Deprecated.
- 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
- 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
HandlerMappingimplementations. - AbstractUrlHandlerMapping() - Constructor for class org.springframework.web.servlet.handler.AbstractUrlHandlerMapping
- AbstractUrlViewController - Class in org.springframework.web.servlet.mvc
-
Abstract base class for
Controllersthat 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
VersionStrategyimplementations. - AbstractVersionStrategy(VersionPathStrategy) - Constructor for class org.springframework.web.servlet.resource.AbstractVersionStrategy
- AbstractVersionStrategy.FileNameVersionPathStrategy - Class in org.springframework.web.servlet.resource
-
File name-based
VersionPathStrategy, for example,"path/foo-{version}.css". - AbstractVersionStrategy.PrefixVersionPathStrategy - Class in org.springframework.web.servlet.resource
-
A prefix-based
VersionPathStrategy, for example,"{version}/path/foo.js". - AbstractView - Class in org.springframework.web.servlet.view
-
Abstract base class for
Viewimplementations. - AbstractView() - Constructor for class org.springframework.web.servlet.view.AbstractView
- AbstractXlsView - Class in org.springframework.web.servlet.view.document
-
Deprecated, for removal: This API element is subject to removal in a future version.since 7.0. Libraries or applications can provide their own
Viewclass or perform rendering in web handlers directly. - AbstractXlsView() - Constructor for class org.springframework.web.servlet.view.document.AbstractXlsView
-
Deprecated.Default Constructor.
- AbstractXlsxStreamingView - Class in org.springframework.web.servlet.view.document
-
Deprecated, for removal: This API element is subject to removal in a future version.since 7.0. Libraries or applications can provide their own
Viewclass or perform rendering in web handlers directly. - AbstractXlsxStreamingView() - Constructor for class org.springframework.web.servlet.view.document.AbstractXlsxStreamingView
-
Deprecated.
- AbstractXlsxView - Class in org.springframework.web.servlet.view.document
-
Deprecated, for removal: This API element is subject to removal in a future version.since 7.0. Libraries or applications can provide their own
Viewclass or perform rendering in web handlers directly. - AbstractXlsxView() - Constructor for class org.springframework.web.servlet.view.document.AbstractXlsxView
-
Deprecated.Default Constructor.
- accept() - Method in interface org.springframework.web.servlet.function.ServerRequest.Headers
-
Get the list of acceptable media types, as specified by the
Acceptheader. - accept(MediaType...) - Static method in class org.springframework.web.servlet.function.RequestPredicates
-
Return a
RequestPredicatethat 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-Charsetheader. - 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
-
LocaleResolverimplementation that looks for a match between locales in theAccept-Languageheader 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-Languageheader. - 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) - Method in interface org.springframework.web.servlet.function.RouterFunctions.Builder
-
Adds the given route to this builder.
- addAllAttributes(Collection) - Method in class org.springframework.web.servlet.mvc.support.RedirectAttributesModelMap
- addAllAttributes(Map) - Method in class org.springframework.web.servlet.mvc.support.RedirectAttributesModelMap
- addAllAttributes(Collection) - Method in interface org.springframework.web.servlet.mvc.support.RedirectAttributes
- addAllObjects(Map) - 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) - Method in class org.springframework.web.servlet.config.annotation.DelegatingWebMvcConfiguration
- addArgumentResolvers(List) - Method in class org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport
-
Add custom
HandlerMethodArgumentResolversto use in addition to the ones registered by default. - addArgumentResolvers(List) - 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, ContentNegotiationManager) - Method in class org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport
-
A method available to subclasses for adding default
HandlerExceptionResolvers. - addDefaultHttpMessageConverters(List) - Method in class org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport
-
Deprecated, for removal: This API element is subject to removal in a future version.since 7.0 in favor of
WebMvcConfigurationSupport.createMessageConverters() - addErrorResponseInterceptors(List) - Method in interface org.springframework.web.servlet.config.annotation.WebMvcConfigurer
-
Add to the list of
ErrorResponse.Interceptor's to apply when rendering an RFC 9457ProblemDetailerror response. - 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
Converterand/orFormatterdelegates to the commonFormattingConversionService. - addFormatters(FormatterRegistry) - Method in interface org.springframework.web.servlet.config.annotation.WebMvcConfigurer
-
Add
ConvertersandFormattersin addition to the ones registered by default. - addHeaderPredicate(Predicate) - Method in class org.springframework.web.servlet.mvc.method.annotation.ExtendedServletRequestDataBinder
-
Add a Predicate that filters the header names to use for data binding.
- 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.
- addMappedHandlerClass(Class) - Method in class org.springframework.web.servlet.handler.AbstractHandlerExceptionResolver
- 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) - Method in class org.springframework.web.servlet.config.annotation.InterceptorRegistration
-
List-based variant of
InterceptorRegistration.addPathPatterns(String...). - addPathPrefix(String, Predicate) - 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
Resourcereferences. - addReturnValueHandlers(List) - Method in class org.springframework.web.servlet.config.annotation.DelegatingWebMvcConfiguration
- addReturnValueHandlers(List) - Method in class org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport
-
Add custom
HandlerMethodReturnValueHandlersin addition to the ones registered by default. - addReturnValueHandlers(List) - 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.
- addSupportedVersions(String...) - Method in class org.springframework.web.servlet.config.annotation.ApiVersionConfigurer
-
Add to the list of supported versions to check against before raising
InvalidApiVersionExceptionfor unknown versions. - addTargetRequestParam(String, String) - Method in class org.springframework.web.servlet.FlashMap
-
Provide a request parameter identifying the request for this FlashMap.
- addTargetRequestParams(MultiValueMap) - 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) - 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) - 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) - 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
postHandleandafterCompletionwhen 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
-
Deprecated.
- 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
Configurationif not overridden by a preconfigured FreeMarkerConfiguration. - afterPropertiesSet() - Method in class org.springframework.web.servlet.view.groovy.GroovyMarkupConfigurer
- afterPropertiesSet() - Method in class org.springframework.web.servlet.view.ViewResolverComposite
- all() - Static method in class org.springframework.web.servlet.function.RequestPredicates
-
Return a
RequestPredicatethat always matches. - allHandlerMappingsUsePathPatternParser() - Method in class org.springframework.web.servlet.handler.HandlerMappingIntrospector
-
Deprecated.
- allow(Set) - Method in interface org.springframework.web.servlet.function.EntityResponse.Builder
-
Set the set of allowed
HTTP methods, as specified by theAllowheader. - allow(Set) - Method in interface org.springframework.web.servlet.function.ServerResponse.HeadersBuilder
-
Set the set of allowed
HTTP methods, as specified by theAllowheader. - allow(HttpMethod...) - Method in interface org.springframework.web.servlet.function.EntityResponse.Builder
-
Set the set of allowed
HTTP methods, as specified by theAllowheader. - allow(HttpMethod...) - Method in interface org.springframework.web.servlet.function.ServerResponse.HeadersBuilder
-
Set the set of allowed
HTTP methods, as specified by theAllowheader. - 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, for example,
"GET","POST", etc. - 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.
- allowPrivateNetwork(boolean) - Method in class org.springframework.web.servlet.config.annotation.CorsRegistration
-
Whether private network access is supported.
- 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
otherpredicate. - and(RouterFunction) - Method in interface org.springframework.web.servlet.function.RouterFunction
-
Return a composed routing function that first invokes this function, and then invokes the
otherfunction (of the same response typeT) if this route had no result. - andNest(RequestPredicate, RouterFunction) - 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
otherfunction (of a different response type) if this route had no result. - andRoute(RequestPredicate, HandlerFunction) - 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) - Method in interface org.springframework.web.servlet.function.HandlerFilterFunction
-
Return a composed filter function that first applies this filter, and then applies the
afterfilter. - API_VERSION_ATTRIBUTE - Static variable in interface org.springframework.web.servlet.HandlerMapping
-
Name of the
HttpServletRequestattribute that contains the resolved and parsed API version. - ApiVersionConfigurer - Class in org.springframework.web.servlet.config.annotation
-
Configure API versioning.
- ApiVersionConfigurer() - Constructor for class org.springframework.web.servlet.config.annotation.ApiVersionConfigurer
- ApiVersionMethodArgumentResolver - Class in org.springframework.web.servlet.mvc.method.annotation
-
Resolves argument values of type
SemanticApiVersionParser.Version. - ApiVersionMethodArgumentResolver() - Constructor for class org.springframework.web.servlet.mvc.method.annotation.ApiVersionMethodArgumentResolver
- apiVersionStrategy() - Method in interface org.springframework.web.servlet.function.ServerRequest
-
Return the configured
ApiVersionStrategy, ornull. - 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) - 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) - 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.
- 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
ApplicationContextInitializerinstances 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 givenViewinstance, 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).
- Approach One - Section in class org.springframework.web.servlet.tags.form.CheckboxTag
- Approach Three - Section in class org.springframework.web.servlet.tags.form.CheckboxTag
- Approach Two - Section in class org.springframework.web.servlet.tags.form.CheckboxTag
- 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:argumenttags. - ArgumentTag - Class in org.springframework.web.servlet.tags
-
The
<argument>tag is based on the JSTLfmt:paramtag. - 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
- assertResourceLocation(Resource) - Static method in class org.springframework.web.servlet.resource.ResourceHandlerUtils
-
Assert the given location is not null, and its path ends on slash.
- 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
HandlerInterceptorwith a callback method invoked after the start of asynchronous request handling. - AsyncServerResponse - Interface in org.springframework.web.servlet.function
-
Asynchronous subtype of
ServerResponsethat 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) - Method in interface org.springframework.web.servlet.function.ServerRequest.Builder
-
Manipulate this request's attributes with the given consumer.
- attributes(Map) - 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) - Method in interface org.springframework.web.servlet.function.RouterFunctions.Visitor
-
Receive notification of a router function with attributes.
- Attribute Summary - Section in class org.springframework.web.servlet.tags.BindTag
- Attribute Summary - Section in class org.springframework.web.servlet.tags.form.ButtonTag
- Attribute Summary - Section in class org.springframework.web.servlet.tags.form.CheckboxTag
- Attribute Summary - Section in class org.springframework.web.servlet.tags.form.CheckboxesTag
- Attribute Summary - Section in class org.springframework.web.servlet.tags.form.ErrorsTag
- Attribute Summary - Section in class org.springframework.web.servlet.tags.form.FormTag
- Attribute Summary - Section in class org.springframework.web.servlet.tags.form.HiddenInputTag
- Attribute Summary - Section in class org.springframework.web.servlet.tags.form.InputTag
- Attribute Summary - Section in class org.springframework.web.servlet.tags.form.LabelTag
- Attribute Summary - Section in class org.springframework.web.servlet.tags.form.OptionTag
- Attribute Summary - Section in class org.springframework.web.servlet.tags.form.OptionsTag
- Attribute Summary - Section in class org.springframework.web.servlet.tags.form.PasswordInputTag
- Attribute Summary - Section in class org.springframework.web.servlet.tags.form.RadioButtonTag
- Attribute Summary - Section in class org.springframework.web.servlet.tags.form.RadioButtonsTag
- Attribute Summary - Section in class org.springframework.web.servlet.tags.form.SelectTag
- Attribute Summary - Section in class org.springframework.web.servlet.tags.form.TextareaTag
- 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
FreeMarkerConfigobject via theApplicationContext. - 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.
- BASE - Enum constant in enum class org.springframework.web.servlet.mvc.method.annotation.AbstractMessageConverterMethodArgumentResolver.ConverterType
- 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
Viewbeans. - beanNameHandlerMapping(FormattingConversionService, ResourceUrlProvider) - Method in class org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport
-
Return a
BeanNameUrlHandlerMappingordered at 2 to map URL paths to controller bean names. - BeanNameUrlHandlerMapping - Class in org.springframework.web.servlet.handler
-
Implementation of the
HandlerMappinginterface 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
ViewResolverthat 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) - 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) - Method in class org.springframework.web.servlet.mvc.method.annotation.JsonViewRequestBodyAdvice
- beforeBodyRead(HttpInputMessage, MethodParameter, Type, Class) - 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) - Method in class org.springframework.web.servlet.mvc.method.annotation.RequestBodyAdviceAdapter
-
The default implementation returns the InputMessage that was passed in.
- beforeBodyWrite(T, MethodParameter, MediaType, Class, ServerHttpRequest, ServerHttpResponse) - Method in interface org.springframework.web.servlet.mvc.method.annotation.ResponseBodyAdvice
-
Invoked after an
HttpMessageConverteris selected and just before its write method is invoked. - beforeBodyWrite(Object, MethodParameter, MediaType, Class, ServerHttpRequest, ServerHttpResponse) - Method in class org.springframework.web.servlet.mvc.method.annotation.AbstractMappingJacksonResponseBodyAdvice
- beforeBodyWrite(Object, MethodParameter, MediaType, Class, ServerHttpRequest, ServerHttpResponse) - Method in class org.springframework.web.servlet.mvc.method.annotation.KotlinResponseBodyAdvice
- 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
HttpServletRequestattribute 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
HttpServletRequestattribute that contains the best matching pattern within the handler mapping. - bind(Class) - Method in interface org.springframework.web.servlet.function.ServerRequest
-
Bind to this request and return an instance of the given type.
- bind(Class, Consumer) - Method in interface org.springframework.web.servlet.function.ServerRequest
-
Bind to this request and return an instance of the given type.
- BindErrorsTag - Class in org.springframework.web.servlet.tags
-
This
<hasBindErrors>tag provides anErrorsinstance 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
-
Downcast to
ServletRequestDataBinderto invokebind(ServletRequest). - 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) - 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
Objectand 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) - Method in interface org.springframework.web.servlet.function.ServerRequest
-
Extract the body as an object of the given type.
- body(T, ParameterizedTypeReference) - Method in interface org.springframework.web.servlet.function.ServerResponse.BodyBuilder
-
Set the body of the response to the given
Objectand 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() - Method in interface org.springframework.web.servlet.view.FragmentsRendering.Builder
-
Build a
FragmentsRenderinginstance. - build(ServerResponse.HeadersBuilder.WriteFunction) - 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
ContentNegotiationManagerbased on this configurer's settings. - BuilderConfiguration() - Constructor for class org.springframework.web.servlet.mvc.method.RequestMappingInfo.BuilderConfiguration
- buildExcelDocument(Map, Workbook, HttpServletRequest, HttpServletResponse) - Method in class org.springframework.web.servlet.view.document.AbstractXlsView
-
Deprecated.Application-provided subclasses must implement this method to populate the Excel workbook document, given the model.
- buildFeedEntries(Map, Feed, HttpServletRequest, HttpServletResponse) - Method in class org.springframework.web.servlet.view.feed.AbstractAtomFeedView
-
Deprecated.Invokes
AbstractAtomFeedView.buildFeedEntries(Map, HttpServletRequest, HttpServletResponse)to get a list of feed entries. - buildFeedEntries(Map, Channel, HttpServletRequest, HttpServletResponse) - Method in class org.springframework.web.servlet.view.feed.AbstractRssFeedView
-
Deprecated.Invokes
AbstractRssFeedView.buildFeedItems(Map, HttpServletRequest, HttpServletResponse)to get a list of feed items. - buildFeedEntries(Map, HttpServletRequest, HttpServletResponse) - Method in class org.springframework.web.servlet.view.feed.AbstractAtomFeedView
-
Deprecated.Subclasses must implement this method to build feed entries, given the model.
- buildFeedEntries(Map, T, HttpServletRequest, HttpServletResponse) - Method in class org.springframework.web.servlet.view.feed.AbstractFeedView
-
Deprecated.Subclasses must implement this method to build feed entries, given the model.
- buildFeedItems(Map, HttpServletRequest, HttpServletResponse) - Method in class org.springframework.web.servlet.view.feed.AbstractRssFeedView
-
Deprecated.Subclasses must implement this method to build feed items, given the model.
- buildFeedMetadata(Map, T, HttpServletRequest) - Method in class org.springframework.web.servlet.view.feed.AbstractFeedView
-
Deprecated.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_PRECEDENCEcontaining theDefaultServletHttpRequestHandlerinstance mapped to"/**"; ornullif default servlet handling was not enabled. - buildHandlerMapping() - Method in class org.springframework.web.servlet.config.annotation.ViewControllerRegistry
-
Return the
HandlerMappingthat contains the registered view controller mappings, ornullfor 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) - 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_ATTRIBUTEbefore executing the handler. - buildPdfDocument(Map, Document, PdfWriter, HttpServletRequest, HttpServletResponse) - Method in class org.springframework.web.servlet.view.document.AbstractPdfView
-
Deprecated.Subclasses must implement this method to build an iText PDF document, given the model.
- buildPdfMetadata(Map, Document, HttpServletRequest) - Method in class org.springframework.web.servlet.view.document.AbstractPdfView
-
Deprecated.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, 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-Controlheader. - 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-Controlheader. - 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
ResourceResolverthat resolves resources from aCacheor 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
ResourceTransformerthat checks aCacheto 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
ViewResolvercan 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, PathPatternParser) - Static method in class org.springframework.web.servlet.function.RouterFunctions
-
Changes the
PathPatternParseron the given router function. - 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_ATTRIBUTEthat 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
CorsConfigurationto 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
-
Deprecated.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(VersionRequestCondition) - Method in class org.springframework.web.servlet.mvc.condition.VersionRequestCondition
- 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
@RequestMappingannotation. - 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
-
Deprecated.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(VersionRequestCondition, HttpServletRequest) - Method in class org.springframework.web.servlet.mvc.condition.VersionRequestCondition
- 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 stream.
- complete() - Method in interface org.springframework.web.servlet.function.ServerResponse.StreamBuilder
-
Completes the 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
RequestConditioncontract by delegating to multipleRequestConditiontypes 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
RequestConditiontypes. - computeKey(HttpServletRequest, String) - Method in class org.springframework.web.servlet.resource.CachingResourceResolver
- configureAndRefreshWebApplicationContext(ConfigurableWebApplicationContext) - Method in class org.springframework.web.servlet.FrameworkServlet
- configureApiVersioning(ApiVersionConfigurer) - Method in class org.springframework.web.servlet.config.annotation.DelegatingWebMvcConfiguration
- configureApiVersioning(ApiVersionConfigurer) - Method in class org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport
-
Override this method to configure API versioning.
- configureApiVersioning(ApiVersionConfigurer) - Method in interface org.springframework.web.servlet.config.annotation.WebMvcConfigurer
-
Configure API versioning for the application.
- 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.
- configureErrorResponseInterceptors(List) - Method in class org.springframework.web.servlet.config.annotation.DelegatingWebMvcConfiguration
- configureErrorResponseInterceptors(List) - Method in class org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport
-
Override this method for control over the
ErrorResponse.Interceptor's to apply when rendering error responses. - configureHandlerExceptionResolvers(List) - Method in class org.springframework.web.servlet.config.annotation.DelegatingWebMvcConfiguration
- configureHandlerExceptionResolvers(List) - Method in class org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport
-
Override this method to configure the list of
HandlerExceptionResolversto use. - configureHandlerExceptionResolvers(List) - 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) - Method in class org.springframework.web.servlet.config.annotation.DelegatingWebMvcConfiguration
-
Deprecated, for removal: This API element is subject to removal in a future version.
- configureMessageConverters(List) - Method in class org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport
-
Deprecated, for removal: This API element is subject to removal in a future version.
- configureMessageConverters(List) - Method in interface org.springframework.web.servlet.config.annotation.WebMvcConfigurer
-
Deprecated, for removal: This API element is subject to removal in a future version.since 7.0 in favor of configuring converters on
WebMvcConfigurer.configureMessageConverters(HttpMessageConverters.ServerBuilder) - configureMessageConverters(HttpMessageConverters.ServerBuilder) - Method in class org.springframework.web.servlet.config.annotation.DelegatingWebMvcConfiguration
- configureMessageConverters(HttpMessageConverters.ServerBuilder) - Method in class org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport
-
Override this method to configure the message converters on the given
builder. - configureMessageConverters(HttpMessageConverters.ServerBuilder) - Method in interface org.springframework.web.servlet.config.annotation.WebMvcConfigurer
-
Configure the
HttpMessageConvertersinstance being built. - 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
HandlerMappingpath matching options such as whether to use parsedPathPatternsor String pattern matching withPathMatcher, whether to match trailing slashes, and more. - configureResponse(Map, HttpServletResponse, Transformer) - Method in class org.springframework.web.servlet.view.xslt.XsltView
-
Configure the supplied
HttpServletResponse. - configureTransformer(Map, HttpServletResponse, Transformer) - Method in class org.springframework.web.servlet.view.xslt.XsltView
-
Configure the supplied
Transformerinstance. - 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
Viewimplementations to perform rendering with. - constructAttribute(WebDataBinder, NativeWebRequest) - Method in class org.springframework.web.servlet.mvc.method.annotation.ServletModelAttributeMethodProcessor
-
Downcast to
ServletRequestDataBinderto invokeconstructTarget(ServletRequest). - 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-Lengthheader. - 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-Lengthheader. - 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-Lengthheader. - ContentNegotiatingViewResolver - Class in org.springframework.web.servlet.view
-
Implementation of
ViewResolverthat resolves a view based on the request file name orAcceptheader. - ContentNegotiatingViewResolver() - Constructor for class org.springframework.web.servlet.view.ContentNegotiatingViewResolver
- ContentNegotiationConfigurer - Class in org.springframework.web.servlet.config.annotation
-
Creates a
ContentNegotiationManagerand configures it with one or moreContentNegotiationStrategyinstances. - ContentNegotiationConfigurer() - Constructor for class org.springframework.web.servlet.config.annotation.ContentNegotiationConfigurer
- contentType() - Method in interface org.springframework.web.servlet.function.ServerRequest.Headers
-
Get the media type of the body, as specified by the
Content-Typeheader. - contentType(MediaType) - Method in interface org.springframework.web.servlet.function.EntityResponse.Builder
-
Set the media type of the body, as specified by the
Content-Typeheader. - contentType(MediaType) - Method in interface org.springframework.web.servlet.function.ServerResponse.BodyBuilder
-
Set the media type of the body, as specified by the
Content-Typeheader. - contentType(MediaType...) - Static method in class org.springframework.web.servlet.function.RequestPredicates
-
Return a
RequestPredicatethat 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
VersionStrategythat calculates a Hex MD5 hash from the content of the resource and appends it to the file name, for example,"styles/main-e36d2e05253c6c7085a91522ce43a0b4.css". - 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, ConversionService) - Method in class org.springframework.web.servlet.mvc.method.annotation.PathVariableMethodArgumentResolver
- controller(Class) - 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
HttpServletRequestandHttpServletResponseinstances just like aHttpServletbut is able to participate in an MVC workflow. - ConversionServiceExposingInterceptor - Class in org.springframework.web.servlet.handler
-
Interceptor that places the configured
ConversionServicein 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
-
LocaleResolverimplementation 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-Languageheader, 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) - Method in interface org.springframework.web.servlet.function.EntityResponse.Builder
-
Manipulate this response's cookies with the given consumer.
- cookies(Consumer) - Method in interface org.springframework.web.servlet.function.RenderingResponse.Builder
-
Manipulate this response's cookies with the given consumer.
- cookies(Consumer) - Method in interface org.springframework.web.servlet.function.ServerRequest.Builder
-
Manipulate this request's cookies with the given consumer.
- cookies(Consumer) - Method in interface org.springframework.web.servlet.function.ServerResponse.HeadersBuilder
-
Manipulate this response's cookies with the given consumer.
- copyModelParameters(Map, Transformer) - Method in class org.springframework.web.servlet.view.xslt.XsltView
-
Copy all entries from the supplied Map into the
parameter setof the suppliedTransformer. - copyOutputProperties(Transformer) - Method in class org.springframework.web.servlet.view.xslt.XsltView
-
Copy the configured output
Properties, if any, into theoutput property setof the suppliedTransformer. - CorsBeanDefinitionParser - Class in org.springframework.web.servlet.config
-
BeanDefinitionParserthat parses acorselement in order to set the CORS configuration in the various {AbstractHandlerMapping} beans created byAnnotationDrivenBeanDefinitionParser,ResourcesBeanDefinitionParserandViewControllerBeanDefinitionParser. - 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
CorsConfigurationinstance 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
CorsConfigurationmappings. - CorsRegistry() - Constructor for class org.springframework.web.servlet.config.annotation.CorsRegistry
- create(HttpServletRequest, List) - Static method in interface org.springframework.web.servlet.function.ServerRequest
-
Create a new
ServerRequestbased on the givenHttpServletRequestand message converters. - create(HttpServletRequest, List, ApiVersionStrategy) - Static method in interface org.springframework.web.servlet.function.ServerRequest
-
Create a new
ServerRequestbased on the givenHttpServletRequestand message converters. - create(Object) - Static method in interface org.springframework.web.servlet.function.AsyncServerResponse
-
Create a
AsyncServerResponsewith 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 (for example, URI template variable, request parameter) using type conversion.
- createBinderInstance(Object, String, NativeWebRequest) - Method in class org.springframework.web.servlet.mvc.method.annotation.ServletRequestDataBinderFactory
-
Returns an instance of
ExtendedServletRequestDataBinder. - createCacheFilter() - Method in class org.springframework.web.servlet.handler.HandlerMappingIntrospector
-
Deprecated.
Filterthat looks up theMatchableHandlerMappingandCorsConfigurationfor the request proactively before delegating to the rest of the chain, caching the result in a request attribute, and restoring it after the chain returns. - 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) - 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
HttpInputMessagefrom the givenNativeWebRequest. - createInvocableHandlerMethod(HandlerMethod) - Method in class org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter
-
Create a
ServletInvocableHandlerMethodfrom the givenHandlerMethoddefinition. - createMergedOutputModel(Map, 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. - createMessageConverters() - Method in class org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport
-
Override this method to create a custom
HttpMessageConverters. - 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
-
Create a new
HttpOutputMessagefrom 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
ProblemDetailfor any exception that doesn't implementErrorResponse, also performing aMessageSourcelookup for the "detail" field. - createQueryString(List, Set, 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) - 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
RequestMappingInfofrom the supplied@RequestMappingannotation, meta-annotation, or synthesized result of merging annotation attributes within an annotation hierarchy. - createRequestMappingInfo(HttpExchange, RequestCondition) - Method in class org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping
-
Create a
RequestMappingInfofrom the supplied@HttpExchangeannotation, meta-annotation, or 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
ResponseEntityto use from the given body, headers, and statusCode. - createResult(HttpServletResponse) - Method in class org.springframework.web.servlet.view.xslt.XsltView
-
Create the XSLT
Resultused 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
TagWriterwhich all output will be written to. - createTargetUrl(Map, 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
Transformerinstance used to prefer the XSLT transformation. - createValueResolver(ServletRequest) - Method in class org.springframework.web.servlet.mvc.method.annotation.ExtendedServletRequestDataBinder
- 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
XmlWebApplicationContextor acustom context class, if set. - createWebApplicationContext(WebApplicationContext) - Method in class org.springframework.web.servlet.FrameworkServlet
-
Instantiate the WebApplicationContext for this servlet, either a default
XmlWebApplicationContextor acustom context class, if set. - createWorkbook(Map, HttpServletRequest) - Method in class org.springframework.web.servlet.view.document.AbstractXlsView
-
Deprecated.Template method for creating the POI
Workbookinstance. - createWorkbook(Map, HttpServletRequest) - Method in class org.springframework.web.servlet.view.document.AbstractXlsxStreamingView
-
Deprecated.This implementation creates a
SXSSFWorkbookfor streaming the XLSX format. - createWorkbook(Map, HttpServletRequest) - Method in class org.springframework.web.servlet.view.document.AbstractXlsxView
-
Deprecated.This implementation creates an
XSSFWorkbookfor the XLSX format. - CssLinkResourceTransformer - Class in org.springframework.web.servlet.resource
-
A
ResourceTransformerimplementation that modifies links in a CSS file to match the public URL paths that should be exposed to clients (for example, with an MD5 content-based hash inserted in the URL). - CssLinkResourceTransformer() - Constructor for class org.springframework.web.servlet.resource.CssLinkResourceTransformer
- CssLinkResourceTransformer.AbstractLinkParser - Class in org.springframework.web.servlet.resource
-
Abstract base class for
CssLinkResourceTransformer.LinkParserimplementations. - 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_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.JacksonJsonView
-
Default content type: "application/json".
- DEFAULT_CONTENT_TYPE - Static variable in class org.springframework.web.servlet.view.json.MappingJackson2JsonView
-
Deprecated.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.JacksonXmlView
-
Default content type: "application/xml".
- DEFAULT_CONTENT_TYPE - Static variable in class org.springframework.web.servlet.view.xml.MappingJackson2XmlView
-
Deprecated.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_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
-
Deprecated.The default feed type used.
- 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_SERVLET_NAME - Static variable in class org.springframework.web.servlet.support.AbstractDispatcherServletInitializer
-
The default servlet name.
- 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
ContentNegotiationStrategyto 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
HandlerExceptionResolverinterface, 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
-
RequestToViewNameTranslatorthat 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
DefaultServletHandlerConfigurerinstance. - 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
HttpRequestHandlerfor 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
-
Handler for return values of type
DeferredResultandCompletionStage. - DeferredResultMethodReturnValueHandler() - Constructor for class org.springframework.web.servlet.mvc.method.annotation.DeferredResultMethodReturnValueHandler
- DelegatingWebMvcConfiguration - Class in org.springframework.web.servlet.config.annotation
-
A subclass of
WebMvcConfigurationSupportthat detects and delegates to all beans of typeWebMvcConfigurerallowing 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
RequestPredicatethat matches if request's HTTP method isDELETEand the givenpatternmatches against the request path. - DELETE(String, HandlerFunction) - Method in interface org.springframework.web.servlet.function.RouterFunctions.Builder
-
Adds a route to the given handler function that handles all HTTP
DELETErequests that match the given pattern. - DELETE(String, RequestPredicate, HandlerFunction) - Method in interface org.springframework.web.servlet.function.RouterFunctions.Builder
-
Adds a route to the given handler function that handles all HTTP
DELETErequests that match the given pattern and predicate. - DELETE(HandlerFunction) - Method in interface org.springframework.web.servlet.function.RouterFunctions.Builder
-
Adds a route to the given handler function that handles HTTP
DELETErequests. - DELETE(RequestPredicate, HandlerFunction) - Method in interface org.springframework.web.servlet.function.RouterFunctions.Builder
-
Adds a route to the given handler function that handles all HTTP
DELETErequests 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.
- 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) - Method in class org.springframework.web.servlet.handler.AbstractHandlerMapping
-
Detect beans of type
MappedInterceptorand add them to the list of mapped interceptors. - detectResourceHandlers(ApplicationContext) - Method in class org.springframework.web.servlet.resource.ResourceUrlProvider
- detectSupportedVersions(boolean) - Method in class org.springframework.web.servlet.config.annotation.ApiVersionConfigurer
-
Whether to use versions from mappings for supported version validation.
- determineReadHints(MethodParameter, Type, Class) - Method in class org.springframework.web.servlet.mvc.method.annotation.JsonViewRequestBodyAdvice
- determineReadHints(MethodParameter, Type, Class) - Method in class org.springframework.web.servlet.mvc.method.annotation.KotlinRequestBodyAdvice
- determineReadHints(MethodParameter, Type, Class) - Method in interface org.springframework.web.servlet.mvc.method.annotation.RequestBodyAdvice
-
Invoked to determine read hints if the converter is a
SmartHttpMessageConverter. - 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. - determineWriteHints(T, MethodParameter, MediaType, Class) - Method in interface org.springframework.web.servlet.mvc.method.annotation.ResponseBodyAdvice
-
Invoked to determine write hints if the converter is a
SmartHttpMessageConverter. - determineWriteHints(Object, MethodParameter, MediaType, Class) - Method in class org.springframework.web.servlet.mvc.method.annotation.JsonViewResponseBodyAdvice
- determineWriteHints(Object, MethodParameter, MediaType, Class) - Method in class org.springframework.web.servlet.mvc.method.annotation.KotlinResponseBodyAdvice
- 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, for example, for web UI controllers or HTTP-based remote service exporters.
- DispatcherServlet() - Constructor for class org.springframework.web.servlet.DispatcherServlet
-
Create a new
DispatcherServletthat 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
DispatcherServletwith the given web application context. - DispatcherServletWebRequest - Class in org.springframework.web.servlet.handler
-
ServletWebRequestsubclass 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(HttpServletRequest, 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 bufferedBodyContentor, if noBodyContentis 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
BindStatusinstance. - 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
TagWriterinstance. - 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(HttpServletRequest, 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
-
Delegate POST requests to
FrameworkServlet.processRequest(HttpServletRequest, HttpServletResponse). - doPut(HttpServletRequest, HttpServletResponse) - Method in class org.springframework.web.servlet.FrameworkServlet
-
Delegate PUT requests to
FrameworkServlet.processRequest(HttpServletRequest, HttpServletResponse). - doRender(Map, 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
ModelAndViewthat 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
@ExceptionHandlermethod 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(HttpServletRequest, 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 createdTagWriterto 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(HttpServletRequest, 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
ContentNegotiatingViewResolverto front all other configured view resolvers and select among all selected Views based on media types requested by the client (for example, in the Accept header). - enableContentNegotiation(View...) - Method in class org.springframework.web.servlet.config.annotation.ViewResolverRegistry
-
Enable use of a
ContentNegotiatingViewResolverto front all other configured view resolvers and select among all selected Views based on media types requested by the client (for example, in the Accept header). - EnableWebMvc - Annotation Interface in org.springframework.web.servlet.config.annotation
-
Adding this annotation to an
@Configurationclass imports the Spring MVC configuration fromWebMvcConfigurationSupport, for example: - 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 (for example, gzip, brotli) variant that is acceptable based on the "Accept-Encoding" request header.
- 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
ServerResponsethat 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 stream with the given error.
- error(Throwable) - Method in interface org.springframework.web.servlet.function.ServerResponse.StreamBuilder
-
Completes the 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
ETagheader. - eTag(String) - Method in interface org.springframework.web.servlet.function.ServerResponse.HeadersBuilder
-
Set the entity tag of the body, as specified by the
ETagheader. - 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
HandlerExceptionResolverbut where no view was rendered (for example, setting the status code). - ExceptionHandlerExceptionResolver - Class in org.springframework.web.servlet.mvc.method.annotation
-
An
AbstractHandlerMethodExceptionResolverthat resolves exceptions through@ExceptionHandlermethods. - ExceptionHandlerExceptionResolver() - Constructor for class org.springframework.web.servlet.mvc.method.annotation.ExceptionHandlerExceptionResolver
- excludeHttpMethods(List) - Method in class org.springframework.web.servlet.config.annotation.InterceptorRegistration
-
List-based variant of
InterceptorRegistration.excludeHttpMethods(HttpMethod...). - excludeHttpMethods(HttpMethod...) - Method in class org.springframework.web.servlet.config.annotation.InterceptorRegistration
-
Add HTTP methods for requests the interceptor should be excluded from.
- excludePathPatterns(String...) - Method in class org.springframework.web.servlet.config.annotation.InterceptorRegistration
-
Add patterns for URLs the interceptor should be excluded from.
- excludePathPatterns(List) - 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(TagWriter)allowing subclasses to add any attributes to thePageContextas needed. - exposeAttributes() - Method in class org.springframework.web.servlet.tags.form.ErrorsTag
-
Exposes any bind status error messages under
this keyin 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, 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, 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, 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
ServletRequestDataBinderthat 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) - Method in class org.springframework.web.servlet.config.annotation.DelegatingWebMvcConfiguration
- extendHandlerExceptionResolvers(List) - Method in class org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport
-
Override this method to extend or modify the list of
HandlerExceptionResolversafter it has been configured. - extendHandlerExceptionResolvers(List) - Method in interface org.springframework.web.servlet.config.annotation.WebMvcConfigurer
-
Extending or modify the list of exception resolvers configured by default.
- extendInterceptors(List) - 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(Object...)). - extendMessageConverters(List) - Method in class org.springframework.web.servlet.config.annotation.DelegatingWebMvcConfiguration
-
Deprecated, for removal: This API element is subject to removal in a future version.
- extendMessageConverters(List) - Method in class org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport
-
Deprecated, for removal: This API element is subject to removal in a future version.
- extendMessageConverters(List) - Method in interface org.springframework.web.servlet.config.annotation.WebMvcConfigurer
-
Deprecated, for removal: This API element is subject to removal in a future version.since 7.0 in favor of configuring converters on
WebMvcConfigurer.configureMessageConverters(HttpMessageConverters.ServerBuilder) - 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) - Method in class org.springframework.web.servlet.resource.CssLinkResourceTransformer.AbstractLinkParser
- extractLink(int, String, SortedSet) - 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
-
Deprecated.Extract URI template variables from the matching pattern as defined in
PathPattern.matchAndExtract(PathContainer). - 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.
- FileNameVersionPathStrategy() - Constructor for class org.springframework.web.servlet.resource.AbstractVersionStrategy.FileNameVersionPathStrategy
- filter(HandlerFilterFunction) - Method in interface org.springframework.web.servlet.function.RouterFunctions.Builder
-
Filters all routes created by this builder with the given filter function.
- filter(HandlerFilterFunction) - 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) - 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.
- FILTER_PROVIDER_HINT - Static variable in class org.springframework.web.servlet.view.AbstractJacksonView
- filterAndWrapModel(Map, HttpServletRequest) - Method in class org.springframework.web.servlet.view.json.AbstractJackson2View
-
Deprecated.Filter and optionally wrap the model in
MappingJacksonValuecontainer. - filterModel(Map) - Method in class org.springframework.web.servlet.view.json.AbstractJackson2View
-
Deprecated.Filter out undesired attributes from the given model.
- filterModel(Map) - Method in class org.springframework.web.servlet.view.json.MappingJackson2JsonView
-
Deprecated.Filter out undesired attributes from the given model.
- filterModel(Map) - Method in class org.springframework.web.servlet.view.xml.MappingJackson2XmlView
-
Deprecated.
- filterModel(Map, HttpServletRequest) - Method in class org.springframework.web.servlet.view.AbstractJacksonView
-
Filter out undesired attributes from the given model.
- filterModel(Map, HttpServletRequest) - Method in class org.springframework.web.servlet.view.json.JacksonJsonView
-
Filter out undesired attributes from the given model.
- filterModel(Map, HttpServletRequest) - Method in class org.springframework.web.servlet.view.xml.JacksonXmlView
- 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.LiteWebJarsResourceResolver
- 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
-
LocaleResolverimplementation 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.
- FixedVersionStrategy - Class in org.springframework.web.servlet.resource
-
A
VersionStrategythat relies on a fixed version applied as a request path prefix, for example, reduced SHA, version name, release date, etc. - 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.
- flush() - Method in interface org.springframework.web.servlet.function.ServerResponse.StreamBuilder
-
Flush the buffered response stream content to the network.
- 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).
- fragment(String) - Method in interface org.springframework.web.servlet.view.FragmentsRendering.Builder
-
Add an HTML fragment.
- fragment(String) - Static method in interface org.springframework.web.servlet.view.FragmentsRendering
-
Create a builder with one HTML fragment, also inheriting attributes from the shared model for the request.
- fragment(String, Map) - Method in interface org.springframework.web.servlet.view.FragmentsRendering.Builder
-
Add an HTML fragment.
- fragment(String, Map) - Static method in interface org.springframework.web.servlet.view.FragmentsRendering
-
Create a builder with one HTML fragment.
- fragment(ModelAndView) - Method in interface org.springframework.web.servlet.view.FragmentsRendering.Builder
-
Add an HTML fragment.
- fragments(Collection) - Method in interface org.springframework.web.servlet.view.FragmentsRendering.Builder
-
Add multiple HTML fragments.
- fragments(Collection) - Static method in interface org.springframework.web.servlet.view.FragmentsRendering
-
Create a builder with multiple HTML fragments.
- FragmentsRendering - Interface in org.springframework.web.servlet.view
-
Public API to render HTML fragments.
- FragmentsRendering.Builder - Interface in org.springframework.web.servlet.view
-
Defines a builder for
FragmentsRendering. - 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
FrameworkServletthat 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
FrameworkServletwith 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
Configurationobject in a web environment. - FreeMarkerConfigurer - Class in org.springframework.web.servlet.view.freemarker
-
Bean to configure FreeMarker for web usage, via the "configLocation", "freemarkerSettings", 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 registerFreeMarkerConfigurerbean. - 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
UrlBasedViewResolverthat supportsFreeMarkerView(i.e. - FreeMarkerViewResolver() - Constructor for class org.springframework.web.servlet.view.freemarker.FreeMarkerViewResolver
-
Sets the default
view classtoFreeMarkerViewResolver.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
ServerResponsefrom 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
UriComponentsBuilderfrom 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 aUriComponentsBuilderrepresenting 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 aUriComponentsBuilderrepresenting the base URL. - fromMethod(Class, Method, Object...) - Static method in class org.springframework.web.servlet.mvc.method.annotation.MvcUriComponentsBuilder
-
Create a
UriComponentsBuilderfrom 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 aUriComponentsBuilderrepresenting the base URL. - fromMethodCall(Object) - Static method in class org.springframework.web.servlet.mvc.method.annotation.MvcUriComponentsBuilder
-
Create a
UriComponentsBuilderby 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 aUriComponentsBuilderrepresenting the base URL. - fromMethodName(Class, String, Object...) - Static method in class org.springframework.web.servlet.mvc.method.annotation.MvcUriComponentsBuilder
-
Create a
UriComponentsBuilderfrom 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 aUriComponentsBuilderrepresenting 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) - 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
-
Deprecated.
- generatesDownloadContent() - Method in class org.springframework.web.servlet.view.document.AbstractPdfView
-
Deprecated.
- generatesDownloadContent() - Method in class org.springframework.web.servlet.view.document.AbstractXlsView
-
Deprecated.
- GENERIC - Enum constant in enum class org.springframework.web.servlet.mvc.method.annotation.AbstractMessageConverterMethodArgumentResolver.ConverterType
- GET(String) - Static method in class org.springframework.web.servlet.function.RequestPredicates
-
Return a
RequestPredicatethat matches if request's HTTP method isGETand the givenpatternmatches against the request path. - GET(String, HandlerFunction) - Method in interface org.springframework.web.servlet.function.RouterFunctions.Builder
-
Adds a route to the given handler function that handles all HTTP
GETrequests that match the given pattern. - GET(String, RequestPredicate, HandlerFunction) - Method in interface org.springframework.web.servlet.function.RouterFunctions.Builder
-
Adds a route to the given handler function that handles all HTTP
GETrequests that match the given pattern and predicate. - GET(HandlerFunction) - Method in interface org.springframework.web.servlet.function.RouterFunctions.Builder
-
Adds a route to the given handler function that handles HTTP
GETrequests. - GET(RequestPredicate, HandlerFunction) - Method in interface org.springframework.web.servlet.function.RouterFunctions.Builder
-
Adds a route to the given handler function that handles all HTTP
GETrequests 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 methodsalso 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. - getApiVersionStrategy() - Method in class org.springframework.web.servlet.config.annotation.ApiVersionConfigurer
- getApiVersionStrategy() - Method in class org.springframework.web.servlet.handler.AbstractHandlerMapping
-
Return the configured
ApiVersionStrategystrategy. - getApiVersionStrategy() - Method in class org.springframework.web.servlet.mvc.method.RequestMappingInfo.BuilderConfiguration
-
Return the configured strategy for API versioning.
- 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
RequestMappingHandlerAdapterand theExceptionHandlerExceptionResolver. - getArgumentResolvers() - Method in class org.springframework.web.servlet.mvc.method.annotation.ExceptionHandlerExceptionResolver
-
Return the configured argument resolvers, or possibly
nullif not initialized yet viaExceptionHandlerExceptionResolver.afterPropertiesSet(). - getArgumentResolvers() - Method in class org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter
-
Return the configured argument resolvers, or possibly
nullif 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
Mapaccess 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
Mapaccess 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
nullif 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
BindStatusfor 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 class org.springframework.web.servlet.NoHandlerFoundException
- getBody() - Method in exception class org.springframework.web.servlet.resource.NoResourceFoundException
- 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.BuilderConfigurationthat reflects the internal configuration of thisHandlerMappingand can be used to setRequestMappingInfo.Builder.options(RequestMappingInfo.BuilderConfiguration). - 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
CacheControlinstance 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.
- 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
nullif 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
ConfigurableWebBindingInitializerto use for initializing allWebDataBinderinstances. - getConfiguration() - Method in interface org.springframework.web.servlet.view.freemarker.FreeMarkerConfig
-
Return the FreeMarker
Configurationobject for the current web application context. - getConfiguration() - Method in class org.springframework.web.servlet.view.freemarker.FreeMarkerConfigurer
-
Return the
Configurationobject wrapped by this bean. - getConfiguration() - Method in class org.springframework.web.servlet.view.freemarker.FreeMarkerView
-
Return the FreeMarker
Configurationused 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
-
Deprecated.
- 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
- getContent() - Method in class org.springframework.web.servlet.mvc.condition.VersionRequestCondition
- 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.view.ContentNegotiatingViewResolver
-
Return the
ContentNegotiationManagerto use to determine requested media types. - getContentNegotiationManager(ParserContext) - Static method in class org.springframework.web.servlet.config.MvcNamespaceUtils
-
Find the
ContentNegotiationManagerbean created by or registered with theannotation-drivenelement. - 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
WebApplicationContextthat 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) - 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.
- getCorsConfig() - Method in class org.springframework.web.servlet.handler.HandlerMappingIntrospector.CachedResult
-
Deprecated.
- getCorsConfiguration() - Method in class org.springframework.web.servlet.config.annotation.CorsRegistration
- getCorsConfiguration(HttpServletRequest) - Method in class org.springframework.web.servlet.handler.HandlerMappingIntrospector
-
Deprecated.
- 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
CorsConfigurationobjects, keyed by path pattern. - getCorsConfigurations() - Method in class org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport
-
Return the registered
CorsConfigurationobjects, keyed by path pattern. - getCorsConfigurationSource() - Method in class org.springframework.web.servlet.handler.AbstractHandlerMapping
-
Return the
configuredCorsConfigurationSource, if any. - getCorsHandlerExecutionChain(HttpServletRequest, HandlerExecutionChain, CorsConfiguration) - Method in class org.springframework.web.servlet.handler.AbstractHandlerMapping
-
Update
HandlerExecutionChainfor CORS requests, inserting an interceptor at the start of the chain to perform CORS checks, and also using a no-op handler for preflight requests. - 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(List). - getDefaultHandler() - Method in class org.springframework.web.servlet.handler.AbstractHandlerMapping
-
Return the default handler for this handler mapping, or
nullif 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
Localethat 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(List). - getDefaultStrategies(ApplicationContext, Class) - Method in class org.springframework.web.servlet.DispatcherServlet
-
Create a List of default strategy objects for the given strategy interface.
- getDefaultStrategy(ApplicationContext, Class) - Method in class org.springframework.web.servlet.DispatcherServlet
-
Return the default strategy object for the given strategy interface.
- getDefaultTimeZone() - Method in class org.springframework.web.servlet.i18n.AbstractLocaleContextResolver
-
Get the default
TimeZonethat 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
-
Deprecated.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
PropertyEditorforEditorAwareTag. - 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.AbstractJacksonView
-
Return the
JsonEncodingfor this view. - getEncoding() - Method in class org.springframework.web.servlet.view.freemarker.FreeMarkerView
-
Get the encoding used to decode byte sequences to character sequences when reading the FreeMarker template file for this view, or
nullto signal that the FreeMarkerConfigurationshould be used to determine the encoding. - getEncoding() - Method in class org.springframework.web.servlet.view.json.AbstractJackson2View
-
Deprecated.Return the
JsonEncodingfor 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
ScriptEngineto 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
Environmentassociated 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.
- getErrorResponseInterceptors() - Method in class org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport
-
Provide access to the list of
ErrorResponse.Interceptor's to apply when rendering error responses. - getErrorResponseInterceptors() - Method in class org.springframework.web.servlet.mvc.method.annotation.ExceptionHandlerExceptionResolver
-
Return the
configuredErrorResponse.Interceptor's. - getErrorResponseInterceptors() - Method in class org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter
-
Return the
configuredErrorResponse.Interceptor's. - 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.
- getEtagGenerator() - Method in class org.springframework.web.servlet.resource.ResourceHttpRequestHandler
-
Return the HTTP ETag generator function to be used when serving resources.
- getExceptionHandlerAdviceCache() - Method in class org.springframework.web.servlet.mvc.method.annotation.ExceptionHandlerExceptionResolver
-
Return an unmodifiable Map with the
@ControllerAdvicebeans discovered in the ApplicationContext. - getExceptionHandlerMethod(HandlerMethod, Exception, ServletWebRequest) - Method in class org.springframework.web.servlet.mvc.method.annotation.ExceptionHandlerExceptionResolver
-
Find an
@ExceptionHandlermethod for the given exception. - getExceptionResolvers() - Method in class org.springframework.web.servlet.handler.HandlerExceptionResolverComposite
-
Return the list of exception resolvers to delegate to.
- getExcludePathPatterns() - Method in class org.springframework.web.servlet.handler.MappedInterceptor
-
Get the exclude path patterns this interceptor is mapped 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
nullif 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.
- 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.
- 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
FlashMapManagerinstance 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(HttpServletRequest)andAbstractFlashMapManager.updateFlashMaps(List, HttpServletRequest, 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
ResourceResolverchain of the matchedResourceHttpRequestHandlerto 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
HandlerExecutionChainfor 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
nullif 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
ApplicationContextis refreshed. - getHandlerMapping() - Method in class org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry
-
Return a handler mapping with the mapped resource handlers; or
nullin case of no registrations. - getHandlerMapping() - Method in class org.springframework.web.servlet.handler.HandlerMappingIntrospector.CachedResult
-
Deprecated.
- getHandlerMappings() - Method in class org.springframework.web.servlet.DispatcherServlet
-
Return the configured
HandlerMappingbeans that were detected by type in theWebApplicationContextor initialized based on the default set of strategies from DispatcherServlet.properties. - getHandlerMappings() - Method in class org.springframework.web.servlet.handler.HandlerMappingIntrospector
-
Deprecated.Return the configured or detected
HandlerMappings. - 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 class 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 class org.springframework.web.servlet.NoHandlerFoundException
- getHttpMethod() - Method in exception class org.springframework.web.servlet.resource.NoResourceFoundException
-
Return the HTTP method for the request.
- 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. - getIncludePathPatterns() - Method in class org.springframework.web.servlet.handler.MappedInterceptor
-
Get the include path patterns this interceptor is mapped to.
- getInitBinderArgumentResolvers() - Method in class org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter
-
Return the argument resolvers for
@InitBindermethods, or possiblynullif 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
HandlerInterceptorto 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
HandlerMappinginstances 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,Mapor 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, for example, "@import", "url(".
- 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. - 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
LocaleResolverbound to the request by theDispatcherServlet(if available), falling back to the request's locale based on theAccept-Languageheader or the default locale for the server. - getLocaleResolver(HttpServletRequest) - Static method in class org.springframework.web.servlet.support.RequestContextUtils
-
Return the
LocaleResolverthat 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
ListofResourcelocations including both String-based locations provided viasetLocationValuesand pre-resolvedResourcelocations provided viasetLocations. - getMappedHandlerClasses() - Method in class org.springframework.web.servlet.handler.AbstractHandlerExceptionResolver
-
Return the
configuredmapped handler classes. - getMappedInterceptors() - Method in class org.springframework.web.servlet.handler.AbstractHandlerMapping
-
Return all configured
MappedInterceptors 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 type-level and method-level
@RequestMappingand@HttpExchangeannotations to create theRequestMappingInfo. - getMatchableHandlerMapping(HttpServletRequest) - Method in class org.springframework.web.servlet.handler.HandlerMappingIntrospector
-
Deprecated.Find the
HandlerMappingthat would handle the given request and return aMatchableHandlerMappingto 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
nullotherwise. - getMatchingCondition(HttpServletRequest) - Method in class org.springframework.web.servlet.mvc.condition.ParamsRequestCondition
-
Returns "this" instance if the request matches all param expressions; or
nullotherwise. - 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
-
Deprecated.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.condition.VersionRequestCondition
- 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
-
Deprecated.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
configuredmedia types. - getMediaTypes(HttpServletRequest) - Method in class org.springframework.web.servlet.view.ContentNegotiatingViewResolver
-
Determines the list of
MediaTypefor 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 (for example, an ObjectError instance), using the "defaultHtmlEscape" setting.
- getMessage(MessageSourceResolvable, boolean) - Method in class org.springframework.web.servlet.support.RequestContext
-
Retrieve the given MessageSourceResolvable (for example, an ObjectError instance).
- 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
MessageCodesResolverfor 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
HttpMessageConvertersused by theRequestMappingHandlerAdapterand 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
MessageSourcethat this exception handler uses. - getMessageSource() - Method in class org.springframework.web.servlet.support.RequestContext
-
Return the MessageSource to use (typically the current WebApplicationContext).
- getMessageSource() - Method in class org.springframework.web.servlet.tags.MessageTag
-
Use the current RequestContext's application context as MessageSource.
- 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
RequestMethodscontained 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 class 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.JacksonJsonView
-
Return the attributes in the model that should be rendered by this view.
- getModelKeys() - Method in class org.springframework.web.servlet.view.json.MappingJackson2JsonView
-
Deprecated.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
ModelMapinstance (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: for example, "test-servlet" for a servlet named "test".
- 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. - getNestedTypeIfNeeded(ResolvableType) - Method in class org.springframework.web.servlet.mvc.method.annotation.AbstractMessageConverterMethodArgumentResolver
-
Return the generic type of the
returnType(or of the nested type if it is anHttpEntityor/and anOptional). - getNoSuchMessageExceptionDescription(NoSuchMessageException) - Method in class org.springframework.web.servlet.tags.MessageTag
-
Return default exception message.
- getObjectMapper() - Method in class org.springframework.web.servlet.view.json.AbstractJackson2View
-
Deprecated.Return the
ObjectMapperfor this view. - getObjectWrapper() - Method in class org.springframework.web.servlet.view.freemarker.FreeMarkerView
-
Return the configured FreeMarker
ObjectWrapper, or a default wrapper if none specified. - getOnblur() - Method in class org.springframework.web.servlet.tags.form.AbstractHtmlInputElementTag
-
Get the value of the '
onblur' attribute. - getOnchange() - Method in class org.springframework.web.servlet.tags.form.AbstractHtmlInputElementTag
-
Get the value of the '
onchange' attribute. - getOnclick() - Method in class org.springframework.web.servlet.tags.form.AbstractHtmlElementTag
-
Get the value of the '
onclick' attribute. - getOndblclick() - Method in class org.springframework.web.servlet.tags.form.AbstractHtmlElementTag
-
Get the value of the '
ondblclick' attribute. - getOnfocus() - Method in class org.springframework.web.servlet.tags.form.AbstractHtmlInputElementTag
-
Get the value of the '
onfocus' attribute. - getOnkeydown() - Method in class org.springframework.web.servlet.tags.form.AbstractHtmlElementTag
-
Get the value of the '
onkeydown' attribute. - getOnkeypress() - Method in class org.springframework.web.servlet.tags.form.AbstractHtmlElementTag
-
Get the value of the '
onkeypress' attribute. - getOnkeyup() - Method in class org.springframework.web.servlet.tags.form.AbstractHtmlElementTag
-
Get the value of the '
onkeyup' attribute. - getOnmousedown() - Method in class org.springframework.web.servlet.tags.form.AbstractHtmlElementTag
-
Get the value of the '
onmousedown' attribute. - getOnmousemove() - Method in class org.springframework.web.servlet.tags.form.AbstractHtmlElementTag
-
Get the value of the '
onmousemove' attribute. - getOnmouseout() - Method in class org.springframework.web.servlet.tags.form.AbstractHtmlElementTag
-
Get the value of the '
onmouseout' attribute. - getOnmouseover() - Method in class org.springframework.web.servlet.tags.form.AbstractHtmlElementTag
-
Get the value of the '
onmouseover' attribute. - getOnmouseup() - Method in class org.springframework.web.servlet.tags.form.AbstractHtmlElementTag
-
Get the value of the '
onmouseup' attribute. - getOnreset() - Method in class org.springframework.web.servlet.tags.form.FormTag
-
Get the value of the '
onreset' attribute. - getOnselect() - Method in class org.springframework.web.servlet.tags.form.InputTag
-
Get the value of the '
onselect' attribute. - getOnselect() - Method in class org.springframework.web.servlet.tags.form.TextareaTag
-
Get the value of the '
onselect' attribute. - getOnsubmit() - Method in class org.springframework.web.servlet.tags.form.FormTag
-
Get the value of the '
onsubmit' attribute. - getOrCreateContainer(Object) - Method in class org.springframework.web.servlet.mvc.method.annotation.AbstractMappingJacksonResponseBodyAdvice
-
Wrap the body in a
MappingJacksonValuevalue 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.UrlBasedViewResolver
- getOrder() - Method in class org.springframework.web.servlet.view.ViewResolverComposite
- 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.
- 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 (for example, "customer.address.street").
- 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
resolvedproperty 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
-
Deprecated, for removal: This API element is subject to removal in a future version.
- getPathMatcher() - Method in class org.springframework.web.servlet.handler.AbstractHandlerMapping
-
Deprecated, for removal: This API element is subject to removal in a future version.use of
PathMatcherandUrlPathHelperis deprecated for use at runtime in web modules in favor of parsed patterns withPathPatternParser. - getPathMatcher() - Method in class org.springframework.web.servlet.handler.MappedInterceptor
-
Deprecated, for removal: This API element is subject to removal in a future version.use of
PathMatcherandUrlPathHelperis deprecated for use at runtime in web modules in favor of parsed patterns withPathPatternParser. - getPathMatcher() - Method in class org.springframework.web.servlet.mvc.method.RequestMappingInfo.BuilderConfiguration
-
Deprecated, for removal: This API element is subject to removal in a future version.use of
PathMatcherandUrlPathHelperis deprecated for use at runtime in web modules in favor of parsed patterns withPathPatternParser. - getPathMatcher() - Method in class org.springframework.web.servlet.resource.ResourceUrlProvider
-
Deprecated, for removal: This API element is subject to removal in a future version.use of
PathMatcherandUrlPathHelperis deprecated for use at runtime in web modules. After the deprecation phase, it will no longer be possible to set a customized PathMatcher instance. - getPathMatcherOrDefault() - Method in class org.springframework.web.servlet.config.annotation.PathMatchConfigurer
-
Deprecated, for removal: This API element is subject to removal in a future version.use of
PathMatcheris deprecated for use at runtime in web modules in favor of parsed patterns withPathPatternParser. - 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.
- 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.
- getPatternCacheLimit() - Method in class org.springframework.web.servlet.handler.HandlerMappingIntrospector
-
Deprecated.Return the configured limit on security patterns to cache.
- getPatternParser() - Method in class org.springframework.web.servlet.config.annotation.PathMatchConfigurer
-
Return the
PathPatternParserto use, if configured. - getPatternParser() - Method in class org.springframework.web.servlet.handler.AbstractHandlerMapping
-
Return the
configuredPathPatternParser, ornullotherwise which indicates that String pattern matching withAntPathMatcheris enabled instead. - getPatternParser() - Method in interface org.springframework.web.servlet.handler.MatchableHandlerMapping
-
Deprecated.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.
- getPatternParserToUse() - Method in class org.springframework.web.servlet.mvc.method.RequestMappingInfo.BuilderConfiguration
-
Return the
PathPatternParserto use, the one set explicitly or falling back on a default instance if bothPathPatternParserandPathMatcherare not set. - 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
-
Deprecated.
- getPatternsCondition() - Method in class org.springframework.web.servlet.mvc.method.RequestMappingInfo
-
Deprecated, for removal: This API element is subject to removal in a future version.use of
PathMatcherandUrlPathHelperis deprecated for use at runtime in web modules in favor of parsed patterns withPathPatternParser. - 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
activepatterns 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
nullif 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
ResourceHttpRequestHandlerinstance. - getRequestHeaders() - Method in exception class org.springframework.web.servlet.NoHandlerFoundException
-
Return the headers of the request.
- getRequestToExpose(HttpServletRequest) - Method in class org.springframework.web.servlet.view.AbstractView
-
Get the request handle to expose to
AbstractView.renderMergedOutputModel(Map, HttpServletRequest, HttpServletResponse), i.e. - 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 class 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
ResourceResolverChainthat was used to resolve theResourcebeing 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
- getResourcePath() - Method in exception class org.springframework.web.servlet.resource.NoResourceFoundException
-
Return the path used to locate the resource.
- 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.
- getResultFor(HttpServletRequest) - Static method in class org.springframework.web.servlet.handler.HandlerMappingIntrospector.CachedResult
-
Deprecated.Return a
HandlerMappingIntrospector.CachedResultthat matches the given request. - getReturnValueHandlers() - Method in class org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport
-
Provide access to the shared return value handlers used by the
RequestMappingHandlerAdapterand theExceptionHandlerExceptionResolver. - getReturnValueHandlers() - Method in class org.springframework.web.servlet.mvc.method.annotation.ExceptionHandlerExceptionResolver
-
Return the configured handlers, or possibly
nullif not initialized yet viaExceptionHandlerExceptionResolver.afterPropertiesSet(). - getReturnValueHandlers() - Method in class org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter
-
Return the configured handlers, or possibly
nullif 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
nullif 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
DispatcherServletis 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
nullwhen no ServletConfig set yet. - getServletName() - Method in class org.springframework.web.servlet.support.AbstractDispatcherServletInitializer
-
Return the name under which the
DispatcherServletwill 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 class org.springframework.web.servlet.NoHandlerFoundException
- getStatusCode() - Method in exception class org.springframework.web.servlet.resource.NoResourceFoundException
- 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
VersionStrategyfor 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
Sourcefor 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. - getTaglibFactory() - Method in interface org.springframework.web.servlet.view.freemarker.FreeMarkerConfig
-
Return the
TaglibFactoryused to enable JSP tags to be accessed from FreeMarker templates. - getTaglibFactory() - Method in class org.springframework.web.servlet.view.freemarker.FreeMarkerConfigurer
-
Return the TaglibFactory object wrapped by this bean.
- getTarget() - Method in class org.springframework.web.servlet.tags.form.FormTag
-
Get the value of the '
target' attribute. - getTargetRequestParams() - Method in class org.springframework.web.servlet.FlashMap
-
Return the parameters identifying the target request, or an empty map.
- getTargetRequestPath() - Method in class org.springframework.web.servlet.FlashMap
-
Return the target URL path (or
nullif 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
Templateto be rendered by this view, for the specified name and locale and using the configured encoding if set. - getTemplate(Locale) - Method in class org.springframework.web.servlet.view.freemarker.FreeMarkerView
-
Retrieve the FreeMarker
Templateto be rendered by this view, for the specified locale and using the configured encoding if set. - getTemplateEngine() - Method in interface org.springframework.web.servlet.view.groovy.GroovyMarkupConfig
-
Return the Groovy
MarkupTemplateEnginefor 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.
- 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
nullif 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
TimeZoneAwareLocaleContextin theLocaleResolverbound 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
-
Deprecated.
- 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
- getToStringInfix() - Method in class org.springframework.web.servlet.mvc.condition.VersionRequestCondition
- 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
Mapaccess 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
-
Deprecated, for removal: This API element is subject to removal in a future version.
- getUrlPathHelper() - Method in class org.springframework.web.servlet.handler.AbstractHandlerMapping
-
Deprecated, for removal: This API element is subject to removal in a future version.use of
PathMatcherandUrlPathHelperis deprecated for use at runtime in web modules in favor of parsed patterns withPathPatternParser. - getUrlPathHelper() - Method in class org.springframework.web.servlet.mvc.AbstractUrlViewController
-
Deprecated, for removal: This API element is subject to removal in a future version.use of
PathMatcherandUrlPathHelperis deprecated for use at runtime in web modules in favor of parsed patterns withPathPatternParser. - getUrlPathHelper() - Method in class org.springframework.web.servlet.mvc.method.RequestMappingInfo.BuilderConfiguration
-
Deprecated.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
-
Deprecated, for removal: This API element is subject to removal in a future version.use of
PathMatcherandUrlPathHelperis deprecated for use at runtime in web modules in favor of parsed patterns withPathPatternParser. - getUrlPathHelper() - Method in class org.springframework.web.servlet.resource.ResourceHttpRequestHandler
-
Deprecated, for removal: This API element is subject to removal in a future version.use of
PathMatcherandUrlPathHelperis deprecated for use at runtime in web modules in favor of parsed patterns withPathPatternParser. - getUrlPathHelper() - Method in class org.springframework.web.servlet.resource.ResourceUrlProvider
-
Deprecated, for removal: This API element is subject to removal in a future version.use of
PathMatcherandUrlPathHelperis deprecated for use at runtime in web modules. After the deprecation phase, it will no longer be possible to set a customized PathMatcher instance. - getUrlPathHelper() - Method in class org.springframework.web.servlet.support.AbstractFlashMapManager
-
Deprecated, for removal: This API element is subject to removal in a future version.use of
PathMatcherandUrlPathHelperis deprecated for use at runtime in web modules in favor of parsed patterns withPathPatternParser. - getUrlPathHelper() - Method in class org.springframework.web.servlet.support.RequestContext
-
Deprecated, for removal: This API element is subject to removal in a future version.use of
PathMatcherandUrlPathHelperis deprecated for use at runtime in web modules in favor of parsed patterns withPathPatternParser. - getUrlPathHelperOrDefault() - Method in class org.springframework.web.servlet.config.annotation.PathMatchConfigurer
-
Deprecated, for removal: This API element is subject to removal in a future version.use of
PathMatcherandUrlPathHelperis deprecated for use at runtime in web modules in favor of parsed patterns withPathPatternParser. - 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
Validatorinstead 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.
- getVersion() - Method in class org.springframework.web.servlet.mvc.condition.VersionRequestCondition
-
Return the raw version value.
- getVersionCondition() - Method in class org.springframework.web.servlet.mvc.method.RequestMappingInfo
-
Return the version condition of this
RequestMappingInfo, or an instance without a version. - getVersionPathStrategy() - Method in class org.springframework.web.servlet.resource.AbstractVersionStrategy
- getView() - Method in class org.springframework.web.servlet.ModelAndView
-
Return the View object, or
nullif 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
nullif 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
-
Deprecated.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
nullif 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
nullif using a View instance. - getViewName(HttpServletRequest) - Method in interface org.springframework.web.servlet.RequestToViewNameTranslator
-
Translate the given
HttpServletRequestinto a view name. - getViewName(HttpServletRequest) - Method in class org.springframework.web.servlet.view.DefaultRequestToViewNameTranslator
-
Translates the request URI of the incoming
HttpServletRequestinto 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
nullif 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
MarkupTemplateEnginefor automatic lookup in a web environment. - GroovyMarkupConfigurer - Class in org.springframework.web.servlet.view.groovy
-
An extension of Groovy's
TemplateConfigurationand an implementation of Spring MVC'sGroovyMarkupConfigfor creating aMarkupTemplateEnginefor 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 aGroovyConfigurerbean. - GroovyMarkupConfigurerBeanDefinitionParser() - Constructor for class org.springframework.web.servlet.config.GroovyMarkupConfigurerBeanDefinitionParser
- GroovyMarkupView - Class in org.springframework.web.servlet.view.groovy
-
An
AbstractTemplateViewsubclass 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
AbstractTemplateViewResolverthat supportsGroovyMarkupView(i.e. - GroovyMarkupViewResolver() - Constructor for class org.springframework.web.servlet.view.groovy.GroovyMarkupViewResolver
-
Sets the default
view classtoGroovyMarkupViewResolver.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.
- handleAsyncRequestNotUsableException(AsyncRequestNotUsableException, HttpServletRequest, HttpServletResponse, Object) - Method in class org.springframework.web.servlet.mvc.support.DefaultHandlerExceptionResolver
-
Handle the case of an I/O failure from the ServletOutputStream.
- handleAsyncRequestNotUsableException(AsyncRequestNotUsableException, WebRequest) - Method in class org.springframework.web.servlet.mvc.method.annotation.ResponseEntityExceptionHandler
-
Customize the handling of
AsyncRequestNotUsableException. - 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. - handleConversionNotSupported(ConversionNotSupportedException, HttpServletRequest, HttpServletResponse, Object) - Method in class org.springframework.web.servlet.mvc.support.DefaultHandlerExceptionResolver
-
Handle the case when a
WebDataBinderconversion cannot occur. - handleConversionNotSupported(ConversionNotSupportedException, HttpHeaders, HttpStatusCode, WebRequest) - Method in class org.springframework.web.servlet.mvc.method.annotation.ResponseEntityExceptionHandler
-
Customize the handling of
ConversionNotSupportedException. - handleDisconnectedClientException(Exception, HttpServletRequest, HttpServletResponse, Object) - Method in class org.springframework.web.servlet.mvc.support.DefaultHandlerExceptionResolver
-
Handle an Exception that indicates the client has gone away.
- handleEmptyBody(Object, HttpInputMessage, MethodParameter, Type, Class) - 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) - 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
ErrorResponseexception. - 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. - handleHandlerMethodValidationException(HandlerMethodValidationException, HttpServletRequest, HttpServletResponse, Object) - Method in class org.springframework.web.servlet.mvc.support.DefaultHandlerExceptionResolver
-
Handle the case where method validation for a controller method failed.
- handleHandlerMethodValidationException(HandlerMethodValidationException, HttpHeaders, HttpStatusCode, WebRequest) - Method in class org.springframework.web.servlet.mvc.method.annotation.ResponseEntityExceptionHandler
-
Customize the handling of
HandlerMethodValidationException. - 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
Acceptheader). - 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 response.
- 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(HttpServletRequest) - Method in class org.springframework.web.servlet.mvc.condition.VersionRequestCondition
-
Perform a final check on the matched request mapping version.
- 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.
- handleMaxUploadSizeExceededException(MaxUploadSizeExceededException, HttpHeaders, HttpStatusCode, WebRequest) - Method in class org.springframework.web.servlet.mvc.method.annotation.ResponseEntityExceptionHandler
-
Customize the handling of any
MaxUploadSizeExceededException. - 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
@Validsuch as anRequestBodyorRequestPartargument fails validation. - handleMethodValidationException(MethodValidationException, HttpServletRequest, HttpServletResponse, Object) - Method in class org.springframework.web.servlet.mvc.support.DefaultHandlerExceptionResolver
-
Handle the case where method validation failed on a component that is not a web controller, for example, on some underlying service.
- handleMethodValidationException(MethodValidationException, HttpHeaders, HttpStatus, WebRequest) - Method in class org.springframework.web.servlet.mvc.method.annotation.ResponseEntityExceptionHandler
-
Customize the handling of
MethodValidationException. - 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.Partargument 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, 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, String, HttpServletRequest) - Method in class org.springframework.web.servlet.handler.AbstractHandlerMethodMapping
-
Invoked when no matching mapping is not found.
- handleNoResourceFoundException(NoResourceFoundException, HttpServletRequest, HttpServletResponse, Object) - Method in class org.springframework.web.servlet.mvc.support.DefaultHandlerExceptionResolver
-
Handle the case where no static resource was found.
- handleNoResourceFoundException(NoResourceFoundException, HttpHeaders, HttpStatusCode, WebRequest) - Method in class org.springframework.web.servlet.mvc.method.annotation.ResponseEntityExceptionHandler
-
Customize the handling of
NoResourceFoundException. - handleNotAuthorized(HttpServletRequest, HttpServletResponse, Object) - Method in class org.springframework.web.servlet.handler.UserRoleAuthorizationInterceptor
-
Handle a request that is not authorized according to this interceptor.
- handlePreFlight(HttpServletRequest, HttpServletResponse) - Method in class org.springframework.web.servlet.handler.HandlerMappingIntrospector
-
Deprecated.Find the matching
HandlerMappingfor the request, and invoke the handler it returns as aPreFlightRequestHandler. - 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(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.ResponseEntityReturnValueHandler
- 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
HandlerExceptionResolverCompositecontaining a list of exception resolvers obtained either throughWebMvcConfigurationSupport.configureHandlerExceptionResolvers(List)or throughWebMvcConfigurationSupport.addDefaultHandlerExceptionResolvers(List, 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
HandlerExceptionResolverthat 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) - 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,
R> - Interface in org.springframework.web.servlet.function -
Represents a function that filters a handler function.
- HandlerFunction<T> - 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
HandlerFunctionAdapterfor processing requests through handler functions. - HandlerFunctionAdapter - Class in org.springframework.web.servlet.function.support
-
HandlerAdapterimplementation that supportsHandlerFunctions. - 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
-
Deprecated, for removal: This API element is subject to removal in a future version.in favor of using just
PathPatternParser; whenHandlerMappingIntrospector.allHandlerMappingsUsePathPatternParser()returns true, it is sufficient to use that to align with handler mappings. - HandlerMappingIntrospector() - Constructor for class org.springframework.web.servlet.handler.HandlerMappingIntrospector
-
Deprecated.
- HandlerMappingIntrospector.CachedResult - Class in org.springframework.web.servlet.handler
-
Deprecated.Container for a
MatchableHandlerMappingandCorsConfigurationfor a given request matched by dispatcher type and requestURI. - HandlerMethodMappingNamingStrategy<T> - Interface in org.springframework.web.servlet.handler
-
A strategy for assigning a name to a handler method's mapping.
- handlerMethodsInitialized(Map) - 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 - for example, required header, required cookie.
- 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
WebDataBinderconversion 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
trueif there is aCorsConfigurationSourcefor 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, for example, not declared in the same class as the
HandlerMethodthat raised the exception and therefore can apply to any handler. - 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),AbstractHandlerExceptionResolver.setMappedHandlerClasses(Class[]), orAbstractHandlerExceptionResolver.setMappedHandlerPredicate(Predicate). - 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
ModelAndViewhas a view, either as a view name or as a directViewinstance. - HEAD(String) - Static method in class org.springframework.web.servlet.function.RequestPredicates
-
Return a
RequestPredicatethat matches if request's HTTP method isHEADand the givenpatternmatches against the request path. - HEAD(String, HandlerFunction) - Method in interface org.springframework.web.servlet.function.RouterFunctions.Builder
-
Adds a route to the given handler function that handles all HTTP
HEADrequests that match the given pattern. - HEAD(String, RequestPredicate, HandlerFunction) - Method in interface org.springframework.web.servlet.function.RouterFunctions.Builder
-
Adds a route to the given handler function that handles all HTTP
HEADrequests that match the given pattern and predicate. - HEAD(HandlerFunction) - Method in interface org.springframework.web.servlet.function.RouterFunctions.Builder
-
Adds a route to the given handler function that handles HTTP
HEADrequests. - HEAD(RequestPredicate, HandlerFunction) - Method in interface org.springframework.web.servlet.function.RouterFunctions.Builder
-
Adds a route to the given handler function that handles all HTTP
HEADrequests 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.ServerResponse.HeadersBuilder
-
Add the given header value(s) under 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.view.FragmentsRendering.Builder
-
Add one or more header values 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() - Method in interface org.springframework.web.servlet.view.FragmentsRendering
-
Return headers to add to the response.
- headers(String...) - Method in interface org.springframework.web.servlet.mvc.method.RequestMappingInfo.Builder
-
Set the header conditions.
- headers(Consumer) - Method in interface org.springframework.web.servlet.function.EntityResponse.Builder
-
Manipulate this response's headers with the given consumer.
- headers(Consumer) - Method in interface org.springframework.web.servlet.function.RenderingResponse.Builder
-
Manipulate this response's headers with the given consumer.
- headers(Consumer) - Method in interface org.springframework.web.servlet.function.ServerRequest.Builder
-
Manipulate this request's headers with the given consumer.
- headers(Consumer) - Method in interface org.springframework.web.servlet.function.ServerResponse.HeadersBuilder
-
Manipulate this response's headers with the given consumer.
- headers(Consumer) - Method in interface org.springframework.web.servlet.view.FragmentsRendering.Builder
-
Provides access to every header declared so far with the possibility to add, replace, or remove values.
- headers(Predicate) - Static method in class org.springframework.web.servlet.function.RequestPredicates
-
Return a
RequestPredicatethat 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
Hostheader, 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
HttpEntityandRequestEntitymethod argument values, as well as return values of typeHttpEntity,ResponseEntity,ErrorResponseandProblemDetail. - HttpEntityMethodProcessor(List) - Constructor for class org.springframework.web.servlet.mvc.method.annotation.HttpEntityMethodProcessor
-
Basic constructor with converters only.
- HttpEntityMethodProcessor(List, List) - Constructor for class org.springframework.web.servlet.mvc.method.annotation.HttpEntityMethodProcessor
-
Complete constructor for resolving
HttpEntitymethod arguments. - HttpEntityMethodProcessor(List, ContentNegotiationManager, List) - Constructor for class org.springframework.web.servlet.mvc.method.annotation.HttpEntityMethodProcessor
-
Variant of
HttpEntityMethodProcessor(List, List)with an additionalContentNegotiationManagerargument for return value handling. - HttpEntityMethodProcessor(List, ContentNegotiationManager, List, List) - Constructor for class org.springframework.web.servlet.mvc.method.annotation.HttpEntityMethodProcessor
-
Variant of
HttpEntityMethodProcessor(List, ContentNegotiationManager, List)with additional list ofErrorResponse.Interceptors for return value handling. - HttpEntityMethodProcessor(List, ContentNegotiationManager) - Constructor for class org.springframework.web.servlet.mvc.method.annotation.HttpEntityMethodProcessor
-
Basic constructor with converters and
ContentNegotiationManager. - HttpHeadersReturnValueHandler - Class in org.springframework.web.servlet.mvc.method.annotation
-
Handles
HttpHeadersreturn 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
HttpRequestHandlerAdapterfor processing requests withHttpRequestHandlers. - HttpRequestHandlerAdapter - Class in org.springframework.web.servlet.mvc
-
Adapter to use the plain
HttpRequestHandlerinterface 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
Resourceto be written to an HTTP response. - HttpServletBean - Class in org.springframework.web.servlet
-
Simple extension of
HttpServletwhich treats its config parameters (init-paramentries within theservlettag 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.
- includeHttpMethods(List) - Method in class org.springframework.web.servlet.config.annotation.InterceptorRegistration
-
List-based variant of
InterceptorRegistration.includeHttpMethods(HttpMethod...). - includeHttpMethods(HttpMethod...) - Method in class org.springframework.web.servlet.config.annotation.InterceptorRegistration
-
Add HTTP methods for requests the interceptor should be included in.
- 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
@InitBindermethods. - initAllowedLocations() - Method in class org.springframework.web.servlet.resource.ResourceHttpRequestHandler
-
Look for a
PathResourceResolveramong the configured resource resolvers and set itsallowedLocationsproperty (if empty) to match thelocationsconfigured 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(Map)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.
- 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.
- 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
WebRequestInterceptors toHandlerInterceptor. - initLocationPath(String) - Static method in class org.springframework.web.servlet.resource.ResourceHandlerUtils
-
Check if the given static resource location path ends with a trailing slash, and append it if necessary.
- 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.localizationContextcontext-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
InterceptorRegistrationinstance. - 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
UrlBasedViewResolverthat supportsInternalResourceView(i.e. - InternalResourceViewResolver() - Constructor for class org.springframework.web.servlet.view.InternalResourceViewResolver
-
Sets the default
view classtoInternalResourceViewResolver.requiredViewClass(): by defaultInternalResourceView, orJstlViewif 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
HttpServletRequestattribute 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. - invokeErrorResponseInterceptors(ProblemDetail, ErrorResponse) - Method in class org.springframework.web.servlet.mvc.method.annotation.AbstractMessageConverterMethodProcessor
-
Invoke the configured
ErrorResponse.Interceptor's. - invokeHandlerMethod(HttpServletRequest, HttpServletResponse, HandlerMethod) - Method in class org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter
-
Invoke the
RequestMappinghandler method preparing aModelAndViewif view resolution is required. - isAsyncSupported() - Method in class org.springframework.web.servlet.support.AbstractDispatcherServletInitializer
-
A single place to control the
asyncSupportedflag for theDispatcherServletand all filters added viaAbstractDispatcherServletInitializer.getServletFilters(). - isAutodetect() - Method in class org.springframework.web.servlet.resource.ResourceUrlProvider
-
Return
falseif resource mappings were manually configured,trueotherwise. - 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
falsein case of no explicit default given. - isDefaultHtmlEscape() - Method in class org.springframework.web.servlet.tags.form.AbstractFormTag
-
Overridden to default to
truein 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
-
Deprecated.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) - Static method in class org.springframework.web.servlet.resource.ResourceHandlerUtils
-
Checks for invalid resource input paths rejecting the following: Paths that contain "WEB-INF" or "META-INF" Paths that contain "../" after a call to
StringUtils.cleanPath(String). - isInvalidPath(String) - Method in class org.springframework.web.servlet.resource.ResourceHttpRequestHandler
-
Invoked after
ResourceHandlerUtils.isInvalidPath(String)to allow subclasses to perform further validation. - 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 (for example, invalid format).
- 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(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. - isResourceUnderLocation(Resource, Resource) - Static method in class org.springframework.web.servlet.resource.ResourceHandlerUtils
-
Check whether the resource is under the given location.
- 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.
- 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.
- 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
- JacksonJsonView - Class in org.springframework.web.servlet.view.json
-
Spring MVC
Viewthat renders JSON content by serializing the model for the current request using Jackson 3'sJsonMapper. - JacksonJsonView() - Constructor for class org.springframework.web.servlet.view.json.JacksonJsonView
-
Construct a new instance with a
JsonMappercustomized with theJacksonModules found byMapperBuilder.findModules(ClassLoader)and setting the content type toapplication/json. - JacksonJsonView(JsonMapper) - Constructor for class org.springframework.web.servlet.view.json.JacksonJsonView
-
Construct a new instance using the provided
JsonMapperand setting the content type to "application/json". - JacksonJsonView(JsonMapper.Builder) - Constructor for class org.springframework.web.servlet.view.json.JacksonJsonView
-
Construct a new instance using the provided
JsonMapper.Buildercustomized with theJacksonModules found byMapperBuilder.findModules(ClassLoader)and setting the content type toapplication/json. - JacksonXmlView - Class in org.springframework.web.servlet.view.xml
-
Spring MVC
Viewthat renders XML content by serializing the model for the current request using Jackson 3'sXmlMapper. - JacksonXmlView() - Constructor for class org.springframework.web.servlet.view.xml.JacksonXmlView
-
Construct a new instance with an
XmlMappercustomized with theJacksonModules found byMapperBuilder.findModules(ClassLoader)and setting the content type toapplication/xml. - JacksonXmlView(XmlMapper) - Constructor for class org.springframework.web.servlet.view.xml.JacksonXmlView
-
Construct a new instance using the provided
XmlMapperand setting the content type toapplication/xml. - JacksonXmlView(XmlMapper.Builder) - Constructor for class org.springframework.web.servlet.view.xml.JacksonXmlView
-
Construct a new instance using the provided
XmlMapper.Buildercustomized with theJacksonModules found byMapperBuilder.findModules(ClassLoader)and setting the content type toapplication/xml. - JSON_VIEW_HINT - Static variable in class org.springframework.web.servlet.view.AbstractJacksonView
- JsonViewRequestBodyAdvice - Class in org.springframework.web.servlet.mvc.method.annotation
-
A
RequestBodyAdviceimplementation that adds support for Jackson's@JsonViewannotation declared on a Spring MVC@HttpEntityor@RequestBodymethod parameter. - JsonViewRequestBodyAdvice() - Constructor for class org.springframework.web.servlet.mvc.method.annotation.JsonViewRequestBodyAdvice
- JsonViewResponseBodyAdvice - Class in org.springframework.web.servlet.mvc.method.annotation
-
A
ResponseBodyAdviceimplementation that adds support for Jackson's@JsonViewannotation declared on a Spring MVC@RequestMappingor@ExceptionHandlermethod. - 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) - 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.
- JSTL_PRESENT - 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
InternalResourceViewfor 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.
K
- KotlinRequestBodyAdvice - Class in org.springframework.web.servlet.mvc.method.annotation
-
A
RequestBodyAdviceimplementation that adds support for resolving KotlinKTypefrom the parameter and providing it as a hint with a"kotlin.reflect.KType"key. - KotlinRequestBodyAdvice() - Constructor for class org.springframework.web.servlet.mvc.method.annotation.KotlinRequestBodyAdvice
- KotlinResponseBodyAdvice - Class in org.springframework.web.servlet.mvc.method.annotation
-
A
ResponseBodyAdviceimplementation that adds support for resolving KotlinKTypefrom the return type and providing it as a hint with a"kotlin.reflect.KType"key. - KotlinResponseBodyAdvice() - Constructor for class org.springframework.web.servlet.mvc.method.annotation.KotlinResponseBodyAdvice
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-Modifiedheader. - 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-Modifiedheader. - 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-Modifiedheader. - 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-Modifiedheader. - LIST_VALUE_PAGE_ATTRIBUTE - Static variable in class org.springframework.web.servlet.tags.form.SelectTag
-
The
PageContextattribute under which the bound value is exposed to innerOptionTags. - LiteWebJarsResourceResolver - Class in org.springframework.web.servlet.resource
-
A
ResourceResolverthat delegates to the chain to locate a resource and then attempts to find a matching versioned resource contained in a WebJar JAR file. - LiteWebJarsResourceResolver() - Constructor for class org.springframework.web.servlet.resource.LiteWebJarsResourceResolver
-
Create a
LiteWebJarsResourceResolverwith a defaultWebJarVersionLocatorinstance. - LiteWebJarsResourceResolver(WebJarVersionLocator) - Constructor for class org.springframework.web.servlet.resource.LiteWebJarsResourceResolver
-
Create a
LiteWebJarsResourceResolverwith a customWebJarVersionLocatorinstance, for example, with a custom cache implementation. - 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.freemarker.FreeMarkerViewResolver
-
Delegates to
super.loadView(viewName, locale)for standard behavior and then toFreeMarkerViewResolver.postProcessView(FreeMarkerView)for customization. - loadView(String, Locale) - Method in class org.springframework.web.servlet.view.UrlBasedViewResolver
-
Delegates to
buildViewfor creating a new instance of the specified view class. - 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
LocaleResolverthat 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) - Method in class org.springframework.web.servlet.view.xslt.XsltView
-
Locate the
Sourceobject in the supplied model, converting objects as required. - locateToBeMarshalled(Map) - 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
Locationheader. - location(URI) - Method in interface org.springframework.web.servlet.function.ServerResponse.HeadersBuilder
-
Set the location of a resource, as specified by the
Locationheader. - 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. - logException(Exception, HttpServletRequest) - Method in class org.springframework.web.servlet.mvc.support.DefaultHandlerExceptionResolver
- 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.in favor of
UrlPathHelper.PATH_ATTRIBUTEandServletRequestPathUtils.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
-
Deprecated, for removal: This API element is subject to removal in a future version.use of
PathMatcherandUrlPathHelperis deprecated for use at runtime in web modules in favor of parsed patterns withPathPatternParser. - lookupCacheControl(PathContainer) - Method in class org.springframework.web.servlet.mvc.WebContentInterceptor
-
Find a
CacheControlinstance for the given parsedpath. - lookupCacheSeconds(String) - Method in class org.springframework.web.servlet.mvc.WebContentInterceptor
-
Deprecated, for removal: This API element is subject to removal in a future version.use of
PathMatcherandUrlPathHelperis deprecated for use at runtime in web modules in favor of parsed patterns withPathPatternParser. - 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
HandlerInterceptorand uses URL patterns to determine whether it applies to a given request. - MappedInterceptor(String[], String[], HttpMethod[], HttpMethod[], HandlerInterceptor, PathPatternParser) - Constructor for class org.springframework.web.servlet.handler.MappedInterceptor
-
Create an instance with the given include and exclude patterns and HTTP methods.
- MappedInterceptor(String[], String[], WebRequestInterceptor) - Constructor for class org.springframework.web.servlet.handler.MappedInterceptor
-
Variant of
MappedInterceptor(String[], String[], HttpMethod[], HttpMethod[], HandlerInterceptor, PathPatternParser)with aWebRequestInterceptoras the target. - MappedInterceptor(String[], String[], HandlerInterceptor) - Constructor for class org.springframework.web.servlet.handler.MappedInterceptor
-
Variant of
MappedInterceptor(String[], String[], HttpMethod[], HttpMethod[], HandlerInterceptor, PathPatternParser)without a provided parser. - MappedInterceptor(String[], String[], HandlerInterceptor, PathPatternParser) - Constructor for class org.springframework.web.servlet.handler.MappedInterceptor
-
Deprecated, for removal: This API element is subject to removal in a future version.in favor of the constructor variant with HTTP methods
- MappedInterceptor(String[], WebRequestInterceptor) - Constructor for class org.springframework.web.servlet.handler.MappedInterceptor
-
Variant of
MappedInterceptor(String[], String[], HttpMethod[], HttpMethod[], HandlerInterceptor, PathPatternParser)with aWebRequestInterceptoras the target. - MappedInterceptor(String[], HandlerInterceptor) - Constructor for class org.springframework.web.servlet.handler.MappedInterceptor
-
Variant of
MappedInterceptor(String[], String[], HttpMethod[], HttpMethod[], HandlerInterceptor, PathPatternParser)with include patterns only. - MappingJackson2JsonView - Class in org.springframework.web.servlet.view.json
-
Deprecated, for removal: This API element is subject to removal in a future version.since 7.0 in favor of
JacksonJsonView - MappingJackson2JsonView() - Constructor for class org.springframework.web.servlet.view.json.MappingJackson2JsonView
-
Deprecated.Construct a new
MappingJackson2JsonViewusing default configuration provided byJackson2ObjectMapperBuilderand setting the content type toapplication/json. - MappingJackson2JsonView(ObjectMapper) - Constructor for class org.springframework.web.servlet.view.json.MappingJackson2JsonView
-
Deprecated.Construct a new
MappingJackson2JsonViewusing the providedObjectMapperand setting the content type toapplication/json. - MappingJackson2XmlView - Class in org.springframework.web.servlet.view.xml
-
Deprecated, for removal: This API element is subject to removal in a future version.since 7.0 in favor of
JacksonXmlView - MappingJackson2XmlView() - Constructor for class org.springframework.web.servlet.view.xml.MappingJackson2XmlView
-
Deprecated.Construct a new
MappingJackson2XmlViewusing default configuration provided byJackson2ObjectMapperBuilderand setting the content type toapplication/xml. - MappingJackson2XmlView(XmlMapper) - Constructor for class org.springframework.web.servlet.view.xml.MappingJackson2XmlView
-
Deprecated.Construct a new
MappingJackson2XmlViewusing the providedXmlMapperand 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
Viewthat 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
MarshallingViewwith noMarshallerset. - MarshallingView(Marshaller) - Constructor for class org.springframework.web.servlet.view.xml.MarshallingView
-
Constructs a new
MarshallingViewwith the givenMarshallerset. - match(HttpServletRequest, String) - Method in class org.springframework.web.servlet.function.support.RouterFunctionMapping
-
Deprecated, for removal: This API element is subject to removal in a future version.
- match(HttpServletRequest, String) - Method in class org.springframework.web.servlet.handler.AbstractUrlHandlerMapping
-
Deprecated, for removal: This API element is subject to removal in a future version.
- match(HttpServletRequest, String) - Method in interface org.springframework.web.servlet.handler.MatchableHandlerMapping
-
Deprecated, for removal: This API element is subject to removal in a future version.use of
PathMatcherandUrlPathHelperis deprecated for use at runtime in web modules in favor of parsed patterns withPathPatternParser. - match(HttpServletRequest, String) - Method in class org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping
-
Deprecated, for removal: This API element is subject to removal in a future version.
- MatchableHandlerMapping - Interface in org.springframework.web.servlet.handler
-
Deprecated, for removal: This API element is subject to removal in a future version.together with
HandlerMappingIntrospectorwithout a replacement. - matches(HttpServletRequest) - Method in class org.springframework.web.servlet.handler.HandlerMappingIntrospector.CachedResult
-
Deprecated.
- matches(HttpServletRequest) - Method in class org.springframework.web.servlet.handler.MappedInterceptor
-
Check whether this interceptor is mapped to the request.
- 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
HttpServletRequestattribute 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
Mapannotated with@MatrixVariablewhere 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 (for example, "text/plain", "!text/plain") as defined in the
@RequestMappingannotation for "consumes" and "produces" conditions. - mediaTypes(Map) - Method in class org.springframework.web.servlet.config.annotation.ContentNegotiationConfigurer
-
An alternative to
ContentNegotiationConfigurer.mediaType(String, MediaType). - mergeAttributes(Map) - Method in class org.springframework.web.servlet.mvc.support.RedirectAttributesModelMap
- mergeAttributes(Map) - Method in interface org.springframework.web.servlet.mvc.support.RedirectAttributes
- mergePdfDocument(Map, PdfStamper, HttpServletRequest, HttpServletResponse) - Method in class org.springframework.web.servlet.view.document.AbstractPdfStamperView
-
Deprecated.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
HttpMessageConvertersto 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) - 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
RequestPredicatethat 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.MethodArgumentBuilderinstance. - MethodArgumentBuilder(UriComponentsBuilder, Class, Method) - Constructor for class org.springframework.web.servlet.mvc.method.annotation.MvcUriComponentsBuilder.MethodArgumentBuilder
-
Create a new
MvcUriComponentsBuilder.MethodArgumentBuilderinstance. - methods(HttpMethod...) - Static method in class org.springframework.web.servlet.function.RequestPredicates
-
Return a
RequestPredicatethat 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
@ModelAttributemethods. - MODEL_ATTRIBUTE_VARIABLE_NAME - Static variable in class org.springframework.web.servlet.tags.form.FormTag
-
The name of the
PageContextattribute 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, Map, HttpStatusCode) - Constructor for class org.springframework.web.servlet.ModelAndView
-
Create a new ModelAndView given a view name, model, and HTTP status.
- 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) - Constructor for class org.springframework.web.servlet.ModelAndView
-
Create a new ModelAndView given a view name and a model.
- 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) - Constructor for class org.springframework.web.servlet.ModelAndView
-
Create a new ModelAndView given a View object and a model.
- ModelAndViewDefiningException - Exception Class 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 class 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
ModelAndViewcopying 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) - 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
Collectioninto the model, using attribute name generation for each element. - modelAttributes(Map) - Method in interface org.springframework.web.servlet.function.RenderingResponse.Builder
-
Copy all attributes in the supplied
Mapinto 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
CompositeUriComponentsContributorobject in the bean factory. - mvcApiVersionStrategy() - Method in class org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport
-
Return the central strategy to manage API versioning with, or
nullif the application does not use versioning. - mvcContentNegotiationManager() - Method in class org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport
-
Return a
ContentNegotiationManagerinstance to use to determine requested media types in a given request. - mvcConversionService() - Method in class org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport
-
Return a
FormattingConversionServicefor use with annotated controllers. - mvcHandlerMappingIntrospector() - Method in class org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport
- MvcNamespaceHandler - Class in org.springframework.web.servlet.config
-
NamespaceHandlerfor 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
-
Deprecated, for removal: This API element is subject to removal in a future version.use of
PathMatcherandUrlPathHelperis deprecated for use at runtime in web modules in favor of parsed patterns withPathPatternParser. - mvcPatternParser() - Method in class org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport
-
Return a global
PathPatternParserinstance to use for parsing patterns to match to theRequestPath. - mvcResourceUrlProvider() - Method in class org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport
-
A
ResourceUrlProviderbean for use with the MVC dispatcher. - MvcUriComponentsBuilder - Class in org.springframework.web.servlet.mvc.method.annotation
-
Creates instances of
UriComponentsBuilderby pointing to@RequestMappingmethods 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
CompositeUriComponentsContributorfor use withMvcUriComponentsBuilder. - mvcUrlPathHelper() - Method in class org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport
-
Deprecated, for removal: This API element is subject to removal in a future version.use of
PathMatcherandUrlPathHelperis deprecated for use at runtime in web modules in favor of parsed patterns withPathPatternParser. - mvcValidator() - Method in class org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport
-
Return a global
Validatorinstance for example for validating@ModelAttributeand@RequestBodymethod arguments. - mvcViewResolver(ContentNegotiationManager) - Method in class org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport
-
Register a
ViewResolverCompositethat 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) - 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) - 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) - 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
-
Deprecated.Create a new document to hold the PDF contents.
- newFeed() - Method in class org.springframework.web.servlet.view.feed.AbstractAtomFeedView
-
Deprecated.Create a new Feed instance to hold the entries.
- newFeed() - Method in class org.springframework.web.servlet.view.feed.AbstractFeedView
-
Deprecated.Create a new feed to hold the entries.
- newFeed() - Method in class org.springframework.web.servlet.view.feed.AbstractRssFeedView
-
Deprecated.Create a new Channel instance to hold the entries.
- newTransformerFactory(Class) - 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
-
Deprecated.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 Class in org.springframework.web.servlet
-
Thrown when the
DispatcherServletcan't find a handler for a request, which may be handled with a configuredHandlerExceptionResolver. - NoHandlerFoundException(String, String, HttpHeaders) - Constructor for exception class org.springframework.web.servlet.NoHandlerFoundException
-
Constructor for NoHandlerFoundException.
- NoResourceFoundException - Exception Class in org.springframework.web.servlet.resource
-
Raised when
ResourceHttpRequestHandlercan not find a resource. - NoResourceFoundException(HttpMethod, String, String) - Constructor for exception class org.springframework.web.servlet.resource.NoResourceFoundException
-
Create an instance.
- normalizeInputPath(String) - Static method in class org.springframework.web.servlet.resource.ResourceHandlerUtils
-
Normalize the given resource path replacing the following: Backslash with forward slash.
- Notes on design and testing - Section in interface org.springframework.web.servlet.mvc.Controller
- 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
Configurationfor actual use. - ofErrorHandler(Predicate, BiFunction) - 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
ServerResponseon a given exception. - ofRequestProcessor(Function) - 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) - 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) - 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 request completes.
- onComplete(Runnable) - Method in interface org.springframework.web.servlet.function.ServerResponse.StreamBuilder
-
Register a callback to be invoked when the 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, BiFunction) - 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) - Method in interface org.springframework.web.servlet.function.ServerResponse.SseBuilder
-
Register a callback to be invoked when an error occurs during processing.
- onError(Consumer) - Method in interface org.springframework.web.servlet.function.ServerResponse.StreamBuilder
-
Register a callback to be invoked when an error occurs during processing.
- onError(Consumer) - Method in class org.springframework.web.servlet.mvc.method.annotation.ResponseBodyEmitter
-
Register code to invoke for an error during async request processing.
- onError(Predicate, BiFunction) - 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(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 a request times out.
- onTimeout(Runnable) - Method in interface org.springframework.web.servlet.function.ServerResponse.StreamBuilder
-
Register a callback to be invoked when a 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(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
RequestPredicatethat matches if request's HTTP method isOPTIONSand the givenpatternmatches against the request path. - OPTIONS(String, HandlerFunction) - Method in interface org.springframework.web.servlet.function.RouterFunctions.Builder
-
Adds a route to the given handler function that handles all HTTP
OPTIONSrequests that match the given pattern. - OPTIONS(String, RequestPredicate, HandlerFunction) - Method in interface org.springframework.web.servlet.function.RouterFunctions.Builder
-
Adds a route to the given handler function that handles all HTTP
OPTIONSrequests that match the given pattern and predicate. - OPTIONS(HandlerFunction) - Method in interface org.springframework.web.servlet.function.RouterFunctions.Builder
-
Adds a route to the given handler function that handles HTTP
OPTIONSrequests. - OPTIONS(RequestPredicate, HandlerFunction) - Method in interface org.springframework.web.servlet.function.RouterFunctions.Builder
-
Adds a route to the given handler function that handles all HTTP
OPTIONSrequests 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
otherpredicate. - 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
ViewResolverCompositeand 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.functionpackage. - 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.methodpackage. - 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.annotationpackage. - 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.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.
- 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.
- OUTPUT_FLASH_MAP_ATTRIBUTE - Static variable in class org.springframework.web.servlet.DispatcherServlet
-
Name of request attribute that holds the "output"
FlashMapwith 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
RequestPredicatethat 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) - Static method in class org.springframework.web.servlet.function.RequestPredicates
-
Return a
RequestPredicatethat 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
ParamTagto aParamAwaretag. - 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:paramtags. - 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) - 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 aParamAwareancestor in the tag hierarchy. - ParamTag() - Constructor for class org.springframework.web.servlet.tags.ParamTag
- parse(String, SortedSet) - Method in class org.springframework.web.servlet.resource.CssLinkResourceTransformer.AbstractLinkParser
- parse(String, SortedSet) - 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
RequestPredicatethat matches if request's HTTP method isPATCHand the givenpatternmatches against the request path. - PATCH(String, HandlerFunction) - Method in interface org.springframework.web.servlet.function.RouterFunctions.Builder
-
Adds a route to the given handler function that handles all HTTP
PATCHrequests that match the given pattern. - PATCH(String, RequestPredicate, HandlerFunction) - Method in interface org.springframework.web.servlet.function.RouterFunctions.Builder
-
Adds a route to the given handler function that handles all HTTP
PATCHrequests that match the given pattern and predicate. - PATCH(HandlerFunction) - Method in interface org.springframework.web.servlet.function.RouterFunctions.Builder
-
Adds a route to the given handler function that handles HTTP
PATCHrequests. - PATCH(RequestPredicate, HandlerFunction) - Method in interface org.springframework.web.servlet.function.RouterFunctions.Builder
-
Adds a route to the given handler function that handles all HTTP
PATCHrequests 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
RequestPredicatethat 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) - 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) - 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
HttpServletRequestattribute that contains a Map with path variables. - PATH_WITHIN_HANDLER_MAPPING_ATTRIBUTE - Static variable in interface org.springframework.web.servlet.HandlerMapping
-
Name of the
HttpServletRequestattribute 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. - pathExtension(String) - Static method in class org.springframework.web.servlet.function.RequestPredicates
-
Deprecated, for removal: This API element is subject to removal in a future version.without replacement to discourage use of path extensions for request mapping and for content negotiation (with similar deprecations and removals already applied to annotated controllers). For further context, please read issue #24179
- pathExtension(String) - Method in interface org.springframework.web.servlet.function.RequestPredicates.Visitor
-
Deprecated, for removal: This API element is subject to removal in a future version.without replacement to discourage use of path extensions for request mapping and for content negotiation (with similar deprecations and removals already applied to annotated controllers). For further context, please read issue #24179
- pathExtension(Predicate) - Static method in class org.springframework.web.servlet.function.RequestPredicates
-
Deprecated, for removal: This API element is subject to removal in a future version.without replacement to discourage use of path extensions for request mapping and for content negotiation (with similar deprecations and removals already applied to annotated controllers). For further context, please read issue #24179
- 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
-
Deprecated, for removal: This API element is subject to removal in a future version.use of
PathMatcherandUrlPathHelperis deprecated for use at runtime in web modules in favor of parsed patterns withPathPatternParser. - 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
RequestPredicatesfrom pattern Strings using the givenPathPatternParser. - PathResourceResolver - Class in org.springframework.web.servlet.resource
-
A simple
ResourceResolverthat 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.Builderwith 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
Mapmethod arguments annotated with@PathVariablewhere 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
-
Deprecated, for removal: This API element is subject to removal in a future version.use of
PathMatcherandUrlPathHelperis deprecated for use at runtime in web modules in favor of parsed patterns withPathPatternParser. - PatternsRequestCondition(String...) - Constructor for class org.springframework.web.servlet.mvc.condition.PatternsRequestCondition
-
Deprecated.Constructor with URL patterns which are prepended with "/" if necessary.
- PatternsRequestCondition(String[], UrlPathHelper, PathMatcher) - Constructor for class org.springframework.web.servlet.mvc.condition.PatternsRequestCondition
-
Deprecated.Constructor with URL patterns which are prepended with "/" if necessary.
- 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
RequestPredicatethat matches if request's HTTP method isPOSTand the givenpatternmatches against the request path. - POST(String, HandlerFunction) - Method in interface org.springframework.web.servlet.function.RouterFunctions.Builder
-
Adds a route to the given handler function that handles all HTTP
POSTrequests that match the given pattern. - POST(String, RequestPredicate, HandlerFunction) - Method in interface org.springframework.web.servlet.function.RouterFunctions.Builder
-
Adds a route to the given handler function that handles all HTTP
POSTrequests that match the given pattern and predicate. - POST(HandlerFunction) - Method in interface org.springframework.web.servlet.function.RouterFunctions.Builder
-
Adds a route to the given handler function that handles HTTP
POSTrequests. - POST(RequestPredicate, HandlerFunction) - Method in interface org.springframework.web.servlet.function.RouterFunctions.Builder
-
Adds a route to the given handler function that handles all HTTP
POSTrequests 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) - Method in class org.springframework.web.servlet.view.freemarker.FreeMarkerConfigurer
-
This implementation registers an additional
ClassTemplateLoaderfor the Spring-provided macros, added to the end of the list. - postProcessView(FreeMarkerView) - Method in class org.springframework.web.servlet.view.freemarker.FreeMarkerViewResolver
-
Post process the supplied
FreeMarkerViewafter it has been loaded. - 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
-
Deprecated, for removal: This API element is subject to removal in a future version.use of
PathMatcheris deprecated for use at runtime in web modules in favor of parsed patterns withPathPatternParser. - 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
- 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.AbstractJacksonView
- 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
-
Deprecated.
- 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, PdfWriter, HttpServletRequest) - Method in class org.springframework.web.servlet.view.document.AbstractPdfView
-
Deprecated.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-storeheader. - 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 toServletRequestMethodArgumentResolverbut 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(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
RequestDataValueProcessorinstance 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 and write the result to the 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
HttpServletRequestattribute 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
RequestPredicatethat matches if request's HTTP method isPUTand the givenpatternmatches against the request path. - PUT(String, HandlerFunction) - Method in interface org.springframework.web.servlet.function.RouterFunctions.Builder
-
Adds a route to the given handler function that handles all HTTP
PUTrequests that match the given pattern. - PUT(String, RequestPredicate, HandlerFunction) - Method in interface org.springframework.web.servlet.function.RouterFunctions.Builder
-
Adds a route to the given handler function that handles all HTTP
PUTrequests that match the given pattern and predicate. - PUT(HandlerFunction) - Method in interface org.springframework.web.servlet.function.RouterFunctions.Builder
-
Adds a route to the given handler function that handles HTTP
PUTrequests. - PUT(RequestPredicate, HandlerFunction) - Method in interface org.springframework.web.servlet.function.RouterFunctions.Builder
-
Adds a route to the given handler function that handles all HTTP
PUTrequests that match the given predicate. - putAll(Map) - Method in class org.springframework.web.servlet.mvc.support.RedirectAttributesModelMap
Q
- queryProperties(Map) - 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(StringBuilder, Map, 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
Rangeheader. - 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
-
Deprecated.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
Modelinterface 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, ParserContext, Object) - Static method in class org.springframework.web.servlet.config.MvcNamespaceUtils
-
Registers a
Map<String, CorsConfiguration>(mappedCorsConfigurations) 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
DispatcherServletagainst 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) - 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
PathMatcherunder that well-known name, unless already registered. - registerPatternParser(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
PathPatternParserunder 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
DispatcherServletas follows: a default filter name is chosen based on its concrete type theasyncSupportedflag is set depending on the return value ofasyncSupporteda filter mapping is created with dispatcher typesREQUEST,FORWARD,INCLUDE, and conditionallyASYNCdepending 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
UrlPathHelperunder 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 thePageContextas needed. - removeAttributes() - Method in class org.springframework.web.servlet.tags.form.ErrorsTag
-
Removes any bind status error messages that were previously stored under
this keyin 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
nameusing the givenmodelAttributes. - render(String, Map) - Method in interface org.springframework.web.servlet.function.ServerResponse.BodyBuilder
-
Render the template with the given
nameusing the givenmodel. - render(Map, 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, 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
ScriptTemplateViewrender 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) - 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
ServerResponsethat exposes model and template data. - RenderingResponse.Builder - Interface in org.springframework.web.servlet.function
-
Defines a builder for
RenderingResponse. - renderMergedOutputModel(Map, HttpServletRequest, HttpServletResponse) - Method in class org.springframework.web.servlet.view.AbstractJacksonView
- renderMergedOutputModel(Map, HttpServletRequest, HttpServletResponse) - Method in class org.springframework.web.servlet.view.AbstractTemplateView
- renderMergedOutputModel(Map, HttpServletRequest, HttpServletResponse) - Method in class org.springframework.web.servlet.view.AbstractView
-
Subclasses must implement this method to actually render the view.
- renderMergedOutputModel(Map, HttpServletRequest, HttpServletResponse) - Method in class org.springframework.web.servlet.view.document.AbstractPdfStamperView
-
Deprecated.
- renderMergedOutputModel(Map, HttpServletRequest, HttpServletResponse) - Method in class org.springframework.web.servlet.view.document.AbstractPdfView
-
Deprecated.
- renderMergedOutputModel(Map, HttpServletRequest, HttpServletResponse) - Method in class org.springframework.web.servlet.view.document.AbstractXlsView
-
Deprecated.Renders the Excel view, given the specified model.
- renderMergedOutputModel(Map, HttpServletRequest, HttpServletResponse) - Method in class org.springframework.web.servlet.view.feed.AbstractFeedView
-
Deprecated.
- renderMergedOutputModel(Map, HttpServletRequest, HttpServletResponse) - Method in class org.springframework.web.servlet.view.InternalResourceView
-
Render the internal resource given the specified model.
- renderMergedOutputModel(Map, HttpServletRequest, HttpServletResponse) - Method in class org.springframework.web.servlet.view.json.AbstractJackson2View
-
Deprecated.
- renderMergedOutputModel(Map, HttpServletRequest, HttpServletResponse) - Method in class org.springframework.web.servlet.view.RedirectView
-
Convert model to request parameters and redirect to the given URL.
- renderMergedOutputModel(Map, HttpServletRequest, HttpServletResponse) - Method in class org.springframework.web.servlet.view.script.ScriptTemplateView
- renderMergedOutputModel(Map, HttpServletRequest, HttpServletResponse) - Method in class org.springframework.web.servlet.view.xml.MarshallingView
- renderMergedOutputModel(Map, HttpServletRequest, HttpServletResponse) - Method in class org.springframework.web.servlet.view.xslt.XsltView
- renderMergedTemplateModel(Map, HttpServletRequest, HttpServletResponse) - Method in class org.springframework.web.servlet.view.AbstractTemplateView
-
Subclasses must implement this method to actually render the view.
- renderMergedTemplateModel(Map, 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, 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
-
Deprecated.The actual render step: taking the POI
Workbookand rendering it to the given response. - renderWorkbook(Workbook, HttpServletResponse) - Method in class org.springframework.web.servlet.view.document.AbstractXlsxStreamingView
-
Deprecated.This implementation disposes of the
SXSSFWorkbookwhen done with rendering. - replaceMediaTypes(Map) - Method in class org.springframework.web.servlet.config.annotation.ContentNegotiationConfigurer
-
Similar to
ContentNegotiationConfigurer.mediaType(String, MediaType)but for replacing existing mappings. - replaceUriTemplateParams(String, List, Set) - Method in class org.springframework.web.servlet.tags.UrlTag
-
Replace template markers in the URL matching available parameters.
- replaceUriTemplateVariables(String, Map, Map, 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
-
PageContextattribute for the page-levelRequestContextinstance. - 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
RequestDataValueProcessorhas 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
@RequestBodyor anHttpEntitymethod argument. - RequestBodyAdviceAdapter - Class in org.springframework.web.servlet.mvc.method.annotation
-
A convenient starting point for implementing
RequestBodyAdvicewith 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
RequestConditionuseful when the type of the request condition is not known ahead of time, for example, custom condition. - 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, 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, 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, HttpServletResponse, ServletContext, Map) - Constructor for class org.springframework.web.servlet.support.RequestContext
-
Create a new RequestContext for the given request, using the given model attributes for Errors retrieval.
- RequestContext(HttpServletRequest, HttpServletResponse) - 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) - 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
RequestMappingHandlerAdapterfor 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, ApiVersionStrategy, FormattingConversionService, ResourceUrlProvider) - Method in class org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport
-
Return a
RequestMappingHandlerMappingordered at 0 for mapping requests to annotated controllers. - RequestMappingHandlerMapping - Class in org.springframework.web.servlet.mvc.method.annotation
-
Creates
RequestMappingInfoinstances from type-level and method-level@RequestMappingand@HttpExchangeannotations in@Controllerclasses. - 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, VersionRequestCondition, RequestCondition) - Constructor for class org.springframework.web.servlet.mvc.method.RequestMappingInfo
-
Deprecated.in favor using
RequestMappingInfo.BuilderviaRequestMappingInfo.paths(String...). - RequestMappingInfo(PatternsRequestCondition, RequestMethodsRequestCondition, ParamsRequestCondition, HeadersRequestCondition, ConsumesRequestCondition, ProducesRequestCondition, VersionRequestCondition, RequestCondition) - Constructor for class org.springframework.web.servlet.mvc.method.RequestMappingInfo
-
Deprecated.in favor using
RequestMappingInfo.BuilderviaRequestMappingInfo.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
RequestMappingInfodefines 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
HandlerMethodMappingNamingStrategyforRequestMappingInfo-based handler method mappings. - RequestMappingInfoHandlerMethodMappingNamingStrategy() - Constructor for class org.springframework.web.servlet.mvc.method.RequestMappingInfoHandlerMethodMappingNamingStrategy
- RequestMatchResult - Class in org.springframework.web.servlet.handler
-
Deprecated, for removal: This API element is subject to removal in a future version.together with
HandlerMappingIntrospectorwithout a replacement. - RequestMatchResult(String, String, PathMatcher) - Constructor for class org.springframework.web.servlet.handler.RequestMatchResult
-
Deprecated, for removal: This API element is subject to removal in a future version.use of
PathMatcherandUrlPathHelperis deprecated for use at runtime in web modules in favor of parsed patterns withPathPatternParser. - RequestMatchResult(PathPattern, PathContainer) - Constructor for class org.springframework.web.servlet.handler.RequestMatchResult
-
Deprecated.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 @
RequestPartOf typeMultipartFilein conjunction with Spring'sMultipartResolverabstraction Of typejakarta.servlet.http.Partin conjunction with Servlet multipart requests - RequestPartMethodArgumentResolver(List) - Constructor for class org.springframework.web.servlet.mvc.method.annotation.RequestPartMethodArgumentResolver
-
Basic constructor with converters only.
- RequestPartMethodArgumentResolver(List, List) - Constructor for class org.springframework.web.servlet.mvc.method.annotation.RequestPartMethodArgumentResolver
-
Constructor with converters and
RequestBodyAdviceandResponseBodyAdvice. - 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
RequestPredicatethat 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
@RequestBodyand handles return values from methods annotated with@ResponseBodyby reading and writing to the body of the request or response with anHttpMessageConverter. - RequestResponseBodyMethodProcessor(List) - Constructor for class org.springframework.web.servlet.mvc.method.annotation.RequestResponseBodyMethodProcessor
-
Basic constructor with converters only.
- RequestResponseBodyMethodProcessor(List, List) - Constructor for class org.springframework.web.servlet.mvc.method.annotation.RequestResponseBodyMethodProcessor
-
Complete constructor for resolving
@RequestBodymethod arguments. - RequestResponseBodyMethodProcessor(List, ContentNegotiationManager) - Constructor for class org.springframework.web.servlet.mvc.method.annotation.RequestResponseBodyMethodProcessor
-
Basic constructor with converters and
ContentNegotiationManager. - RequestResponseBodyMethodProcessor(List, ContentNegotiationManager, List) - Constructor for class org.springframework.web.servlet.mvc.method.annotation.RequestResponseBodyMethodProcessor
-
Variant of
RequestResponseBodyMethodProcessor(List, List)with an additionalContentNegotiationManagerargument, for return value handling. - RequestResponseBodyMethodProcessor(List, ContentNegotiationManager, List, List) - Constructor for class org.springframework.web.servlet.mvc.method.annotation.RequestResponseBodyMethodProcessor
-
Variant of
RequestResponseBodyMethodProcessor(List, ContentNegotiationManager, List)with an additionalErrorResponse.Interceptorargument for return value handling. - RequestToViewNameTranslator - Interface in org.springframework.web.servlet
-
Strategy interface for translating an incoming
HttpServletRequestinto 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
- resetCache(ServletRequest, HandlerMappingIntrospector.CachedResult) - Method in class org.springframework.web.servlet.handler.HandlerMappingIntrospector
-
Deprecated.Restore a previous
HandlerMappingIntrospector.CachedResult. - 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.ApiVersionMethodArgumentResolver
- 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)tofalseto 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.
- 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
BindStatusobject. - 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
ModelAndViewthat 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
-
Resolvesand 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
- resolveNestedViews(ViewResolver, Locale) - Method in interface org.springframework.web.servlet.SmartView
- resolveResource(HttpServletRequest, String, List) - Method in interface org.springframework.web.servlet.resource.ResourceResolverChain
-
Resolve the supplied request and request path to a
Resourcethat exists under one of the given resource locations. - resolveResource(HttpServletRequest, String, List, ResourceResolverChain) - Method in class org.springframework.web.servlet.resource.AbstractResourceResolver
- resolveResource(HttpServletRequest, String, List, ResourceResolverChain) - Method in interface org.springframework.web.servlet.resource.ResourceResolver
-
Resolve the supplied request and request path to a
Resourcethat exists under one of the given resource locations. - resolveResourceInternal(HttpServletRequest, String, List, ResourceResolverChain) - Method in class org.springframework.web.servlet.resource.AbstractResourceResolver
- resolveResourceInternal(HttpServletRequest, String, List, ResourceResolverChain) - Method in class org.springframework.web.servlet.resource.CachingResourceResolver
- resolveResourceInternal(HttpServletRequest, String, List, ResourceResolverChain) - Method in class org.springframework.web.servlet.resource.EncodedResourceResolver
- resolveResourceInternal(HttpServletRequest, String, List, ResourceResolverChain) - Method in class org.springframework.web.servlet.resource.LiteWebJarsResourceResolver
- resolveResourceInternal(HttpServletRequest, String, List, ResourceResolverChain) - Method in class org.springframework.web.servlet.resource.PathResourceResolver
- resolveResourceInternal(HttpServletRequest, String, List, ResourceResolverChain) - Method in class org.springframework.web.servlet.resource.VersionResourceResolver
- resolveResponseStatus(ResponseStatus, HttpServletRequest, HttpServletResponse, Object, Exception) - Method in class org.springframework.web.servlet.mvc.annotation.ResponseStatusExceptionResolver
-
Template method that handles the
@ResponseStatusannotation. - 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.
- 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) - 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, ResourceResolverChain) - Method in class org.springframework.web.servlet.resource.AbstractResourceResolver
- resolveUrlPath(String, List, 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, ResourceResolverChain) - Method in class org.springframework.web.servlet.resource.AbstractResourceResolver
- resolveUrlPathInternal(String, List, ResourceResolverChain) - Method in class org.springframework.web.servlet.resource.CachingResourceResolver
- resolveUrlPathInternal(String, List, ResourceResolverChain) - Method in class org.springframework.web.servlet.resource.EncodedResourceResolver
- resolveUrlPathInternal(String, List, ResourceResolverChain) - Method in class org.springframework.web.servlet.resource.LiteWebJarsResourceResolver
- resolveUrlPathInternal(String, List, ResourceResolverChain) - Method in class org.springframework.web.servlet.resource.PathResourceResolver
- resolveUrlPathInternal(String, List, ResourceResolverChain) - Method in class org.springframework.web.servlet.resource.VersionResourceResolver
- resolveViewName(String, Map, Locale, HttpServletRequest) - Method in class org.springframework.web.servlet.DispatcherServlet
-
Resolve the given view name into a View object (to be rendered).
- resolveViewName(String, Locale) - Method in class org.springframework.web.servlet.view.AbstractCachingViewResolver
- resolveViewName(String, Locale) - Method in class org.springframework.web.servlet.view.BeanNameViewResolver
- resolveViewName(String, Locale) - Method in class org.springframework.web.servlet.view.ContentNegotiatingViewResolver
- resolveViewName(String, Locale) - Method in class org.springframework.web.servlet.view.ViewResolverComposite
- resolveViewName(String, Locale) - Method in interface org.springframework.web.servlet.ViewResolver
-
Resolve the given view by name.
- resource(RequestPredicate, Resource) - Method in interface org.springframework.web.servlet.function.RouterFunctions.Builder
-
Route requests that match the given predicate to the given resource.
- resource(RequestPredicate, Resource) - Static method in class org.springframework.web.servlet.function.RouterFunctions
-
Route requests that match the given predicate to the given resource.
- resource(RequestPredicate, Resource, BiConsumer) - Method in interface org.springframework.web.servlet.function.RouterFunctions.Builder
-
Route requests that match the given predicate to the given resource.
- resource(RequestPredicate, Resource, BiConsumer) - Static method in class org.springframework.web.servlet.function.RouterFunctions
-
Route requests that match the given predicate to the given resource.
- RESOURCE_URL_PROVIDER_ATTR - Static variable in class org.springframework.web.servlet.resource.ResourceUrlProviderExposingInterceptor
-
Name of the request attribute that holds the
ResourceUrlProvider. - 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
ResourceHandlerRegistrationinstance. - 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
-
Deprecated, for removal: This API element is subject to removal in a future version.
- ResourceHandlerUtils - Class in org.springframework.web.servlet.resource
-
Resource handling utility methods to share common logic between
ResourceHttpRequestHandlerandorg.springframework.web.servlet.function. - ResourceHandlerUtils() - Constructor for class org.springframework.web.servlet.resource.ResourceHandlerUtils
- ResourceHttpRequestHandler - Class in org.springframework.web.servlet.resource
-
HttpRequestHandlerthat 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
ResourceResolverswhere 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(String, Resource, BiConsumer) - 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, BiConsumer) - 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) - Method in interface org.springframework.web.servlet.function.RouterFunctions.Builder
-
Route to resources using the provided lookup function.
- resources(Function) - Static method in class org.springframework.web.servlet.function.RouterFunctions
-
Route to resources using the provided lookup function.
- resources(Function) - Method in interface org.springframework.web.servlet.function.RouterFunctions.Visitor
-
Receive notification of a resource router function.
- resources(Function, BiConsumer) - Method in interface org.springframework.web.servlet.function.RouterFunctions.Builder
-
Route to resources using the provided lookup function.
- resources(Function, BiConsumer) - Static method in class org.springframework.web.servlet.function.RouterFunctions
-
Route to resources using the provided lookup 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
ResourceTransformerswhere 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
ResourceTransformerwith 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
HttpServletResponseand overrides itsencodeURLmethod 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
ResourceUrlProviderinstance 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
HttpServletRequestattribute 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
@ResponseBodyor aResponseEntitycontroller 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:
ResponseBodyEmitterincluding sub-classSseEmitterand others. - ResponseBodyEmitterReturnValueHandler(List) - 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, andContentNegotiationManagerwith an Accept header strategy. - ResponseBodyEmitterReturnValueHandler(List, ReactiveAdapterRegistry, TaskExecutor, ContentNegotiationManager) - Constructor for class org.springframework.web.servlet.mvc.method.annotation.ResponseBodyEmitterReturnValueHandler
-
Constructor that with added arguments to customize "reactive" type support.
- ResponseBodyEmitterReturnValueHandler(List, ReactiveAdapterRegistry, TaskExecutor, ContentNegotiationManager, List, LocaleResolver) - Constructor for class org.springframework.web.servlet.mvc.method.annotation.ResponseBodyEmitterReturnValueHandler
-
Constructor that with added arguments for view rendering.
- ResponseEntityExceptionHandler - Class in org.springframework.web.servlet.mvc.method.annotation
-
A class with an
@ExceptionHandlermethod that handles all Spring MVC raised exceptions by returning aResponseEntitywith RFC 9457 formatted error details in the body. - ResponseEntityExceptionHandler() - Constructor for class org.springframework.web.servlet.mvc.method.annotation.ResponseEntityExceptionHandler
- ResponseEntityReturnValueHandler - Class in org.springframework.web.servlet.mvc.method.annotation
-
Handler for return values of type
ResponseEntitythat delegates to one of the following:HttpEntityMethodProcessorfor responses with a concrete body valueResponseBodyEmitterReturnValueHandlerfor responses with a body that is aResponseBodyEmitteror an async/reactive type. - ResponseEntityReturnValueHandler(HttpEntityMethodProcessor, ResponseBodyEmitterReturnValueHandler) - Constructor for class org.springframework.web.servlet.mvc.method.annotation.ResponseEntityReturnValueHandler
- ResponseStatusExceptionResolver - Class in org.springframework.web.servlet.mvc.annotation
-
A
HandlerExceptionResolverthat uses the@ResponseStatusannotation 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) - 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) - 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> - Interface in org.springframework.web.servlet.function
-
Represents a function that routes to a handler function.
- routerFunctionMapping(FormattingConversionService, ResourceUrlProvider, ApiVersionStrategy) - Method in class org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport
-
Return a
RouterFunctionMappingordered at -1 to map router functions. - RouterFunctionMapping - Class in org.springframework.web.servlet.function.support
-
HandlerMappingimplementation 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
RouterFunctionMappingwith 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
RouterFunctionusing a discoverable builder-style API, to create aRouterFunctiongiven aRequestPredicateandHandlerFunction, 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
ScriptEnginefor automatic lookup in a web environment. - ScriptTemplateConfigurer - Class in org.springframework.web.servlet.view.script
-
An implementation of Spring MVC's
ScriptTemplateConfigfor creating aScriptEnginefor 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 aScriptTemplateConfigurerbean. - ScriptTemplateConfigurerBeanDefinitionParser() - Constructor for class org.springframework.web.servlet.config.ScriptTemplateConfigurerBeanDefinitionParser
- ScriptTemplateView - Class in org.springframework.web.servlet.view.script
-
An
AbstractUrlBasedViewsubclass 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
UrlBasedViewResolverthat supportsScriptTemplateViewand custom subclasses of it. - ScriptTemplateViewResolver() - Constructor for class org.springframework.web.servlet.view.script.ScriptTemplateViewResolver
-
Sets the default
view classtoScriptTemplateViewResolver.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
MediaTypeselected 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() - Method in interface org.springframework.web.servlet.function.ServerResponse.SseBuilder
-
Sends the buffered content as a server-sent event, without data.
- 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) - 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> - Interface in org.springframework.web.servlet.function
-
Defines a builder that adds headers to the response.
- ServerResponse.HeadersBuilder.WriteFunction - Interface in org.springframework.web.servlet.function
-
Defines the contract for
ServerResponse.HeadersBuilder.build(WriteFunction). - ServerResponse.SseBuilder - Interface in org.springframework.web.servlet.function
-
Defines a builder for a body that sends server-sent events.
- ServerResponse.StreamBuilder - Interface in org.springframework.web.servlet.function
-
Defines a builder for a streaming response body.
- 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
AbstractCookieValueMethodArgumentResolverthat 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
InvocableHandlerMethodwith the ability to handle return values through a registeredHandlerMethodReturnValueHandlerand also supports setting the response status based on a method-level@ResponseStatusannotation. - 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, for example, to resolve@ResponseStatusmessages with. - 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
ModelAttributeMethodProcessorthat 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, 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
AbstractWebArgumentResolverAdapterthat creates aNativeWebRequestfromServletRequestAttributes. - 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
FlashMapinstances to and from the HTTP session. - SessionFlashMapManager() - Constructor for class org.springframework.web.servlet.support.SessionFlashMapManager
- SessionLocaleResolver - Class in org.springframework.web.servlet.i18n
-
LocaleResolverimplementation 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-Languageheader, or the default locale for the server. - SessionLocaleResolver() - Constructor for class org.springframework.web.servlet.i18n.SessionLocaleResolver
- 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.
- 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
-
Deprecated, for removal: This API element is subject to removal in a future version.use of
PathMatcherandUrlPathHelperis deprecated for use at runtime in web modules in favor of parsed patterns withPathPatternParser. - setAlwaysUseFullPath(boolean) - Method in class org.springframework.web.servlet.mvc.WebContentInterceptor
-
Deprecated.the path is resolved externally and obtained with
ServletRequestPathUtils.getCachedPathValue(ServletRequest) - setApiVersionStrategy(ApiVersionStrategy) - Method in class org.springframework.web.servlet.handler.AbstractHandlerMapping
-
Configure a strategy to manage API versioning.
- setApiVersionStrategy(ApiVersionStrategy) - Method in class org.springframework.web.servlet.mvc.method.RequestMappingInfo.BuilderConfiguration
-
Set the strategy for API versioning.
- 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, for example, for resource loading. - setApplicationContext(ApplicationContext) - Method in class org.springframework.web.servlet.mvc.method.annotation.ExceptionHandlerExceptionResolver
- setApplicationContext(ApplicationContext) - Method in class org.springframework.web.servlet.FrameworkServlet
-
Called by Spring via
ApplicationContextAwareto inject the current application context. - setApplicationContext(ApplicationContext) - Method in class org.springframework.web.servlet.handler.HandlerMappingIntrospector
-
Deprecated.
- 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) - 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) - 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.Propertiesobject. - setAttributes(Properties) - Method in class org.springframework.web.servlet.view.UrlBasedViewResolver
-
Set static attributes from a
java.util.Propertiesobject, 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) - Method in class org.springframework.web.servlet.view.AbstractView
-
Set static attributes for this view from a Map.
- setAttributesMap(Map) - 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. - setBeanFactory(BeanFactory) - Method in class org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter
-
A
ConfigurableBeanFactoryis expected for resolving expressions in method argument default values. - setBeanName(String) - Method in class org.springframework.web.servlet.view.AbstractView
-
Set the view's name.
- 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
- 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.
- setCache(boolean) - Method in class org.springframework.web.servlet.view.AbstractCachingViewResolver
-
Enable or disable caching.
- setCache(HttpServletRequest) - Method in class org.springframework.web.servlet.handler.HandlerMappingIntrospector
-
Deprecated.Perform a lookup and save the
HandlerMappingIntrospector.CachedResultas a request attribute. - setCacheControl(CacheControl) - Method in class org.springframework.web.servlet.support.WebContentGenerator
-
Set the
CacheControlinstance to build the Cache-Control HTTP response header. - setCacheControl(CacheControl) - Method in class org.springframework.web.servlet.config.annotation.ResourceHandlerRegistration
-
Specify the
CacheControlwhich should be used by the resource handler. - 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
@SessionAttributesannotated 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
Templatesinstance. - 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
nullshould be cached and automatically resolved tonullsubsequently. - setCallableInterceptors(List) - 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.freemarker.FreeMarkerView
-
Set the
Charsetused to decode byte sequences to character sequences when reading the FreeMarker template file for this view. - 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.FreeMarkerView
-
Set the FreeMarker
Configurationto be used by this view. - setConfiguration(Configuration) - Method in class org.springframework.web.servlet.view.freemarker.FreeMarkerConfigurer
-
Set a preconfigured
Configurationto use for the FreeMarker web config — for example, a shared one for web and email usage. - setConfigurers(List) - Method in class org.springframework.web.servlet.config.annotation.DelegatingWebMvcConfiguration
- setContentCodings(List) - 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) - 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.view.ContentNegotiatingViewResolver
-
Set the
ContentNegotiationManagerto use to determine requested media types. - setContentNegotiationManager(ContentNegotiationManager) - Method in class org.springframework.web.servlet.mvc.method.annotation.ExceptionHandlerExceptionResolver
-
Set the
ContentNegotiationManagerto use to determine requested media types. - setContentNegotiationManager(ContentNegotiationManager) - Method in class org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter
-
Set the
ContentNegotiationManagerto use to determine requested media types. - setContentNegotiationManager(ContentNegotiationManager) - Method in class org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping
-
Set the
ContentNegotiationManagerto 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.
- 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 — for example,
"text/html;charset=UTF-8". - 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
WebApplicationContextthat 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
ApplicationContextInitializerclass names, per the optional "contextInitializerClasses" servlet init-param. - setContextInitializers(ApplicationContextInitializer...) - Method in class org.springframework.web.servlet.FrameworkServlet
-
Specify which
ApplicationContextInitializerinstances 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(Duration) - Method in class org.springframework.web.servlet.i18n.CookieLocaleResolver
-
Set the cookie "Max-Age" attribute.
- 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) - 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
CorsConfigurationSourcefor "global" CORS config. - setCorsProcessor(CorsProcessor) - Method in class org.springframework.web.servlet.handler.AbstractHandlerMapping
-
Configure a custom
CorsProcessorto use to apply the matchedCorsConfigurationfor 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) - Method in class org.springframework.web.servlet.mvc.method.annotation.ExceptionHandlerExceptionResolver
-
Provide resolvers for custom argument types.
- setCustomArgumentResolvers(List) - Method in class org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter
-
Provide resolvers for custom argument types.
- setCustomReturnValueHandlers(List) - Method in class org.springframework.web.servlet.mvc.method.annotation.ExceptionHandlerExceptionResolver
-
Provide handlers for custom return value types.
- setCustomReturnValueHandlers(List) - 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
Localethat this resolver will return if no other locale is found. - setDefaultLocaleFunction(Function) - 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) - 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
Localesession attribute has been found. - 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.
- 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
TimeZonethat this resolver will return if no other time zone is found. - setDefaultTimeZoneFunction(Function) - 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) - 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
TimeZonesession attribute has been found. - setDefaultVersion(String) - Method in class org.springframework.web.servlet.config.annotation.ApiVersionConfigurer
-
Configure a default version to assign to requests that don't specify one.
- setDefaultViews(List) - 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
ViewResolverchain. - setDeferredResultInterceptors(List) - 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.
- setDeprecationHandler(ApiVersionDeprecationHandler) - Method in class org.springframework.web.servlet.config.annotation.ApiVersionConfigurer
-
Configure a handler to add handling for requests with a deprecated API version.
- 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.AbstractJacksonView
-
Disables caching of the generated JSON.
- setDisableCaching(boolean) - Method in class org.springframework.web.servlet.view.json.AbstractJackson2View
-
Deprecated.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(HttpServletRequest, 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(HttpServletRequest, 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
-
Deprecated.Set the
JsonEncodingfor this view. - setEncoding(String) - Method in class org.springframework.web.servlet.view.freemarker.FreeMarkerView
-
Set the encoding used to decode byte sequences to character sequences when reading the FreeMarker template file for this view.
- setEncoding(JsonEncoding) - Method in class org.springframework.web.servlet.view.AbstractJacksonView
-
Set the
JsonEncodingfor this view. - setEncodingScheme(String) - Method in class org.springframework.web.servlet.view.RedirectView
-
Set the encoding scheme for this view.
- setEnctype(String) - Method in class org.springframework.web.servlet.tags.form.FormTag
-
Set the value of the '
enctype' attribute. - setEngine(ScriptEngine) - Method in class org.springframework.web.servlet.view.script.ScriptTemplateConfigurer
-
Set the
ScriptEngineto 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) - Method in class org.springframework.web.servlet.view.script.ScriptTemplateConfigurer
-
Set the
ScriptEnginesupplier to use by the view, usually used withScriptTemplateConfigurer.setSharedEngine(Boolean)set tofalse. - setEngineSupplier(Supplier) - 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
Environmentthat this servlet runs in. - setErrorListener(ErrorListener) - Method in class org.springframework.web.servlet.view.xslt.XsltView
-
Set an implementation of the
ErrorListenerinterface 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
ErrorListenerinterface for custom handling of transformation errors and warnings. - setErrorResponseInterceptors(List) - Method in class org.springframework.web.servlet.mvc.method.annotation.ExceptionHandlerExceptionResolver
-
Configure a list of
ErrorResponse.Interceptor's to apply when rendering an RFC 9457ProblemDetailerror response. - setErrorResponseInterceptors(List) - Method in class org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter
-
Configure a list of
ErrorResponse.Interceptor's to apply when rendering an RFC 9457ProblemDetailerror response. - setEtagGenerator(Function) - Method in class org.springframework.web.servlet.config.annotation.ResourceHandlerRegistration
-
Configure a generator function that will be used to create the ETag information, given a
Resourcethat is about to be written to the response. - setEtagGenerator(Function) - Method in class org.springframework.web.servlet.resource.ResourceHttpRequestHandler
-
Configure a generator function that will be used to create the ETag information, given a
Resourcethat is about to be written to the response. - 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) - 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
exposeModelAttributesflag 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) - 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.JacksonJsonView
-
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.
- setExtractValueFromSingleKeyModel(boolean) - Method in class org.springframework.web.servlet.view.json.MappingJackson2JsonView
-
Deprecated.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
-
Deprecated.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
FlashMapis 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) - Method in class org.springframework.web.servlet.resource.ResourceUrlProvider
-
Manually configure the resource mappings.
- setHandlerMethodMappingNamingStrategy(HandlerMethodMappingNamingStrategy) - 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
HandlerMethodReturnValueHandlerinstances to use to handle return values. - setHeaderPredicate(Predicate) - Method in class org.springframework.web.servlet.mvc.method.annotation.ExtendedServletRequestDataBinder
-
Set the Predicate that filters the header names to use for data binding.
- 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. - 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) - Method in class org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter
-
Configure the supported argument types in
@InitBindermethods. - 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.SelectTag
- setItems(Object) - Method in class org.springframework.web.servlet.tags.form.AbstractMultiCheckedElementTag
-
Set the
Collection,Mapor array of objects used to generate the 'input type="checkbox/radio"' tags. - setItems(Object) - Method in class org.springframework.web.servlet.tags.form.OptionsTag
- 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.JacksonJsonView
-
Specify a custom prefix to use for this view's JSON output.
- setJsonPrefix(String) - Method in class org.springframework.web.servlet.view.json.MappingJackson2JsonView
-
Deprecated.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 currentLocalevalue. - 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.
- setLocationCharsets(Map) - Method in class org.springframework.web.servlet.resource.PathResourceResolver
-
Configure charsets associated with locations.
- setLocations(List) - Method in class org.springframework.web.servlet.resource.ResourceHttpRequestHandler
-
Configure locations to serve resources from as pre-resourced Resource's.
- setLocationValues(List) - 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.
- setMappedHandlerPredicate(Predicate) - Method in class org.springframework.web.servlet.handler.AbstractHandlerExceptionResolver
-
Use a
Predicateto determine which handlers this exception resolver applies to, including when the request was not mapped in which case the handler isnull. - 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
Marshallerto 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) - 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) - Method in class org.springframework.web.servlet.function.support.RouterFunctionMapping
-
Set the message body converters to use.
- setMessageConverters(List) - Method in class org.springframework.web.servlet.mvc.method.annotation.ExceptionHandlerExceptionResolver
-
Set the message body converters to use.
- setMessageConverters(List) - 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) - 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.AbstractJacksonView
-
Set the attribute in the model that should be rendered by this view.
- setModelKey(String) - Method in class org.springframework.web.servlet.view.json.AbstractJackson2View
-
Deprecated.Set the attribute in the model that should be rendered by this view.
- setModelKey(String) - Method in class org.springframework.web.servlet.view.json.JacksonJsonView
- setModelKey(String) - Method in class org.springframework.web.servlet.view.json.MappingJackson2JsonView
-
Deprecated.
- setModelKey(String) - Method in class org.springframework.web.servlet.view.xml.JacksonXmlView
- setModelKey(String) - Method in class org.springframework.web.servlet.view.xml.MappingJackson2XmlView
-
Deprecated.
- 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) - Method in class org.springframework.web.servlet.view.json.JacksonJsonView
-
Set the attributes in the model that should be rendered by this view.
- setModelKeys(Set) - Method in class org.springframework.web.servlet.view.json.MappingJackson2JsonView
-
Deprecated.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.Param
-
Set the raw name of the parameter.
- 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.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
-
Deprecated.Set the
ObjectMapperfor 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
HandlerMappingsconfigured 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
HandlerMappingused 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.UrlBasedViewResolver
-
Specify the order value for this ViewResolver bean.
- setOrder(int) - Method in class org.springframework.web.servlet.view.ViewResolverComposite
- 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 (for example, for default attribute names).
- 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.
- setPath(String) - Method in class org.springframework.web.servlet.tags.NestedPathTag
-
Set the path that this tag should apply.
- 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.
- setPathMatcher(PathMatcher) - Method in class org.springframework.web.servlet.mvc.method.RequestMappingInfo.BuilderConfiguration
-
Deprecated, for removal: This API element is subject to removal in a future version.use of
PathMatcherandUrlPathHelperis deprecated for use at runtime in web modules in favor of parsed patterns withPathPatternParser. - setPathMatcher(PathMatcher) - Method in class org.springframework.web.servlet.config.annotation.PathMatchConfigurer
-
Deprecated, for removal: This API element is subject to removal in a future version.use of
PathMatcheris deprecated for use at runtime in web modules in favor of parsed patterns withPathPatternParser. - setPathMatcher(PathMatcher) - Method in class org.springframework.web.servlet.handler.AbstractHandlerMapping
-
Deprecated, for removal: This API element is subject to removal in a future version.use of
PathMatcherandUrlPathHelperis deprecated for use at runtime in web modules in favor of parsed patterns withPathPatternParser. - setPathMatcher(PathMatcher) - Method in class org.springframework.web.servlet.handler.MappedInterceptor
-
Deprecated, for removal: This API element is subject to removal in a future version.use of
PathMatcherandUrlPathHelperis deprecated for use at runtime in web modules in favor of parsed patterns withPathPatternParser. - setPathMatcher(PathMatcher) - Method in class org.springframework.web.servlet.mvc.WebContentInterceptor
-
Deprecated, for removal: This API element is subject to removal in a future version.use of
PathMatcherandUrlPathHelperis deprecated for use at runtime in web modules in favor of parsed patterns withPathPatternParser. - setPathMatcher(PathMatcher) - Method in class org.springframework.web.servlet.resource.ResourceUrlProvider
-
Deprecated, for removal: This API element is subject to removal in a future version.use of
PathMatcherandUrlPathHelperis deprecated for use at runtime in web modules. After the deprecation phase, it will no longer be possible to set a customized PathMatcher instance. - setPathPrefixes(Map) - Method in class org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping
-
Configure path prefixes to apply to controller methods.
- setPatternCacheLimit(int) - Method in class org.springframework.web.servlet.handler.HandlerMappingIntrospector
-
Deprecated.Set a limit on the maximum number of security patterns passed into
MatchableHandlerMapping.match(HttpServletRequest, String)at runtime to cache. - setPatternParser(PathPatternParser) - Method in class org.springframework.web.servlet.config.annotation.PathMatchConfigurer
-
Set the
PathPatternParserto parsepatternswith for URL path matching. - setPatternParser(PathPatternParser) - Method in class org.springframework.web.servlet.handler.AbstractHandlerMapping
-
Set the
PathPatternParserto parsepatternswith 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.RequestMappingInfo.BuilderConfiguration
-
Enable use of parsed
PathPatterns 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.JacksonJsonView
-
Indicates whether the JSON output by this view should be prefixed with
")]}', ". - setPrefixJson(boolean) - Method in class org.springframework.web.servlet.view.json.MappingJackson2JsonView
-
Deprecated.Indicates whether the JSON output by this view should be prefixed with
")]}', ". - setPrettyPrint(boolean) - Method in class org.springframework.web.servlet.view.json.AbstractJackson2View
-
Deprecated.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
truethe 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(String, 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(String, String)) to use in order to recognize custom redirect prefixes in addition to "redirect:". - setRejectInvalidCookies(boolean) - Method in class org.springframework.web.servlet.i18n.CookieLocaleResolver
-
Specify whether to reject cookies with invalid content (for example, invalid format).
- 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
-
Deprecated, for removal: This API element is subject to removal in a future version.use of
PathMatcherandUrlPathHelperis deprecated for use at runtime in web modules in favor of parsed patterns withPathPatternParser. - 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) - Method in class org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter
-
Add one or more
RequestBodyAdviceinstances to intercept the request before it is read and converted for@RequestBodyandHttpEntitymethod 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
ResourceHttpMessageConverterto use. - 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.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.ScriptTemplateView
-
See
ScriptTemplateConfigurer.setResourceLoaderPath(String)documentation. - setResourceRegionHttpMessageConverter(ResourceRegionHttpMessageConverter) - Method in class org.springframework.web.servlet.resource.ResourceHttpRequestHandler
-
Configure the
ResourceRegionHttpMessageConverterto use. - setResourceResolvers(List) - Method in class org.springframework.web.servlet.resource.ResourceHttpRequestHandler
-
Configure the list of
ResourceResolversto use. - setResourceTransformers(List) - Method in class org.springframework.web.servlet.resource.ResourceHttpRequestHandler
-
Configure the list of
ResourceTransformersto use. - setResourceUrlProvider(ResourceUrlProvider) - Method in class org.springframework.web.servlet.resource.ResourceTransformerSupport
-
Configure a
ResourceUrlProviderto use when resolving the public URL of links in a transformed resource (for example, import links in a CSS file). - setResponseBodyAdvice(List) - 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
@ResponseBodyor returningResponseEntitybut before the body is written to the response with the selectedHttpMessageConverter. - setResponseBodyAdvice(List) - Method in class org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter
-
Add one or more
ResponseBodyAdviceinstances to intercept the response before@ResponseBodyorResponseEntityreturn 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 typeunless theView.SELECTED_CONTENT_TYPErequest attribute is present and set to a concrete media type. - setReturnValueHandlers(List) - 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) - 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.ScriptTemplateView
-
See
ScriptTemplateConfigurer.setScripts(String...)documentation. - 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).
- 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) - 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, for example, for resource handling, looking up file extensions, etc. - setServletContext(ServletContext) - Method in class org.springframework.web.servlet.handler.SimpleServletPostProcessor
- setServletContext(ServletContext) - Method in class org.springframework.web.servlet.resource.DefaultServletHttpRequestHandler
-
If the
defaultServletNameproperty has not been explicitly set, attempts to locate the default Servlet using the known common container-specific names. - setServletContext(ServletContext) - Method in class org.springframework.web.servlet.view.freemarker.FreeMarkerConfigurer
-
Initialize the
TaglibFactoryfor the given ServletContext. - 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-localScriptEngineinstances 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.mvc.ParameterizableViewController
-
Configure the HTTP status code that this controller should set on 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.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) - Method in class org.springframework.web.servlet.resource.VersionResourceResolver
-
Set a Map with URL paths as keys and
VersionStrategyas 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.
- setSupportedLocales(List) - 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.
- setSupportedVersionPredicate(Predicate) - Method in class org.springframework.web.servlet.config.annotation.ApiVersionConfigurer
-
Provide a
Predicateto perform supported version checks with, in effect taking over the supported version check and superseding theApiVersionConfigurer.addSupportedVersions(String...)andApiVersionConfigurer.detectSupportedVersions. - 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 for the following: Handle
Callablecontroller method return values. - setTaskExecutor(AsyncTaskExecutor) - Method in class org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter
-
Set the default
AsyncTaskExecutorto 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.
- 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). - setTimeZoneAttributeName(String) - Method in class org.springframework.web.servlet.i18n.SessionLocaleResolver
-
Specify the name of the corresponding attribute in the
HttpSession, holding the currentTimeZonevalue. - setTitle(String) - Method in class org.springframework.web.servlet.tags.form.AbstractHtmlElementTag
-
Set the value of the '
title' attribute. - setTransformerFactoryClass(Class) - 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.AbstractJacksonView
-
Whether to update the 'Content-Length' header of the response.
- setUpdateContentLength(boolean) - Method in class org.springframework.web.servlet.view.json.AbstractJackson2View
-
Deprecated.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
-
Deprecated, for removal: This API element is subject to removal in a future version.use of
PathMatcherandUrlPathHelperis deprecated for use at runtime in web modules in favor of parsed patterns withPathPatternParser. - setUrlDecode(boolean) - Method in class org.springframework.web.servlet.mvc.method.annotation.ServletCookieValueMethodArgumentResolver
-
Whether to apply URL decoding to cookie values via
UrlPathHelper.decodeRequestString(HttpServletRequest, String). - setUrlDecode(boolean) - Method in class org.springframework.web.servlet.mvc.WebContentInterceptor
-
Deprecated.the path is resolved externally and obtained with
ServletRequestPathUtils.getCachedPathValue(ServletRequest) - setUrlMap(Map) - 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.mvc.method.RequestMappingInfo.BuilderConfiguration
-
Deprecated.the path is resolved externally and obtained with
ServletRequestPathUtils.getCachedPathValue(ServletRequest) - setUrlPathHelper(UrlPathHelper) - Method in class org.springframework.web.servlet.resource.PathResourceResolver
-
Deprecated, for removal: This API element is subject to removal in a future version.use of
PathMatcherandUrlPathHelperis deprecated for use at runtime in web modules in favor of parsed patterns withPathPatternParser. - setUrlPathHelper(UrlPathHelper) - Method in class org.springframework.web.servlet.resource.ResourceHttpRequestHandler
-
Deprecated, for removal: This API element is subject to removal in a future version.use of
PathMatcherandUrlPathHelperis deprecated for use at runtime in web modules in favor of parsed patterns withPathPatternParser. - setUrlPathHelper(UrlPathHelper) - Method in class org.springframework.web.servlet.config.annotation.PathMatchConfigurer
-
Deprecated, for removal: This API element is subject to removal in a future version.use of
PathMatcherandUrlPathHelperis deprecated for use at runtime in web modules in favor of parsed patterns withPathPatternParser. - setUrlPathHelper(UrlPathHelper) - Method in class org.springframework.web.servlet.handler.AbstractHandlerMapping
-
Deprecated, for removal: This API element is subject to removal in a future version.use of
PathMatcherandUrlPathHelperis deprecated for use at runtime in web modules in favor of parsed patterns withPathPatternParser. - setUrlPathHelper(UrlPathHelper) - Method in class org.springframework.web.servlet.mvc.AbstractUrlViewController
-
Deprecated, for removal: This API element is subject to removal in a future version.use of
PathMatcherandUrlPathHelperis deprecated for use at runtime in web modules in favor of parsed patterns withPathPatternParser. - setUrlPathHelper(UrlPathHelper) - Method in class org.springframework.web.servlet.mvc.method.annotation.ServletCookieValueMethodArgumentResolver
-
Deprecated, for removal: This API element is subject to removal in a future version.use of
PathMatcherandUrlPathHelperis deprecated for use at runtime in web modules in favor of parsed patterns withPathPatternParser. - setUrlPathHelper(UrlPathHelper) - Method in class org.springframework.web.servlet.mvc.WebContentInterceptor
-
Deprecated.the path is resolved externally and obtained with
ServletRequestPathUtils.getCachedPathValue(ServletRequest) - setUrlPathHelper(UrlPathHelper) - Method in class org.springframework.web.servlet.resource.ResourceUrlProvider
-
Deprecated, for removal: This API element is subject to removal in a future version.use of
PathMatcherandUrlPathHelperis deprecated for use at runtime in web modules. After the deprecation phase, it will no longer be possible to set a customized PathMatcher instance. - setUrlPathHelper(UrlPathHelper) - Method in class org.springframework.web.servlet.support.AbstractFlashMapManager
-
Deprecated, for removal: This API element is subject to removal in a future version.use of
PathMatcherandUrlPathHelperis deprecated for use at runtime in web modules in favor of parsed patterns withPathPatternParser. - setUrlPathHelper(UrlPathHelper) - Method in class org.springframework.web.servlet.support.RequestContext
-
Deprecated, for removal: This API element is subject to removal in a future version.use of
PathMatcherandUrlPathHelperis deprecated for use at runtime in web modules in favor of parsed patterns withPathPatternParser. - 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 Acceptablestatus code should be returned if no suitable view can be found. - 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. - 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(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.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 (for example, "Accept-Language") to add to the "Vary" response header to inform clients that the response is subject to content negotiation and variances based on the value of the given request headers.
- setVersionParser(ApiVersionParser) - Method in class org.springframework.web.servlet.config.annotation.ApiVersionConfigurer
-
Configure a parser to parse API versions with.
- setVersionRequired(boolean) - Method in class org.springframework.web.servlet.config.annotation.ApiVersionConfigurer
-
Whether requests are required to have an API version.
- 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.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.
- setViewName(String) - Method in class org.springframework.web.servlet.config.annotation.ViewControllerRegistration
-
Set the view name to return.
- 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) - Method in class org.springframework.web.servlet.view.ContentNegotiatingViewResolver
-
Sets the view resolvers to be wrapped by this view resolver.
- setViewResolvers(List) - 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
HandlerMethodor the resolver has global exception handlers and then delegates to the base class implementation of#shouldApplyTopassing the bean of theHandlerMethodif necessary. - shouldApplyTo(HttpServletRequest, Object) - Method in class org.springframework.web.servlet.mvc.method.annotation.ExceptionHandlerExceptionResolver
- shouldIgnoreInputPath(String) - Static method in class org.springframework.web.servlet.resource.ResourceHandlerUtils
-
Whether the given input path is invalid as determined by
ResourceHandlerUtils.isInvalidPath(String). - 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
SimpleControllerHandlerAdapterfor processing requests with interface-based controllers. - SimpleControllerHandlerAdapter - Class in org.springframework.web.servlet.mvc
-
Adapter to use the plain
Controllerworkflow interface with the genericDispatcherServlet. - SimpleControllerHandlerAdapter() - Constructor for class org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter
- SimpleMappingExceptionResolver - Class in org.springframework.web.servlet.handler
-
HandlerExceptionResolverimplementation 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
-
BeanPostProcessorthat applies initialization and destruction callbacks to beans that implement theServletinterface. - SimpleServletPostProcessor() - Constructor for class org.springframework.web.servlet.handler.SimpleServletPostProcessor
- SimpleUrlHandlerMapping - Class in org.springframework.web.servlet.handler
-
Implementation of the
HandlerMappinginterface that maps from URLs to request handler beans. - SimpleUrlHandlerMapping() - Constructor for class org.springframework.web.servlet.handler.SimpleUrlHandlerMapping
-
Create a
SimpleUrlHandlerMappingwith default settings. - SimpleUrlHandlerMapping(Map) - Constructor for class org.springframework.web.servlet.handler.SimpleUrlHandlerMapping
-
Create a
SimpleUrlHandlerMappingusing the supplied URL map. - SimpleUrlHandlerMapping(Map, int) - Constructor for class org.springframework.web.servlet.handler.SimpleUrlHandlerMapping
-
Create a
SimpleUrlHandlerMappingusing the supplied URL map and order. - SIZE_ATTRIBUTE - Static variable in class org.springframework.web.servlet.tags.form.InputTag
- SMART - Enum constant in enum class org.springframework.web.servlet.mvc.method.annotation.AbstractMessageConverterMethodArgumentResolver.ConverterType
- 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: for example, for creating BindStatus objects.
- sse(Consumer) - Static method in interface org.springframework.web.servlet.function.ServerResponse
-
Create a server-sent event response.
- sse(Consumer, 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
ResponseBodyEmitterfor 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() - Method in interface org.springframework.web.servlet.view.FragmentsRendering
-
Return the HTTP status to set the response to.
- 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(HttpStatusCode) - Method in interface org.springframework.web.servlet.view.FragmentsRendering.Builder
-
Specify the status to use for the response.
- 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) - Method in class org.springframework.web.servlet.config.annotation.ContentNegotiationConfigurer
-
Set the exact list of strategies to use.
- stream(Consumer) - Method in interface org.springframework.web.servlet.function.ServerResponse.BodyBuilder
-
Create a low-level streaming response; for SSE support, see
ServerResponse.sse(Consumer). - 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
OutputStreamwithout holding up the Servlet container thread. - StreamingResponseBodyReturnValueHandler - Class in org.springframework.web.servlet.mvc.method.annotation
-
Supports return values of type
StreamingResponseBodyand 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.
- Supported Exceptions - Section in class org.springframework.web.servlet.mvc.support.DefaultHandlerExceptionResolver
- 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
HandlerAdaptercan 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) - Method in class org.springframework.web.servlet.mvc.method.annotation.AbstractMappingJacksonResponseBodyAdvice
- supports(MethodParameter, Class) - Method in class org.springframework.web.servlet.mvc.method.annotation.JsonViewResponseBodyAdvice
- supports(MethodParameter, Class) - Method in class org.springframework.web.servlet.mvc.method.annotation.KotlinResponseBodyAdvice
- supports(MethodParameter, Class) - Method in interface org.springframework.web.servlet.mvc.method.annotation.ResponseBodyAdvice
-
Whether this component supports the given controller method return type and the selected
HttpMessageConvertertype. - supports(MethodParameter, Type, Class) - Method in class org.springframework.web.servlet.mvc.method.annotation.JsonViewRequestBodyAdvice
- supports(MethodParameter, Type, Class) - Method in class org.springframework.web.servlet.mvc.method.annotation.KotlinRequestBodyAdvice
- supports(MethodParameter, Type, Class) - 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
truesince 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.ApiVersionMethodArgumentResolver
- 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.ResponseEntityReturnValueHandler
- 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
Writerinstance. - TagWriter(PageContext) - Constructor for class org.springframework.web.servlet.tags.form.TagWriter
-
Create a new instance of the
TagWriterclass 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
- 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.handler.HandlerMappingIntrospector.CachedResult
-
Deprecated.
- 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
ByteArrayResourcethat aResourceTransformercan 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:bindtag (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.
- unprocessableContent() - Static method in interface org.springframework.web.servlet.function.ServerResponse
-
Create a builder with a 422 Unprocessable Content status.
- unprocessableEntity() - Static method in interface org.springframework.web.servlet.function.ServerResponse
-
Deprecated.since 7.0 in favor of
ServerResponse.unprocessableContent() - unregisterHandler(String) - Method in class org.springframework.web.servlet.handler.AbstractUrlHandlerMapping
-
Remove the mapping for the handler registered for the given URL path.
- 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.AbstractJacksonView
- updateContentLength - Variable in class org.springframework.web.servlet.view.json.AbstractJackson2View
-
Deprecated.
- updateFlashMaps(List, HttpServletRequest, HttpServletResponse) - Method in class org.springframework.web.servlet.support.AbstractFlashMapManager
-
Update the FlashMap instances in the underlying storage.
- updateFlashMaps(List, HttpServletRequest, HttpServletResponse) - Method in class org.springframework.web.servlet.support.SessionFlashMapManager
-
Saves the given FlashMap instances in the HTTP session.
- updateTargetUrl(String, Map, 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
HttpServletRequestattribute that contains the URI templates map, mapping variable names to values. - uriBuilder() - Method in interface org.springframework.web.servlet.function.ServerRequest
-
Get a
UriBuilderComponentsfrom 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
ViewResolverinterface, 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
Controllerimplementation 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
includeorforwardmethod. - useInclude(HttpServletRequest, HttpServletResponse) - Method in class org.springframework.web.servlet.view.InternalResourceView
-
Determine whether to use RequestDispatcher's
includeorforwardmethod. - useMediaTypeParameter(MediaType, String) - Method in class org.springframework.web.servlet.config.annotation.ApiVersionConfigurer
-
Add resolver to extract the version from a media type parameter found in the Accept or Content-Type headers.
- usePathSegment(int) - Method in class org.springframework.web.servlet.config.annotation.ApiVersionConfigurer
-
Add resolver to extract the version from a path segment.
- useQueryParam(String) - Method in class org.springframework.web.servlet.config.annotation.ApiVersionConfigurer
-
Add resolver to extract the version from a query string parameter.
- useRegisteredExtensionsOnly(boolean) - Method in class org.springframework.web.servlet.config.annotation.ContentNegotiationConfigurer
-
When
ContentNegotiationConfigurer.favorParameter(boolean)is set, this property determines whether to use only registeredMediaTypemappings to resolve a path extension to a specific MediaType. - useRequestHeader(String) - Method in class org.springframework.web.servlet.config.annotation.ApiVersionConfigurer
-
Add resolver to extract the version from a request header.
- 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
HandlerMappinginstance has been enabled to use parsedPathPatterns in which case theDispatcherServletautomaticallyparsestheRequestPathto make it available foraccessinHandlerMappings,HandlerInterceptors, and other components. - useVersionResolver(ApiVersionResolver...) - Method in class org.springframework.web.servlet.config.annotation.ApiVersionConfigurer
-
Add custom resolvers to resolve the API version.
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.
- valueOf(String) - Static method in enum class org.springframework.web.servlet.mvc.method.annotation.AbstractMessageConverterMethodArgumentResolver.ConverterType
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class org.springframework.web.servlet.mvc.method.annotation.AbstractMessageConverterMethodArgumentResolver.ConverterType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- varyBy(String...) - Method in interface org.springframework.web.servlet.function.EntityResponse.Builder
-
Configure one or more request header names (for example, "Accept-Language") to add to the "Vary" response header to inform clients that the response is subject to content negotiation and variances based on the value of the given request headers.
- varyBy(String...) - Method in interface org.springframework.web.servlet.function.ServerResponse.HeadersBuilder
-
Configure one or more request header names (for example, "Accept-Language") to add to the "Vary" response header to inform clients that the response is subject to content negotiation and variances based on the value of the given request headers.
- version(Object) - Static method in class org.springframework.web.servlet.function.RequestPredicates
-
RequestPredicateto match to the request API version extracted from and parsed with the configuredApiVersionStrategy. - version(String) - Method in interface org.springframework.web.servlet.function.RequestPredicates.Visitor
-
Receive notification of an API version predicate.
- version(String) - Method in interface org.springframework.web.servlet.mvc.method.RequestMappingInfo.Builder
-
Set the API version condition.
- VersionPathStrategy - Interface in org.springframework.web.servlet.resource
-
A strategy for extracting and embedding a resource version in its URL path.
- VersionRequestCondition - Class in org.springframework.web.servlet.mvc.condition
-
Request condition to map based on the API version of the request.
- VersionRequestCondition(String, ApiVersionStrategy) - Constructor for class org.springframework.web.servlet.mvc.condition.VersionRequestCondition
-
Constructor with the version, if set on the
@RequestMapping, and theApiVersionStrategy, if API versioning is enabled. - 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 (for example, 1 year) and cached until the version, and therefore the URL, is changed.
- VersionResourceResolver() - Constructor for class org.springframework.web.servlet.resource.VersionResourceResolver
- VersionStrategy - Interface in org.springframework.web.servlet.resource
-
An extension of
VersionPathStrategythat 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
voidandStringinterpreting 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
ViewResolverbean 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
ViewResolverthat 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
ViewResolverinstances. - ViewResolverRegistry(ContentNegotiationManager, ApplicationContext) - Constructor for class org.springframework.web.servlet.config.annotation.ViewResolverRegistry
-
Class constructor with
ContentNegotiationManagerandApplicationContext. - ViewResolversBeanDefinitionParser - Class in org.springframework.web.servlet.config
-
Parses the
view-resolversMVC namespace element and registersViewResolverbean 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
AbstractControllerandWebContentInterceptor. - 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
PathPatternParserto parse patterns with. - 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.
- with(String) - Static method in interface org.springframework.web.servlet.view.FragmentsRendering
-
Deprecated, for removal: This API element is subject to removal in a future version.in favor of
FragmentsRendering.fragment(String) - with(String, Map) - Static method in interface org.springframework.web.servlet.view.FragmentsRendering
-
Deprecated, for removal: This API element is subject to removal in a future version.in favor of
FragmentsRendering.fragment(String, Map) - with(Collection) - Static method in interface org.springframework.web.servlet.view.FragmentsRendering
-
Deprecated, for removal: This API element is subject to removal in a future version.in favor of
FragmentsRendering.fragments(Collection) - 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) - Method in interface org.springframework.web.servlet.function.RouterFunction
-
Return a new routing function with attributes manipulated with the given consumer.
- withAttributes(Consumer) - 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(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(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(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(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(UriComponentsBuilder). - Workflow - Section in interface org.springframework.web.servlet.mvc.Controller
- write(HttpServletRequest, HttpServletResponse) - Method in interface org.springframework.web.servlet.function.ServerResponse.HeadersBuilder.WriteFunction
-
Write to the given
servletResponse, or return aModelAndViewto be rendered. - write(Object) - Method in interface org.springframework.web.servlet.function.ServerResponse.StreamBuilder
-
Write the given object to the response stream, without flushing.
- write(Object, MediaType) - Method in interface org.springframework.web.servlet.function.ServerResponse.StreamBuilder
-
Write the given object to the response stream, without flushing.
- 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
-
Deprecated.Write the actual JSON content to the stream.
- writeContent(OutputStream, Object, Map) - Method in class org.springframework.web.servlet.view.AbstractJacksonView
-
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. - writeLock - Variable in class org.springframework.web.servlet.mvc.method.annotation.ResponseBodyEmitter
-
Guards access to write operations on the response.
- 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
nullor zero length. - writePrefix(JsonGenerator, Object) - Method in class org.springframework.web.servlet.view.json.AbstractJackson2View
-
Deprecated.Write a prefix before the main content.
- writePrefix(JsonGenerator, Object) - Method in class org.springframework.web.servlet.view.json.MappingJackson2JsonView
-
Deprecated.
- writePrefix(JsonGenerator, Object) - Method in class org.springframework.web.servlet.view.AbstractJacksonView
-
Write a prefix before the main content.
- writePrefix(JsonGenerator, Object) - Method in class org.springframework.web.servlet.view.json.JacksonJsonView
- writeSuffix(JsonGenerator, Object) - Method in class org.springframework.web.servlet.view.json.AbstractJackson2View
-
Deprecated.Write a suffix after the main content.
- writeSuffix(JsonGenerator, Object) - Method in class org.springframework.web.servlet.view.AbstractJacksonView
-
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 suppliedTagWriterincluding 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
-
Write 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
- 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
-
ViewResolverimplementation that resolves instances ofXsltViewby 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
Viewclass or perform rendering in web handlers directly.