Ruby on Rails like http routing for Java