|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<RequestType>
org.lobobrowser.ua.RequestType
public enum RequestType
Denotes a type of navigation request.
| Enum Constant Summary | |
|---|---|
ADDRESS_BAR
Navigation is due to user entering a location in the address bar. |
|
CLICK
Navigation is due to a user click. |
|
DOWNLOAD
Reserved for downloads. |
|
ELEMENT
Request is intended to load a page/document element, such as an image or style sheet. |
|
FORM
Request is due to form submission |
|
FRAME
Request loads frame content. |
|
HARD_RELOAD
Navigation is due to a hard reload. |
|
HISTORY
Navigation is due to back, forward, or other history item request. |
|
NONE
Not a request. |
|
OPEN_WINDOW
Programmatic navigation is intended to open a window. |
|
OPEN_WINDOW_FROM_CLICK
Navigation is intended to open a window, but the action was initiated by a user click. |
|
PROGRAMMATIC
Navigation is due to a programmatic call, such as a script invocation. |
|
PROGRAMMATIC_FROM_CLICK
Navigation is due to a programmatic call, such as a script invocation, but it was initiated by a user click. |
|
SOFT_RELOAD
Navigation is due to a soft reload. |
|
| Method Summary | |
|---|---|
static RequestType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static RequestType[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final RequestType CLICK
public static final RequestType PROGRAMMATIC
public static final RequestType PROGRAMMATIC_FROM_CLICK
public static final RequestType ADDRESS_BAR
public static final RequestType SOFT_RELOAD
public static final RequestType HARD_RELOAD
public static final RequestType HISTORY
public static final RequestType DOWNLOAD
public static final RequestType OPEN_WINDOW
public static final RequestType OPEN_WINDOW_FROM_CLICK
public static final RequestType FRAME
public static final RequestType FORM
public static final RequestType ELEMENT
public static final RequestType NONE
| Method Detail |
|---|
public static final RequestType[] values()
for(RequestType c : RequestType.values())
System.out.println(c);
public static RequestType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified name
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||