Class BasicAsyncEntityProducer

java.lang.Object
org.apache.hc.core5.http.nio.entity.BasicAsyncEntityProducer
All Implemented Interfaces:
EntityDetails, AsyncDataProducer, AsyncEntityProducer, ResourceHolder

public class BasicAsyncEntityProducer extends Object implements AsyncEntityProducer
Basic AsyncEntityProducer implementation that generates data stream from content of a byte array.
Since:
5.0
  • Field Details

  • Constructor Details

    • BasicAsyncEntityProducer

      public BasicAsyncEntityProducer(byte[] content, ContentType contentType, boolean chunked)
    • BasicAsyncEntityProducer

      public BasicAsyncEntityProducer(byte[] content, ContentType contentType)
    • BasicAsyncEntityProducer

      public BasicAsyncEntityProducer(byte[] content)
    • BasicAsyncEntityProducer

      public BasicAsyncEntityProducer(CharSequence content, ContentType contentType, boolean chunked)
    • BasicAsyncEntityProducer

      public BasicAsyncEntityProducer(CharSequence content, ContentType contentType)
    • BasicAsyncEntityProducer

      public BasicAsyncEntityProducer(CharSequence content)
  • Method Details