|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.zkoss.zk.ui.impl.RequestInfoImpl
public class RequestInfoImpl
An implementation of RequestInfo.
| Constructor Summary | |
|---|---|
RequestInfoImpl(Desktop desktop,
java.lang.Object request,
Locator locator)
Constructor. |
|
RequestInfoImpl(Execution exec,
Locator locator)
Construcotr. |
|
RequestInfoImpl(WebApp wapp,
Session sess,
Desktop desktop,
java.lang.Object request,
Locator locator)
Constructor |
|
| Method Summary | |
|---|---|
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 RequestInfo.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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RequestInfoImpl(WebApp wapp,
Session sess,
Desktop desktop,
java.lang.Object request,
Locator locator)
wapp - the Web application, never null.sess - the session, or null if not available.desktop - the desktop, or null if not created yet.request - the request, or null if not available.locator - the locator used to locate taglib and other resources.
If null, wapp is used.
public RequestInfoImpl(Desktop desktop,
java.lang.Object request,
Locator locator)
desktop - the desktop, never null.request - the request, or null if not available.locator - the locator used to locate taglib and other resources.
If null, wapp is used.
public RequestInfoImpl(Execution exec,
Locator locator)
exec - the current execution, never nulllocator - the locator used to locate taglib and other resources.
If null, getWebApp() is used.| Method Detail |
|---|
public final WebApp getWebApp()
RequestInfo
getWebApp in interface RequestInfopublic final Session getSession()
RequestInfo
getSession in interface RequestInfopublic final Desktop getDesktop()
RequestInfoUiFactory.newDesktop(org.zkoss.zk.ui.sys.RequestInfo, java.lang.String, java.lang.String) is called.
getDesktop in interface RequestInfopublic final java.lang.Object getNativeRequest()
RequestInfo
getNativeRequest in interface RequestInfopublic final Locator getLocator()
RequestInfoRequestInfo.getWebApp() will be used
as the locator.
getLocator in interface RequestInfopublic final void setLocator(Locator locator)
RequestInfo
setLocator in interface RequestInfolocator - the locator used to locate taglib and other resources.
If null, RequestInfo.getWebApp() is used.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||