|
Copyright © 2008 BEA Systems, Inc. All Rights Reserved | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.bea.netuix.servlets.controls.content.PageflowURLHelper
public class PageflowURLHelper
Use of this class is discouraged. IPC (Interportlet communication) provides a cleaner and more robust way of triggering pageflow actions. URLs generated by this class will not work on remote portlets.
Field Summary | |
---|---|
static String |
ACTION_SECURE
Value to pass to the type parameter of createURL for
a secure (https) action URL |
static String |
ACTION_UNSECURE
Value to pass to the type parameter of createURL for
a non-secure (http) action URL |
static String |
RESOURCE_SECURE
Value to pass to the type parameter of createURL for
a secure (https) resource URL |
static String |
RESOURCE_UNSECURE
Value to pass to the type parameter of createURL for
a non-secure (http) resource URL |
Constructor Summary | |
---|---|
PageflowURLHelper()
|
Method Summary | |
---|---|
static String |
createURL(javax.servlet.ServletContext servletContext,
javax.servlet.ServletRequest request,
javax.servlet.ServletResponse response,
String url,
String type,
String pageFlowName,
String targetPageLabel)
Creates a portal framework version of a given page flow URL. |
static String |
createURL(javax.servlet.ServletContext servletContext,
javax.servlet.ServletRequest request,
javax.servlet.ServletResponse response,
String url,
String type,
String pageFlowName,
String targetPageLabel,
boolean encodePageLabel)
Creates a portal framework version of a given page flow URL. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String ACTION_UNSECURE
type
parameter of createURL
for
a non-secure (http) action URL
public static final String ACTION_SECURE
type
parameter of createURL
for
a secure (https) action URL
public static final String RESOURCE_SECURE
type
parameter of createURL
for
a secure (https) resource URL
public static final String RESOURCE_UNSECURE
type
parameter of createURL
for
a non-secure (http) resource URL
Constructor Detail |
---|
public PageflowURLHelper()
Method Detail |
---|
public static String createURL(javax.servlet.ServletContext servletContext, javax.servlet.ServletRequest request, javax.servlet.ServletResponse response, String url, String type, String pageFlowName, String targetPageLabel)
targetPageLabel
parameter does not need to be encoded. This method must be
called from within a pageflow action.
Use of this class is discouraged. IPC (Interportlet communication) provides a cleaner and more
robust way of triggering pageflow actions. URLs generated by this class will not work on
remote portlets.
servletContext
- the current ServletContextrequest
- the current ServletRequestresponse
- the current ServletResponseurl
- the PageFlow URL we are rewritingtype
- one of the constants defined in this class ACTION_UNSECURE, ACTION_SECURE,
RESOURCE_SECURE, or RESOURCE_UNSECUREpageFlowName
- the name of the pageflow that the target of the url
parameter
exists in.targetPageLabel
- the target page in the portal
public static String createURL(javax.servlet.ServletContext servletContext, javax.servlet.ServletRequest request, javax.servlet.ServletResponse response, String url, String type, String pageFlowName, String targetPageLabel, boolean encodePageLabel)
servletContext
- the current ServletContextrequest
- the current ServletRequestresponse
- the current ServletResponseurl
- the PageFlow URL we are rewritingtype
- one of the constants defined in this class ACTION_UNSECURE, ACTION_SECURE,
RESOURCE_SECURE, or RESOURCE_UNSECUREpageFlowName
- the name of the pageflow that the target of the url
parameter
exists in.targetPageLabel
- the target page in the portalencodePageLabel
- true if the targetPageLabel
parameter needs to be URL encoded
false otherwise.
|
Copyright © 2008 BEA Systems, Inc. All Rights Reserved | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |