|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface BridgeURL
This interface represents a bridge URL, meaning a URL that has convenience methods for representing URLs according to Section 6.1.3.1 of the Bridge Spec.
| Method Summary | |
|---|---|
String |
getParameter(String name)
Returns the first value of the underlying getParameterMap() with the specified
name. |
Map<String,String[]> |
getParameterMap()
Returns an mutable Map representing the URL parameters. |
boolean |
isFacesViewTarget()
Determines whether or not the URL targets a Faces View. |
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. |
void |
setParameter(String name,
String value)
Sets the value of the underlying getParameterMap() according to the specified
name. |
void |
setParameter(String name,
String[] value)
Sets the value of the underlying 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. |
String |
toString()
Returns a string-based representation of the URL. |
| Method Detail |
|---|
String toString()
toString in class Objectboolean isSecure()
BaseURL.setSecure(boolean).
true if the URL is secure, otherwise false.boolean isSelfReferencing()
true if self-referencing, otherwise false.String getParameter(String name)
getParameterMap() with the specified
name.
void setParameter(String name,
String value)
value of the underlying getParameterMap() according to the specified
name.
void setParameter(String name,
String[] value)
value of the underlying getParameterMap() according to the specified
name.
Map<String,String[]> getParameterMap()
Map representing the URL parameters.
void setSecure(boolean secure)
secure - true if secure, otherwise false.void setSelfReferencing(boolean selfReferencing)
selfReferencing - true if self-referencing, otherwise false.boolean isFacesViewTarget()
true if the URL targets a Faces View, otherwise false
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||