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

pack-priv abstract Class IndexNameValueWriter

extends Object
implements BinaryRepresentationWriter
Class Inheritance
All Implemented Interfaces
jdk.internal.net.http.hpack.BinaryRepresentationWriter
Known Direct Subclasses
jdk.internal.net.http.hpack.LiteralNeverIndexedWriter, jdk.internal.net.http.hpack.LiteralWithIndexingWriter, jdk.internal.net.http.hpack.LiteralWriter
Imports
java.nio.ByteBuffer

Field Summary

Modifier and TypeField and Description
protected boolean
private final IntegerWriter
private static final int
private final StringWriter
private static final int
private final int
private final int
private int
private static final int
private final StringWriter

Constructor Summary

AccessConstructor and Description
protected
IndexNameValueWriter(int pattern, int prefix)

Method Summary

Modifier and TypeMethod and Description
pack-priv IndexNameValueWriter
index(int index)

pack-priv IndexNameValueWriter
name(CharSequence name, boolean useHuffman)

public IndexNameValueWriter
pack-priv IndexNameValueWriter
value(CharSequence value, boolean useHuffman)

public boolean
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

indexedRepresentationback to summary
protected boolean indexedRepresentation
intWriterback to summary
private final IntegerWriter intWriter
NAME_PART_WRITTENback to summary
private static final int NAME_PART_WRITTEN
nameWriterback to summary
private final StringWriter nameWriter
NEWback to summary
private static final int NEW
patternback to summary
private final int pattern
prefixback to summary
private final int prefix
stateback to summary
private int state
VALUE_WRITTENback to summary
private static final int VALUE_WRITTEN
valueWriterback to summary
private final StringWriter valueWriter

Constructor Detail

IndexNameValueWriterback to summary
protected IndexNameValueWriter(int pattern, int prefix)

Method Detail

indexback to summary
pack-priv IndexNameValueWriter index(int index)
nameback to summary
pack-priv IndexNameValueWriter name(CharSequence name, boolean useHuffman)
resetback to summary
public IndexNameValueWriter reset()

Implements jdk.internal.net.http.hpack.BinaryRepresentationWriter.reset.

Annotations
@Override
valueback to summary
pack-priv IndexNameValueWriter value(CharSequence value, boolean useHuffman)
writeback to summary
public boolean write(HeaderTable table, ByteBuffer destination)

Implements jdk.internal.net.http.hpack.BinaryRepresentationWriter.write.

Annotations
@Override