/*******************************************************************************
 * Copyright (c) 2007, 2008 IBM Corporation.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *     IBM Corporation - initial API and implementation
 *******************************************************************************/
package org.eclipse.cosmos.internal.dr.drs.service.handler.common;

import java.util.Map;

import javax.servlet.http.HttpServletRequest;

import org.eclipse.cosmos.provisional.dr.drs.service.handler.common.IParameters;

public class RequestParametersImpl implements IParameters{

	protected HttpServletRequest request;
	public RequestParametersImpl(HttpServletRequest request){
		this.request = request;
	}
	public String getParameter(String name) {
		// TODO Auto-generated method stub		
		return request.getParameter(name);
	}

	public Map getParameterMap(){
		return request.getParameterMap();
	}
}
