Enum URIProvider.Scope

    • Enum Constant Detail

      • EXTERNAL

        public static final URIProvider.Scope EXTERNAL
        A External URI safe to be used by the requesting client in a external context. This does not imply it can be stored, shared between clients or published, only that the client may be on the public internet as opposed to an internal network.
      • INTERNAL

        public static final URIProvider.Scope INTERNAL
        Internal URI only to be used by a client on an internal network and never leaked onto a public network.
      • PUBLIC

        public static final URIProvider.Scope PUBLIC
        A URI that may be published to many client in public context. Implementations should only issue URIs with this scope if the URI can safely be shared between multiple clients, and therefore by definition public to anonymous clients anywhere on the internet.
    • Method Detail

      • values

        public static URIProvider.Scope[] 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 (URIProvider.Scope c : URIProvider.Scope.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static URIProvider.Scope 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 name
        NullPointerException - if the argument is null