APIdia Launch Partner
Top Fields Constructors Methods
jdk.internal.net.http.frame

public final Class AltSvcFrame

extends Http2Frame
Class Inheritance
Imports
java.nio.charset.Charset, .StandardCharsets, java.util.Objects, .Optional

Field Summary

Modifier and TypeField and Description
private final String
private static final Charset
private final int
private final String
public static final int
Inherited from jdk.internal.net.http.frame.Http2Frame:
flagsFRAME_HEADER_SIZEstreamid

Constructor Summary

AccessConstructor and Description
public
AltSvcFrame(int streamid, int flags, Optional<String> originVal, String altValue)

Method Summary

Modifier and TypeMethod and Description
public String
public String
pack-priv int
public String
toString()

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

Returns a string representation of the object.

public int
Inherited from jdk.internal.net.http.frame.Http2Frame:
asStringflagAsStringgetFlaggetFlagssetFlagstreamidstreamid

Field Detail

altSvcValueback to summary
private final String altSvcValue
encodingback to summary
private static final Charset encoding
lengthback to summary
private final int length
originback to summary
private final String origin
TYPEback to summary
public static final int TYPE

Constructor Detail

AltSvcFrameback to summary
public AltSvcFrame(int streamid, int flags, Optional<String> originVal, String altValue)

Method Detail

getAltSvcValueback to summary
public String getAltSvcValue()
getOriginback to summary
public String getOrigin()
lengthback to summary
pack-priv int length()

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

Annotations
@Override
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. Satisfying this method's contract implies a non-null result must be returned.

Annotations
@Override
typeback to summary
public int type()

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

Annotations
@Override