Enum Class ConfigurationProperties.RedirectMode
java.lang.Object
java.lang.Enum<ConfigurationProperties.RedirectMode>
org.eclipse.aether.ConfigurationProperties.RedirectMode
- All Implemented Interfaces:
Serializable, Comparable<ConfigurationProperties.RedirectMode>, Constable
- Enclosing class:
ConfigurationProperties
public static enum ConfigurationProperties.RedirectMode
extends Enum<ConfigurationProperties.RedirectMode>
The mode that controls how HTTP redirects are handled. By default, any redirect is followed, but this can be
restricted to only redirects within the same authority or no redirects at all.
- Since:
- 2.0.25
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAny redirect is followed.No redirects allowed.Redirects only within same authority. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static ConfigurationProperties.RedirectMode[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NONE
No redirects allowed. -
SAME_AUTHORITY
Redirects only within same authority. -
ANY
Any redirect is followed.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-