| Package | Description |
|---|---|
| okhttp3.internal.framed |
| Modifier and Type | Method and Description |
|---|---|
static ErrorCode |
ErrorCode.fromHttp2(int code)
|
static ErrorCode |
ErrorCode.fromSpdy3Rst(int code)
|
static ErrorCode |
ErrorCode.fromSpdyGoAway(int code)
|
ErrorCode |
FramedStream.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
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 |
FramedStream.close(ErrorCode
Abnormally terminate this stream.
|
void |
FramedStream.closeLater(ErrorCode
Abnormally terminate this stream.
|
void |
FrameWriter.goAway(int lastGoodStreamId, ErrorCode
Tell the peer to stop creating streams and that we last processed
lastGoodStreamId, or zero if no streams were processed.
|
void |
FrameReader.Handler.goAway(int lastGoodStreamId, ErrorCode
The peer tells us to stop creating streams.
|
void |
PushObserver.onReset(int streamId, ErrorCode
Indicates the reason why this stream was canceled.
|
void |
FrameWriter.rstStream(int streamId, ErrorCode
|
void |
FrameReader.Handler.rstStream(int streamId, ErrorCode
|
void |
FramedConnection.shutdown(ErrorCode
Degrades this connection such that new streams can neither be created locally, nor accepted from the remote peer.
|