| 程序包 | 说明 |
|---|---|
| com.lark.oapi.okhttp.internal.http2 |
| 限定符和类型 | 字段和说明 |
|---|---|
ErrorCode |
StreamResetException.errorCode |
| 限定符和类型 | 方法和说明 |
|---|---|
static ErrorCode |
ErrorCode.fromHttp2(int code) |
ErrorCode |
Http2Stream.getErrorCode()
Returns the reason why this stream was closed, or null if it closed normally or has not yet
been closed.
|
static ErrorCode |
ErrorCode.valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static ErrorCode[] |
ErrorCode.values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
Http2Stream.close(ErrorCode rstStatusCode,
IOException errorException)
Abnormally terminate this stream.
|
void |
Http2Stream.closeLater(ErrorCode errorCode)
Abnormally terminate this stream.
|
void |
PushObserver.onReset(int streamId,
ErrorCode errorCode)
Indicates the reason why this stream was canceled.
|
void |
Http2Connection.shutdown(ErrorCode statusCode)
Degrades this connection such that new streams can neither be created locally, nor accepted
from the remote peer.
|
| 构造器和说明 |
|---|
StreamResetException(ErrorCode errorCode) |
Copyright © 2025. All rights reserved.