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 java.lang.Object

A bean that can generate a URL.

Constructor Summary
`URLBean()`

Method Summary
`URLBean` | `addParameter(java.lang.String name, java.lang.Object value)`
`java.lang.String` | `getURL()`
`URLBean` | `setPage(java.lang.String page)`
`void` | `setRequest(javax.servlet.http.HttpServletRequest request)`
`void` | `setResponse(javax.servlet.http.HttpServletResponse response)`
`java.lang.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(java.lang.String page)

### setRequest

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

### setResponse

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

### getURL

    public java.lang.String getURL()

### addParameter

    public URLBean addParameter(java.lang.String name,
                                java.lang.Object value)

### toString

    public java.lang.String toString()

  Overrides:
    `toString` in class `java.lang.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-2011 Apache Software Foundation. All Rights Reserved.