Class LanguageController


  • @RestController
    public class LanguageController
    extends Object
    • 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