Juergen Hoeller opened SPR-15516 and commented
DecoderHttpMessageWriter as well as EncoderHttpMessageReader in http.codec use ResponseStatusException which lives in web.server, creating a cyclic package dependency.
We should be throwing a different exception to indicate "bad request" there, e.g. a DecodingException subclass of CodecException, to be eventually translated to HTTP status 400 in AbstractMessageReaderArgumentResolver.
Affects: 5.0 RC1
Issue Links:
Referenced from: commits 4fdd853, 4d962a1, 83e0e16
Juergen Hoeller opened SPR-15516 and commented
DecoderHttpMessageWriteras well asEncoderHttpMessageReaderinhttp.codecuseResponseStatusExceptionwhich lives inweb.server, creating a cyclic package dependency.We should be throwing a different exception to indicate "bad request" there, e.g. a
DecodingExceptionsubclass ofCodecException, to be eventually translated to HTTP status 400 inAbstractMessageReaderArgumentResolver.Affects: 5.0 RC1
Issue Links:
Referenced from: commits 4fdd853, 4d962a1, 83e0e16