@RestController
@RequestMapping(value="/v2/messages",
produces="application/json;charset=UTF-8")
public class MessagesController
extends java.lang.Object
Constructor and Description |
---|
MessagesController() |
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,java.lang.String> |
getLocalizationForAllEntities() |
java.util.Map<java.lang.String,java.lang.String> |
getLocalizationForAllEnums() |
java.util.Map<java.lang.String,java.lang.String> |
getLocalizationForEntity(java.lang.String entityName) |
java.util.Map<java.lang.String,java.lang.String> |
getLocalizationForEnum(java.lang.String enumClassName) |
@GetMapping(value="/entities/{entityName}") public java.util.Map<java.lang.String,java.lang.String> getLocalizationForEntity(@PathVariable java.lang.String entityName)
@GetMapping(value="/entities") public java.util.Map<java.lang.String,java.lang.String> getLocalizationForAllEntities()
@GetMapping(value="/enums/{enumClassName:.+}") public java.util.Map<java.lang.String,java.lang.String> getLocalizationForEnum(@PathVariable java.lang.String enumClassName)
@GetMapping(value="/enums") public java.util.Map<java.lang.String,java.lang.String> getLocalizationForAllEnums()