public class OkHttpRequestBody
extends okhttp3.RequestBody
| Constructor and Description |
|---|
OkHttpRequestBody(HttpRequest request) |
| Modifier and Type | Method and Description |
|---|---|
long |
contentLength() |
okhttp3.MediaType |
contentType() |
void |
writeTo(okio.BufferedSink bufferedSink) |
public OkHttpRequestBody(HttpRequest request)
public okhttp3.MediaType contentType()
contentType in class okhttp3.RequestBodypublic long contentLength()
throws IOException
contentLength in class okhttp3.RequestBodyIOExceptionpublic void writeTo(okio.BufferedSink bufferedSink)
throws IOException
writeTo in class okhttp3.RequestBodyIOExceptionCopyright © 2025 Webull. All rights reserved.