|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
PortalURL defines the interface for manipulating Jetspeed Portal URLs. These URLs are used internally by the portal and are not available to Portlet Applications.
| Field Summary | |
static String |
HTTP
HTTP protocol. |
static String |
HTTPS
HTTPS protocol. |
| 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)
Create a new PortletURL for a PortletWindow including request or action parameters. |
String |
createPortletURL(org.apache.pluto.om.window.PortletWindow window,
javax.portlet.PortletMode mode,
javax.portlet.WindowState state,
boolean secure)
Create a new PortletURL for a PortletWindow retaining its (request) parameters. |
String |
getBasePath()
Returns the current Portal base path. |
String |
getBaseURL()
Gets the Base URL for this portal. |
String |
getBaseURL(boolean secure)
Gets a secure version of the Base URL for this portal. |
NavigationalState |
getNavigationalState()
Gets the NavigationalState for access to the current request portal control parameters |
String |
getPageBasePath()
Returns the current Portal Page base path without possible encoded NavigationalState parameter. |
String |
getPath()
Gets the global navigational path of the current request. |
boolean |
isSecure()
|
void |
setCharacterEncoding(String characterEncoding)
|
void |
setRequest(javax.servlet.http.HttpServletRequest request)
Sets the @link{javax.servlet.http.HttpServletRequest} that will be used to generate urls. |
| Field Detail |
public static final String HTTP
public static final String HTTPS
| Method Detail |
public String getBaseURL()
public String getBaseURL(boolean secure)
public String getPath()
public String getBasePath()
public String getPageBasePath()
public boolean isSecure()
public NavigationalState getNavigationalState()
public String createPortletURL(org.apache.pluto.om.window.PortletWindow window,
Map parameters,
javax.portlet.PortletMode mode,
javax.portlet.WindowState state,
boolean action,
boolean secure)
window - the PortalWindowparameters - the new request or action parameters for the PortalWindowmode - the new PortletMode for the PortalWindowstate - the new WindowState for the PortalWindowaction - indicates if an actionURL or renderURL is createdsecure - indicates if a secure url is required
public String createPortletURL(org.apache.pluto.om.window.PortletWindow window,
javax.portlet.PortletMode mode,
javax.portlet.WindowState state,
boolean secure)
window - the PortalWindowmode - the new PortletMode for the PortalWindowstate - the new WindowState for the PortalWindowsecure -
public void setRequest(javax.servlet.http.HttpServletRequest request)
request - public void setCharacterEncoding(String characterEncoding)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||