Top Inners Fields Constructors Methods
org.eclipse.jetty.http3.qpack.internal.parser

public Class EncodedFieldSection

extends Object
Class Inheritance
Imports
java.nio.ByteBuffer, java.util.ArrayList, .List, org.eclipse.jetty.http.HttpField, .MetaData, org.eclipse.jetty.http.compression.EncodingException, .NBitIntegerDecoder, .NBitStringDecoder, org.eclipse.jetty.http3.qpack.QpackDecoder, .QpackException, org.eclipse.jetty.http3.qpack.internal.QpackContext, org.eclipse.jetty.http3.qpack.internal.metadata.MetaDataBuilder, org.eclipse.jetty.util.BufferUtil, org.slf4j.Logger, .LoggerFactory

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static interface
private class
private class
private static class
private class
private class

Field Summary

Modifier and TypeField and Description
private final int
private final long
private final List<EncodedFieldSection.EncodedField>
private final QpackDecoder.Handler
private final NBitIntegerDecoder
private final int
private final long
private final NBitStringDecoder
private static final Logger

Constructor Summary

AccessConstructor and Description
public
EncodedFieldSection(long streamId, QpackDecoder.Handler handler, int requiredInsertCount, int base, ByteBuffer content, long beginNanoTime)

Method Summary

Modifier and TypeMethod and Description
public MetaData
decode(QpackContext context, int maxHeaderSize)

public QpackDecoder.Handler
public int
public long
private EncodedFieldSection.EncodedField
private EncodedFieldSection.EncodedField
private EncodedFieldSection.EncodedField
private EncodedFieldSection.EncodedField
private EncodedFieldSection.EncodedField
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

_baseback to summary
private final int _base
_beginNanoTimeback to summary
private final long _beginNanoTime
_encodedFieldsback to summary
private final List<EncodedFieldSection.EncodedField> _encodedFields
_handlerback to summary
private final QpackDecoder.Handler _handler
_integerDecoderback to summary
private final NBitIntegerDecoder _integerDecoder
_requiredInsertCountback to summary
private final int _requiredInsertCount
_streamIdback to summary
private final long _streamId
_stringDecoderback to summary
private final NBitStringDecoder _stringDecoder
LOGback to summary
private static final Logger LOG

Constructor Detail

EncodedFieldSectionback to summary
public EncodedFieldSection(long streamId, QpackDecoder.Handler handler, int requiredInsertCount, int base, ByteBuffer content, long beginNanoTime) throws QpackException

Method Detail

decodeback to summary
public MetaData decode(QpackContext context, int maxHeaderSize) throws QpackException
getHandlerback to summary
public QpackDecoder.Handler getHandler()
getRequiredInsertCountback to summary
public int getRequiredInsertCount()
getStreamIdback to summary
public long getStreamId()
parseIndexedFieldback to summary
private EncodedFieldSection.EncodedField parseIndexedField(ByteBuffer buffer) throws EncodingException
parseIndexedFieldPostBaseback to summary
private EncodedFieldSection.EncodedField parseIndexedFieldPostBase(ByteBuffer buffer) throws EncodingException
parseLiteralFieldback to summary
private EncodedFieldSection.EncodedField parseLiteralField(ByteBuffer buffer) throws EncodingException
parseNameReferenceback to summary
private EncodedFieldSection.EncodedField parseNameReference(ByteBuffer buffer) throws EncodingException
parseNameReferencePostBaseback to summary
private EncodedFieldSection.EncodedField parseNameReferencePostBase(ByteBuffer buffer) throws EncodingException
org.eclipse.jetty.http3.qpack.internal.parser back to summary

public Interface EncodedFieldSection.EncodedField

Known Direct Implementers
org.eclipse.jetty.http3.qpack.internal.parser.EncodedFieldSection.LiteralField, org.eclipse.jetty.http3.qpack.internal.parser.EncodedFieldSection.IndexedField, org.eclipse.jetty.http3.qpack.internal.parser.EncodedFieldSection.PostBaseIndexedField, org.eclipse.jetty.http3.qpack.internal.parser.EncodedFieldSection.IndexedNameField, org.eclipse.jetty.http3.qpack.internal.parser.EncodedFieldSection.PostBaseIndexedNameField

Method Summary

Modifier and TypeMethod and Description
public HttpField

Method Detail

decodeback to summary
public HttpField decode(QpackContext context)
org.eclipse.jetty.http3.qpack.internal.parser back to summary

private Class EncodedFieldSection.IndexedField

extends Object
implements EncodedField
Class Inheritance
  • java.lang.Object
  • org.eclipse.jetty.http3.qpack.internal.parser.EncodedFieldSection.IndexedField
All Implemented Interfaces
org.eclipse.jetty.http3.qpack.internal.parser.EncodedFieldSection.EncodedField

Field Summary

Modifier and TypeField and Description
private final boolean
private final int

Constructor Summary

AccessConstructor and Description
public
IndexedField(boolean dynamicTable, int index)

Method Summary

Modifier and TypeMethod and Description
public HttpField
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

