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$ $Id$
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


Copyright © 2013 OpenSymphony. All Rights Reserved.