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

com.gitee.apanlh.spring.configure.RequestParamConfiguration Maven / Gradle / Ivy

There is a newer version: 2.0.0.2
Show newest version
package com.gitee.apanlh.spring.configure;

import com.gitee.apanlh.spring.web.resolver.RequestResolver;
import org.springframework.web.method.support.HandlerMethodArgumentResolver;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;

import java.util.List;

/**	
 * 	请求参数格式化
 * 	
需要手动注入至Spring中 * * @author Pan */ class RequestParamConfiguration implements WebMvcConfigurer { /** * 默认构造函数 * * @author Pan */ public RequestParamConfiguration() { super(); } /** * 扫描自定义注解 * @author Pan */ @Override public void addArgumentResolvers(List resolvers) { resolvers.add(new RequestResolver()); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy