Enum EFrameIntegrationMode

    • Enum Constant Detail

      • NONE

        public static final EFrameIntegrationMode NONE
        Forms may only be embedded on pages of their own origin (frame-ancestors 'self'). The own origin stays allowed, because formcycle embeds forms itself, e.g. in the inbox.
      • URLS

        public static final EFrameIntegrationMode URLS
        Forms may be embedded on pages of their own origin and of the configured URLs.
      • ANY

        public static final EFrameIntegrationMode ANY
        Forms may be embedded on any website. No frame-ancestors directive is sent.
    • Method Detail

      • values

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

        public static EFrameIntegrationMode 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
      • parse

        public static EFrameIntegrationMode parse​(String value,
                                                  EFrameIntegrationMode defaultMode)
        Parameters:
        value - The name of a mode, case-insensitive. May be null.
        defaultMode - The mode to return if the value is blank or not the name of a mode.
        Returns:
        The mode with the given name, or the given default mode.