Class CommunicationLogEntity

  • All Implemented Interfaces:
    org.apache.http.HttpEntity

    
    public class CommunicationLogEntity
    extends HttpEntityWrapper
                        

    Entity wrapper to enable CommunicationLog capabilities in the http client.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Constructor Summary

      Constructors 
      Constructor Description
      CommunicationLogEntity(HttpEntity wrappedEntity, OutputStream communicationLogStream) Creates a new entity wrapper.
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      InputStream getContent()
      void writeTo(OutputStream outStream)
      boolean isRepeatable()
      • Methods inherited from class org.apache.http.entity.HttpEntityWrapper

        consumeContent, getContent, getContentEncoding, getContentLength, getContentType, isChunked, isStreaming
      • Methods inherited from class java.lang.Object

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

      • CommunicationLogEntity

        CommunicationLogEntity(HttpEntity wrappedEntity, OutputStream communicationLogStream)
        Creates a new entity wrapper.
        Parameters:
        wrappedEntity - the entity to wrap.
        communicationLogStream - the stream to also write the content to.