|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PortalURL
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 |
createNavigationalEncoding(org.apache.pluto.om.window.PortletWindow window,
Map parameters,
javax.portlet.PortletMode mode,
javax.portlet.WindowState state,
boolean action)
Creates the navigational encoding for a given window Similiar to createPortletURL above |
String |
createNavigationalEncoding(org.apache.pluto.om.window.PortletWindow window,
javax.portlet.PortletMode mode,
javax.portlet.WindowState state)
Creates the navigational encoding for a given window Similiar to createPortletURL above |
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. |
String |
getPortalURL()
|
boolean |
hasEncodedNavState()
|
boolean |
isPathInfoEncodingNavState()
|
boolean |
isRelativeOnly()
|
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 |
---|
static final String HTTP
static final String HTTPS
Method Detail |
---|
boolean isRelativeOnly()
String getBaseURL()
String getBaseURL(boolean secure)
String getPath()
String getBasePath()
String getPageBasePath()
boolean isSecure()
NavigationalState getNavigationalState()
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
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
- secure
- indicates if a secure url is required
void setRequest(javax.servlet.http.HttpServletRequest request)
request
- void setCharacterEncoding(String characterEncoding)
String createNavigationalEncoding(org.apache.pluto.om.window.PortletWindow window, Map parameters, javax.portlet.PortletMode mode, javax.portlet.WindowState state, boolean action)
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
String createNavigationalEncoding(org.apache.pluto.om.window.PortletWindow window, javax.portlet.PortletMode mode, javax.portlet.WindowState state)
window
- the PortalWindowmode
- the new PortletMode for the PortalWindowstate
- the new WindowState for the PortalWindowsecure
- secure
- indicates if a secure url is required
String getPortalURL()
boolean hasEncodedNavState()
boolean isPathInfoEncodingNavState()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |