MediaType function ( ResolvableType arg0 ) { return writableMediaTypes . stream ( ) . filter ( MediaType :: isConcrete ) . findFirst ( ) . orElse ( null ) ; }
return the default content type for the given resolvabletype . used when #write is called without a concrete content type.by default returns the first of encoder #getencodablemimetypes encodablemimetypes that is concrete mediatype #isconcrete , if any . concode_field_sep List<MediaType> writableMediaTypes concode_elem_sep Encoder<T> encoder concode_field_sep List<MediaType> getWritableMediaTypes concode_elem_sep boolean canWrite concode_elem_sep Mono<Void> write