public enum HttpProtocol extends Enum<HttpProtocol>
Modifier and Type | Method and Description |
---|---|
String |
asString() |
static HttpProtocol |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HttpProtocol[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HttpProtocol HTTP_0_9
public static final HttpProtocol HTTP_1_0
public static final HttpProtocol HTTP_1_1
public static HttpProtocol[] values()
for (HttpProtocol c : HttpProtocol.values()) System.out.println(c);
public static HttpProtocol 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 nullpublic String asString()
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.