Juergen Hoeller
2afaaf270d
Polishing
2019-03-13 16:06:40 +01:00
Juergen Hoeller
82f1340c47
Polishing
2019-02-25 19:20:28 +01:00
Gemini Kim
3e1b3c32e3
Avoid duplicate Accept header values in RestTemplate
...
Prior to this commit, the various `HttpMessageConverter` instances
configured for a given `RestTemplate` instance could all contribute
`MediaType` values to the "Accept:" request header.
This could lead to duplicate media types in that request header,
cluttering for the HTTP request for no reason.
This commit ensures that only distinct values are added to the request.
Issue: SPR-16690
Closes gh-22320
Closes gh-21231
2019-02-11 13:00:44 +01:00
Juergen Hoeller
7be0aa0de5
Polishing
2019-01-08 20:58:10 +01:00
Juergen Hoeller
ce05a5b5c0
Polishing
2018-12-12 13:04:59 +01:00
Juergen Hoeller
1c1b94285d
DefaultResponseErrorHandler detects non-standard error code as well
...
Issue: SPR-17439
2018-11-23 20:21:30 +01:00
Juergen Hoeller
47ca7b39a2
Polishing
2018-10-24 22:10:05 +02:00
Rossen Stoyanchev
044772641d
HttpRange validates requested ranges
...
Issue: SPR-17318
2018-10-14 23:03:34 -04:00
Juergen Hoeller
e978f90a19
MockHttpServletRequest allows for removing registered header entries
...
Issue: SPR-17295
2018-09-29 17:55:03 +02:00
Juergen Hoeller
ec1aa5c6ea
Polishing
2018-09-17 14:56:55 +02:00
Juergen Hoeller
4e9046ab6e
Correct linkplain javadoc in BufferingClientHttpRequestFactory
...
Issue: SPR-17261
(cherry picked from commit e47355078c )
2018-09-11 15:16:59 +02:00
Juergen Hoeller
974e7b88ee
Polishing
2018-08-24 13:28:29 +02:00
Juergen Hoeller
069704f4a0
Support Jackson filters in combination with serialization view
...
Issue: SPR-17209
(cherry picked from commit 03f1920106 )
2018-08-24 13:28:23 +02:00
Juergen Hoeller
7a97ba54ea
Polishing
2018-08-14 22:03:05 +02:00
Juergen Hoeller
5a66a339a6
Polishing (typo fixes etc, aligned with 5.0.x)
2018-08-09 13:04:57 +02:00
Juergen Hoeller
5515112f87
Polishing
2018-08-07 21:23:43 +02:00
Juergen Hoeller
75b323e6c2
Polishing
2018-08-02 17:39:39 +02:00
Juergen Hoeller
e24ac55480
Polishing
2018-07-30 23:05:57 +02:00
Juergen Hoeller
2ae2249842
Polishing
2018-07-24 15:17:33 +02:00
Juergen Hoeller
1ff1c950fb
Consistent exposure of nested parameter type in binding exceptions
...
(cherry picked from commit ed54895 )
2018-07-18 20:11:30 +02:00
Juergen Hoeller
4298744c4a
Polishing
2018-07-03 17:06:35 +02:00
Juergen Hoeller
1b0d838a19
Support for new JsonMappingException wording in Jackson 2.9
...
Issue: SPR-16947
(cherry picked from commit 6d0f8bf )
2018-06-29 21:20:52 +02:00
Juergen Hoeller
a9dd927870
Remove outdated HandlerAdapter references from annotation javadoc
...
Includes removal of PathVariable's MultiValueMap support claim.
Issue: SPR-16936
2018-06-12 11:48:45 +02:00
Brian Clozel
323ccf99e5
Restrict HTTP methods on Servlet HiddenHttpMethodFilter
...
This commit restricts the allowed HTTP methods on HiddenHttpMethodFilter
(Servlet variant) to the following: PUT, DELETE, PATCH.
This filter is meant to be used to simulate those methods from HTML
forms sent by browsers, so no other methods are allowed.
Issue: SPR-16836
(Cherry-picked from f64fa3dea1 )
2018-06-11 19:18:28 +02:00
Sebastien Deleuze
874859493b
Deprecate JSONP and disable it by default in Jackson view
...
Issue: SPR-16798
2018-06-08 12:33:27 +02:00
Juergen Hoeller
c99a104919
Polishing
2018-05-05 16:36:52 +02:00
Juergen Hoeller
289a6091f1
SimpleClientHttpResponse catches any Exception on close
...
Issue: SPR-16773
(cherry picked from commit 21fad8e )
2018-05-02 17:15:14 +02:00
Juergen Hoeller
b0ed385f84
Polishing
2018-03-31 17:06:33 +02:00
Rossen Stoyanchev
de4da5ea4e
Improve docs on forwarded headers
...
Issue: SPR-16660
2018-03-29 16:26:58 -04:00
Rossen Stoyanchev
e8c656d2bc
Reject invalid forwarded headers
...
Issue: SPR-16660
2018-03-29 16:16:20 -04:00
Juergen Hoeller
bcda243f63
Polishing
2018-03-29 17:34:28 +02:00
Rossen Stoyanchev
6e4bbac6f7
MvcResult returns asyncResult after asyncDispatch
...
Issue: SPR-16648
2018-03-28 22:27:30 -04:00
Rossen Stoyanchev
2e4963fca3
Revert "Always specify charset for form data requests"
...
This reverts commit 1897d8e858 .
Issue: SPR-16613
2018-03-28 11:58:24 -04:00
Juergen Hoeller
3b3f27d5ff
DefaultResponseErrorHandler.hasError avoids exception for unknown status
...
Issue: SPR-16604
2018-03-28 11:42:43 +02:00
Rossen Stoyanchev
1897d8e858
Always specify charset for form data requests
...
Issue: SPR-16613
2018-03-27 20:04:53 -04:00
Juergen Hoeller
9cc03fa8b0
Polishing
2018-03-28 02:03:31 +02:00
Juergen Hoeller
c1cb0311aa
Avoid triggering lazy resolution in MultipartResolver.cleanupMultipart
...
Issue: SPR-16640
(cherry picked from commit 10cb2cc )
2018-03-28 01:19:22 +02:00
Juergen Hoeller
977084a6b8
Correct documentation of default HttpMessageConverters in RestTemplate
...
Issue: SPR-7885
(cherry picked from commit 442ddb0 )
2018-03-28 01:18:42 +02:00
Juergen Hoeller
2cac3a8255
InterceptingClientHttpRequest adapts to StreamingHttpOutputMessage
...
Issue: SPR-16582
(cherry picked from commit 4173022 )
2018-03-28 01:16:59 +02:00
Juergen Hoeller
eeeb0a6546
Consistent result synchronization in WebAsyncManager
...
Issue: SPR-16571
(cherry picked from commit cf74b1b )
2018-03-28 01:16:13 +02:00
Juergen Hoeller
346d0e271d
Polishing
2018-03-07 16:24:40 +01:00
Juergen Hoeller
bc043245cc
Polishing
2018-03-03 17:18:44 +01:00
Juergen Hoeller
1f12214b45
Polishing
2018-03-02 13:11:31 +01:00
Juergen Hoeller
3e6cfb7c6d
WebApplicationContextFacesELResolver.isReadOnly returns true for WAC
...
Issue: SPR-16543
(cherry picked from commit 4781627 )
2018-03-01 01:43:19 +01:00
Juergen Hoeller
2c45b09263
Polishing
2018-02-28 15:08:09 +01:00
Juergen Hoeller
d4af8c86b2
Polishing
2018-02-25 21:44:34 +01:00
igor-suhorukov
39ddd0f349
Polish: String function use should be optimized for single characters
...
(cherry picked from commit 49fd724 )
2018-02-25 21:44:00 +01:00
igor-suhorukov
d5f358c33c
Polish: Array designators "[]" should be on the type, not the variable
...
(cherry picked from commit c782075 )
2018-02-25 15:03:54 +01:00
Juergen Hoeller
295df21f06
Polishing
2018-02-25 00:48:00 +01:00
Juergen Hoeller
e83491fbe9
GsonHttpMessageConverter keeps output stream open (for SseEmitter)
...
Issue: SPR-16529
2018-02-23 11:02:34 +01:00