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=value2
Keys 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.
|
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 Multimap<String,String> getState()
Copyright © 2020 Treblereel. All rights reserved.