Example usage for Java io.netty.handler.codec.http HttpVersion fields, constructors, methods, implement or subclass
The text is from its open source code.
HttpVersion | HTTP_1_0 HTTP/1.0 |
HttpVersion | HTTP_1_1 HTTP/1.1 |
String | protocolName |
String | text |
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. |
boolean | equals(Object o) |
boolean | isKeepAliveDefault() Returns true if and only if the connection is kept alive unless the "Connection" header is set to "close" explicitly. |
String | toString() Returns the full protocol version text such as "HTTP/1.0" . |
HttpVersion | valueOf(String text) Returns an existing or new HttpVersion instance which matches to the specified protocol version string. |