| java.lang.Object org.apache.jetspeed.container.url.impl.AbstractPortalURL
All known Subclasses: org.apache.jetspeed.container.url.impl.DesktopEncodingPortalURL, org.apache.jetspeed.container.url.impl.QueryStringEncodingPortalURL, org.apache.jetspeed.container.url.impl.PathInfoEncodingPortalURL,
AbstractPortalURL | abstract public class AbstractPortalURL implements PortalURL(Code) | | AbstractPortalURL delivers the base implemention for parsing Jetspeed Portal URLs and creating new Portlet URLs.
Not implemented is the encoding and decoding of the NavigationState parameter in the URL, allowing concrete
implementations to supply different algorithms for it like encoding it as pathInfo or as query string parameter.
author: Ate Douma version: $Id: AbstractPortalURL.java 605989 2007-12-20 18:26:54Z ate $ |
Method Summary | |
public String | createNavigationalEncoding(PortletWindow window, Map parameters, PortletMode mode, WindowState state, boolean action) | public String | createNavigationalEncoding(PortletWindow window, PortletMode mode, WindowState state) | public String | createPortletURL(PortletWindow window, Map parameters, PortletMode mode, WindowState state, boolean action, boolean secure) | public String | createPortletURL(PortletWindow window, PortletMode mode, WindowState state, boolean secure) | abstract protected String | createPortletURL(String encodedNavState, boolean secure) | protected void | decodeBasePath(HttpServletRequest request) | protected void | decodeBaseURL(HttpServletRequest request) | abstract protected void | decodePathAndNavigationalState(HttpServletRequest request) | public String | getBasePath() | public String | getBaseURL() | public String | getBaseURL(boolean secure) | public NavigationalState | getNavigationalState() | public static String | getNavigationalStateParameterName() | public String | getPageBasePath() | public String | getPath() | public String | getPortalURL() | public boolean | hasEncodedNavState() | public boolean | isPathInfoEncodingNavState() | public boolean | isRelativeOnly() | public boolean | isSecure() | public void | setCharacterEncoding(String characterEncoding) | protected void | setEncodedNavigationalState(String encodedNavigationalState) | protected void | setPath(String path) | public void | setRequest(HttpServletRequest request) |
DEFAULT_NAV_STATE_PARAMETER | final public static String DEFAULT_NAV_STATE_PARAMETER(Code) | | |
navStateParameter | protected static String navStateParameter(Code) | | |
createNavigationalEncoding | public String createNavigationalEncoding(PortletWindow window, Map parameters, PortletMode mode, WindowState state, boolean action)(Code) | | |
createNavigationalEncoding | public String createNavigationalEncoding(PortletWindow window, PortletMode mode, WindowState state)(Code) | | |
createPortletURL | public String createPortletURL(PortletWindow window, Map parameters, PortletMode mode, WindowState state, boolean action, boolean secure)(Code) | | |
createPortletURL | public String createPortletURL(PortletWindow window, PortletMode mode, WindowState state, boolean secure)(Code) | | |
createPortletURL | abstract protected String createPortletURL(String encodedNavState, boolean secure)(Code) | | |
getNavigationalStateParameterName | public static String getNavigationalStateParameterName()(Code) | | |
hasEncodedNavState | public boolean hasEncodedNavState()(Code) | | |
isPathInfoEncodingNavState | public boolean isPathInfoEncodingNavState()(Code) | | |
isRelativeOnly | public boolean isRelativeOnly()(Code) | | |
isSecure | public boolean isSecure()(Code) | | |
setCharacterEncoding | public void setCharacterEncoding(String characterEncoding)(Code) | | |
setEncodedNavigationalState | protected void setEncodedNavigationalState(String encodedNavigationalState)(Code) | | |
|
|