Skip to content

Commit

Permalink
Merge pull request #32517 from izeye
Browse files Browse the repository at this point in the history
* pr/32517:
  Add Javadoc since to KotlinSerializationStringEncoder.setStreamingMediaTypes()

Closes gh-32517
  • Loading branch information
snicoll committed Mar 24, 2024
2 parents a16e8c3 + dca5f1d commit c4b6150
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,11 @@ protected KotlinSerializationStringEncoder(T format, MimeType... supportedMimeTy
super(format, supportedMimeTypes);
}

/**
* Set streaming {@link MediaType MediaTypes}.
* @param streamingMediaTypes streaming {@link MediaType MediaTypes}
* @since 6.1.4
*/
public void setStreamingMediaTypes(Collection<MediaType> streamingMediaTypes) {
this.streamingMediaTypes.clear();
this.streamingMediaTypes.addAll(streamingMediaTypes);
Expand Down

0 comments on commit c4b6150

Please sign in to comment.