Java io.netty.handler.codec.http HttpVersion fields, constructors, methods, implement or subclass

Example usage for Java io.netty.handler.codec.http HttpVersion fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for io.netty.handler.codec.http HttpVersion.

The text is from its open source code.

Field

HttpVersionHTTP_1_0
HTTP/1.0
HttpVersionHTTP_1_1
HTTP/1.1
StringprotocolName
Stringtext

Constructor

HttpVersion(String protocolName, int majorVersion, int minorVersion, boolean keepAliveDefault)
Creates a new HTTP version with the specified protocol name and version numbers.
HttpVersion(String text, boolean keepAliveDefault)
Creates a new HTTP version with the specified version string.

Method

booleanequals(Object o)
booleanisKeepAliveDefault()
Returns true if and only if the connection is kept alive unless the "Connection" header is set to "close" explicitly.
StringtoString()
Returns the full protocol version text such as "HTTP/1.0" .
HttpVersionvalueOf(String text)
Returns an existing or new HttpVersion instance which matches to the specified protocol version string.