static enum HttpUrl.Builder.ParseResult extends java.lang.Enum<HttpUrl.Builder.ParseResult>
Enum Constant and Description |
---|
INVALID_HOST |
INVALID_PORT |
MISSING_SCHEME |
SUCCESS |
UNSUPPORTED_SCHEME |
Modifier and Type | Method and Description |
---|---|
static HttpUrl.Builder.ParseResult |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static HttpUrl.Builder.ParseResult[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HttpUrl.Builder.ParseResult SUCCESS
public static final HttpUrl.Builder.ParseResult MISSING_SCHEME
public static final HttpUrl.Builder.ParseResult UNSUPPORTED_SCHEME
public static final HttpUrl.Builder.ParseResult INVALID_PORT
public static final HttpUrl.Builder.ParseResult INVALID_HOST
public static HttpUrl.Builder.ParseResult[] values()
for (HttpUrl.Builder.ParseResult c : HttpUrl.Builder.ParseResult.values()) System.out.println(c);
public static HttpUrl.Builder.ParseResult valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null