_dynamicTableback to summary
private final boolean _dynamicTable
_indexback to summary
private final int _index

Constructor Detail

IndexedFieldback to summary
public IndexedField(boolean dynamicTable, int index)

Method Detail

decodeback to summary
public HttpField decode(QpackContext context)

Implements org.eclipse.jetty.http3.qpack.internal.parser.EncodedFieldSection.EncodedField.decode.

Annotations
@Override
org.eclipse.jetty.http3.qpack.internal.parser back to summary

private Class EncodedFieldSection.IndexedNameField

extends Object
implements EncodedField
Class Inheritance
  • java.lang.Object
  • org.eclipse.jetty.http3.qpack.internal.parser.EncodedFieldSection.IndexedNameField
All Implemented Interfaces
org.eclipse.jetty.http3.qpack.internal.parser.EncodedFieldSection.EncodedField

Field Summary

Modifier and TypeField and Description
private final boolean
private final boolean
private final int
private final String

Constructor Summary

AccessConstructor and Description
public
IndexedNameField(boolean allowEncoding, boolean dynamicTable, int nameIndex, String value)

Method Summary

Modifier and TypeMethod and Description
public HttpField
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

_allowEncodingback to summary
private final boolean _allowEncoding
_dynamicTableback to summary
private final boolean _dynamicTable
_nameIndexback to summary
private final int _nameIndex
_valueback to summary
private final String _value

Constructor Detail

IndexedNameFieldback to summary
public IndexedNameField(boolean allowEncoding, boolean dynamicTable, int nameIndex, String value)

Method Detail

decodeback to summary
public HttpField decode(QpackContext context)

Implements org.eclipse.jetty.http3.qpack.internal.parser.EncodedFieldSection.EncodedField.decode.

Annotations
@Override
org.eclipse.jetty.http3.qpack.internal.parser back to summary

private Class EncodedFieldSection.LiteralField

extends Object
implements EncodedField
Class Inheritance
  • java.lang.Object
  • org.eclipse.jetty.http3.qpack.internal.parser.EncodedFieldSection.LiteralField
All Implemented Interfaces
org.eclipse.jetty.http3.qpack.internal.parser.EncodedFieldSection.EncodedField

Field Summary

Modifier and TypeField and Description
private final boolean
private final String
private final String

Constructor Summary

AccessConstructor and Description
public
LiteralField(boolean allowEncoding, String name, String value)

Method Summary

Modifier and TypeMethod and Description
public HttpField
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

_allowEncodingback to summary
private final boolean _allowEncoding
_nameback to summary
private final String _name
_valueback to summary
private final String _value

Constructor Detail

LiteralFieldback to summary
public LiteralField(boolean allowEncoding, String name, String value)

Method Detail

decodeback to summary
public HttpField decode(QpackContext context)

Implements org.eclipse.jetty.http3.qpack.internal.parser.EncodedFieldSection.EncodedField.decode.

Annotations
@Override
org.eclipse.jetty.http3.qpack.internal.parser back to summary

private Class EncodedFieldSection.PostBaseIndexedField

extends Object
implements EncodedField
Class Inheritance
  • java.lang.Object
  • org.eclipse.jetty.http3.qpack.internal.parser.EncodedFieldSection.PostBaseIndexedField
All Implemented Interfaces
org.eclipse.jetty.http3.qpack.internal.parser.EncodedFieldSection.EncodedField

Field Summary

Modifier and TypeField and Description
private final int

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public HttpField
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

_indexback to summary
private final int _index

Constructor Detail

PostBaseIndexedFieldback to summary
public PostBaseIndexedField(int index)

Method Detail

decodeback to summary
public HttpField decode(QpackContext context)

Implements org.eclipse.jetty.http3.qpack.internal.parser.EncodedFieldSection.EncodedField.decode.

Annotations
@Override
org.eclipse.jetty.http3.qpack.internal.parser back to summary

private Class EncodedFieldSection.PostBaseIndexedNameField

extends Object
implements EncodedField
Class Inheritance
  • java.lang.Object
  • org.eclipse.jetty.http3.qpack.internal.parser.EncodedFieldSection.PostBaseIndexedNameField
All Implemented Interfaces
org.eclipse.jetty.http3.qpack.internal.parser.EncodedFieldSection.EncodedField

Field Summary

Modifier and TypeField and Description
private final boolean
private final int
private final String

Constructor Summary

AccessConstructor and Description
public
PostBaseIndexedNameField(boolean allowEncoding, int nameIndex, String value)

Method Summary

Modifier and TypeMethod and Description
public HttpField
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

_allowEncodingback to summary
private final boolean _allowEncoding
_nameIndexback to summary
private final int _nameIndex
_valueback to summary
private final String _value

Constructor Detail

PostBaseIndexedNameFieldback to summary
public PostBaseIndexedNameField(boolean allowEncoding, int nameIndex, String value)

Method Detail

decodeback to summary
public HttpField decode(QpackContext context)

Implements org.eclipse.jetty.http3.qpack.internal.parser.EncodedFieldSection.EncodedField.decode.

Annotations
@Override