public static enum CefRequest.TransitionFlags extends java.lang.Enum<CefRequest.TransitionFlags>
枚举常量和说明 |
---|
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.
|
限定符和类型 | 方法和说明 |
---|---|
int |
getValue()
Returns the integer representation of the enum.
(返回枚举的整数表示。)
|
static CefRequest.TransitionFlags |
valueOf(java.lang.String name)
返回带有指定名称的该类型的枚举常量。
|
static CefRequest.TransitionFlags[] |
values()
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
|
public static final CefRequest.TransitionFlags TT_BLOCKED_FLAG
public static final CefRequest.TransitionFlags TT_CHAIN_END_FLAG
public static final CefRequest.TransitionFlags TT_CHAIN_START_FLAG
public static final CefRequest.TransitionFlags TT_CLIENT_REDIRECT_FLAG
public static final CefRequest.TransitionFlags TT_FORWARD_BACK_FLAG
public static final CefRequest.TransitionFlags TT_SERVER_REDIRECT_FLAG
public int getValue()
public static CefRequest.TransitionFlags valueOf(java.lang.String name)
name
- 要返回的枚举常量的名称。
java.lang.IllegalArgumentException
- 如果该枚举类型没有带有指定名称的常量
java.lang.NullPointerException
- 如果参数为空值
public static CefRequest.TransitionFlags[] values()
for (CefRequest.TransitionFlags c : CefRequest.TransitionFlags.values()) System.out.println(c);