ninjaframework/ninja — pull request #174 by mattjonesorg (2014-05-08 13:43:57+00:00)
Title: Added a getHostname() method to the context.  

This is helpful for supporting multi-tenant applications where each customer has their own hostname.

Today, it is as simple as context.getHeader("Host"), but if the context already has many other wrappers around headers, I thought this would be helpful.