title: Want to get the common parameter from URL itself even if proxy get change
body: <p>I want to get the host name and host port from http request i.e from  <a href="http://101.101.101.11:8080/abc.html" rel="nofollow">http://101.101.101.11:8080/abc.html</a> </p>
  
  <p>I can get these paramater of URL by httpRequest.gethostname() or request.getserverport()</p>
  
  <p>but when I am acccessing that URL through proxy that time the host name and server port is getting change.</p>
  
  <p>If I use Referer that time I am getting perfect host name and server port. But it is kind of header parameter with that URL. And I need some parameter from URL itself.</p>
  
  <p>Is there any way to get the common parameter from URL itself even if proxy get change.</p>
  
  <p>Thanks very much in advance</p>