com.silentgo.core.route.ParameterValueResolver Maven / Gradle / Ivy
package com.silentgo.core.route;
import com.silentgo.core.aop.MethodParam;
import com.silentgo.core.base.Priority;
import com.silentgo.core.exception.AppParameterPaserException;
import com.silentgo.servlet.http.Request;
import com.silentgo.servlet.http.Response;
/**
* Project : silentgo
* com.silentgo.core.route
*
* @author teddyzhu
*
* Created by teddyzhu on 16/8/22.
*/
public interface ParameterValueResolver extends Priority{
public boolean isValid(MethodParam methodParam);
public Object getValue(Response response, Request request, MethodParam methodParam) throws AppParameterPaserException;
}