Package org.eclipse.jetty.http2.frames
Enum FrameType
- java.lang.Object
- 
- java.lang.Enum<FrameType>
- 
- org.eclipse.jetty.http2.frames.FrameType
 
 
- 
- 
Enum Constant SummaryEnum Constants Enum Constant Description CONTINUATIONDATADISCONNECTFAILUREGO_AWAYHEADERSPINGPREFACEPRIORITYPUSH_PROMISERST_STREAMSETTINGSWINDOW_UPDATE
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static FrameTypefrom(int type)intgetType()static FrameTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static FrameType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
 
- 
- 
- 
Enum Constant Detail- 
DATApublic static final FrameType DATA 
 - 
HEADERSpublic static final FrameType HEADERS 
 - 
PRIORITYpublic static final FrameType PRIORITY 
 - 
RST_STREAMpublic static final FrameType RST_STREAM 
 - 
SETTINGSpublic static final FrameType SETTINGS 
 - 
PUSH_PROMISEpublic static final FrameType PUSH_PROMISE 
 - 
PINGpublic static final FrameType PING 
 - 
GO_AWAYpublic static final FrameType GO_AWAY 
 - 
WINDOW_UPDATEpublic static final FrameType WINDOW_UPDATE 
 - 
CONTINUATIONpublic static final FrameType CONTINUATION 
 - 
PREFACEpublic static final FrameType PREFACE 
 - 
DISCONNECTpublic static final FrameType DISCONNECT 
 - 
FAILUREpublic static final FrameType FAILURE 
 
- 
 - 
Method Detail- 
valuespublic static FrameType[] values() Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (FrameType c : FrameType.values()) System.out.println(c); - Returns:
- an array containing the constants of this enum type, in the order they are declared
 
 - 
valueOfpublic static FrameType valueOf(java.lang.String name) Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
- name- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
- java.lang.IllegalArgumentException- if this enum type has no constant with the specified name
- java.lang.NullPointerException- if the argument is null
 
 - 
frompublic static FrameType from(int type) 
 - 
getTypepublic int getType() 
 
- 
 
-