You cannot do this with Play 2.0.
Routes are defined as PartialFunction[RequestHeader, Handler], there is no way to find out the domain of this function.
, , : Play 2.0 documentation, HTTP- (GET, PUT ..), , , , conf/routes.
Routes, Play , :
for {
routes <- play.api.Play.current.routes.toList
(method, pattern, call) <- routes.documentation
} yield {
…
}