setting parameter attributes to request object