rewrite router async logic

No need for equalsIgnoreCase, HTTP methods are case sensitive.