Enum CefRequest.TransitionFlags

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<CefRequest.TransitionFlags>
    Enclosing class:
    CefRequest

    public static enum CefRequest.TransitionFlags
    extends java.lang.Enum<CefRequest.TransitionFlags>
    Transition qualifiers. Any of the core values above can be augmented by one or more qualifiers. These qualifiers further define the transition.
    • Enum Constant Detail

      • TT_FORWARD_BACK_FLAG

        public static final CefRequest.TransitionFlags TT_FORWARD_BACK_FLAG
        Used the Forward or Back function to navigate among browsing history.
      • TT_CLIENT_REDIRECT_FLAG

        public static final CefRequest.TransitionFlags TT_CLIENT_REDIRECT_FLAG
        Redirects caused by JavaScript or a meta refresh tag on the page.
      • TT_SERVER_REDIRECT_FLAG

        public static final CefRequest.TransitionFlags TT_SERVER_REDIRECT_FLAG
        Redirects sent from the server by HTTP headers.
    • Method Detail

      • values

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

        public static CefRequest.TransitionFlags valueOf​(java.lang.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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • getValue

        public int getValue()
        Returns the integer representation of the enum.
        Returns:
        Integer representation of the enum.