Closed
Description
Michel Zanini opened SPR-9238 and commented
In the case that the message body is missing a java.io.EOFException is thrown.
An org.springframework.http.converter.HttpMessageNotReadableException is more appropriate in this case.
This issue is related to:
https://jira.springsource.org/browse/SPR-7439
Affects: 3.1.1
Sub-tasks:
- Backport "JSON (jackson) @RequestBody marshalling throws java.io.EOFException when body is missing" [SPR-9397] #14033 Backport "JSON (jackson)
@RequestBody
marshalling throws java.io.EOFException when body is missing"
Issue Links:
- @RequestBody should have a required parameter to allow a request body to be optional [SPR-9239] #13877
@RequestBody
should have a required parameter to allow a request body to be optional - JSON (jackson) @RequestBody marshalling throws awkward exception [SPR-7439] #12097 JSON (jackson)
@RequestBody
marshalling throws awkward exception