extendlet.java
来自「ZK 基础介绍 功能操作 模块 结合数据库操作」· Java 代码 · 共 52 行
JAVA
52 行
/* 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 + =
减小字号Ctrl + -
显示快捷键?