Class Base64UrlCodec

  • All Implemented Interfaces:
    UuidCodec<String>

    public final class Base64UrlCodec
    extends BaseNCodec
    Codec for base-64-url as defined in RFC-4648.

    It is case SENSITIVE.

    The only difference between base-64 and base-64-url is that the second substitutes the chars '+' and '/' with '-' and '_'.

    This codec complies with RFC-4648, encoding a byte array sequentially. If you need a codec that encodes integers using the remainder operator (modulus), use the static factory BaseNCodec.newInstance(BaseN).

    See Also:
    RFC-4648
    • Constructor Detail

      • Base64UrlCodec

        public Base64UrlCodec()