Class MessagesController

java.lang.Object
io.jmix.rest.impl.controller.MessagesController

@RestController("rest_MessagesController") @RequestMapping(value="/rest/messages", produces="application/json;charset=UTF-8") public class MessagesController extends Object
Controller that returns localized messages
  • Field Details

  • Constructor Details

    • MessagesController

      public MessagesController()
  • Method Details

    • getLocalizationForEntity

      @GetMapping("/entities/{entityName}") public Map<String,String> getLocalizationForEntity(@PathVariable String entityName)
    • getLocalizationForAllEntities

      @GetMapping("/entities") public Map<String,String> getLocalizationForAllEntities()
    • getLocalizationForEnum

      @GetMapping("/enums/{enumClassName:.+}") public Map<String,String> getLocalizationForEnum(@PathVariable String enumClassName)
    • getLocalizationForAllEnums

      @GetMapping("/enums") public Map<String,String> getLocalizationForAllEnums()