requestinfo.java
来自「非常接近C/S操作方式的Java Ajax框架-ZK 用ZK框架使你的B/S应」· Java 代码 · 共 61 行
JAVA
61 行
/* 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 + =
减小字号Ctrl + -
显示快捷键?