Package org.arvados.client.api.client
Class CountingStreamRequestBody
- java.lang.Object
-
- okhttp3.RequestBody
-
- org.arvados.client.api.client.CountingStreamRequestBody
-
public class CountingStreamRequestBody extends okhttp3.RequestBody
-
-
Field Summary
Fields Modifier and Type Field Description protected static okhttp3.MediaTypeCONTENT_BINARYprotected ProgressListenerlistenerprotected TrequestBodyDataprotected static intSEGMENT_SIZE
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longcontentLength()okhttp3.MediaTypecontentType()voidwriteTo(okio.BufferedSink sink)
-
-
-
Field Detail
-
SEGMENT_SIZE
protected static final int SEGMENT_SIZE
- See Also:
- Constant Field Values
-
CONTENT_BINARY
protected static final okhttp3.MediaType CONTENT_BINARY
-
listener
protected final ProgressListener listener
-
requestBodyData
protected final T requestBodyData
-
-
Method Detail
-
contentLength
public long contentLength() throws java.io.IOException- Overrides:
contentLengthin classokhttp3.RequestBody- Throws:
java.io.IOException
-
writeTo
public void writeTo(okio.BufferedSink sink)
- Specified by:
writeToin classokhttp3.RequestBody
-
contentType
public okhttp3.MediaType contentType()
- Specified by:
contentTypein classokhttp3.RequestBody
-
-