java.lang.Object | ||
↳ | org.apache.http.ProtocolVersion | |
↳ | org.apache.http.HttpVersion |
Represents an HTTP version, as specified in RFC 2616.
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
String | HTTP | The protocol name. |
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
|
HTTP_0_9 | HTTP protocol version 0.9 | |||||||||
|
HTTP_1_0 | HTTP protocol version 1.0 | |||||||||
|
HTTP_1_1 | HTTP protocol version 1.1 |
[Expand]
Inherited Fields
|
|||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.apache.http.ProtocolVersion
|
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
|
Create an HTTP protocol version designator.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
|
Obtains a specific HTTP version.
|
[Expand]
Inherited Methods
|
|||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.apache.http.ProtocolVersion
|
|||||||||||
From class
java.lang.Object
|
Create an HTTP protocol version designator.
major | the major version number of the HTTP protocol |
---|---|
minor | the minor version number of the HTTP protocol |
IllegalArgumentException | if either major or minor version number is negative |
---|
Obtains a specific HTTP version.
major | the major version |
---|---|
minor | the minor version |
HttpVersion
with the argument version