Class BytesRequestContent

All Implemented Interfaces:
Request.Content, Content.Source
Direct Known Subclasses:
StringRequestContent

public class BytesRequestContent extends ByteBufferRequestContent
A Request.Content for byte arrays.
  • Constructor Details

    • BytesRequestContent

      public BytesRequestContent(byte[]... bytes)
    • BytesRequestContent

      public BytesRequestContent(String contentType, byte[]... bytes)