Class ByteArrayRequestEntity

    • Constructor Detail

      • ByteArrayRequestEntity

        public ByteArrayRequestEntity​(byte[] content)
        Deprecated.
        Creates a new entity with the given content.
        Parameters:
        content - The content to set.
      • ByteArrayRequestEntity

        public ByteArrayRequestEntity​(byte[] content,
                                      String contentType)
        Deprecated.
        Creates a new entity with the given content and content type.
        Parameters:
        content - The content to set.
        contentType - The content type to set or null.