|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.noelios.restlet.http.ContentType
public class ContentType
Association of a media type and a character set.
| Constructor Summary | |
|---|---|
ContentType(String headerValue)
Constructor. |
|
| Method Summary | |
|---|---|
CharacterSet |
getCharacterSet()
Returns the character set. |
MediaType |
getMediaType()
Returns the media type. |
static MediaType |
parseContentType(String headerValue)
Parses the Content Type. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ContentType(String headerValue)
headerValue - The "Content-type" header to parse.| Method Detail |
|---|
public static MediaType parseContentType(String headerValue)
throws IOException
headerValue -
IOExceptionpublic CharacterSet getCharacterSet()
public MediaType getMediaType()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||