public abstract class HttpVersion
extends java.lang.Object
Constants and functions for HTTP version numbers/strings.
Modifier and Type | Field and Description |
---|---|
static int |
HTTP_1_0
Represents HTTP 1.0.
|
static int |
HTTP_1_1
Represents HTTP 1.1.
|
Constructor and Description |
---|
HttpVersion() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
getName(int version)
Return the name of an HTTP version (e.g.
|
public static final int HTTP_1_0
Represents HTTP 1.0.
public static final int HTTP_1_1
Represents HTTP 1.1.