# com.bea.portlet
PostbackURL Class

public class PostbackURL
extends `GenericURL`

Represents a URL for submitting requests to the portal framework. All the portal framework URL classes extend this class.

Hierarchy
  `Object`
  `GenericURL`
  `PostbackURL`

All Implemented Interfaces
  `Cloneable`

Direct Known Subclasses
  `PageURL`, `WindowURL`

## Field Summary

Fields from com.bea.portlet`.`GenericURL``
``CONTROL_STATE_PARAM`, `CURRENT_PAGE`, `DOMAIN`, `httpRequest`, `httpResponse`, `LOADSTATE_PARAM`, `MODE_PARAM`, `PAGE_LABEL_PARAM`, `params`, `PATH`, `PORT`, `POSTBACK_PARAM`, `PREFIX`, `QUERY_STRING`, `SCHEME`, `SECURE_PORT`, `STATE_PARAM`, `TREE_OPTIMIZATION_PARAM`, `WINDOW_LABEL_PARAM``

## Constructor Summary

PostbackURL(`HttpServletRequest` httpRequest, `HttpServletResponse` httpResponse) Constructs a `PostbackURL`.

## Method Summary

`public `Object`` | `clone`() Returns a deep copy.
`public static `PostbackURL`` | `createPostbackURL`(`HttpServletRequest` httpRequest, `HttpServletResponse` httpResponse) Returns a GenericURL.
`public `String`` | `toString`(boolean removeUnsetParams) Returns a string form (fully-qualified) of this URL.

Methods from `com.bea.portlet.`GenericURL``
``addParameter`, `addParameter`, `addParameter`, `appendEnsureSeparator`, `createQueryString`, `getContextualPath`, `getDomain`, `getEncodeSession`, `getParameter`, `getParameters`, `getPathPrefix`, `getPort`, `getResolvedTemplate`, `getScheme`, `getSecurePort`, `getTemplate`, `getUrlType`, `removeParameter`, `setContextualPath`, `setDomain`, `setEncodeSession`, `setPath`, `setPathPrefix`, `setPort`, `setScheme`, `setSecurePort`, `setTemplate`, `toString`,`

Methods from class `java.lang.`Object``
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

## Constructor Detail

### PostbackURL

    protected PostbackURL(HttpServletRequest httpRequest,
                          HttpServletResponse httpResponse)

  Constructs a `PostbackURL`.

## Method Detail

### clone() Method

    public Object clone()

Returns a deep copy.

Overrides
  `GenericURL.clone()`

#### Returns

clone

### createPostbackURL(HttpServletRequest, HttpServletResponse) Method

    public static PostbackURL createPostbackURL(HttpServletRequest httpRequest,
                                                HttpServletResponse httpResponse)

Returns a GenericURL.

#### Parameters

httpRequest
  HTTP request

httpResponse
  HTTP response

#### Returns

GenericURL

### toString(boolean) Method

    public String toString(boolean removeUnsetParams)

Description copied from `GenericURL.toString(boolean)`

Returns a string form (fully-qualified) of this URL. If the boolean argument is `true`, removes unset template parameters.

Overrides
  `GenericURL.toString(boolean)`