Arjen Poutsma
a5cef3845c
Improve message for HttpStatusCodeException with empty status text
...
This commit improves the message for HttpStatusCodeException so that it
defaults to the HttpStatus reason phrase if a status text is not
provided.
This commit also fixes SimpleClientHttpResponse so that it does not
return null for getStatusText().
Fixed #22162
2019-01-23 11:44:00 +01:00
Rossen Stoyanchev
155ef5fd77
Merge branch '5.1.x'
2019-01-22 12:04:09 -05:00
Rossen Stoyanchev
810b615471
Correct issus in Spring MVC section
...
Fixes #22282
2019-01-22 09:06:18 -05:00
Rossen Stoyanchev
51f9e0aaca
Typo in webmvc.adoc
2019-01-22 09:06:18 -05:00
Brian Clozel
46c0366594
Merge branch '5.1.x'
2019-01-22 14:56:02 +01:00
Brian Clozel
d6aa589c50
Wrap DecodingException in DefaultServerRequest
...
Prior to this commit, Spring WebFlux function would let
`DecodingException` thrown by codecs bubble up to the web handler level.
Since this exception is not handled by default there, the response would
be turned into a HTTP 500 status.
In the annotation model, `ArgumentResolver` implementations wrap this
exception with a `ServerWebInputException`, which itself extends
`ResponseStatusException`. The latter is supported by the error handling
infrastructure as a HTTP 400 response.
This commit ensures that `DecodingException` instances are properly
wrapped in `ServerWebInputException` at the `ServerRequest` level
directly, thus supporting all setup modes ("standalone" and through the
`DispatcherHandler`).
Fixes #22290
2019-01-22 14:54:44 +01:00
Sebastien Deleuze
81ec1d8284
Merge branch '5.1.x'
2019-01-22 10:55:06 +01:00
Sebastien Deleuze
fc6cff53bb
Clarify documentation about JSON Views
...
This commit intends to clarify the documentation by avoiding confusion
between @JsonView and Spring MVC JSON views.
Fixes #22280
2019-01-22 10:51:25 +01:00
Rossen Stoyanchev
f6c16815b4
Merge branch '5.1.x'
2019-01-21 10:00:15 -05:00
Rossen Stoyanchev
20f4022e7b
Correctly truncate logging of response body
...
Fixes #22287
2019-01-21 09:57:52 -05:00
Rossen Stoyanchev
020c537c03
Add note to CorsFilter section
...
Fixes #19841
2019-01-21 09:47:30 -05:00
Stephane Nicoll
bd3d7dbc0c
Merge pull request #22283 from izeye
...
* pr/22283:
Polish AutowireUtils.EXECUTABLE_COMPARATOR
2019-01-20 17:38:06 +01:00
Johnny Lim
963cc09c2e
Polish AutowireUtils.EXECUTABLE_COMPARATOR
...
Closes gh-22283
2019-01-20 17:37:46 +01:00
Rossen Stoyanchev
b0a3a6f79f
Merge branch '5.1.x'
2019-01-18 18:29:39 -05:00
Rossen Stoyanchev
e373b46660
Jackson2JsonDecoder tolerates null literal
...
Fixes #22042
2019-01-18 18:27:40 -05:00
Rossen Stoyanchev
5dcde9e7d7
Trim decoded SSE data
...
Fixes #22043
2019-01-18 18:13:58 -05:00
Rossen Stoyanchev
ef72ef54fa
Avoid NPE when setting warnLogCategory
...
Fixes #22159
2019-01-18 18:08:48 -05:00
Rossen Stoyanchev
a77eee899a
Document synchronous use of the WebClient
...
Fixes #22173
2019-01-18 17:46:16 -05:00
Rossen Stoyanchev
f9ba069b9d
Add "Affects" field to issue template
2019-01-18 15:27:43 -05:00
Rossen Stoyanchev
4fdfa4246f
Merge branch '5.1.x'
2019-01-17 18:01:41 -05:00
Rossen Stoyanchev
9837ec5904
Fix Javadoc typos
...
Closes #22261
2019-01-17 18:01:08 -05:00
Rossen Stoyanchev
2a57b40515
Merge branch '5.1.x'
2019-01-17 17:13:30 -05:00
Rossen Stoyanchev
bdac937a43
Replace more references to issue tracker
...
Fixes #22254
2019-01-17 17:08:39 -05:00
Sanghyuk Jung
6ca3884759
Update links to issue tracker
2019-01-17 16:44:41 -05:00
Rossen Stoyanchev
ffe888ca18
Merge branch '5.1.x'
2019-01-17 12:56:46 -05:00
Rossen Stoyanchev
189e1afc6e
Use try-with-resources in documentation samples
...
Fixes #22269
2019-01-17 12:53:59 -05:00
Rossen Stoyanchev
2043793899
Merge branch '5.1.x'
2019-01-17 12:31:46 -05:00
Rossen Stoyanchev
d1862a26dd
Typo in web documentation
...
Fixes #22270
2019-01-17 12:27:00 -05:00
Brian Clozel
0450b07c21
Merge branch '5.1.x'
2019-01-17 11:26:35 -05:00
Brian Clozel
2b65d0e51f
Fix error when writing empty String to DataBuffer
...
Prior to this commit, `DataBuffer.write` would throw an
`IllegalStateException` when called with an empty `String`, since the
`CharsetEncoder` would be flushed on an incorrent state.
This commit skips entirely the encoding phase for empty `String`.
Fixes #22262
2019-01-17 11:09:48 -05:00
Stephane Nicoll
0db4c22656
Merge pull request #22256 from KyleRogers
...
* pr/22256:
Fix typo in cache abstraction chapter
2019-01-15 06:24:59 -05:00
Stefan Penndorf
04ce61968d
Fix typo in cache abstraction chapter
...
Closes gh-22256
2019-01-15 06:23:34 -05:00
Rossen Stoyanchev
7a9e2f5edc
Update issue template
...
Closes #22253
2019-01-14 19:26:23 -05:00
Rossen Stoyanchev
f557f313c2
Update issue template
2019-01-14 13:48:59 -05:00
Rossen Stoyanchev
2b530bac39
Update issue template
2019-01-14 12:26:38 -05:00
Rossen Stoyanchev
66359e2e9e
Update issue templates
2019-01-14 09:40:51 -05:00
Arjen Poutsma
5938ca9a7c
Deprecate JiBX marshaller
...
Resolves #22249
2019-01-14 11:57:15 +01:00
Arjen Poutsma
86fb43900e
Deprecate JiBX marshaller
...
Resolves #22249
2019-01-14 11:50:21 +01:00
Arjen Poutsma
89a7e752ef
Remove Castor marshaller
...
Resolves #22250
2019-01-14 11:28:16 +01:00
Arjen Poutsma
bfff9ca0ce
Fix typo
...
Resolves #22241
2019-01-14 10:49:11 +01:00
Brian Clozel
33cbe2e77a
Remove admonitions surrounding code snippets
2019-01-09 18:38:31 +01:00
Brian Clozel
8c768e48fa
Use Spring Doc Resources for reference docs
...
This commit removes the custom static resources for the reference
documentation and instead uses the new Spring Doc Resources project
https://github.com/spring-io/spring-doc-resources
The asciidoctor theme is now shared between Spring projects and
integrated in the project build.
2019-01-09 18:38:31 +01:00
Sam Brannen
e1e6224acb
Document effect of preemptive timeouts on transactional tests
...
Issue: SPR-17647
2019-01-09 16:38:47 +01:00
Sam Brannen
df13e4dd5e
Document effect of preemptive timeouts on transactional tests
...
Issue: SPR-17647
2019-01-09 16:37:56 +01:00
Sam Brannen
cf565067fe
Document effect of @DirtiesContext when used with constructor injection
...
Issue: SPR-17654
2019-01-09 15:43:41 +01:00
Sam Brannen
2159518252
Improve documentation for DI options in the TestContext framework
2019-01-09 15:43:31 +01:00
Sam Brannen
bd9d3334a2
Document effect of @DirtiesContext when used with constructor injection
...
Issue: SPR-17654
2019-01-09 15:39:56 +01:00
Sam Brannen
9ea618ede9
Improve documentation for DI options in the TestContext framework
2019-01-09 14:54:14 +01:00
Stephane Nicoll
2a76a65708
Switch master to 5.2.0.BUILD-SNAPSHOT
2019-01-09 14:12:05 +01:00
Spring Buildmaster
754ad4d0d3
Next Development Version
2019-01-09 12:43:27 +00:00