public static enum RedirectFetchException.RedirectExceptionReason extends Enum<RedirectFetchException.RedirectExceptionReason>
Enum Constant and Description |
---|
PERM_REDIRECT_DISALLOWED |
SEE_OTHER_DISALLOWED |
TEMP_REDIRECT_DISALLOWED |
TOO_MANY_REDIRECTS |
Modifier and Type | Method and Description |
---|---|
static RedirectFetchException.RedirectExceptionReason |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RedirectFetchException.RedirectExceptionReason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RedirectFetchException.RedirectExceptionReason TOO_MANY_REDIRECTS
public static final RedirectFetchException.RedirectExceptionReason PERM_REDIRECT_DISALLOWED
public static final RedirectFetchException.RedirectExceptionReason TEMP_REDIRECT_DISALLOWED
public static final RedirectFetchException.RedirectExceptionReason SEE_OTHER_DISALLOWED
public static RedirectFetchException.RedirectExceptionReason[] values()
for (RedirectFetchException.RedirectExceptionReason c : RedirectFetchException.RedirectExceptionReason.values()) System.out.println(c);
public static RedirectFetchException.RedirectExceptionReason 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.