Juergen Hoeller
cc06183668
SimpleJdbcCall reliably throws exception on missing stored procedure
...
Issue: SPR-13669
2015-11-12 00:47:46 +01:00
Juergen Hoeller
43d72e2079
Restored capacity check before trying output stream resize
...
Issue: SPR-13671
2015-11-12 00:47:33 +01:00
Rossen Stoyanchev
e707347474
Fix failing tests
2015-11-11 18:02:50 -05:00
Rossen Stoyanchev
3a919a48d6
Switch "attachment" to "inline" on Content-Disposition
...
Issue: SPR-13587, SPR-13643
2015-11-11 17:14:29 -05:00
Rossen Stoyanchev
8c127ad3c9
Property init HandlerMapping in standalone MockMvc
...
Issue: SPR-13637
2015-11-11 15:14:18 -05:00
Rossen Stoyanchev
62af99a21c
Add containsKey to ServletResponseHttpHeaders
...
Issue: SPR-13668
2015-11-11 14:22:26 -05:00
Rossen Stoyanchev
cf4a417f71
Upgrade to reactor 2.0.7
...
Issue: SPR-13665
2015-11-11 13:51:00 -05:00
Juergen Hoeller
e56c11c1e8
AbstractApplicationContext.isRunning() avoids IllegalStateException
...
Issue: SPR-13667
2015-11-11 00:10:02 +01:00
Juergen Hoeller
71a7b5d086
Fixed code examples
...
Issue: SPR-13666
2015-11-10 23:58:25 +01:00
Juergen Hoeller
2bf8c0bc42
Polishing
2015-11-10 23:47:46 +01:00
Juergen Hoeller
cdf6eb95ab
Reduced warn log entry without stacktrace for startup exceptions
...
Issue: SPR-13663
2015-11-10 23:45:45 +01:00
Juergen Hoeller
5d9d88c44d
CommonsMultipartFile removes mixed separator paths from original filename
...
Issue: SPR-13662
2015-11-10 23:43:40 +01:00
Phillip Webb
e6b1f0a139
Use constants when caching empty arrays
...
Reduce cache memory consumption by using a single constant for empty
arrays.
2015-11-09 09:38:48 -08:00
Juergen Hoeller
760bc719f2
Polishing
2015-11-09 15:03:14 +01:00
Juergen Hoeller
da9c80c604
Revised method selection for JMS listeners (and their parameters)
...
Issue: SPR-13576
2015-11-09 15:02:15 +01:00
Juergen Hoeller
d5efe4f983
Detect event listener methods behind interface proxies as well
...
Issue: SPR-13650
2015-11-09 15:00:03 +01:00
Juergen Hoeller
bc7bcab578
Consistent method selection for listeners and endpoint mappings
...
Issue: SPR-13654
2015-11-09 14:57:45 +01:00
Sam Brannen
5b06150096
Deprecate correct method in AnnotatedElementUtils
2015-11-09 12:05:28 +00:00
Stephane Nicoll
2a2a8d3f93
Allow null values to be cached with `@CacheResult`
...
Even though the JSR-107 spec forbids to store null values, our cache
abstraction allows that behaviour with a special handled (and this is
the default behaviour).
While this was working fine with our own set of annotations, the
JSR-107 interceptor counterpart was interpreting the spec sensu strictu.
We now allow for that special case as well.
Issue: SPR-13641
2015-11-09 13:04:40 +01:00
Juergen Hoeller
59b6600763
Class identity comparisons wherever possible
...
Issue: SPR-12926
2015-11-08 20:45:17 +01:00
Juergen Hoeller
ea2843ecc0
MethodInvokeTypeProvider lazily invokes target method (avoiding deserialization exploits)
...
Issue: SPR-13656
2015-11-08 20:27:06 +01:00
Juergen Hoeller
a1bf941ec4
CommonsFileUploadSupport applies maxUploadSizePerFile to FileUpload copy as well
...
Issue: SPR-13653
2015-11-08 20:21:39 +01:00
Rossen Stoyanchev
a3168fde18
Expand range of whitelisted extensions by media type
...
This commit expands the range of whitelisted extensions by checking
if an extension can be resolved to image/*, audo/*, video/*, as well
as any content type that ends with +xml.
Issue: SPR-13643
2015-11-06 16:45:41 -05:00
Rossen Stoyanchev
237439ef97
Whitelist extension if present in the request mapping
...
We know skip the Content-Disposition header for any extension if the
chosen request mapping explicitly contains the URl extension.
Issue: SPR-13629
2015-11-06 12:37:13 -05:00
Brian Clozel
889366320d
Do not process undefined conditional HTTP requests
...
Prior to this change, the HttpEntityMethodProcessor would try to process
conditional requests that are undefined by the spec, such as:
* an HTTP GET request with "If-None-Match:*"
* a request with both "If-None-Match" and "If-Match"
* a request with both "If-None-Match" and "If-Unmodified-Since"
This commit skips the processing of those requests as conditional
requests and continues with normal request handling.
Issue: SPR-13626
2015-11-06 17:59:41 +01:00
Juergen Hoeller
9f4c9d7f3c
Upgrade to Undertow 1.3.5
2015-11-06 17:54:53 +01:00
Rossen Stoyanchev
da707c15b3
Update Javadoc
...
Issue: SPR-13530
2015-11-05 22:15:09 -05:00
Rossen Stoyanchev
b7b8d854d9
Update reference for MediaType constants.
...
Issue: SPR-13531
2015-11-05 21:43:30 -05:00
Rossen Stoyanchev
ac975df448
Fix javadoc ambiguity
...
Issue: SPR-13642
2015-11-05 20:02:37 -05:00
Rossen Stoyanchev
f0464e8176
Add section on RFD + whitelist yml/properties/csv
...
Issue: SPR-13643
2015-11-05 19:31:29 -05:00
Juergen Hoeller
b46a301e8a
Latest dependency updates (Hibernate ORM 5.0.3, Netty 4.0.33, Selenium 2.48.2, TestNG 6.9.9)
2015-11-05 20:13:09 +01:00
Juergen Hoeller
b057e503ef
Adapted exception message expectations
...
Issue: SPR-13621
2015-11-05 18:06:14 +01:00
Juergen Hoeller
c88877f1c4
Polishing
2015-11-05 16:35:20 +01:00
Juergen Hoeller
9683da52b2
Avoid annotation synthesizing for getAnnotationAttributes retrieval
...
Issue: SPR-13621
2015-11-05 16:35:07 +01:00
Rossen Stoyanchev
971f046913
Replace NAMES_PATTERN in UriTemplate
...
The URI template is now manually parsed vs using a regex to extract
URI variable names and to create a pattern for matching to actual URLs.
This provides more control to deal with nested curly braces.
Issue: SPR-13627
2015-11-05 09:39:10 -05:00
Juergen Hoeller
2ba5cb2734
Polishing
2015-11-05 12:30:29 +01:00
Juergen Hoeller
6cedaa1091
Fixed order determination check to only kick in for actual configuration candidates
...
Issue: SPR-13621
2015-11-05 12:30:18 +01:00
Juergen Hoeller
e27df06f91
AnnotatedElementUtils consistently operates on actual annotation type if available (for performance reasons)
...
The goal is to avoid String name comparisons in favor of annotation type identity checks wherever possible. Also, we avoid double getDeclaredAnnotations/getAnnotations checks on anything other than Classes now, since we'd just get the same result in a fresh array.
Issue: SPR-13621
2015-11-05 12:29:29 +01:00
Juergen Hoeller
e35855f9b5
Avoid expensive annotation retrieval algorithm if no annotations present in the first place
...
Issue: SPR-13621
2015-11-05 12:26:54 +01:00
Phillip Webb
1733d0111d
Add shortcuts for elements with no annotations
...
Improve the performance of the `getMergedAnnotationAttributes` and
`isAnnotated` methods in `AnnotatedElementUtils` by returning
immediately when the element had no annotations.
Issue: SPR-13621
2015-11-04 22:42:34 -08:00
Juergen Hoeller
ce64761069
Optimized equals/hashCode handling in ResolvableType
...
Issue: SPR-13621
2015-11-03 16:56:43 +01:00
Sebastien Deleuze
09cb286c84
Add MediaType.APPLICATION_JSON_UTF8
...
Add new MediaType.APPLICATION_JSON_UTF8 and
MediaType.APPLICATION_JSON_UTF8_VALUE constants for
"application/json;charset=UTF-8" content type in order to make it
easier to override @RequestMapping "produces" attribute without
losing the default JSON charset (UTF-8).
Issue: SPR-13600
2015-11-03 12:20:39 +01:00
Juergen Hoeller
23c8f712c4
Polishing
2015-11-02 21:30:03 +01:00
Juergen Hoeller
c3dbaed4ce
AnnotationUtils caches findAnnotation results in pre-synthesized form
...
Issue: SPR-13621
2015-11-02 21:25:08 +01:00
Juergen Hoeller
4dc31667d4
AnnotationUtils defines synthesized proxy class in original annotation's ClassLoader
...
Issue: SPR-13634
2015-11-02 21:24:32 +01:00
Stephane Nicoll
77af692e5e
Polishing
...
Issue: SPR-13633
2015-11-02 20:35:41 +01:00
Rossen Stoyanchev
bdb71e91ad
No Content-Disposition if HTML in the request mapping
...
Issue: SPR-13629
2015-11-02 13:07:48 -05:00
Stephane Nicoll
1bc41bdf0f
Expose JMS message listener container ids
...
Issue: SPR-13633
2015-11-02 16:13:47 +01:00
Juergen Hoeller
cca037a74d
Polishing
2015-11-02 14:42:46 +01:00
Juergen Hoeller
6685c78cea
Avoid NPE for anonymous SqlParameter in CallMetaDataContext
...
Issue: SPR-13628
2015-11-02 14:27:33 +01:00