![JAR search and dependency download from the Maven repository](/logo.png)
com.github.andyshaox.servlet.mapping.ParameterFormat Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of GearEE Show documentation
Show all versions of GearEE Show documentation
Enhance and formating the coding of JDK
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 28, 2016
* Encoding:UNIX UTF-8
*
* @author Andy.Shao
*
*/
@FunctionalInterface
public interface ParameterFormat {
static final ParameterFormat DO_NOTHING = (conf , req , resp , variable , clazz) -> Variable.readParam(req , variable);
Object covert(ServletConfig config , HttpServletRequest request , HttpServletResponse response , Variable variable , Class> valueType) throws ServletException , IOException;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy