@JsType
public interface PlaceRequest
Place requests can be serialized to and created from a valid URL fragment identifier (the string that goes after the
#
in the browser's location bar).
Modifier and Type | Field and Description |
---|---|
static PlaceRequest |
NOWHERE |
Modifier and Type | Method and Description |
---|---|
PlaceRequest |
addParameter(String name,
String value) |
default String |
asString()
Invokes
#toString() but exported to JavaScript so it can be invoked from different scripts. |
PlaceRequest |
clone() |
String |
getFullIdentifier() |
String |
getIdentifier() |
String |
getParameter(String key,
String defaultValue) |
Set<String> |
getParameterNames() |
Map<String,String> |
getParameters() |
default Path |
getPath()
Returns the path associated with this
PlaceRequest . |
boolean |
isUpdateLocationBarAllowed()
Indicates whether or not the Workbench framework should add a browser history item when navigating to this place.
|
void |
setIdentifier(String identifier) |
void |
setUpdateLocationBar(boolean updateLocationBar) |
static final PlaceRequest NOWHERE
String getIdentifier()
void setIdentifier(String identifier)
String getFullIdentifier()
PlaceRequest addParameter(String name, String value)
PlaceRequest clone()
boolean isUpdateLocationBarAllowed()
void setUpdateLocationBar(boolean updateLocationBar)
default Path getPath()
PlaceRequest
.default String asString()
#toString()
but exported to JavaScript so it can be invoked from different scripts.Copyright © 2012–2018 JBoss by Red Hat. All rights reserved.