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.

Field Summary
`(package private) String` | `page`
`(package private) HashMap` | `params`
`(package private) HttpServletRequest` | `request`
`(package private) HttpServletResponse` | `response`

Constructor Summary
`URLBean()`

Method Summary
`URLBean` | `addParameter(String name, Object value)`
`String` | `getURL()`
`URLBean` | `setPage(String page)`
`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`

Field Detail

### params

    HashMap params

### request

    HttpServletRequest request

### response

    HttpServletResponse response

### page

    String page

Constructor Detail

### URLBean

    public URLBean()

Method Detail

### setPage

    public URLBean setPage(String page)

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

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-2007 Apache Software Foundation. All Rights Reserved.