Class OutgoingHeaders<T>
- java.lang.Object
-
- jdk.incubator.http.internal.frame.Http2Frame
-
- jdk.incubator.http.internal.frame.OutgoingHeaders<T>
-
public class OutgoingHeaders<T> extends Http2Frame
Contains all parameters for outgoing headers. Is converted to HeadersFrame and ContinuationFrames by Http2Connection.
-
-
Field Summary
Fields Modifier and Type Field Description static int
PRIORITY
-
Fields inherited from class jdk.incubator.http.internal.frame.Http2Frame
flags, FRAME_HEADER_SIZE, streamid
-
-
Constructor Summary
Constructors Constructor Description OutgoingHeaders(HttpHeaders hdrs1, HttpHeaders hdrs2, T attachment)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description T
getAttachment()
boolean
getExclusive()
int
getStreamDependency()
HttpHeaders
getSystemHeaders()
HttpHeaders
getUserHeaders()
int
getWeight()
void
setPriority(int streamDependency, boolean exclusive, int weight)
-
Methods inherited from class jdk.incubator.http.internal.frame.Http2Frame
asString, clearFlag, flagAsString, getFlag, getFlags, setFlag, setFlags, streamid, streamid, toString, type, typeAsString
-
-
-
-
Field Detail
-
PRIORITY
public static final int PRIORITY
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
OutgoingHeaders
public OutgoingHeaders(HttpHeaders hdrs1, HttpHeaders hdrs2, T attachment)
-
-
Method Detail
-
setPriority
public void setPriority(int streamDependency, boolean exclusive, int weight)
-
getStreamDependency
public int getStreamDependency()
-
getWeight
public int getWeight()
-
getExclusive
public boolean getExclusive()
-
getAttachment
public T getAttachment()
-
getUserHeaders
public HttpHeaders getUserHeaders()
-
getSystemHeaders
public HttpHeaders getSystemHeaders()
-
-