Top Constructors Methods
org.eclipse.jetty.http2.hpack

public Class HpackFieldPreEncoder

extends Object
implements HttpFieldPreEncoder
Class Inheritance
All Implemented Interfaces
org.eclipse.jetty.http.HttpFieldPreEncoder
Imports
java.nio.ByteBuffer, org.eclipse.jetty.http.HttpFieldPreEncoder, .HttpHeader, .HttpVersion, org.eclipse.jetty.http.compression.HuffmanEncoder, .NBitIntegerEncoder, org.eclipse.jetty.util.BufferUtil

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

HpackFieldPreEncoderback to summary
public HpackFieldPreEncoder()

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.

Returns:HttpVersion

The major version this encoder is for.

Annotations
@Override