Package | Description |
---|---|
okhttp3.internal.http2 |
Modifier and Type | Field and Description |
---|---|
ErrorCode |
StreamResetException.errorCode |
Modifier and Type | Method and Description |
---|---|
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)
Returns the enum constant of this type with the specified name.
|
static ErrorCode[] |
ErrorCode.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
void |
Http2Stream.close(ErrorCode rstStatusCode)
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.
|
Constructor and Description |
---|
StreamResetException(ErrorCode errorCode) |
Copyright © 2018. All rights reserved.