public class OkRequestBody
extends okhttp3.RequestBody
| 构造器和说明 |
|---|
OkRequestBody(TeaRequest teaRequest) |
| 限定符和类型 | 方法和说明 |
|---|---|
long |
contentLength() |
okhttp3.MediaType |
contentType() |
void |
writeTo(okio.BufferedSink bufferedSink) |
public OkRequestBody(TeaRequest teaRequest)
public okhttp3.MediaType contentType()
contentType 在类中 okhttp3.RequestBodypublic long contentLength()
throws IOException
contentLength 在类中 okhttp3.RequestBodyIOExceptionpublic void writeTo(okio.BufferedSink bufferedSink)
throws IOException
writeTo 在类中 okhttp3.RequestBodyIOExceptionCopyright © 2020. All rights reserved.