I am re-writing an application in Scala with Play Framework. The original code is in PHP, which I have no experience. Within the server side there are many code lines like:
$_SERVER['QUERY_STRING']
$pathInfo = $_SERVER['PATH_INFO'];
$_SERVER['If-Modified-Since']
$_SERVER['If-None-Match'].
I want to convert these into Scala statements. In play framework I thought the map within the request object in any given controller will do it but it does not. How can I implement this ?