At present there can be only one data MIME for the every request/stream on the connection, Supporting content-type and accept header like http in this pr. Implementation of issue #26379

Class MimeTypeMetadataCodec will be delete once rsocket-java v1.1.1 release

Comment From: rudy2steiner

@rstoyanchev PTAL

Comment From: rudy2steiner

Some classes, like AbstractEncoderMethodReturnValueHandler.java, are intended to be more generally used and this is why they are not in the rsocket package. Such classes cannot have RSocket dependencies.

I agree with MetadataMimeCodec should be in Rsocket-java, and do you have more specific feedbacks how to implement contentType and acceptMimes .

Comment From: rudy2steiner

@rstoyanchev thanks for your feedbacks, updated!

Comment From: rstoyanchev

Closing for now as the PR needs significant updates, but we have #26379 to keep track of the request.