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 and Description
    `URLBean()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `URLBean` | `addParameter(String name, Object value)`
    `String` | `getURL()`
    `URLBean` | `setPage(String page)`
    `void` | `setRequest(javax.servlet.http.HttpServletRequest request)`
    `void` | `setResponse(javax.servlet.http.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)

    - #### setRequest

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

    - #### setResponse

          public void setResponse(javax.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`

Copyright © 2000–2025 Apache Software Foundation. All rights reserved.