public static class ContentType.Companion
| Modifier and Type | Method and Description |
|---|---|
ContentType |
getAny()
Represents a pattern
* / * to match any content type. |
ContentType |
parse(java.lang.String value)
Parses a string representing a
Content-Type header into a class ContentType instance. |
public ContentType parse(java.lang.String value)
Parses a string representing a Content-Type header into a class ContentType instance.
class ContentTypepublic ContentType getAny()
Represents a pattern * / * to match any content type.