public class SpdyStreamStatus extends java.lang.Object implements java.lang.Comparable<SpdyStreamStatus>
限定符和类型 | 字段和说明 |
---|---|
static SpdyStreamStatus |
CANCEL
5 Cancel
|
static SpdyStreamStatus |
FLOW_CONTROL_ERROR
7 Flow Control Error
|
static SpdyStreamStatus |
FRAME_TOO_LARGE
11 Frame Too Large
|
static SpdyStreamStatus |
INTERNAL_ERROR
6 Internal Error
|
static SpdyStreamStatus |
INVALID_CREDENTIALS
10 Invalid Credentials
|
static SpdyStreamStatus |
INVALID_STREAM
2 Invalid Stream
|
static SpdyStreamStatus |
PROTOCOL_ERROR
1 Protocol Error
|
static SpdyStreamStatus |
REFUSED_STREAM
3 Refused Stream
|
static SpdyStreamStatus |
STREAM_ALREADY_CLOSED
9 Stream Already Closed
|
static SpdyStreamStatus |
STREAM_IN_USE
8 Stream In Use
|
static SpdyStreamStatus |
UNSUPPORTED_VERSION
4 Unsupported Version
|
构造器和说明 |
---|
SpdyStreamStatus(int code,
java.lang.String statusPhrase)
Creates a new instance with the specified
code and its
statusPhrase . |
限定符和类型 | 方法和说明 |
---|---|
int |
code()
Returns the code of this status.
|
int |
compareTo(SpdyStreamStatus o) |
boolean |
equals(java.lang.Object o) |
int |
hashCode() |
java.lang.String |
statusPhrase()
Returns the status phrase of this status.
|
java.lang.String |
toString() |
static SpdyStreamStatus |
valueOf(int code)
Returns the
SpdyStreamStatus represented by the specified code. |
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
and its
statusPhrase
.public static SpdyStreamStatus valueOf(int code)
SpdyStreamStatus
represented by the specified code.
If the specified code is a defined SPDY status code, a cached instance
will be returned. Otherwise, a new instance will be returned.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>