|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.google.api.client.xml.atom.Atom
public final class Atom
Field Summary | |
---|---|
static String |
ATOM_NAMESPACE
Atom namespace. |
static String |
CONTENT_TYPE
Deprecated. (scheduled to be removed in 1.11) Use MEDIA_TYPE instead. |
static String |
MEDIA_TYPE
"application/atom+xml; charset=utf-8" media type used as a default for Atom parsing. |
Method Summary | |
---|---|
static void |
checkContentType(String contentType)
Checks the given content type matches the Atom content type specified in CONTENT_TYPE . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String ATOM_NAMESPACE
@Deprecated public static final String CONTENT_TYPE
MEDIA_TYPE
instead.
public static final String MEDIA_TYPE
"application/atom+xml; charset=utf-8"
media type used as a default for Atom parsing.
Use HttpMediaType.equalsIgnoreParameters(com.google.api.client.http.HttpMediaType)
for comparing media types.
Method Detail |
---|
public static void checkContentType(String contentType)
CONTENT_TYPE
.
IllegalArgumentException
- if content type doesn't match
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |