⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 extendlet.java

📁 ZK 基础介绍 功能操作 模块 结合数据库操作
💻 JAVA
字号:
/* Extendlet.java{{IS_NOTE	Purpose:			Description:			History:		Wed Jul  4 15:43:39     2007, Created by tomyeh}}IS_NOTECopyright (C) 2007 Potix Corporation. All Rights Reserved.{{IS_RIGHT	This program is distributed under GPL Version 2.0 in the hope that	it will be useful, but WITHOUT ANY WARRANTY.}}IS_RIGHT*/package org.zkoss.web.util.resource;import java.io.IOException;import javax.servlet.ServletException;import javax.servlet.http.HttpServletRequest;import javax.servlet.http.HttpServletResponse;/** * A plugin of {@link ClassWebResource} to process particular * content. * * <p>To add a resource processor to {@link ClassWebResource}, use * {@link ClassWebResource#addExtendlet}. * * @author tomyeh * @since 2.4.1 * @see ClassWebResource#addExtendlet */public interface Extendlet {	/** Initializes the resouorce processor.	 */	public void init(ExtendletConfig config);	/** Process the specified request.	 *	 * @param path the path mapped to this resource processor.	 * @param extra an additional string to output (to response.getWriter).	 * Ignored if null.	 */	public void service(HttpServletRequest request,	HttpServletResponse response, String path, String extra)	throws ServletException, IOException;}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -