When CodecHttpMessageConverter was split into DecoderHttpMessageReader and EncoderHttpMessageWriter the null checks were never removed. This commit makes the Encoder and Decoder instances provided to their respective wrappers required.
When CodecHttpMessageConverter was split into DecoderHttpMessageReader and EncoderHttpMessageWriter the null checks were never removed. This commit makes the Encoder and Decoder instances provided to their respective wrappers required.