Class LanguageController
java.lang.Object
de.digitalcollections.cudami.admin.controller.LanguageController
@RestController
public class LanguageController
extends java.lang.Object
-
Constructor Summary
Constructors Constructor Description LanguageController(CudamiClient cudamiClient)
-
Method Summary
Modifier and Type Method Description java.util.Locale
getDefaultLanguages()
java.util.List<java.lang.String>
getLanguages()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
LanguageController
-
-
Method Details
-
getLanguages
@GetMapping("/api/languages") public java.util.List<java.lang.String> getLanguages() throws HttpException- Throws:
HttpException
-
getDefaultLanguages
@GetMapping("/api/languages/default") public java.util.Locale getDefaultLanguages() throws HttpException- Throws:
HttpException
-