@Beta public abstract class AbstractXmlHttpContent extends AbstractHttpContent
Beta Implementation is not thread-safe.
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractXmlHttpContent(XmlNamespaceDictionary namespaceDictionary) |
| Modifier and Type | Method and Description |
|---|---|
XmlNamespaceDictionary |
getNamespaceDictionary()
Returns the XML namespace dictionary.
|
AbstractXmlHttpContent |
setMediaType(HttpMediaType mediaType) |
void |
writeTo(OutputStream out) |
protected abstract void |
writeTo(org.xmlpull.v1.XmlSerializer serializer)
Writes the content to the given XML serializer.
|
computeLength, computeLength, getCharset, getLength, getMediaType, getType, retrySupportedprotected AbstractXmlHttpContent(XmlNamespaceDictionary namespaceDictionary)
namespaceDictionary - XML namespace dictionarypublic final void writeTo(OutputStream out) throws IOException
IOExceptionpublic AbstractXmlHttpContent setMediaType(HttpMediaType mediaType)
setMediaType in class AbstractHttpContentpublic final XmlNamespaceDictionary getNamespaceDictionary()
protected abstract void writeTo(org.xmlpull.v1.XmlSerializer serializer)
throws IOException
IOException - I/O exceptionCopyright © 2011-2015 Google. All Rights Reserved.