|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.faces.bridge.context.url.BridgeURLWrapper
public abstract class BridgeURLWrapper
| Constructor Summary | |
|---|---|
BridgeURLWrapper()
|
|
| Method Summary | |
|---|---|
String |
getContextRelativePath()
Returns the context-relative path in the URL. |
String |
getParameter(String name)
Returns the value of the underlying BridgeURL.getParameterMap() with the specified name. |
Map<String,String[]> |
getParameterMap()
Returns a mutable Map representing the URL parameters. |
Set<String> |
getParameterNames()
Returns a list of key names from the underlying BridgeURL.getParameterMap(). |
Bridge.PortletPhase |
getPortletPhase()
Returns the Bridge.PortletPhase associated with this URL. |
abstract BridgeURL |
getWrapped()
|
boolean |
isAbsolute()
Determines whether or not the URL is absolute. |
boolean |
isEscaped()
Determines whether or not the URL is escaped. |
boolean |
isExternal()
Determines whether or not the URL is external. |
boolean |
isFacesViewTarget()
Determines whether or not the URL targets a Faces View. |
boolean |
isHierarchical()
Determines whether or not the URL is hierarchical, meaning it is either 1) absolute and the scheme-specific part begins with a forward-slash character, or 2) is relative. |
boolean |
isOpaque()
Determines whether or not the URL is opaque, meaning it is absolute and its scheme component does not begin with a forward-slash character. |
boolean |
isPathRelative()
Determines whether or not the path component of the URL is relative, meaning it does not begin with a forward-slash character. |
boolean |
isPortletScheme()
Determines whether or not the URL begins with the "portlet:" scheme. |
boolean |
isSecure()
Flag indicating whether or not the URL is secure. |
boolean |
isSelfReferencing()
Determines whether or not the URL is self-referencing, meaning, it targets the current Faces view. |
String |
removeParameter(String name)
Removes the value of the underlying BridgeURL.getParameterMap() with the specified name. |
void |
setParameter(String name,
String value)
Sets the value of the underlying BridgeURL.getParameterMap() according to the specified
name. |
void |
setParameter(String name,
String[] value)
Sets the value of the underlying BridgeURL.getParameterMap() according to the specified
name. |
void |
setSecure(boolean secure)
Sets the flag indicating whether or not the URL is secure. |
void |
setSelfReferencing(boolean selfReferencing)
Sets the flag indicating whether or not the URL is self-referencing, meaning, whether or not it targets the current Faces view. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.liferay.faces.bridge.context.url.BridgeURL |
|---|
toString |
| Constructor Detail |
|---|
public BridgeURLWrapper()
| Method Detail |
|---|
public String removeParameter(String name)
BridgeURLBridgeURL.getParameterMap() with the specified name.
removeParameter in interface BridgeURLpublic String getContextRelativePath()
BridgeURLUIViewRoot) is returned.
getContextRelativePath in interface BridgeURLpublic boolean isEscaped()
BridgeURL
isEscaped in interface BridgeURLtrue if all occurrences of the ampersand character appear as & otherwise, returns
false.public boolean isAbsolute()
BridgeURL
isAbsolute in interface BridgeURLtrue if absolute, otherwise falsepublic boolean isOpaque()
BridgeURLURI.isOpaque().
isOpaque in interface BridgeURLtrue if the URL is opaque, otherwise false.public boolean isPathRelative()
BridgeURL
isPathRelative in interface BridgeURLtrue if the path is relative, otherwise false.public boolean isPortletScheme()
BridgeURL
isPortletScheme in interface BridgeURLtrue if the URL begins with the "portlet:" scheme, otherwise false.public boolean isSecure()
BridgeURLBaseURL.setSecure(boolean).
isSecure in interface BridgeURLtrue if the URL is secure, otherwise false.public boolean isSelfReferencing()
BridgeURL
isSelfReferencing in interface BridgeURLtrue if self-referencing, otherwise false.public boolean isExternal()
BridgeURL
isExternal in interface BridgeURLtrue if external, otherwise false.public boolean isHierarchical()
BridgeURL
isHierarchical in interface BridgeURLtrue if the URL is hierarchical, otherwise false.public String getParameter(String name)
BridgeURLBridgeURL.getParameterMap() with the specified name.
getParameter in interface BridgeURL
public void setParameter(String name,
String value)
BridgeURLvalue of the underlying BridgeURL.getParameterMap() according to the specified
name.
setParameter in interface BridgeURL
public void setParameter(String name,
String[] value)
BridgeURLvalue of the underlying BridgeURL.getParameterMap() according to the specified
name.
setParameter in interface BridgeURLpublic Map<String,String[]> getParameterMap()
BridgeURLMap representing the URL parameters.
getParameterMap in interface BridgeURLpublic Set<String> getParameterNames()
BridgeURLBridgeURL.getParameterMap().
getParameterNames in interface BridgeURLpublic Bridge.PortletPhase getPortletPhase()
BridgeURLBridge.PortletPhase associated with this URL. Note that the value will be null if the URL
does not begin with the "portlet:" scheme/prefix.
getPortletPhase in interface BridgeURLpublic void setSecure(boolean secure)
BridgeURL
setSecure in interface BridgeURLsecure - true if secure, otherwise false.public void setSelfReferencing(boolean selfReferencing)
BridgeURL
setSelfReferencing in interface BridgeURLselfReferencing - true if self-referencing, otherwise false.public boolean isFacesViewTarget()
BridgeURL
isFacesViewTarget in interface BridgeURLtrue if the URL targets a Faces View, otherwise falsepublic abstract BridgeURL getWrapped()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||