public class ContentType
| Modifier and Type | Class and Description |
|---|---|
static class |
ContentType.Companion |
| Modifier and Type | Field and Description |
|---|---|
static ContentType.Companion |
Companion |
| Constructor and Description |
|---|
ContentType(java.lang.String contentType) |
| Modifier and Type | Method and Description |
|---|---|
java.nio.charset.Charset |
asCharset() |
java.lang.String |
asMimeType() |
java.lang.String |
component1() |
ContentType |
copy(java.lang.String contentType) |
boolean |
equals(java.lang.Object p) |
java.lang.String |
getContentType() |
int |
hashCode() |
boolean |
isJson() |
boolean |
isXml() |
java.lang.String |
toString() |
public static ContentType.Companion Companion
public boolean isJson()
public boolean isXml()
public java.lang.String toString()
public java.nio.charset.Charset asCharset()
public java.lang.String asMimeType()
public java.lang.String getContentType()
public java.lang.String component1()
public ContentType copy(java.lang.String contentType)
public int hashCode()
public boolean equals(java.lang.Object p)