Top Description Fields Constructors Methods
jdk.internal.net.http.frame

public Class OutgoingHeaders<T>

extends Http2Frame
Class Inheritance
Imports
java.net.http.HttpHeaders

Contains all parameters for outgoing headers. Is converted to HeadersFrame and ContinuationFrames by Http2Connection.

Field Summary

Modifier and TypeField and Description
pack-priv T
pack-priv boolean
public static final int
pack-priv int
pack-priv HttpHeaders
pack-priv HttpHeaders
pack-priv int
Inherited from jdk.internal.net.http.frame.Http2Frame:
flagsFRAME_HEADER_SIZEstreamid

Constructor Summary

AccessConstructor and Description
public
OutgoingHeaders(HttpHeaders hdrs1, HttpHeaders hdrs2, T attachment)

Method Summary

Modifier and TypeMethod and Description
public T
public boolean
public int
public HttpHeaders
public HttpHeaders
public int
public void
setPriority(int streamDependency, boolean exclusive, int weight)

public String
toString()

Overrides jdk.internal.net.http.frame.Http2Frame.toString.

Returns a string representation of the object.
Inherited from jdk.internal.net.http.frame.Http2Frame:
asStringflagAsStringgetFlaggetFlagslengthsetFlagstreamidstreamidtype

Field Detail

attachmentback to summary
pack-priv T attachment
exclusiveback to summary
pack-priv boolean exclusive
PRIORITYback to summary
public static final int PRIORITY
streamDependencyback to summary
pack-priv int streamDependency
systemback to summary
pack-priv HttpHeaders system
userback to summary
pack-priv HttpHeaders user
weightback to summary
pack-priv int weight

Constructor Detail

OutgoingHeadersback to summary
public OutgoingHeaders(HttpHeaders hdrs1, HttpHeaders hdrs2, T attachment)

Method Detail

getAttachmentback to summary
public T getAttachment()
getExclusiveback to summary
public boolean getExclusive()
getStreamDependencyback to summary
public int getStreamDependency()
getSystemHeadersback to summary
public HttpHeaders getSystemHeaders()
getUserHeadersback to summary
public HttpHeaders getUserHeaders()
getWeightback to summary
public int getWeight()
setPriorityback to summary
public void setPriority(int streamDependency, boolean exclusive, int weight)
toStringback to summary
public String toString()

Overrides jdk.internal.net.http.frame.Http2Frame.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object.

Returns:String

a string representation of the object

Annotations
@Override