Package org.bedework.caldav.server
Class CalDavHeaders
java.lang.Object
org.bedework.caldav.server.CalDavHeaders
Retrieve and process CalDAV header values
- Author:
- Mike Douglass douglm rpi.edu
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic 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 Details
-
clientId
Identifies the caller - probably only trust for super user- See Also:
-
runAs
Ask to run as somebody else - probably only trust for super user - or if they have full proxy access?- See Also:
-
-
Constructor Details
-
CalDavHeaders
public CalDavHeaders()
-
-
Method Details
-
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
Run as somebody?- Parameters:
req- HttpServletRequest- Returns:
- String non-null if present with value
-
getClientId
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
-