Class XmlEntity


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

      • XmlEntity

        public XmlEntity()
    • Method Detail

      • create

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

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