Package org.cef.network
Enum CefRequest.TransitionFlags
- java.lang.Object
-
- java.lang.Enum<CefRequest.TransitionFlags>
-
- org.cef.network.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 Summary
Enum Constants Enum Constant Description TT_BLOCKED_FLAG
Attempted to visit a URL but was blocked.TT_CHAIN_END_FLAG
The last transition in a redirect chain.TT_CHAIN_START_FLAG
The beginning of a navigation chain.TT_CLIENT_REDIRECT_FLAG
Redirects caused by JavaScript or a meta refresh tag on the page.TT_FORWARD_BACK_FLAG
Used the Forward or Back function to navigate among browsing history.TT_SERVER_REDIRECT_FLAG
Redirects sent from the server by HTTP headers.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getValue()
Returns the integer representation of the enum.static CefRequest.TransitionFlags
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static CefRequest.TransitionFlags[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TT_BLOCKED_FLAG
public static final CefRequest.TransitionFlags TT_BLOCKED_FLAG
Attempted to visit a URL but was blocked.
-
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_CHAIN_START_FLAG
public static final CefRequest.TransitionFlags TT_CHAIN_START_FLAG
The beginning of a navigation chain.
-
TT_CHAIN_END_FLAG
public static final CefRequest.TransitionFlags TT_CHAIN_END_FLAG
The last transition in a redirect chain.
-
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 namejava.lang.NullPointerException
- if the argument is null
-
getValue
public int getValue()
Returns the integer representation of the enum.- Returns:
- Integer representation of the enum.
-
-