cc.shacocloud.mirage.web.InvocableHandlerMethod Maven / Gradle / Ivy
package cc.shacocloud.mirage.web;
import cc.shacocloud.mirage.utils.FutureUtils;
import cc.shacocloud.mirage.web.bind.WebDataBinderFactory;
import io.vertx.core.Future;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.springframework.core.MethodParameter;
import org.springframework.core.ParameterNameDiscoverer;
import org.jetbrains.annotations.Nullable;
import org.springframework.util.Assert;
import org.springframework.util.ObjectUtils;
import org.springframework.util.ReflectionUtils;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
import java.util.Arrays;
import java.util.concurrent.atomic.AtomicInteger;
/**
* 基于{@link HandlerMethod}的扩展
*
* 通过 {@link HandleMethodArgumentResolver} 列表支持当前请求解析的处理来处理解析
*/
public class InvocableHandlerMethod extends HandlerMethod {
private static final Log logger = LogFactory.getLog(InvocableHandlerMethod.class);
private static final Future
© 2015 - 2025 Weber Informatics LLC | Privacy Policy