Package org.eclipse.jetty.http
Class Http1FieldPreEncoder
- java.lang.Object
-
- org.eclipse.jetty.http.Http1FieldPreEncoder
-
- All Implemented Interfaces:
HttpFieldPreEncoder
@Deprecated(since="2021-05-27") public class Http1FieldPreEncoder extends java.lang.Object implements HttpFieldPreEncoder
Deprecated.The Eclipse Jetty and Apache Felix Http Jetty packages are no longer supported.
-
-
Constructor Summary
Constructors Constructor Description Http1FieldPreEncoder()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description byte[]
getEncodedField(HttpHeader header, java.lang.String headerString, java.lang.String value)
Deprecated.HttpVersion
getHttpVersion()
Deprecated.The major version this encoder is for.
-
-
-
Method Detail
-
getHttpVersion
public HttpVersion getHttpVersion()
Deprecated.Description copied from interface:HttpFieldPreEncoder
The major version this encoder is for. Both HTTP/1.0 and HTTP/1.1 use the same field encoding, so theHttpVersion.HTTP_1_0
should be return for all HTTP/1.x encodings.- Specified by:
getHttpVersion
in interfaceHttpFieldPreEncoder
- Returns:
- The major version this encoder is for.
- See Also:
HttpFieldPreEncoder.getHttpVersion()
-
getEncodedField
public byte[] getEncodedField(HttpHeader header, java.lang.String headerString, java.lang.String value)
Deprecated.- Specified by:
getEncodedField
in interfaceHttpFieldPreEncoder
- See Also:
HttpFieldPreEncoder.getEncodedField(org.eclipse.jetty.http.HttpHeader, java.lang.String, java.lang.String)
-
-