webit.script.web.resolvers.HttpServletRequestParametersResolver Maven / Gradle / Ivy
// Copyright (c) 2013, Webit Team. All Rights Reserved.
package webit.script.web.resolvers;
import webit.script.resolvers.GetResolver;
import webit.script.resolvers.MatchMode;
import webit.script.web.HttpServletRequestParameters;
/**
*
* @author Zqq
*/
public class HttpServletRequestParametersResolver implements GetResolver{
public Object get(Object bean, Object property) {
return ((HttpServletRequestParameters) bean).get(property.toString());
}
public MatchMode getMatchMode() {
return MatchMode.EQUALS;
}
public Class> getMatchClass() {
return HttpServletRequestParameters.class;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy