- java.lang.Object
-
- java.lang.Enum<Base64URLEncoded.Alphabet>
-
- io.rxmicro.validation.constraint.Base64URLEncoded.Alphabet
-
- All Implemented Interfaces:
Serializable,Comparable<Base64URLEncoded.Alphabet>
- Enclosing class:
- Base64URLEncoded
public static enum Base64URLEncoded.Alphabet extends Enum<Base64URLEncoded.Alphabet>
Validation alphabet.- Since:
- 0.1
- Author:
- nedis
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BASEThis array is a lookup table that translates 6-bit positive integer index values into their "Base64 Alphabet" equivalents as specified in "Table 1: The Base64 Alphabet" of RFC 2045 (and RFC 4648).URLIt's the lookup table for "URL and Filename safe Base64" as specified in Table 2 of the RFC 4648, with the '+' and '/' changed to '-' and '_'.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description io.rxmicro.common.meta.ReadMoregetReadMore()static Base64URLEncoded.AlphabetvalueOf(String name)Returns the enum constant of this type with the specified name.static Base64URLEncoded.Alphabet[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BASE
@ReadMore(caption="What is Base64 Encoding?", link="https://tools.ietf.org/html/rfc4648#section-4") public static final Base64URLEncoded.Alphabet BASEThis array is a lookup table that translates 6-bit positive integer index values into their "Base64 Alphabet" equivalents as specified in "Table 1: The Base64 Alphabet" of RFC 2045 (and RFC 4648).
-
URL
@ReadMore(caption="What is Base64 Url Encoding?", link="https://tools.ietf.org/html/rfc4648#section-5") public static final Base64URLEncoded.Alphabet URLIt's the lookup table for "URL and Filename safe Base64" as specified in Table 2 of the RFC 4648, with the '+' and '/' changed to '-' and '_'. This table is used when BASE64_URL is specified.
-
-
Method Detail
-
values
public static Base64URLEncoded.Alphabet[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Base64URLEncoded.Alphabet c : Base64URLEncoded.Alphabet.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Base64URLEncoded.Alphabet valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException- if the argument is null
-
getReadMore
public io.rxmicro.common.meta.ReadMore getReadMore()
-
-