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
Marek Hawrylczak
f1bec5f1e4
referencing fields of a class using this
2015-11-07 16:37:40 +01:00
Marek Hawrylczak
9126fd9dec
Indentation using tabs
2015-11-07 16:02:09 +01:00
Marek Hawrylczak
4c84117155
undertow support using non-blocking API’s
2015-11-07 15:52:47 +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
Juergen Hoeller
ce20268597
Consistent warn logging without stacktrace in Portlet HandlerExceptionResolver
...
Issue: SPR-13611
2015-11-02 14:19:58 +01:00
Sebastien Deleuze
76d7f4527a
Revert most SPR-13100 changes since SPR-13267 was a better fix
...
Issue: SPR-13596
2015-11-02 10:40:53 +01:00
Sebastien Deleuze
62cd6ad526
Add @RequestMapping produces documentation about charset
...
Issue: SPR-13600
2015-11-02 07:48:02 +01:00
Stephane Nicoll
4aedd92c3c
Merge pull request #908 from haisi/master
...
* pr/908:
Fix typo
2015-11-01 16:08:10 +01:00
Hasan Kara
ff4e48c7a1
Fix typo
...
Closes gh-908
2015-11-01 16:07:56 +01:00
Rossen Stoyanchev
a48c9b6305
Replace DefaultConversionService in spring-reactive
2015-10-30 17:58:59 -04:00
Rossen Stoyanchev
c0dff3d2bb
Comply with Spring Framework code style
...
https://github.com/spring-projects/spring-framework/wiki/Spring-Framework-Code-Style
2015-10-30 17:22:19 -04:00
Rossen Stoyanchev
0989c8b3c2
HandlerMethodArgumentResolver is now asynchronous
2015-10-30 16:04:49 -04:00
Rossen Stoyanchev
6b73993a38
HandlerAdapter is asynchronous again
2015-10-30 15:02:54 -04:00
Sebastien Deleuze
01ae961820
Make DefaultConversionService usable by the upcoming client
2015-10-30 11:03:49 +01:00
Sebastien Deleuze
a257a4a37d
Polishing
2015-10-30 11:02:40 +01:00
Arjen Poutsma
b2bf18dd3d
Removed Closeable implementation
2015-10-30 09:39:46 +01:00
Arjen Poutsma
5f2e958fae
Removed IOException declaration
2015-10-30 09:38:29 +01:00
Arjen Poutsma
174e1d295d
Merge pull request #36 from poutsma/httpmessage_hierarchy
...
Introduce HttpMessage hierarchy
2015-10-30 09:27:52 +01:00
Arjen Poutsma
bd472af37e
Updated Copyright notices
2015-10-30 09:26:34 +01:00
Arjen Poutsma
6006fa6ec2
Optimized imports
2015-10-30 09:24:53 +01:00