com.bea.portlet
Class DesktopURL
java.lang.Object
com.bea.portlet.GenericURL
com.bea.portlet.DesktopURL
- All Implemented Interfaces
- Cloneable
public class DesktopURL
- extends GenericURL
Represents a URL for submitting requests to the portal framework to view
a specified desktop.
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 |
DesktopURL(HttpServletRequest httpRequest,
HttpServletResponse httpResponse,
String desktopServletPath)
Constructs a DesktopURL . |
Method Summary |
static DesktopURL |
createDesktopURL(HttpServletRequest httpRequest,
HttpServletResponse httpResponse,
CommunityURI community)
Returns a DesktopURL for the specified community if the URL can be determined,
null if the URL cannot be determined. |
static DesktopURL |
createDesktopURL(HttpServletRequest httpRequest,
HttpServletResponse httpResponse,
DesktopDefinitionId desktop)
Returns a DesktopURL for the specified streamed desktop if the URL can be determined,
null if the URL cannot be determined. |
static DesktopURL |
createDesktopURL(HttpServletRequest httpRequest,
HttpServletResponse httpResponse,
String webAppName,
String portalPath,
String desktopPath)
Returns a DesktopURL for the specified streamed desktop if the URL can be determined,
null if the URL cannot be determined. |
Methods inherited from class com.bea.portlet.GenericURL |
addParameter, addParameter, addParameter, appendEnsureSeparator, appendEnsureSeparator, clone, createGenericURL, createQueryString, createQueryStringBuilder, getContextualPath, getDomain, getEncodeSession, getParameter, getParameters, getPathPrefix, getPort, getResolvedTemplate, getScheme, getSecurePort, getTemplate, getUrlType, removeParameter, setContextualPath, setDomain, setEncodeSession, setForcedAmpForm, setPath, setPathPrefix, setPort, setScheme, setSecurePort, setTemplate, toString, toString |
DesktopURL
protected DesktopURL(HttpServletRequest httpRequest,
HttpServletResponse httpResponse,
String desktopServletPath)
- Constructs a
DesktopURL
.
- Parameters
httpRequest
- HTTP requesthttpResponse
- HTTP responsedesktopServletPath
- the complete path to the desktop
createDesktopURL
public static DesktopURL createDesktopURL(HttpServletRequest httpRequest,
HttpServletResponse httpResponse,
DesktopDefinitionId desktop)
- Returns a DesktopURL for the specified streamed desktop if the URL can be determined,
null if the URL cannot be determined. This will only work for desktops in
streaming mode.
- Parameters
httpRequest
- HTTP requesthttpResponse
- HTTP responsedesktop
- the desktop to create a URL to.
- Returns
- A DesktopURL to the specified desktop, or
null
if the
URL cannot be determined.
createDesktopURL
public static DesktopURL createDesktopURL(HttpServletRequest httpRequest,
HttpServletResponse httpResponse,
CommunityURI community)
- Returns a DesktopURL for the specified community if the URL can be determined,
null if the URL cannot be determined.
- Parameters
httpRequest
- HTTP requesthttpResponse
- HTTP responsecommunity
- the community to create a URL to.
- Returns
- A DesktopURL to the specified community desktop, or
null
if the
URL cannot be determined.
createDesktopURL
public static DesktopURL createDesktopURL(HttpServletRequest httpRequest,
HttpServletResponse httpResponse,
String webAppName,
String portalPath,
String desktopPath)
- Returns a DesktopURL for the specified streamed desktop if the URL can be determined,
null if the URL cannot be determined. This will only work for desktops in
streaming mode.
- Parameters
httpRequest
- HTTP requesthttpResponse
- HTTP responsewebAppName
- the name of the webapp for the desktopportalPath
- the portal path for the desktopdesktopPath
- the desktop path for the desktop.
- Returns
- A DesktopURL to the specified desktop, or
null
if the
URL cannot be determined.
Copyright © 2006 BEA Systems, Inc. All Rights Reserved