Update MultipartFilter documentations

Issue: SPR-11373
This commit is contained in:
Rossen Stoyanchev 2016-05-31 12:42:32 -04:00
parent 22c260f3fe
commit 92f1b69e8c
1 changed files with 5 additions and 1 deletions

View File

@ -1,5 +1,5 @@
/*
* Copyright 2002-2015 the original author or authors.
* Copyright 2002-2016 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@ -39,6 +39,10 @@ import org.springframework.web.multipart.MultipartResolver;
* <p>If no MultipartResolver bean is found, this filter falls back to a default
* MultipartResolver: {@link StandardServletMultipartResolver} for Servlet 3.0,
* based on a multipart-config section in {@code web.xml}.
* Note however that at present the Servlet specification only defines how to
* enable multipart configuration on a Servlet and as a result multipart request
* processing is likely not possible in a Filter unless the Servlet container
* provides a workaround such as Tomcat's "allowCasualMultipartParsing" property.
*
* <p>MultipartResolver lookup is customizable: Override this filter's
* {@code lookupMultipartResolver} method to use a custom MultipartResolver