title: Getting URL of current page loaded
body: <p>I am asking this question because it is loosely related to <a href="https://stackoverflow.com/questions/16254135/play-authenticate-logout-redirect">another</a> one of my posts. </p>
  
  <p>Is it possible in the play framework (2.0.4) to retrieve the URL of the page currently loaded? For example if I want to modify this method: </p>
  
  <pre><code>        @Override
              public Call afterAuth() {
  
         *IF CURRENT URL = "localhost:9000/mobile" 
  
                      return routes.Application.mobile_index();
  
         *ELSE*
  
                      return something.else;
              }
  </code></pre>