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

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

    Constructors
    Constructor Description
    CalDavHeaders()  
  • Method Summary

    Modifier and Type Method Description
    static java.lang.String getClientId​(javax.servlet.http.HttpServletRequest req)
    Have a client-id?
    static java.lang.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 java.lang.String clientId
      Identifies the caller - probably only trust for super user
      See Also:
      Constant Field Values
    • runAs

      public static final java.lang.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
  • 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