public class OkHttpMultipartBody
extends okhttp3.RequestBody
Constructor and Description |
---|
OkHttpMultipartBody(ForestRequest request,
okhttp3.RequestBody requestBody,
LifeCycleHandler handler) |
Modifier and Type | Method and Description |
---|---|
long |
contentLength() |
okhttp3.MediaType |
contentType() |
void |
writeTo(okio.BufferedSink sink) |
public OkHttpMultipartBody(ForestRequest request, okhttp3.RequestBody requestBody, LifeCycleHandler handler)
public okhttp3.MediaType contentType()
contentType
in class okhttp3.RequestBody
public long contentLength()
contentLength
in class okhttp3.RequestBody
public void writeTo(okio.BufferedSink sink) throws IOException
writeTo
in class okhttp3.RequestBody
IOException
Copyright © 2020. All rights reserved.