Class SettingsFrame
- java.lang.Object
-
- jdk.incubator.http.internal.frame.Http2Frame
-
- jdk.incubator.http.internal.frame.SettingsFrame
-
public class SettingsFrame extends Http2Frame
-
-
Field Summary
Fields Modifier and Type Field Description static int
ACK
static int
ENABLE_PUSH
static int
HEADER_TABLE_SIZE
static int
INITIAL_WINDOW_SIZE
static int
MAX_CONCURRENT_STREAMS
static int
MAX_FRAME_SIZE
static int
MAX_HEADER_LIST_SIZE
static int
MAX_PARAM
static int
TYPE
-
Fields inherited from class jdk.incubator.http.internal.frame.Http2Frame
flags, FRAME_HEADER_SIZE, streamid
-
-
Constructor Summary
Constructors Constructor Description SettingsFrame()
SettingsFrame(int flags)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
flagAsString(int flag)
static SettingsFrame
getDefaultSettings()
int
getParameter(int paramID)
SettingsFrame
setParameter(int paramID, int value)
byte[]
toByteArray()
java.lang.String
toString()
int
type()
-
Methods inherited from class jdk.incubator.http.internal.frame.Http2Frame
asString, clearFlag, getFlag, getFlags, setFlag, setFlags, streamid, streamid, typeAsString
-
-
-
-
Field Detail
-
TYPE
public static final int TYPE
- See Also:
- Constant Field Values
-
ACK
public static final int ACK
- See Also:
- Constant Field Values
-
HEADER_TABLE_SIZE
public static final int HEADER_TABLE_SIZE
- See Also:
- Constant Field Values
-
ENABLE_PUSH
public static final int ENABLE_PUSH
- See Also:
- Constant Field Values
-
MAX_CONCURRENT_STREAMS
public static final int MAX_CONCURRENT_STREAMS
- See Also:
- Constant Field Values
-
INITIAL_WINDOW_SIZE
public static final int INITIAL_WINDOW_SIZE
- See Also:
- Constant Field Values
-
MAX_FRAME_SIZE
public static final int MAX_FRAME_SIZE
- See Also:
- Constant Field Values
-
MAX_HEADER_LIST_SIZE
public static final int MAX_HEADER_LIST_SIZE
- See Also:
- Constant Field Values
-
MAX_PARAM
public static final int MAX_PARAM
- See Also:
- Constant Field Values
-
-
Method Detail
-
flagAsString
public java.lang.String flagAsString(int flag)
- Overrides:
flagAsString
in classHttp2Frame
-
toString
public java.lang.String toString()
- Overrides:
toString
in classHttp2Frame
-
type
public int type()
- Overrides:
type
in classHttp2Frame
-
getParameter
public int getParameter(int paramID)
-
setParameter
public SettingsFrame setParameter(int paramID, int value)
-
toByteArray
public byte[] toByteArray()
-
getDefaultSettings
public static SettingsFrame getDefaultSettings()
-
-