Constructor and Description |
---|
BridgeURLWrapper() |
Modifier and Type | Method and Description |
---|---|
String |
getParameter(String name)
Returns the first value of the underlying
BridgeURL.getParameterMap() with the specified
name . |
Map<String,String[]> |
getParameterMap()
Returns a mutable
Map representing the URL parameters. |
String |
getViewId()
If the URL targets a Faces view, then returns the viewId.
|
abstract BridgeURL |
getWrapped() |
String |
removeParameter(String name)
Removes the entry of the underlying
BridgeURL.getParameterMap() according to the specified
name . |
void |
setParameter(String name,
String value)
|
void |
setParameter(String name,
String[] value)
|
String |
toString()
Returns a string-based representation of the URL.
|
public abstract BridgeURL getWrapped()
public String getParameter(String name)
BridgeURL
BridgeURL.getParameterMap()
with the specified
name
.getParameter
in interface BridgeURL
public Map<String,String[]> getParameterMap()
BridgeURL
Map
representing the URL parameters.getParameterMap
in interface BridgeURL
public String getViewId()
BridgeURL
public String removeParameter(String name)
BridgeURL
BridgeURL.getParameterMap()
according to the specified
name
.removeParameter
in interface BridgeURL
BridgeURL.getParameterMap()
with the specified
name
.public void setParameter(String name, String value)
BridgeURL
setParameter
in interface BridgeURL
public void setParameter(String name, String[] value)
BridgeURL
setParameter
in interface BridgeURL
Copyright © 2018 Liferay, Inc. All rights reserved.