📄 requestinfo.java
字号:
/* RequestInfo.java{{IS_NOTE Purpose: Description: History: Wed Apr 19 14:02:14 2006, Created by tomyeh}}IS_NOTECopyright (C) 2006 Potix Corporation. All Rights Reserved.{{IS_RIGHT}}IS_RIGHT*/package org.zkoss.zk.ui.sys;import org.zkoss.util.resource.Locator;import org.zkoss.zk.ui.WebApp;import org.zkoss.zk.ui.Desktop;import org.zkoss.zk.ui.Session;/** * The request information used with {@link org.zkoss.zk.ui.sys.UiFactory}. * * @author tomyeh */public interface RequestInfo { /** Returns the Web application; never null. */ public WebApp getWebApp(); /** Returns the session, or null if not available. */ public Session getSession(); /** Returns the desktop, or null if not created yet. * In other words, it returns null if * {@link org.zkoss.zk.ui.sys.UiFactory#newDesktop} is called. */ public Desktop getDesktop(); /** Returns the native request. For HTTP, it is * javax.servlet.http.HttpServletRequest. For portlets, it is * javax.portlet.RenderRequest */ public Object getNativeRequest(); /** Returns the locator used to retrieve resources, such as * taglib and zscript files, or null if {@link #getWebApp} will be used * as the locator. */ public Locator getLocator(); /** Sets the locator used to retrieve resources, such as * taglib and zscript files. * * @param locator the locator used to locate taglib and other resources. * If null, {@link #getWebApp} is used. */ public void setLocator(Locator locator);}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -