Juergen Hoeller
4129f00a02
Polishing
...
(cherry picked from commit 4db258b )
2014-08-11 22:35:26 +02:00
Juergen Hoeller
e2d71a8ccd
Polishing
2014-08-11 15:45:54 +02:00
Juergen Hoeller
c08ded769a
Polishing (includes varargs for selected String array setters)
2014-08-09 00:19:56 +02:00
Rossen Stoyanchev
fbf24a927d
Update Javadoc (cherry-picked from 162734)
...
Issue: SPR-12028
2014-07-29 18:07:36 -04:00
Juergen Hoeller
f2eea9d911
Polishing
...
(cherry picked from commit 8f484d3 )
2014-07-29 11:50:50 +02:00
Juergen Hoeller
cac0683dab
Rearranged statement whitespace in Velocity macros
...
(cherry picked from commit 7bc9660 )
2014-07-29 11:47:12 +02:00
Juergen Hoeller
6e95b2613e
Polishing
2014-07-24 18:35:49 +02:00
Juergen Hoeller
5f77dce1ee
SelectedValueComparator defensively handles null values in exhaustiveCompare
...
Issue: SPR-12001
(cherry picked from commit 980f971 )
2014-07-24 17:46:04 +02:00
Juergen Hoeller
ede2150544
Polishing
2014-07-02 17:32:43 +02:00
Juergen Hoeller
7396210d40
Package javadoc cleanup for web.servlet.mvc, removing outdated references
...
Issue: SPR-11935
(cherry picked from commit ba522e5 )
2014-07-01 18:12:42 +02:00
Juergen Hoeller
0bf0901b8f
SelectTag consistently checks specified 'multiple' attribute now, never falling back to forceMultiple in case of user-provided value
...
Issue: SPR-11903
(cherry picked from commit 779ca99 )
2014-07-01 11:57:15 +02:00
Juergen Hoeller
ba6d187b5c
Consistent MvcUriComponentsBuilder assertion handling
...
(cherry picked from commit 61b47ba )
2014-05-20 01:51:33 +02:00
Juergen Hoeller
545c28fd4e
Minor UriComponentsBuilder javadoc revision
2014-05-20 00:47:03 +02:00
Juergen Hoeller
1e7fade89e
JasperReports-related polishing
...
(cherry picked from commit 782d10c )
2014-05-12 20:50:24 +02:00
Sebastien Deleuze
80cb0c4e5b
Include more guidance about DispatcherServlet context
...
Also update <mvc:annotation-driven /> comment in XSD.
Issue: SPR-11703
2014-04-28 22:10:52 -04:00
Juergen Hoeller
4dbc0c296c
Polishing
...
(cherry picked from commit ec7d80b )
2014-04-24 10:31:39 +02:00
Juergen Hoeller
d3c9a31e9a
DispatcherServlet skips multipart resolution if error page exception attribute indicates MultipartException as root cause
...
Issue: SPR-11716
(cherry picked from commit 5b47816 )
2014-04-24 10:30:12 +02:00
Juergen Hoeller
38cd79047a
SelectTag correctly detects multiple="true" again
...
Issue: SPR-11678
(cherry picked from commit 8d8766d )
2014-04-09 18:59:37 +02:00
Juergen Hoeller
f014bbb5cf
Revised ByteArrayOutputStream handling in MarshallingView and co
...
Issue: SPR-11646
(cherry picked from commit 8006696 )
2014-04-02 21:29:37 +02:00
Juergen Hoeller
d1030b798d
ResourceHttpRequestHandler explicitly closes a Resource's InputStream
...
Issue: SPR-11644
(cherry picked from commit 3a96f16 )
2014-04-02 21:29:05 +02:00
Juergen Hoeller
d628025f13
Polishing
...
Issue: SPR-11262
2014-04-02 21:28:42 +02:00
Rossen Stoyanchev
e92bbc8014
Revert "Improve suffix pattern check"
...
This reverts commit 3474afb165 .
Unfortunately this change is likely to cause issues for applications
that use regular expressions in a URI variable. I think we will have
to leave at: if there are any dots in the last segment of the
request path, regardless of whether they're in a URI var or not,
the suffix pattern match is off.
Issue: SPR-11532
2014-03-26 11:37:11 -04:00
Juergen Hoeller
074590730b
Polishing
2014-03-25 00:54:02 +01:00
Juergen Hoeller
465ca24ab2
DispatcherServlet logs request URI in encoded form only
...
Issue: SPR-11591
2014-03-24 23:26:05 +01:00
Juergen Hoeller
dd7f54c3c0
Revised ResizableByteArrayOutputStream as an actual subclass of ByteArrayOutputStream, and consistently applied appropriate ByteArrayOutputStream initial capacities across the codebase
...
Issue: SPR-11594
2014-03-24 22:57:38 +01:00
Juergen Hoeller
c10eeb414c
Polishing
2014-03-24 14:37:08 +01:00
Juergen Hoeller
7399723165
Introduced getFlashMapsMutex template method and optimized SessionFlashMapManager's locking
...
SessionFlashMapManager also clears the session attribute now when the given FlashMap List is empty.
Issue: SPR-11538
2014-03-24 11:16:56 +01:00
Juergen Hoeller
0af6e1bb1b
MVC handler method detection ignores scoped targets in favor of proxies
...
Issue: SPR-11548
2014-03-24 11:02:03 +01:00
Juergen Hoeller
189cd663c5
Polishing
2014-03-15 00:46:06 +01:00
Juergen Hoeller
791f58e6be
Polishing
2014-03-13 17:31:39 +01:00
Rossen Stoyanchev
3474afb165
Improve suffix pattern check
...
After this change dots inside URI variables in a request mapping
pattern are ignored and no longer considered an indication that
the pattern contains a suffix itself.
Issue: SPR-11532
2014-03-12 16:42:16 -04:00
Juergen Hoeller
4d3ca4319e
Polishing
2014-03-11 22:09:46 +01:00
Rossen Stoyanchev
0036d9a5c9
Polish
2014-03-06 12:28:06 -05:00
Sebastien Deleuze
2f8bc6eec1
Decode target parameter names prior to saving a FlashMap
...
In addition to the target parameter values (SPR-9657), the target
parameter names must also be decoded to be able to match
them to the parameter names of incoming requests.
Issue: SPR-11504
2014-03-06 11:56:28 -05:00
Rossen Stoyanchev
035bac025a
Use unique names when auto-registering Filters
...
AbstractDispatcherServletInitializer now adds a unique suffix to a
filter name if it fails to register it.
Issue: SPR-11493
2014-02-28 09:56:46 -05:00
Brian Clozel
fc05df0f14
Expose path matching settings in MVC Java config
...
Prior to this commit, one had to provide her own
RequestMappingHandlerMapping instance (i.e extend
WebMvcConfigurationSupport and override the requestMappingHandlerMapping
method) in order to customize path matching properties on that bean.
Since SPR-10163, XML config users can do that using the
<mvc:path-matching/> XML tag. This commit adds the same feature to MVC
Java config with a PathMatchConfigurer.
Issue: SPR-11486
2014-02-28 15:50:01 +01:00
Rossen Stoyanchev
801237aec1
Add getMatchingPatterns method to Patterns condition
...
Issue: SPR-11484
2014-02-27 16:27:40 -05:00
Juergen Hoeller
8a96d1a6ee
Polishing
2014-02-14 23:40:03 +01:00
Juergen Hoeller
14e5a02870
Mixed polishing along with recent changes
2014-02-14 21:39:40 +01:00
Juergen Hoeller
9c6df766cd
Related polishing
...
Issue. SPR-11428
2014-02-14 21:38:44 +01:00
Juergen Hoeller
f913940402
Avoid unnecessary getMappingForMethod repeat (in particular for RequestMappingInfo)
...
Issue. SPR-11428
2014-02-14 20:48:40 +01:00
Juergen Hoeller
72fe7ebc34
Objects with multi-threaded access should not lazily populate a hash field
...
Issue. SPR-11428
2014-02-14 20:46:34 +01:00
Juergen Hoeller
34d397efa9
Restored original detectHandlerMethods call chain for backwards compatibility with custom subclasses (such as in Spring Integration)
2014-02-14 01:30:16 +01:00
Rossen Stoyanchev
741b4b229a
Add encoding for the default action in FormTag
...
Issue: SPR-11426
2014-02-13 14:36:12 -05:00
Rossen Stoyanchev
0cb27f4bc5
Allow HttpMethod as a controller method argument
...
Issue: SPR-11425
2014-02-13 12:16:24 -05:00
Juergen Hoeller
0ec99fdef7
Polishing
2014-02-12 18:36:04 +01:00
Juergen Hoeller
6f58491b9c
MarshallingView explicitly skips BindingResult when searching for a model object
...
Just implementing common custom subclass behavior out-of-the-box...
Issue: SPR-11417
2014-02-12 18:35:36 +01:00
Juergen Hoeller
4a45af0038
AbstractHandlerMethodMapping should reuse BeanFactory.getType result
2014-02-12 00:11:36 +01:00
Juergen Hoeller
5f1592a61a
Consistently avoid close() call on Servlet OutputStream
...
Issue: SPR-11413
2014-02-11 23:42:37 +01:00
Juergen Hoeller
648245b200
MarshallingView should not close response OutputStream after copying to it
...
Also throws IllegalStateException instead of ServletException now, consistent with other Spring MVC classes.
Issue: SPR-11411
2014-02-11 23:41:09 +01:00