| Modifier and Type | Method | Description |
|---|---|---|
static Http.Version |
Http.Version.of(java.lang.String version) |
Returns HTTP version for provided parameter.
|
static Http.Version |
Http.Version.valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static Http.Version[] |
Http.Version.values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Http.Version |
HttpRequest.version() |
Returns an HTTP version from the request line.
|
Copyright © 2018 Oracle Corporation. All rights reserved.