Interface Randoms.UrlFriendlyRandomStringGenerator

  • Enclosing class:
    Randoms
    Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @FunctionalInterface
    public static interface Randoms.UrlFriendlyRandomStringGenerator
    Generates a random value (cryptographically secure) that can be used in a query parameter value.
    • Method Detail

      • generate

        String generate()
        Generates a cryptographically secure random value that is URL query parameter friendly.
        Returns:
        a cryptographically secure random value (never null).