Class MediaType
java.lang.Object
com.bobocode.bring.web.servlet.http.MediaType
Utility class for representing common media types used in HTTP requests and responses.
Provides constants for commonly used media type values.
This class is marked as a utility class with the UtilityClass
annotation,
indicating that it contains only static methods or fields and should not be instantiated.
- Since:
- 1.0
- Author:
- Blyzhnytsia Team
-
Field Details
-
APPLICATION_JSON_VALUE
Represents the "application/json" media type.- See Also:
-
TEXT_HTML_VALUE
Represents the "text/html" media type.- See Also:
-
UTF8_VALUE
Represents the "UTF-8" character encoding.- See Also:
-
-
Constructor Details
-
MediaType
public MediaType()
-