| 程序包 | 说明 |
|---|---|
| com.lark.oapi.okhttp |
An HTTP+HTTP/2 client for Android and Java applications.
|
| com.lark.oapi.okhttp.internal | |
| com.lark.oapi.okhttp.internal.connection | |
| com.lark.oapi.okhttp.internal.http |
| 限定符和类型 | 方法和说明 |
|---|---|
ResponseBody |
Response.body()
Returns a non-null value if this response was passed to
Callback.onResponse(com.lark.oapi.okhttp.Call, com.lark.oapi.okhttp.Response) or returned
from Call.execute(). |
static ResponseBody |
ResponseBody.create(MediaType contentType,
byte[] content)
Returns a new response body that transmits
content. |
static ResponseBody |
ResponseBody.create(MediaType contentType,
ByteString content)
Returns a new response body that transmits
content. |
static ResponseBody |
ResponseBody.create(MediaType contentType,
long contentLength,
BufferedSource content)
Returns a new response body that transmits
content. |
static ResponseBody |
ResponseBody.create(MediaType contentType,
String content)
Returns a new response body that transmits
content. |
ResponseBody |
Response.peekBody(long byteCount)
Peeks up to
byteCount bytes from the response body and returns them as a new response
body. |
| 限定符和类型 | 方法和说明 |
|---|---|
Response.Builder |
Response.Builder.body(ResponseBody body) |
| 限定符和类型 | 字段和说明 |
|---|---|
static ResponseBody |
Util.EMPTY_RESPONSE |
| 限定符和类型 | 方法和说明 |
|---|---|
ResponseBody |
Exchange.openResponseBody(Response response) |
| 限定符和类型 | 类和说明 |
|---|---|
class |
RealResponseBody |
Copyright © 2024. All rights reserved.