Skip to content

Commit

Permalink
Add Javadoc since to KotlinSerializationStringEncoder.setStreamingMed…
Browse files Browse the repository at this point in the history
…iaTypes()

See gh-32517
  • Loading branch information
izeye authored and snicoll committed Mar 24, 2024
1 parent a16e8c3 commit dca5f1d
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 dca5f1d

Please sign in to comment.