public class CountingFileRequestBody
extends okhttp3.RequestBody
| Modifier and Type | Field and Description |
|---|---|
protected static okhttp3.MediaType |
CONTENT_BINARY |
protected ProgressListener |
listener |
protected T |
requestBodyData |
protected static int |
SEGMENT_SIZE |
| Modifier and Type | Method and Description |
|---|---|
long |
contentLength() |
okhttp3.MediaType |
contentType() |
void |
writeTo(okio.BufferedSink sink) |
protected static final int SEGMENT_SIZE
protected static final okhttp3.MediaType CONTENT_BINARY
protected final ProgressListener listener
protected final T requestBodyData
public long contentLength()
contentLength in class okhttp3.RequestBodypublic void writeTo(okio.BufferedSink sink)
writeTo in class okhttp3.RequestBodypublic okhttp3.MediaType contentType()
contentType in class okhttp3.RequestBody