webit.script.servlet.resolvers.HttpServletRequestHeadersResolver Maven / Gradle / Ivy
// Copyright (c) 2013-2014, Webit Team. All Rights Reserved.
package webit.script.servlet.resolvers;
import webit.script.resolvers.GetResolver;
import webit.script.servlet.HttpServletRequestHeaders;
/**
*
* @author Zqq
*/
public class HttpServletRequestHeadersResolver implements GetResolver{
public Object get(Object bean, Object property) {
return ((HttpServletRequestHeaders) bean).get(property.toString());
}
public Class> getMatchClass() {
return HttpServletRequestHeaders.class;
}
}