public interface RequestInfo
UiFactory
.Modifier and Type | Method and Description |
---|---|
Desktop |
getDesktop()
Returns the desktop, or null if not created yet.
|
Locator |
getLocator()
Returns the locator used to retrieve resources, such as
taglib and zscript files, or null if
getWebApp() will be used
as the locator. |
java.lang.Object |
getNativeRequest()
Returns the native request.
|
Session |
getSession()
Returns the session, or null if not available.
|
WebApp |
getWebApp()
Returns the Web application; never null.
|
void |
setLocator(Locator locator)
Sets the locator used to retrieve resources, such as
taglib and zscript files.
|
WebApp getWebApp()
Session getSession()
Desktop getDesktop()
UiFactory.newDesktop(org.zkoss.zk.ui.sys.RequestInfo, java.lang.String, java.lang.String)
is called.java.lang.Object getNativeRequest()
Locator getLocator()
getWebApp()
will be used
as the locator.void setLocator(Locator locator)
locator
- the locator used to locate taglib and other resources.
If null, getWebApp()
is used.Copyright © 2005-2018 Potix Corporation. All Rights Reserved.