public interface MimeType
| Modifier and Type | Method and Description |
|---|---|
static MimeType |
of(java.lang.String value)
Returns the
MimeType instance for the given value. |
default java.lang.String |
value()
Returns a string that represents the media type value.
|
static MimeType of(java.lang.String value)
MimeType instance for the given value.java.lang.IllegalArgumentException - when the value is empty of blankdefault java.lang.String value()