|
Generated by JDiff |
||||||||
PREV PACKAGE NEXT PACKAGE FRAMES NO FRAMES |
This file contains all the changes in documentation in the packageorg.springframework.web.servlet.config.annotation
as colored differences. Deletions are shownlike this, and additions are shown like this.
If no deletions or additions are shown in an entry, the HTML tags will be what has changed. The new HTML tags are shown in the differences. If no documentation existed, and then some was added in a later version, this change is noted in the appropriate class pages of differences, but the change is not shown on this page. Only changes in existing text are shown here. Similarly, documentation which was inherited from another class or interface is not shown here.
Note that an HTML error in the new documentation may cause the display of other documentation changes to be presented incorrectly. For instance, failure to close a <code> tag will cause all subsequent paragraphs to be displayed differently.
Set the default AsyncTaskExecutor to use when a controller method returns a Callable. Controller methods can override this default on a per-request basis by returning anAsyncTaskMvcAsyncTask.By default a SimpleAsyncTaskExecutor instance is used and it's highly recommended to change that default in production since the simple executor does not re-use threads. @param taskExecutor the task executor instance to use by default
Class ContentNegotiationConfigurer, ContentNegotiationConfigurer replaceMediaTypes(Map<String, MediaType>)@returnReturn the configured ContentNegotiationManager instance
Add mappings from file extensions to media types replacing any previous mappings.If this property is not set, the Java Action Framework, if available, may still be used in conjunction with .
setFavorPathExtensionfavorPathExtension(boolean).
Configures a request handler for serving static resources by forwarding the request to the Servlet container's "default" Servlet. This isindendedintended to be used when the Spring MVC DispatcherServlet is mapped to "/" thus overriding the Servlet container's default handling of static resources. Since this handler is configured at the lowest precedence, effectively it allows all other handler mappings to handle the request, and if none of them do, this handler can forward it to the "default" Servlet. @author Rossen Stoyanchev @since 3.1 @see DefaultServletHttpRequestHandler
Class WebMvcConfigurationSupport, Validator mvcValidator()ReturnsReturn a FormattingConversionService for use with annotated controller methods and the {@code spring:eval} JSP tag. Also see .addFormatters as an alternative to overriding this method.
ReturnsReturn a global Validator instance for example for validating {@code @ModelAttribute} and {@code @RequestBody} method arguments. Delegates to .getValidator() first and if that returns {@code null} checks the classpath for the presence of a JSR-303 implementations before creating a {@code LocalValidatorFactoryBean}.If a JSR-303 implementation is not available, a no-op Validator is returned.