Example usage for org.apache.http.entity InputStreamEntity subclass-usage

List of usage examples for org.apache.http.entity InputStreamEntity subclass-usage

Introduction

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

Usage

From source file com.joyent.manta.http.entity.MantaInputStreamEntity.java

/**
 * A Manta-specific implementation of {@link org.apache.http.entity.InputStreamEntity}.
 *
 * @author <a href="https://github.com/dekobon">Elijah Zupancic</a>
 * @since 3.0.0
 */

From source file org.callimachusproject.client.StreamEntity.java

public class StreamEntity extends InputStreamEntity {

    public StreamEntity(InputStream instream, ContentType contentType) {
        super(instream, -1, contentType);
        setChunked(true);
    }

From source file com.ksc.metrics.MetricInputStreamEntity.java

/**
 * Used to help capture the throughput metrics.
 * <p>
 * Note this class is only relevant
 * when metric is enabled. Otherwise it should not even be involved in the call
 * stack to minimize runtime overhead.

From source file com.amazonaws.metrics.MetricInputStreamEntity.java

/**
 * Used to help capture the throughput metrics.
 * <p>
 * Note this class is only relevant
 * when metric is enabled. Otherwise it should not even be involved in the call
 * stack to minimize runtime overhead.

From source file org.kontalk.util.ProgressInputStreamEntity.java

public class ProgressInputStreamEntity extends InputStreamEntity {
    protected final UploadConnection mConn;
    protected final ProgressListener mListener;

    public ProgressInputStreamEntity(InputStream instream, long length, final UploadConnection conn,
            final ProgressListener listener) {

From source file com.spectralogic.ds3client.Ds3InputStreamEntity.java

public class Ds3InputStreamEntity extends InputStreamEntity {

    private int bufferSize = 1024 * 1024;
    private final String path;

    public Ds3InputStreamEntity(final InputStream inStream, final long length, final ContentType contentType,

From source file grails.plugin.eas.SendMailEntity.java

public class SendMailEntity extends InputStreamEntity {
    private final long mimeLength;

    private static final int[] MODE_TAGS = new int[] { Tags.COMPOSE_SEND_MAIL, Tags.COMPOSE_SMART_REPLY,
            Tags.COMPOSE_SMART_FORWARD };