Top Constructors Methods
org.eclipse.jetty.http3.qpack

public Class QpackFieldPreEncoder

extends Object
implements HttpFieldPreEncoder
Class Inheritance
All Implemented Interfaces
org.eclipse.jetty.http.HttpFieldPreEncoder
Imports
java.nio.ByteBuffer, org.eclipse.jetty.http.HttpField, .HttpFieldPreEncoder, .HttpHeader, .HttpVersion, org.eclipse.jetty.http3.qpack.internal.EncodableEntry, .QpackContext, org.eclipse.jetty.http3.qpack.internal.table.Entry, .StaticTable

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public byte[]
public HttpVersion
getHttpVersion()

Implements org.eclipse.jetty.http.HttpFieldPreEncoder.getHttpVersion.

The major version this encoder is for.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

QpackFieldPreEncoderback to summary
public QpackFieldPreEncoder()

Method Detail

getEncodedFieldback to summary
public byte[] getEncodedField(HttpHeader header, String name, String value)

Implements org.eclipse.jetty.http.HttpFieldPreEncoder.getEncodedField.

Annotations
@Override
getHttpVersionback to summary
public HttpVersion getHttpVersion()

Implements org.eclipse.jetty.http.HttpFieldPreEncoder.getHttpVersion.

Doc from org.eclipse.jetty.http.HttpFieldPreEncoder.getHttpVersion.

The major version this encoder is for. Both HTTP/1.0 and HTTP/1.1 use the same field encoding, so the HttpVersion#HTTP_1_0 should be return for all HTTP/1.x encodings.

Annotations
@Override