|
© 2005 BEA Systems, Inc. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.bea.netuix.servlets.controls.content.PageflowURLHelper
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(ServletContext servletContext,
ServletRequest request,
ServletResponse response,
String url,
String type,
String pageFlowName,
String targetPageLabel)
Creates a portal framework version of a given page flow URL. |
static String |
createURL(ServletContext servletContext,
ServletRequest request,
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_SECURE
type
parameter of createURL
for
a secure (https) action URL
public static final String ACTION_UNSECURE
type
parameter of createURL
for
a non-secure (http) 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(ServletContext servletContext, ServletRequest request, ServletResponse response, String url, String type, String pageFlowName, String targetPageLabel)
targetPageLabel
parameter does not need to be encoded.
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(ServletContext servletContext, ServletRequest request, 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
flase otherwise.
|
© 2005 BEA Systems, Inc. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |