public class HttpContentType extends Object
Constructor and Description |
---|
HttpContentType(String s) |
HttpContentType(String s,
String defaultMediaType,
String defaultCharset) |
Modifier and Type | Method and Description |
---|---|
String |
getCharset() |
String |
getMediaType() |
void |
setCharset(String charset) |
void |
setMediaType(String mediaType) |
String |
toString() |
public HttpContentType(String s)
public String getMediaType()
public void setCharset(String charset)
charset
- The charset to set.public String getCharset()
public void setMediaType(String mediaType)
mediaType
- The mediaType to set.Licenced under the Apache License, Version 2.0