Example usage for org.apache.http.entity.mime.content AbstractContentBody subclass-usage

List of usage examples for org.apache.http.entity.mime.content AbstractContentBody subclass-usage

Introduction

In this page you can find the example usage for org.apache.http.entity.mime.content AbstractContentBody subclass-usage.

Usage

From source file org.oscarehr.common.hl7.v2.oscar_to_oscar.ByteArrayBody.java

public class ByteArrayBody extends AbstractContentBody {

    private byte[] byteArray;
    private String fileName;

    public ByteArrayBody(byte[] byteArray, String fileName) {

From source file org.apache.abdera2.protocol.client.AbderaBody.java

/**
 * Used with the MultipartRelatedEntity to include an Atom Entry as a 
 * multipart message part. This is primarily used internally by the 
 * Abdera client and there will be very little reason, if any, for 
 * applications to use this class directly. 
 */

From source file com.marketplace.io.ByteArrayBody.java

/**
 * Body part that is built using a byte array containing a file.
 *
 * @since 4.1
 */
public class ByteArrayBody extends AbstractContentBody {