Overview | Package | Class | Tree | Deprecated | Index | Help
| © 2004 BEA Systems, Inc.
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.bea.portlet
Class PostbackURL

    java.lang.Object
      com.bea.portlet.GenericURL
          com.bea.portlet.PostbackURL

All Implemented Interfaces:
  Cloneable

Direct Known Subclasses:
  PageURL, WindowURL

public class PostbackURL
extends GenericURL

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

Field Summary

Fields inherited from class 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, WINDOW_LABEL_PARAM`

Constructor Summary
`protected` | `PostbackURL(HttpServletRequest httpRequest, HttpServletResponse httpResponse)` Constructs a `PostbackURL`.

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

Methods inherited from class 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 inherited from class java.lang.Object
`equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

Constructor Detail

### PostbackURL

    protected PostbackURL(HttpServletRequest httpRequest,
                          HttpServletResponse httpResponse)

  Constructs a `PostbackURL`.

Parameters:
  `httpRequest` - HTTP request
  `httpResponse` - HTTP response

Method Detail

### createPostbackURL

    public static PostbackURL createPostbackURL(HttpServletRequest httpRequest,
                                                HttpServletResponse httpResponse)

  Returns a GenericURL.

  Parameters:
    `httpRequest` - HTTP request
    `httpResponse` - HTTP response
  Returns:
    GenericURL

### toString

    public String toString(boolean removeUnsetParams)

  Description copied from class: `GenericURL`

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

  Overrides:
    `toString` in class `GenericURL`
  Parameters:
    `removeUnsetParams` -
  Returns:

### clone

    public Object clone()

  Returns a deep copy.

  Overrides:
    `clone` in class `GenericURL`
  Returns:
    clone

Overview | Package | Class | Tree | Deprecated | Index | Help
| © 2004 BEA Systems, Inc.
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2004 BEA Systems, Inc. All Rights Reserved