org.apache.jetspeed.portal
Interface PortletURI
- public interface PortletURI
A PortletURI represents a URI to a specific portlet
function. A URI is created through the PortletResponse
for a specific request type. Then additional parameter can be
added to the URI. The complete URI can be converted to a string
which is ready for embedding in markup.
Method Summary |
void |
addParameter(java.lang.String aName,
java.lang.String aValue)
Adds the given parameter name and value to the base URI. |
java.lang.String |
toString()
Returns the complete URI as a string. |
addParameter
public void addParameter(java.lang.String aName,
java.lang.String aValue)
- Adds the given parameter name and value to the base URI.
- Parameters:
aName
- the parameter nameaValue
- the parameter value
toString
public java.lang.String toString()
- Returns the complete URI as a string.
The string is ready to be embedded in markup.
- Overrides:
- toString in class java.lang.Object
- Returns:
- the encoded URI as a string