Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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.

Constructor Summary
`URLBean()`

Method Summary
`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`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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