Package org.apache.struts2.util

# Class URLBean

java.lang.Object
org.apache.struts2.util.URLBean

public class URLBean extends Object
A bean that can generate a URL. FIXME: remove?

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `URLBean()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `URLBean`
  `addParameter(String name, Object value)`
  `String`
  `getURL()`
  `URLBean`
  `setPage(String page)`
  `void`
  `setRequest(jakarta.servlet.http.HttpServletRequest request)`
  `void`
  `setResponse(jakarta.servlet.http.HttpServletResponse response)`
  `String`
  `toString()`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- ## Constructor Details

  - ### URLBean

    public URLBean()

- ## Method Details

  - ### setPage

    public URLBean setPage(String page)

  - ### setRequest

    public void setRequest(jakarta.servlet.http.HttpServletRequest request)

  - ### setResponse

    public void setResponse(jakarta.servlet.http.HttpServletResponse response)

  - ### getURL

    public String getURL()

  - ### addParameter

    public URLBean addParameter(String name, Object value)

  - ### toString

    public String toString()
    Overrides:
      `toString` in class `Object`