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 ContentType
public ContentType getAny()
Represents a pattern * / *
to match any content type.