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
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    Identifies the caller - probably only trust for super user
    static final String
    Ask to run as somebody else - probably only trust for super user - or if they have full proxy access?
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static String
    getClientId(javax.servlet.http.HttpServletRequest req)
    Have a client-id?
    static String
    getRunAs(javax.servlet.http.HttpServletRequest req)
    Run as somebody?
    static boolean
    isSchedulingAssistant(javax.servlet.http.HttpServletRequest req)
    Is this the scheduling assistant?
    static boolean
    scheduleReply(javax.servlet.http.HttpServletRequest req)
    Look for the Schedule-Reply header

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • clientId

      public static final String clientId
      Identifies the caller - probably only trust for super user
      See Also:
    • 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:
  • 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 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