|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectwebwork.view.velocity.URLBean
A utility class that is used to URL-encode links in Velocity templates.
| Constructor Summary | |
URLBean()
|
|
| Method Summary | |
URLBean |
addParameter(java.lang.String name,
java.lang.Object value)
Add a parameter to the URL. |
java.lang.String |
getPage()
|
java.lang.String |
getURL()
Generates the URL. |
URLBean |
setPage(java.lang.String page)
Set the page. |
void |
setRequest(javax.servlet.http.HttpServletRequest req)
Set the HttpRequest |
void |
setResponse(javax.servlet.http.HttpServletResponse resp)
Set the HttpServletResponse |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public URLBean()
| Method Detail |
public java.lang.String getPage()
public URLBean setPage(java.lang.String page)
page - the page name
public URLBean addParameter(java.lang.String name,
java.lang.Object value)
name - the parameter namevalue - the parameter value
public void setRequest(javax.servlet.http.HttpServletRequest req)
req - the requestpublic void setResponse(javax.servlet.http.HttpServletResponse resp)
resp - the responsepublic java.lang.String getURL()
public java.lang.String toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||