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

org.febit.wit.servlet.resolvers.HttpServletRequestHeaderResolver Maven / Gradle / Ivy

There is a newer version: 2.7.0-beta
Show newest version
// Copyright (c) 2013-2016, febit.org. All Rights Reserved.
package org.febit.wit.servlet.resolvers;

import org.febit.wit.resolvers.GetResolver;
import org.febit.wit.servlet.HttpServletRequestHeader;

/**
 *
 * @author zqq90
 */
public class HttpServletRequestHeaderResolver implements GetResolver{

    @Override
    public Object get(Object bean, Object property) {
        return ((HttpServletRequestHeader) bean).get(property.toString());
    }

    @Override
    public Class getMatchClass() {
        return HttpServletRequestHeader.class;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy