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:
-
Field Summary
Fields inherited from class org.bedework.caldav.server.IscheduleMessage
dkimSignature, iScheduleMessageId, iScheduleVersion, originator, recipients -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddContentLine(String val) byte[]intList<org.apache.http.Header>Get header for client.voidsetContentType(String val) voidvoidsign(HostInfo hinfo, PrivateKey key) Methods inherited from class org.bedework.caldav.server.IscheduleMessage
addField, addHeader, getDkimSignature, getFields, getFields, getFieldVals, getIScheduleMessageId, getIScheduleVersion, getOriginator, getRecipients, toString
-
Constructor Details
-
IscheduleOut
Constructor- Parameters:
domain- - needed for the d= tag
-
-
Method Details
-
sign
- Parameters:
hinfo- host infokey- our private key
-
setMethod
- Parameters:
val- String
-
getMethod
- Returns:
- String
-
setContentType
- Parameters:
val- String
-
getContentType
- Returns:
- String
-
getHeaders
Get header for client. This skips the content type header as that is added by the client.- Returns:
- Header list
-
addContentLine
- Parameters:
val- content line
-
getContentLength
public int getContentLength()- Returns:
- int content length
-
getContentBytes
public byte[] getContentBytes()- Returns:
- byte[] content bytes
-
getInputStream
- Returns:
- a stream based on the byte[] content
-