Skip navigation links


com.bea.portlet
Class PostbackURL

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

All Implemented Interfaces
Cloneable
Direct Known Subclasses:
CustomEventURL, 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.

The PostbackURL should not be used inside Java portlets (JSR168 or JSR286); for Java portlets the javax.portlet.RenderURL or javax.portlet.ActionURL classes should be used instead.


Field Summary

 

Fields inherited from class com.bea.portlet.GenericURL
COMMUNITY_ADMIN_FLAG_PARAM, COMMUNITY_DESKTOP, CONTROL_STATE_PARAM, CURRENT_PAGE, domain, DOMAIN, EVENT_NAME_PARAM, httpRequest, httpResponse, httpsDomain, LOADSTATE_PARAM, MODE_PARAM, PAGE_LABEL_PARAM, params, PATH, PORT, PORTLET_SUB_INSTANCE_ID, POSTBACK_PARAM, PREFIX, QUERY_STRING, SCHEME, SECURE_PORT, STATE_PARAM, TREE_OPTIMIZATION_PARAM, URL_COMPRESSION, WINDOW_LABEL_PARAM

 

Constructor Summary
protected PostbackURL(javax.servlet.http.HttpServletRequest httpRequest, javax.servlet.http.HttpServletResponse httpResponse)
          Constructs a PostbackURL.

 

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

 

Methods inherited from class com.bea.portlet.GenericURL
addAjaxNoRewriteParam, addParameter, addParameter, addParameter, appendEnsureSeparator, appendEnsureSeparator, createGenericURL, createQueryString, createQueryStringBuilder, getAmpForm, getContextualPath, getCurrentPageLabel, getDomain, getEncodeSession, getParameter, getParameters, getPath, getPathPrefix, getPort, getResolvedTemplate, getScheme, getSecurePort, getSecurityTokenManagerClass, getSecurityTokenName, getSecurityTokenValue, getTemplate, getUrlType, removeParameter, setContextualPath, setDomain, setEncodeSession, setForcedAmpForm, setPath, setPathPrefix, setPort, setScheme, setSecurePort, setTemplate, toString, verifySecurityToken

 

Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

 

Constructor Detail

PostbackURL

protected PostbackURL(javax.servlet.http.HttpServletRequest httpRequest,
                      javax.servlet.http.HttpServletResponse httpResponse)

Constructs a PostbackURL.

Parameters
httpRequest - HTTP request
httpResponse - HTTP response

Method Detail

createPostbackURL

public static PostbackURL createPostbackURL(javax.servlet.http.HttpServletRequest httpRequest,
                                            javax.servlet.http.HttpServletResponse httpResponse)

Returns a new PostbackURL.

Parameters
httpRequest - HTTP request
httpResponse - HTTP response
Returns
a new PostbackURL

toString

public String toString(boolean removeUnsetParams)

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 - if true, unset template parameters will be removed.
Returns
a string representation of the URL.

clone

public Object clone()

Returns a deep copy of this PostbackURL.

Overrides:
clone in class GenericURL
Returns
a deep copy of this PostbackURL

Skip navigation links


Copyright © 2010, Oracle. All rights reserved.