List of usage examples for org.apache.http.entity ByteArrayEntity subclass-usage
From source file com.comcast.cim.rest.client.xhtml.MockHttpEntity.java
/** * This is just a {@link ByteArrayEntity} that lets us tell * if {@link org.apache.http.HttpEntity#consumeContent()} was * called. */ public class MockHttpEntity extends ByteArrayEntity {
From source file com.code4bones.utils.ProgressCallbackEntity.java
public class ProgressCallbackEntity extends ByteArrayEntity { private static final int DEFAULT_PIECE_SIZE = 4096; public static final String PROGRESS_STATUS_ACTION = "com.android.mms.PROGRESS_STATUS"; public static final int PROGRESS_START = -1; public static final int PROGRESS_ABORT = -2;
From source file lucee.commons.net.http.httpclient4.entity.ByteArrayHttpEntity.java
public class ByteArrayHttpEntity extends ByteArrayEntity implements Entity4 { private String strContentType; private int contentLength; public ByteArrayHttpEntity(byte[] barr, String contentType) {
From source file edu.bupt.mms.transaction.ProgressCallbackEntity.java
public class ProgressCallbackEntity extends ByteArrayEntity { private static final int DEFAULT_PIECE_SIZE = 4096; public static final String PROGRESS_STATUS_ACTION = "edu.bupt.mms.PROGRESS_STATUS"; public static final int PROGRESS_START = -1; public static final int PROGRESS_ABORT = -2;
From source file com.google.android.mms.transaction.ProgressCallbackEntity.java
public class ProgressCallbackEntity extends ByteArrayEntity { private static final int DEFAULT_PIECE_SIZE = 4096; public static final String PROGRESS_STATUS_ACTION = "com.android.mms.PROGRESS_STATUS"; public static final int PROGRESS_START = -1; public static final int PROGRESS_ABORT = -2;
From source file com.wemakestuff.mmsplus.transaction.ProgressCallbackEntity.java
public class ProgressCallbackEntity extends ByteArrayEntity { private static final int DEFAULT_PIECE_SIZE = 4096; public static final String PROGRESS_STATUS_ACTION = "com.android.mms.PROGRESS_STATUS"; public static final int PROGRESS_START = -1; public static final int PROGRESS_ABORT = -2;
From source file ru.ivanovpv.gorets.psm.mms.transaction.ProgressCallbackEntity.java
public class ProgressCallbackEntity extends ByteArrayEntity { private static final int DEFAULT_PIECE_SIZE = 4096; public static final String PROGRESS_STATUS_ACTION = "com.android.mms.PROGRESS_STATUS"; public static final int PROGRESS_START = -1; public static final int PROGRESS_ABORT = -2;
From source file com.geocine.mms.com.android.mms.transaction.ProgressCallbackEntity.java
public class ProgressCallbackEntity extends ByteArrayEntity { private static final int DEFAULT_PIECE_SIZE = 4096; // TDH public static final String PROGRESS_STATUS_ACTION = "com.geocine.mms.com.android.mms.PROGRESS_STATUS"; public static final int PROGRESS_START = -1;
From source file lucee.commons.net.http.httpclient.entity.ByteArrayHttpEntity.java
public class ByteArrayHttpEntity extends ByteArrayEntity implements Entity4 { private ContentType ct; private int contentLength; public ByteArrayHttpEntity(byte[] barr, ContentType contentType) {
From source file com.android.picasaphotouploader.MultipartNotificationEntity.java
/**
* Class to override ByteArrayEntity for HttpClient to write multipart related
* content and to progress upload monitoring for notification when uploading
* a file to Picasa
*
* @author Jan Peter Hooiveld