java.lang.Object
edu.internet2.middleware.grouperInstallerExt.org.apache.commons.httpclient.methods.ByteArrayRequestEntity
All Implemented Interfaces:
RequestEntity

public class ByteArrayRequestEntity extends Object implements RequestEntity
A RequestEntity that contains an array of bytes.
Since:
3.0
  • Constructor Details

    • ByteArrayRequestEntity

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

      public ByteArrayRequestEntity(byte[] content, String contentType)
      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.
  • Method Details