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

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

Introduction

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

Usage

From source file in.yuvi.http.fluent.CountedInputStreamBody.java

public class CountedInputStreamBody extends InputStreamBody {

    private long length;

    public CountedInputStreamBody(InputStream in, String filename, long length) {
        super(in, filename);

From source file org.openestate.is24.restapi.hc42.InputStreamBodyWithLength.java

/**
 * An extended {@link InputStreamBody}, that holds the total streamed size.
 *
 * @since 0.1
 * @author Andreas Rudolph <andy@openindex.de>
 */

From source file org.openestate.is24.restapi.hc43.InputStreamBodyWithLength.java

/**
 * An extended {@link InputStreamBody}, that holds the total streamed size.
 *
 * @since 0.1
 * @author Andreas Rudolph <andy@openindex.de>
 */

From source file org.matmaul.freeboxos.internal.InpuStreamBody.java

public class InpuStreamBody extends InputStreamBody {

    protected long length;

    public InpuStreamBody(InputStream in, long length, String filename) {
        super(in, ContentType.DEFAULT_BINARY, filename);

From source file com.liferay.mobile.android.http.file.UploadData.java

/**
 * @author Igor Oliveira
 */
public class UploadData extends InputStreamBody {

    public UploadData(InputStream is, ContentType mimeType, String fileName, FileProgressCallback callback) {

From source file org.apache.sling.testing.clients.util.InputStreamBodyWithLength.java

/**
 * If we want to upload a file that is a resource in a jar file, the http client expects a content length.
 */
public class InputStreamBodyWithLength extends InputStreamBody {
    private long streamLength;

From source file com.cloudapp.impl.CloudAppInputStream.java

public class CloudAppInputStream extends InputStreamBody {

    private long length;

    public CloudAppInputStream(InputStream in, String filename, long length) {
        super(in, filename);

From source file com.cloudapp.rest.CloudAppInputStream.java

public class CloudAppInputStream extends InputStreamBody {

    private long length;

    public CloudAppInputStream(InputStream in, String filename, long length) {
        super(in, filename);

From source file com.photobucket.api.core.InputStreamBodyWithProgress.java

/**
 *
 * @since 4.0
 */
public class InputStreamBodyWithProgress extends InputStreamBody implements ObservableUpload {
    private static final Logger logger = LoggerFactory.getLogger(InputStreamBodyWithProgress.class);