public class HistoryToken extends Object
A history token consists of a mandatory page name followed by optional key=value pairs. For example:
MyPage;key1=value1&key2=value2&multiKey=value1&multiKey=value2Keys are case-sensitive, so key and kEy are different keys.
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getPageName()
Returns the page name.
|
com.google.common.collect.Multimap<String,String> |
getState()
Returns an immutable map of the state information in this history token.
|
int |
hashCode() |
String |
toString()
Returns the URL path for this HistoryToken, that can be parsed by
HistoryTokenFactory.parseURL(String) |
public String toString()
HistoryTokenFactory.parseURL(String)
This URL path includes the application context.
public String getPageName()
public com.google.common.collect.Multimap<String,String> getState()
Copyright © 2013-2015 JBoss, a division of Red Hat. All Rights Reserved.