java.lang.Object
de.digitalcollections.commons.springmvc.controller.AbstractController
de.digitalcollections.cudami.admin.controller.identifiable.alias.UrlAliasesController

@Controller
public class UrlAliasesController
extends de.digitalcollections.commons.springmvc.controller.AbstractController
Controller for urlaliases.
  • Constructor Summary

    Constructors 
    Constructor Description
    UrlAliasesController​(CudamiClient client)  
  • Method Summary

    Modifier and Type Method Description
    java.lang.String generateSlug​(java.util.Locale pLocale, java.lang.String label, java.util.UUID websiteUuid)  

    Methods inherited from class de.digitalcollections.commons.springmvc.controller.AbstractController

    verifyBinding

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • generateSlug

      @GetMapping(produces="application/json;charset=UTF-8", value={"/api/urlaliases/slug/{pLocale}/{label}/{websiteUuid:[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}}","/api/urlaliases/slug/{pLocale}/{label}"}) @ResponseBody public java.lang.String generateSlug​(@PathVariable java.util.Locale pLocale, @PathVariable java.lang.String label, @PathVariable(required=false) java.util.UUID websiteUuid) throws HttpException
      Throws:
      HttpException