Skip to content

Commit e919d0a

Browse files
committed
Reflect well-known MediaTypes intent in Javadoc
Closes gh-33754
1 parent 4aafae1 commit e919d0a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

spring-web/src/main/java/org/springframework/http/MediaType.java

+4
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,10 @@
3939
* A subclass of {@link MimeType} that adds support for quality parameters
4040
* as defined in the HTTP specification.
4141
*
42+
* <p>This class is meant to reference media types supported by Spring Framework.
43+
* If your application or library relies on other media types defined in RFCs,
44+
* please use {@link #parseMediaType(String)} or a custom utility class.
45+
*
4246
* @author Arjen Poutsma
4347
* @author Juergen Hoeller
4448
* @author Rossen Stoyanchev

0 commit comments

Comments
 (0)