title: is there any default class to check parameter, if exist need to remove it from url in java?
body: <p>Is there any default class to check parameter, if exists need to remove it from url 
  eg.: <code>url=www.google.com?&amp;id=1</code> need to check this <code>id</code>, if exists need to remove it , any methods available in java? </p>