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

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;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy