com.github.andyshaox.servlet.mapping.ViewProcess Maven / Gradle / Ivy
package com.github.andyshaox.servlet.mapping;
import java.io.IOException;
import javax.servlet.ServletConfig;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
/**
*
* Title:
* Descript:
* Copyright: Copryright(c) Jan 10, 2016
* Encoding:UNIX UTF-8
*
* @author Andy.Shao
*
*/
@FunctionalInterface
public interface ViewProcess {
public static final ViewProcess EMPTY = (config , req , resp , view) -> {
};
void process(ServletConfig config , HttpServletRequest request , HttpServletResponse response , View view) throws ServletException , IOException;
}