All Downloads are FREE. Search and download functionalities are using the official Maven repository.

ars.invoke.channel.http.Render Maven / Gradle / Ivy

The newest version!
package ars.invoke.channel.http;

import java.util.Map;
import java.io.OutputStream;

/**
 * 视图渲染接口
 *
 * @author wuyongqiang
 */
public interface Render {
    /**
     * 执行视图渲染
     *
     * @param requester 请求对象
     * @param template  模板路径
     * @param context   渲染上下文
     * @param output    数据输出流
     * @throws Exception 操作异常
     */
    public void execute(HttpRequester requester, String template, Map context, OutputStream output)
        throws Exception;

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy