Example usage for com.squareup.okhttp ResponseBody subclass-usage

List of usage examples for com.squareup.okhttp ResponseBody subclass-usage

Introduction

In this page you can find the example usage for com.squareup.okhttp ResponseBody subclass-usage.

Usage

From source file nextflow.ga4gh.tes.client.ProgressResponseBody.java

public class ProgressResponseBody extends ResponseBody {

    public interface ProgressListener {
        void update(long bytesRead, long contentLength, boolean done);
    }

From source file nl.esciencecenter.e3dchem.gpcrdb.client.ProgressResponseBody.java

public class ProgressResponseBody extends ResponseBody {

    public interface ProgressListener {
        void update(long bytesRead, long contentLength, boolean done);
    }

From source file org.catrobat.catroid.web.ProgressResponseBody.java

public class ProgressResponseBody extends ResponseBody {

    public static final String TAG_PROGRESS = "currentDownloadProgress";
    public static final String TAG_ENDOFFILE = "endOfFileReached";
    public static final String TAG_NOTIFICATION_ID = "notificationId";

From source file org.pontis.hackathon.ProgressResponseBody.java

public class ProgressResponseBody extends ResponseBody {

    public interface ProgressListener {
        void update(long bytesRead, long contentLength, boolean done);
    }

From source file org.sakaiproject.contentreview.vericite.client.ProgressResponseBody.java

public class ProgressResponseBody extends ResponseBody {

    public interface ProgressListener {
        void update(long bytesRead, long contentLength, boolean done);
    }

From source file retrofit.NoContentResponseBody.java

final class NoContentResponseBody extends ResponseBody {
    private final MediaType contentType;
    private final long contentLength;

    NoContentResponseBody(MediaType contentType, long contentLength) {
        this.contentType = contentType;

From source file sxkeji.net.dailydiary.http.coreprogress.progress.ProgressResponseBody.java

/**
 * ??
 * User:lizhangqu(513163535@qq.com)
 * Date:2015-09-02
 * Time: 17:18
 */