|
||||||||||
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(java.lang.String headerValue)
Constructor. |
Method Summary | |
---|---|
CharacterSet |
getCharacterSet()
Returns the character set. |
MediaType |
getMediaType()
Returns the media type. |
static MediaType |
parseContentType(java.lang.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(java.lang.String headerValue)
headerValue
- The "Content-type" header to parse.Method Detail |
---|
public static MediaType parseContentType(java.lang.String headerValue) throws java.io.IOException
headerValue
-
java.io.IOException
public CharacterSet getCharacterSet()
public MediaType getMediaType()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |