Class IscheduleOut

java.lang.Object
org.bedework.caldav.server.IscheduleMessage
org.bedework.calsvc.scheduling.hosts.IscheduleOut
All Implemented Interfaces:
Serializable, org.apache.james.jdkim.api.Headers

public class IscheduleOut extends org.bedework.caldav.server.IscheduleMessage
An outgoing (flamboyant?) iSchedule message
Author:
douglm
See Also:
  • Constructor Details

    • IscheduleOut

      public IscheduleOut(org.bedework.calsvci.CalSvcI svci, String domain)
      Constructor
      Parameters:
      domain - - needed for the d= tag
  • Method Details

    • sign

      public void sign(HostInfo hinfo, PrivateKey key)
      Parameters:
      hinfo - host info
      key - our private key
    • setMethod

      public void setMethod(String val)
      Parameters:
      val - String
    • getMethod

      public String getMethod()
      Returns:
      String
    • setContentType

      public void setContentType(String val)
      Parameters:
      val - String
    • getContentType

      public String getContentType()
      Returns:
      String
    • getHeaders

      public List<org.apache.http.Header> getHeaders()
      Get header for client. This skips the content type header as that is added by the client.
      Returns:
      Header list
    • addContentLine

      public void addContentLine(String val)
      Parameters:
      val - content line
    • getContentLength

      public int getContentLength()
      Returns:
      int content length
    • getContentBytes

      public byte[] getContentBytes()
      Returns:
      byte[] content bytes
    • getInputStream

      public InputStream getInputStream()
      Returns:
      a stream based on the byte[] content