Class HttpXMLEntity

java.lang.Object
org.apache.hc.core5.http.io.entity.AbstractHttpEntity
org.apache.hc.core5.http.io.entity.StringEntity
com.helger.phase4.http.HttpXMLEntity
All Implemented Interfaces:
Closeable, AutoCloseable, org.apache.hc.core5.http.EntityDetails, org.apache.hc.core5.http.HttpEntity

public class HttpXMLEntity extends org.apache.hc.core5.http.io.entity.StringEntity
Special HttpClient HTTP POST entity that contains a DOM Node as a serialized String. This entity is repeatable.
Author:
Philip Helger
  • Constructor Summary

    Constructors
    Constructor
    Description
    HttpXMLEntity(Node aNode, com.helger.commons.mime.IMimeType aMimeType)
     
  • Method Summary

    Methods inherited from class org.apache.hc.core5.http.io.entity.StringEntity

    close, getContent, getContentLength, isRepeatable, isStreaming, writeTo

    Methods inherited from class org.apache.hc.core5.http.io.entity.AbstractHttpEntity

    getContentEncoding, getContentType, getTrailerNames, getTrailers, isChunked, toString, writeTo

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • HttpXMLEntity

      public HttpXMLEntity(@Nonnull Node aNode, @Nonnull com.helger.commons.mime.IMimeType aMimeType)