@Generated(value="jsii-pacmak/1.30.0 (build adae23f)", date="2021-06-30T10:00:50.294Z") @Stability(value=Experimental) public enum HttpVersion extends Enum<HttpVersion>
| Enum Constant and Description |
|---|
HTTP1_1
(experimental) HTTP 1.1.
|
HTTP2
(experimental) HTTP 2.
|
| Modifier and Type | Method and Description |
|---|---|
static HttpVersion |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HttpVersion[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@Stability(value=Experimental) public static final HttpVersion HTTP1_1
@Stability(value=Experimental) public static final HttpVersion HTTP2
public static HttpVersion[] values()
for (HttpVersion c : HttpVersion.values()) System.out.println(c);
public static HttpVersion valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2021. All rights reserved.