public static enum BaseHttpFetcher.RedirectMode extends Enum<BaseHttpFetcher.RedirectMode>
Enum Constant and Description |
---|
FOLLOW_ALL |
FOLLOW_NONE |
FOLLOW_TEMP |
Modifier and Type | Method and Description |
---|---|
static BaseHttpFetcher.RedirectMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BaseHttpFetcher.RedirectMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BaseHttpFetcher.RedirectMode FOLLOW_ALL
public static final BaseHttpFetcher.RedirectMode FOLLOW_TEMP
public static final BaseHttpFetcher.RedirectMode FOLLOW_NONE
public static BaseHttpFetcher.RedirectMode[] values()
for (BaseHttpFetcher.RedirectMode c : BaseHttpFetcher.RedirectMode.values()) System.out.println(c);
public static BaseHttpFetcher.RedirectMode 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 © 2009–2016 Crawler-Commons. All rights reserved.