org.apache.jetspeed.container.url.impl
Class DesktopEncodingPortalURL
java.lang.Object
org.apache.jetspeed.container.url.impl.AbstractPortalURL
org.apache.jetspeed.container.url.impl.DesktopEncodingPortalURL
- All Implemented Interfaces:
- org.apache.jetspeed.container.url.PortalURL
public class DesktopEncodingPortalURL
- extends AbstractPortalURL
DesktopEncodingPortalURL encodes action URLs to target desktop specific /action pipeline,
and render URLs to target desktop specific /render pipeline
The query parameters "entity" and "portlet" are added to each url. These parameters are needed in a /render
request and are used by the desktop javascript code for both /render and /action requests.
- Version:
- $Id: PathInfoEncodingPortalURL.java 367856 2006-01-11 01:04:09Z taylor $
- Author:
- Ate Douma
Fields inherited from class org.apache.jetspeed.container.url.impl.AbstractPortalURL |
base, basePath, characterEncoding, contextPath, DEFAULT_NAV_STATE_PARAMETER, encodedNavState, navState, navStateParameter, nonSecureBaseURL, path, relativeOnly, secureBaseURL |
Fields inherited from interface org.apache.jetspeed.container.url.PortalURL |
HTTP, HTTPS |
Constructor Summary |
DesktopEncodingPortalURL(javax.servlet.http.HttpServletRequest request,
String characterEncoding,
org.apache.jetspeed.container.state.NavigationalState navState,
org.apache.jetspeed.PortalContext portalContext)
|
DesktopEncodingPortalURL(org.apache.jetspeed.container.state.NavigationalState navState,
org.apache.jetspeed.PortalContext portalContext,
String desktopRenderPipelinePath,
String desktopActionPipelinePath)
|
DesktopEncodingPortalURL(org.apache.jetspeed.container.state.NavigationalState navState,
org.apache.jetspeed.PortalContext portalContext,
String desktopRenderPipelinePath,
String desktopActionPipelinePath,
org.apache.jetspeed.container.url.BasePortalURL base)
|
DesktopEncodingPortalURL(String characterEncoding,
org.apache.jetspeed.container.state.NavigationalState navState,
org.apache.jetspeed.PortalContext portalContext)
|
Method Summary |
String |
createPortletURL(org.apache.pluto.om.window.PortletWindow window,
Map parameters,
javax.portlet.PortletMode mode,
javax.portlet.WindowState state,
boolean action,
boolean secure)
|
protected String |
createPortletURL(String encodedNavState,
boolean secure)
|
protected String |
createPortletURL(String encodedNavState,
boolean secure,
org.apache.pluto.om.window.PortletWindow window,
boolean action)
|
protected void |
decodeBasePath(javax.servlet.http.HttpServletRequest request)
|
protected void |
decodePathAndNavigationalState(javax.servlet.http.HttpServletRequest request)
|
private void |
initializePipelinePaths(String desktopRenderPipelinePath,
String desktopActionPipelinePath)
|
Methods inherited from class org.apache.jetspeed.container.url.impl.AbstractPortalURL |
createNavigationalEncoding, createNavigationalEncoding, createPortletURL, decodeBaseURL, getBasePath, getBaseURL, getBaseURL, getNavigationalState, getNavigationalStateParameterName, getPageBasePath, getPath, getPortalURL, isRelativeOnly, isSecure, setCharacterEncoding, setEncodedNavigationalState, setPath, setRequest |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
baseActionPath
private String baseActionPath
baseRenderPath
private String baseRenderPath
desktopActionPipelinePath
private String desktopActionPipelinePath
desktopRenderPipelinePath
private String desktopRenderPipelinePath
DesktopEncodingPortalURL
public DesktopEncodingPortalURL(org.apache.jetspeed.container.state.NavigationalState navState,
org.apache.jetspeed.PortalContext portalContext,
String desktopRenderPipelinePath,
String desktopActionPipelinePath)
DesktopEncodingPortalURL
public DesktopEncodingPortalURL(org.apache.jetspeed.container.state.NavigationalState navState,
org.apache.jetspeed.PortalContext portalContext,
String desktopRenderPipelinePath,
String desktopActionPipelinePath,
org.apache.jetspeed.container.url.BasePortalURL base)
DesktopEncodingPortalURL
public DesktopEncodingPortalURL(String characterEncoding,
org.apache.jetspeed.container.state.NavigationalState navState,
org.apache.jetspeed.PortalContext portalContext)
DesktopEncodingPortalURL
public DesktopEncodingPortalURL(javax.servlet.http.HttpServletRequest request,
String characterEncoding,
org.apache.jetspeed.container.state.NavigationalState navState,
org.apache.jetspeed.PortalContext portalContext)
initializePipelinePaths
private void initializePipelinePaths(String desktopRenderPipelinePath,
String desktopActionPipelinePath)
decodeBasePath
protected void decodeBasePath(javax.servlet.http.HttpServletRequest request)
- Overrides:
decodeBasePath
in class AbstractPortalURL
decodePathAndNavigationalState
protected void decodePathAndNavigationalState(javax.servlet.http.HttpServletRequest request)
- Specified by:
decodePathAndNavigationalState
in class AbstractPortalURL
createPortletURL
protected String createPortletURL(String encodedNavState,
boolean secure)
- Specified by:
createPortletURL
in class AbstractPortalURL
createPortletURL
protected String createPortletURL(String encodedNavState,
boolean secure,
org.apache.pluto.om.window.PortletWindow window,
boolean action)
createPortletURL
public String createPortletURL(org.apache.pluto.om.window.PortletWindow window,
Map parameters,
javax.portlet.PortletMode mode,
javax.portlet.WindowState state,
boolean action,
boolean secure)
- Specified by:
createPortletURL
in interface org.apache.jetspeed.container.url.PortalURL
- Overrides:
createPortletURL
in class AbstractPortalURL
Copyright © 1999-2007 Apache Software Foundation. All Rights Reserved.