title: Actual URL of AWS API gateway in Java Application deployed behind ELB
body: <p>I have Jersey 1.9 rest application deployed on tomcat servers(EC2). The tomcat servers are running behind the AWS ELB and API gateways for load balancing, caching and monitoring etc..</p>
  
  <p>Flow of Calls to rest application is:
  client --> API gateways --> ELB --> application (EC2-tomcat)</p>
  
  <p>Client uses APi gateways URL to invoke the service. How can i get the actual API gateways URL that is used by client, in my application using Java(ws.core?) or UriInfo? </p>
  
  <p>Thanks in Advance.</p>