Top Constructors Methods
org.eclipse.jetty.http

public Class Http11FieldPreEncoder

extends Http1FieldPreEncoder
Class Inheritance

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public HttpVersion
getHttpVersion()

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

The major version this encoder is for.
Inherited from org.eclipse.jetty.http.Http1FieldPreEncoder:
getEncodedField

Constructor Detail

Http11FieldPreEncoderback to summary
public Http11FieldPreEncoder()

Method Detail

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