Class LanguageController


  • @RestController
    public class LanguageController
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      LanguageController​(de.digitalcollections.cudami.admin.backend.api.repository.LocaleRepository repository)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      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 Detail

      • LanguageController

        @Autowired
        public LanguageController​(de.digitalcollections.cudami.admin.backend.api.repository.LocaleRepository repository)
    • Method Detail

      • getLanguages

        @GetMapping("/api/languages")
        public java.util.List<java.lang.String> getLanguages()