added getLocale to abstract RestController