Package org.bedework.caldav.server
Class CalDavHeaders
- java.lang.Object
-
- org.bedework.caldav.server.CalDavHeaders
-
public class CalDavHeaders extends Object
Retrieve and process CalDAV header values- Author:
- Mike Douglass douglm rpi.edu
-
-
Constructor Summary
Constructors Constructor Description CalDavHeaders()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StringgetClientId(javax.servlet.http.HttpServletRequest req)Have a client-id?static StringgetRunAs(javax.servlet.http.HttpServletRequest req)Run as somebody?static booleanisSchedulingAssistant(javax.servlet.http.HttpServletRequest req)Is this the scheduling assistant?static booleanscheduleReply(javax.servlet.http.HttpServletRequest req)Look for the Schedule-Reply header
-
-
-
Field Detail
-
clientId
public static final String clientId
Identifies the caller - probably only trust for super user- See Also:
- Constant Field Values
-
runAs
public static final String runAs
Ask to run as somebody else - probably only trust for super user - or if they have full proxy access?- See Also:
- Constant Field Values
-
-
Method Detail
-
scheduleReply
public static boolean scheduleReply(javax.servlet.http.HttpServletRequest req)
Look for the Schedule-Reply header- Parameters:
req- HttpServletRequest- Returns:
- boolean true if present
-
getRunAs
public static String getRunAs(javax.servlet.http.HttpServletRequest req)
Run as somebody?- Parameters:
req- HttpServletRequest- Returns:
- String non-null if present with value
-
getClientId
public static String getClientId(javax.servlet.http.HttpServletRequest req)
Have a client-id?- Parameters:
req- HttpServletRequest- Returns:
- String non-null if present with value
-
isSchedulingAssistant
public static boolean isSchedulingAssistant(javax.servlet.http.HttpServletRequest req)
Is this the scheduling assistant?- Parameters:
req- HttpServletRequest- Returns:
- boolean true if present
-
-