Class LanguageController
- java.lang.Object
-
- de.digitalcollections.cudami.admin.controller.LanguageController
-
@RestController public class LanguageController extends Object
-
-
Constructor Summary
Constructors Constructor Description LanguageController(CudamiClient cudamiClient)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Locale
getDefaultLanguages()
List<String>
getLanguages()
-
-
-
Constructor Detail
-
LanguageController
public LanguageController(CudamiClient cudamiClient)
-
-
Method Detail
-
getLanguages
@GetMapping("/api/languages") public List<String> getLanguages() throws de.digitalcollections.model.exception.TechnicalException
- Throws:
de.digitalcollections.model.exception.TechnicalException
-
getDefaultLanguages
@GetMapping("/api/languages/default") public Locale getDefaultLanguages() throws de.digitalcollections.model.exception.TechnicalException
- Throws:
de.digitalcollections.model.exception.TechnicalException
-
-