package common.components;

import javax.servlet.http.HttpServletRequest;
import java.util.Map;

/**
 * Class common.components.RequestContextTestComponent
 *
 * &copy; 2002-2003 MassOne Mobile Advertising Systems Ltd<br>
 *
 * @author bungle
 */
public class RequestContextTestComponent implements RequestContextComponent {

    private HttpServletRequest context;

    public String getName() {
        return RequestContextTestComponent.class.getName();
    }

    public String getRequestURL() {
        return context.getRequestURL().toString();
    }

    public void setRequestContext(HttpServletRequest context) {
        this.context = context;
    }

    public void setAttributes(Map attributes) {
    }

}