Class ByteArrayContent

    • Constructor Detail

      • ByteArrayContent

        public ByteArrayContent​(byte[] content)
      • ByteArrayContent

        public ByteArrayContent​(byte[] content,
                                int start,
                                int length)
      • ByteArrayContent

        public ByteArrayContent​(ContentType contentType,
                                byte[] content)
      • ByteArrayContent

        public ByteArrayContent​(ContentType contentType,
                                byte[] content,
                                int start,
                                int length)
    • Method Detail

      • compute

        @Nonnull
        protected byte[] compute()
        Specified by:
        compute in class HttpContent
        Returns:
        The content