public class SpdyStreamStatus extends java.lang.Object implements java.lang.Comparable<SpdyStreamStatus>
Modifier and Type | Field and Description |
---|---|
static SpdyStreamStatus |
CANCEL
5取消
|
static SpdyStreamStatus |
FLOW_CONTROL_ERROR
7流量控制错误
|
static SpdyStreamStatus |
FRAME_TOO_LARGE
11框架太大
|
static SpdyStreamStatus |
INTERNAL_ERROR
6内部错误
|
static SpdyStreamStatus |
INVALID_CREDENTIALS
10无效的凭证
|
static SpdyStreamStatus |
INVALID_STREAM
2无效的流
|
static SpdyStreamStatus |
PROTOCOL_ERROR
1协议错误
|
static SpdyStreamStatus |
REFUSED_STREAM
3拒绝流
|
static SpdyStreamStatus |
STREAM_ALREADY_CLOSED
9流已经关闭
|
static SpdyStreamStatus |
STREAM_IN_USE
8流在使用中
|
static SpdyStreamStatus |
UNSUPPORTED_VERSION
4不支持的版本
|
Constructor and Description |
---|
SpdyStreamStatus(int code, java.lang.String statusPhrase)
用指定的
code 及其
statusPhrase 创建一个新实例。
|
Modifier and Type | Method and Description |
---|---|
int |
code()
返回此状态的代码。
|
int |
compareTo(SpdyStreamStatus o) |
boolean |
equals(java.lang.Object o) |
int |
hashCode() |
java.lang.String |
statusPhrase()
返回此状态的状态短语。
|
java.lang.String |
toString() |
static SpdyStreamStatus |
valueOf(int code)
返回由指定代码表示的 SpdyStreamStatus 。
|
public static final SpdyStreamStatus PROTOCOL_ERROR
public static final SpdyStreamStatus INVALID_STREAM
public static final SpdyStreamStatus REFUSED_STREAM
public static final SpdyStreamStatus UNSUPPORTED_VERSION
public static final SpdyStreamStatus CANCEL
public static final SpdyStreamStatus INTERNAL_ERROR
public static final SpdyStreamStatus FLOW_CONTROL_ERROR
public static final SpdyStreamStatus STREAM_IN_USE
public static final SpdyStreamStatus STREAM_ALREADY_CLOSED
public static final SpdyStreamStatus INVALID_CREDENTIALS
public static final SpdyStreamStatus FRAME_TOO_LARGE
public SpdyStreamStatus(int code, java.lang.String statusPhrase)
code
及其
statusPhrase
创建一个新实例。
public static SpdyStreamStatus valueOf(int code)
public int code()
public java.lang.String statusPhrase()
public int hashCode()
hashCode
在课堂上
java.lang.Object
public boolean equals(java.lang.Object o)
equals
在课堂上
java.lang.Object
public java.lang.String toString()
toString
在课堂上
java.lang.Object
public int compareTo(SpdyStreamStatus o)
compareTo
在界面
java.lang.Comparable<SpdyStreamStatus>
Copyright © 2008–2018 The Netty Project. All rights reserved.