Package org.opencms.webdav
Class CmsDavUtil
- java.lang.Object
-
- org.opencms.webdav.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.
-
-
-
Field Detail
-
DATE_FORMAT
public static final java.text.DateFormat DATE_FORMAT
Default date format to use for date-valued properties.
-
PARAM_REPOSITORY
public static final java.lang.String PARAM_REPOSITORY
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
CmsDavUtil
public CmsDavUtil()
-
-
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
-
-