ReactiveAdapter adapter = getAdapterRegistry().getAdapterTo(bodyType.resolve());
ResolvableType elementType = ResolvableType.forMethodParameter(bodyParameter);
if (adapter != null) {
elementType = elementType.getGeneric(0);
}
<BUG>ServerHttpRequest request = exchange.getRequest();
MediaType mediaType = request.getHeaders().getContentType();</BUG>
if (mediaType == null) {
mediaType = MediaType.APPLICATION_OCTET_STREAM;
}

ReactiveAdapter adapter = getAdapterRegistry().getAdapterTo(bodyType.resolve());
ResolvableType elementType = ResolvableType.forMethodParameter(bodyParameter);
if (adapter != null) {
elementType = elementType.getGeneric(0);
}
ServerHttpRequest request = exchange.getRequest();
ServerHttpResponse response = exchange.getResponse();
MediaType mediaType = request.getHeaders().getContentType();
if (mediaType == null) {
mediaType = MediaType.APPLICATION_OCTET_STREAM;
}
