|
Oracle UIX API Reference Release 2.1.22.0.0 B12196-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--oracle.cabo.servlet.util.RedirectUtils
Utilities for redirecting to an URL.
The AbstractPageBroker
class automatically
registers a PageRenderer
for the special
page name used here. Any implementation of PageBroker
that doesn't subclass from AbstractPageBroker
must
register this renderer itself.
AbstractPageBroker
Field Summary | |
static java.lang.String |
REDIRECT_URL_PAGE_NAME
Name of the Page that will automatically redirect to an URL. |
Method Summary | |
static PageRenderer |
getPageRenderer()
Returns a page renderer that will send the redirect command to the browser. |
static Page |
getRedirectPage(BajaContext context,
Page page)
Returns a page object that will redirect the browser to another Page. |
static Page |
getRedirectPage(java.lang.String url)
Returns a page object that will redirect the browser to another URL. |
static Page |
getResponseCompletePage()
Return a Page that indicates the response is complete; no further action should or can be taken by UIX, and no additional output will be rendered. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String REDIRECT_URL_PAGE_NAME
Method Detail |
public static Page getResponseCompletePage()
public static Page getRedirectPage(BajaContext context, Page page)
context
- the BajaContextpage
- the UIX Controller page to redirect topublic static Page getRedirectPage(java.lang.String url)
url
- the URL that the browser will redirect to.
This method does not call HttpServletResponse.encodeRedirectUrl().public static PageRenderer getPageRenderer()
|
Oracle UIX API Reference Release 2.1.22.0.0 B12196-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |