|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<RequestType>
com.endeca.infront.navigation.event.RequestType
public enum RequestType
Navigation request types
| Enum Constant Summary | |
|---|---|
NAVIGATION_ONLY
Navigation only request |
|
OTHER
Unknown request |
|
RECORD
Record detail request |
|
ROOT
Root request (such as when the site is first hit) |
|
SEARCH_ONLY
Search only request |
|
SEARCH_THEN_NAVIGATE
Search followed by navigation request |
|
| Method Summary | |
|---|---|
static RequestType |
deriveRequestType(NavigationState navigationState)
Attempt to infer the type of page request from a given navigation state. |
String |
toString()
|
static RequestType |
valueOf(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 are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final RequestType SEARCH_ONLY
public static final RequestType NAVIGATION_ONLY
public static final RequestType SEARCH_THEN_NAVIGATE
public static final RequestType ROOT
public static final RequestType RECORD
public static final RequestType OTHER
| Method Detail |
|---|
public static RequestType[] values()
for (RequestType c : RequestType.values()) System.out.println(c);
public static RequestType valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is nullpublic String toString()
toString in class Enum<RequestType>public static RequestType deriveRequestType(NavigationState navigationState)
navigationState - the navigation state
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||