Class XmlEntity


  • public class XmlEntity
    extends java.lang.Object
    Utility methods for creating request entities from Documents or XmlSerializables.
    • Constructor Summary

      Constructors 
      Constructor Description
      XmlEntity()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static org.apache.http.HttpEntity create​(XmlSerializable payload)  
      static org.apache.http.HttpEntity create​(org.w3c.dom.Document doc)  
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • XmlEntity

        public XmlEntity()
    • Method Detail

      • create

        public static org.apache.http.HttpEntity create​(org.w3c.dom.Document doc)
                                                 throws java.io.IOException
        Throws:
        java.io.IOException
      • create

        public static org.apache.http.HttpEntity create​(XmlSerializable payload)
                                                 throws java.io.IOException
        Throws:
        java.io.IOException