Class ErrorFrame
- java.lang.Object
-
- jdk.incubator.http.internal.frame.Http2Frame
-
- jdk.incubator.http.internal.frame.ErrorFrame
-
- Direct Known Subclasses:
GoAwayFrame
,ResetFrame
public abstract class ErrorFrame extends Http2Frame
-
-
Field Summary
Fields Modifier and Type Field Description static int
CANCEL
static int
COMPRESSION_ERROR
static int
CONNECT_ERROR
static int
ENHANCE_YOUR_CALM
static int
FLOW_CONTROL_ERROR
static int
FRAME_SIZE_ERROR
static int
HTTP_1_1_REQUIRED
static int
INADEQUATE_SECURITY
static int
INTERNAL_ERROR
static int
NO_ERROR
static int
PROTOCOL_ERROR
static int
REFUSED_STREAM
static int
SETTINGS_TIMEOUT
static int
STREAM_CLOSED
-
Fields inherited from class jdk.incubator.http.internal.frame.Http2Frame
flags, FRAME_HEADER_SIZE, streamid
-
-
Constructor Summary
Constructors Constructor Description ErrorFrame(int streamid, int flags, int errorCode)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getErrorCode()
void
setErrorCode(int errorCode)
static java.lang.String
stringForCode(int code)
java.lang.String
toString()
-
Methods inherited from class jdk.incubator.http.internal.frame.Http2Frame
asString, clearFlag, flagAsString, getFlag, getFlags, setFlag, setFlags, streamid, streamid, type, typeAsString
-
-
-
-
Field Detail
-
NO_ERROR
public static final int NO_ERROR
- See Also:
- Constant Field Values
-
PROTOCOL_ERROR
public static final int PROTOCOL_ERROR
- See Also:
- Constant Field Values
-
INTERNAL_ERROR
public static final int INTERNAL_ERROR
- See Also:
- Constant Field Values
-
FLOW_CONTROL_ERROR
public static final int FLOW_CONTROL_ERROR
- See Also:
- Constant Field Values
-
SETTINGS_TIMEOUT
public static final int SETTINGS_TIMEOUT
- See Also:
- Constant Field Values
-
STREAM_CLOSED
public static final int STREAM_CLOSED
- See Also:
- Constant Field Values
-
FRAME_SIZE_ERROR
public static final int FRAME_SIZE_ERROR
- See Also:
- Constant Field Values
-
REFUSED_STREAM
public static final int REFUSED_STREAM
- See Also:
- Constant Field Values
-
CANCEL
public static final int CANCEL
- See Also:
- Constant Field Values
-
COMPRESSION_ERROR
public static final int COMPRESSION_ERROR
- See Also:
- Constant Field Values
-
CONNECT_ERROR
public static final int CONNECT_ERROR
- See Also:
- Constant Field Values
-
ENHANCE_YOUR_CALM
public static final int ENHANCE_YOUR_CALM
- See Also:
- Constant Field Values
-
INADEQUATE_SECURITY
public static final int INADEQUATE_SECURITY
- See Also:
- Constant Field Values
-
HTTP_1_1_REQUIRED
public static final int HTTP_1_1_REQUIRED
- See Also:
- Constant Field Values
-
-
Method Detail
-
stringForCode
public static java.lang.String stringForCode(int code)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classHttp2Frame
-
getErrorCode
public int getErrorCode()
-
setErrorCode
public void setErrorCode(int errorCode)
-
-