public class URLBean extends Object
| Constructor and Description |
|---|
URLBean() |
| Modifier and Type | Method and Description |
|---|---|
URLBean |
addParameter(String name,
Object value)
Add a parameter to the URL.
|
String |
getPage() |
String |
getURL()
Generates the URL.
|
URLBean |
setPage(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
|
String |
toString() |
public String getPage()
public URLBean setPage(String page)
page - the page namepublic URLBean addParameter(String name, Object value)
name - the parameter namevalue - the parameter valuepublic void setRequest(javax.servlet.http.HttpServletRequest req)
req - the requestpublic void setResponse(javax.servlet.http.HttpServletResponse resp)
resp - the responsepublic String getURL()
Copyright © 2013 Atlassian. All Rights Reserved.