com.opensymphony.webwork.util
Class URLBean

java.lang.Object
  extended by com.opensymphony.webwork.util.URLBean

public class URLBean
extends Object

A bean that can generate a URL.

Version:
$Date: 2007-01-10 23:21:00 +0800 (Wed, 10 Jan 2007) $ $Id: URLBean.java 2802 2007-01-10 15:21:00Z tmjee $
Author:
plightbo

Constructor Summary
URLBean()
           
 
Method Summary
 URLBean addParameter(String name, Object value)
           
 String getURL()
           
 URLBean setPage(String page)
          Set the page and return itself, such that one could :-
 void setRequest(HttpServletRequest request)
           
 void setResponse(HttpServletResponse response)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

URLBean

public URLBean()
Method Detail

setPage

public URLBean setPage(String page)
Set the page and return itself, such that one could :-
   (new URLBean()).setPage(...).addParameter(...).addParameter(...) ...
 

Parameters:
page -
Returns:

setRequest

public void setRequest(HttpServletRequest request)

setResponse

public void setResponse(HttpServletResponse response)

getURL

public String getURL()

addParameter

public URLBean addParameter(String name,
                            Object value)

toString

public String toString()
Overrides:
toString in class Object

WebWork Project Page