|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface BridgeResourceURL
This interface represents a bridge "resource" URL, meaning a URL that has convenience methods for representing URLs
according to the deviation requirements of ExternalContext.encodeResourceURL(String)
listed in Section 6.1.3.1 of the Bridge Spec.
| Method Summary | |
|---|---|
boolean |
isEncodedFaces2ResourceURL()
Flag indicating whether or not the URL has already been encoded as a JSF2 resource URL. |
boolean |
isFaces2ResourceURL()
Flag indicating whether or not the URL is a JSF2 resource URL. |
void |
replaceBackLinkParameter(javax.faces.context.FacesContext facesContext)
Replaces the value of the "javax.portlet.BackLink" parameter with an encoded action URL that represents a link to the current Faces viewId. |
void |
setInProtocol(boolean inProtocol)
Sets a flag indicating whether or not the URL must satisfy "in-protocol" resource serving. |
void |
setViewLink(boolean viewLink)
Sets a flag indicating whether or not the URL is a view-link to a Faces view, which is a type of navigation. |
| Methods inherited from interface com.liferay.faces.bridge.context.url.BridgeURL |
|---|
getContextRelativePath, getParameter, getParameterMap, getParameterNames, getPortletPhase, isAbsolute, isEscaped, isExternal, isFacesViewTarget, isHierarchical, isOpaque, isPathRelative, isPortletScheme, isSecure, isSelfReferencing, removeParameter, setParameter, setParameter, setSecure, setSelfReferencing, toString |
| Method Detail |
|---|
void replaceBackLinkParameter(javax.faces.context.FacesContext facesContext)
facesContext - The current FacesContext instance.void setInProtocol(boolean inProtocol)
inProtocol - true if the URL must satisfy "in-protocol" resource serving, otherwise
false.boolean isEncodedFaces2ResourceURL()
boolean isFaces2ResourceURL()
void setViewLink(boolean viewLink)
Bridge.VIEW_LINK.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||