Package org.bedework.caldav.server
Class CalDavHeaders
java.lang.Object
org.bedework.caldav.server.CalDavHeaders
public class CalDavHeaders
extends java.lang.Object
Retrieve and process CalDAV header values
- Author:
- Mike Douglass douglm rpi.edu
-
Field Summary
-
Constructor Summary
Constructors Constructor Description CalDavHeaders() -
Method Summary
Modifier and Type Method Description static java.lang.StringgetClientId(javax.servlet.http.HttpServletRequest req)Have a client-id?static java.lang.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 headerMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
clientId
public static final java.lang.String clientIdIdentifies the caller - probably only trust for super user- See Also:
- Constant Field Values
-
runAs
public static final java.lang.String runAsAsk to run as somebody else - probably only trust for super user - or if they have full proxy access?- See Also:
- Constant Field Values
-
-
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
public static java.lang.String getRunAs(javax.servlet.http.HttpServletRequest req)Run as somebody?- Parameters:
req- HttpServletRequest- Returns:
- String non-null if present with value
-
getClientId
public static java.lang.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
-