public static enum FetchDetails.REDIRECTION extends Enum<FetchDetails.REDIRECTION>
Modifier and Type | Method and Description |
---|---|
static FetchDetails.REDIRECTION |
from(boolean redirection) |
static FetchDetails.REDIRECTION |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FetchDetails.REDIRECTION[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FetchDetails.REDIRECTION FOLLOW
public static final FetchDetails.REDIRECTION STOP
public static FetchDetails.REDIRECTION[] values()
for (FetchDetails.REDIRECTION c : FetchDetails.REDIRECTION.values()) System.out.println(c);
public static FetchDetails.REDIRECTION 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 static FetchDetails.REDIRECTION from(boolean redirection)
Copyright © 2022 Requirement Yogi. All rights reserved.