Class CmsDavUtil


  • public class CmsDavUtil
    extends java.lang.Object
    Various utilities for the WebDAV implementation.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.text.DateFormat DATE_FORMAT
      Default date format to use for date-valued properties.
      static java.lang.String PARAM_REPOSITORY  
    • Constructor Summary

      Constructors 
      Constructor Description
      CmsDavUtil()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static int getStatusForException​(CmsException e)
      Gets the HTTP status code to use for an exception.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getStatusForException

        public static int getStatusForException​(CmsException e)
        Gets the HTTP status code to use for an exception.
        Parameters:
        e - the exception
        Returns:
        the status code