Juergen Hoeller
acefd8381d
Polishing
2014-11-02 11:38:35 +01:00
Juergen Hoeller
c8b8dc5f97
TilesConfigurer defensively expects null from getResources in case of no resources found
...
Also includes order preservation for resource results with Tiles 2 as well as retrieval failure logging with Tiles 3.
Issue: SPR-12362
(cherry picked from commit cb86036 )
2014-11-01 12:55:53 +01:00
Juergen Hoeller
aa82da8507
Set ResponseStatusExceptionResolver.messageSource in the MVC Java config
...
Issue: SPR-12380
(cherry picked from commit 17b9bde )
2014-11-01 12:55:03 +01:00
Juergen Hoeller
15c8987cc4
Polishing
2014-10-22 01:10:01 +02:00
Juergen Hoeller
b91cab1fde
Polishing
2014-09-26 22:18:15 +02:00
Juergen Hoeller
7d55715213
Polishing
2014-09-17 13:53:12 +02:00
Juergen Hoeller
f8b729aa5f
Polishing
2014-09-17 01:51:23 +02:00
Juergen Hoeller
249c688e9b
DispatcherServlet's checkMultipart detects wrapped MultipartRequest as well
...
Issue: SPR-12114
(cherry picked from commit 786fd92 )
2014-08-22 23:18:39 +02:00
Juergen Hoeller
e324c2ab4a
Polishing
2014-08-22 00:14:10 +02:00
Juergen Hoeller
25971d9927
Consistent attribute documentation/formatting in spring-context and spring-mvc schemas
...
(cherry picked from commit b5763fe )
2014-08-22 00:04:12 +02:00
Juergen Hoeller
42c090efa4
Polishing
...
Issue: SPR-12079
(cherry picked from commit 92bd240 )
2014-08-13 15:28:36 +02:00
Juergen Hoeller
035a9b91d2
BeanNameViewResolver ignores non-View beans
...
Issue: SPR-12079
(cherry picked from commit 626a5fe )
2014-08-13 15:28:09 +02:00
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
48f753f368
Polishing (backported from master)
2014-07-01 12: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
Stephane Nicoll
4cd818b9e4
Harmonize log configuration
...
Prior to this commit, the codebase was using a mix of log4j.xml
and log4j.properties for test-related logging configuration. This
can be an issue as log4j takes the xml variant first when looking
for a default bootstrap configuration.
In practice, some modules declaring the properties variant were
taking the xml variant configuration from another module.
The general structure of the configuration has also been
harmonized to provide a standard console output as well as an
easy way to enable trace logs for the current module.
2014-03-20 09:43:29 -07:00
Juergen Hoeller
e0757e7ed6
Detect ControllerAdvice beans in ancestor contexts as well
...
Issue: SPR-11570
2014-03-18 22:29:50 +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
Sam Brannen
9891bdc7b4
Clean up "abstract" test issues
...
- Deleted empty AbstractWebSocketClientTests class.
- AbstractServletHandlerMethodTests and AbstractHttpRequestTests are
now actually declared as abstract.
- The following classes are not abstract but currently have an
"Abstract" prefix and therefore get ignored by the Gradle build.
This commit renames each of these by deleting the "Abstract" prefix.
- AbstractFlashMapManagerTests
- AbstractMappingContentNegotiationStrategyTests
- AbstractSockJsServiceTests
- AbstractWebSocketHandlerRegistrationTests
2014-03-05 12:41:26 +01:00