|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.tapestry5.internal.services.LinkImpl
public class LinkImpl
| Constructor Summary | |
|---|---|
LinkImpl(String absoluteURI,
boolean optimizable,
boolean forForm,
Response response,
RequestPathOptimizer optimizer)
|
|
| Method Summary | |
|---|---|
void |
addParameter(String parameterName,
String value)
Adds a parameter value. |
String |
getAnchor()
Returns the link anchor. |
List<String> |
getParameterNames()
Returns the names of any additional query parameters for the URI. |
String |
getParameterValue(String name)
Returns the value of a specifically named query parameter, or null if no such query parameter is stored in the link. |
void |
setAnchor(String anchor)
Sets the link anchor. |
String |
toAbsoluteURI()
Converts the link to an absolute URI, a complete path, starting with a leading slash. |
String |
toRedirectURI()
Returns the link as a redirect URI. |
String |
toString()
Returns the value from toURI() |
String |
toURI()
Returns the URI portion of the link. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public LinkImpl(String absoluteURI,
boolean optimizable,
boolean forForm,
Response response,
RequestPathOptimizer optimizer)
| Method Detail |
|---|
public void addParameter(String parameterName,
String value)
LinkURLCodec.
addParameter in interface LinkparameterName - the name of the parameter to storevalue - the value to storepublic String getAnchor()
Link
getAnchor in interface Linkpublic List<String> getParameterNames()
Link
getParameterNames in interface Linkpublic String getParameterValue(String name)
Link
getParameterValue in interface Linkpublic void setAnchor(String anchor)
Link
setAnchor in interface Linkanchor - the link anchorpublic String toAbsoluteURI()
Link
toAbsoluteURI in interface Linkpublic String toRedirectURI()
Link
toRedirectURI in interface Linkpublic String toURI()
Link
toURI in interface Linkpublic String toString()
toURI()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||