49 lines
703 B
Java
49 lines
703 B
Java
package cn.config.mapping;
|
|
|
|
import java.io.Serializable;
|
|
import java.lang.reflect.Method;
|
|
|
|
/**
|
|
*
|
|
* @author yangsong
|
|
* @date 2015/12/14
|
|
*/
|
|
public class URIMappingValue implements Serializable{
|
|
private static final long serialVersionUID = -7799619672310186709L;
|
|
|
|
private Class<?> clazz;
|
|
private Method method;
|
|
|
|
|
|
public URIMappingValue() {
|
|
}
|
|
|
|
|
|
public URIMappingValue(Class<?> clazz, Method method) {
|
|
this.clazz = clazz;
|
|
this.method = method;
|
|
}
|
|
|
|
|
|
public Class<?> getClazz() {
|
|
return clazz;
|
|
}
|
|
|
|
|
|
public void setClazz(Class<?> clazz) {
|
|
this.clazz = clazz;
|
|
}
|
|
|
|
|
|
public Method getMethod() {
|
|
return method;
|
|
}
|
|
|
|
|
|
public void setMethod(Method method) {
|
|
this.method = method;
|
|
}
|
|
|
|
|
|
}
|