public class DavExchangeSession.Event extends ExchangeSession.Event
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Modifier and Type | Field and Description |
---|---|
protected String |
instancetype |
APPLICATION_ICS, contentClass, subject, TEXT_CALENDAR, vCalendar
displayName, etag, folderPath, itemName, noneMatch, permanentUrl
Constructor and Description |
---|
Event(org.apache.jackrabbit.webdav.MultiStatusResponse multiStatusResponse)
Build Event instance from response info.
|
Event(String folderPath,
String itemName,
String contentClass,
String itemBody,
String etag,
String noneMatch) |
Modifier and Type | Method and Description |
---|---|
ExchangeSession.ItemResult |
createOrUpdate()
Create or update item
|
protected void |
deleteBroken() |
byte[] |
getEventContent()
Load ICS content from Exchange server.
|
protected byte[] |
getICSFromInternetContentProperty() |
protected String |
getPermanentUrl() |
protected org.apache.http.client.methods.CloseableHttpResponse |
internalCreateOrUpdate(String encodedHref,
byte[] mimeContent) |
buildHttpNotFoundException, createMimeContent, dumpICS, fixICS, getBody, getCalendarMimePart, getContentType, getICS, isCalendarContentType
getEtag, getHref, getName, setHref, setItemName
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
equals, hashCode, toString
protected String instancetype
public Event(org.apache.jackrabbit.webdav.MultiStatusResponse multiStatusResponse) throws IOException
multiStatusResponse
- responseIOException
- on errorpublic Event(String folderPath, String itemName, String contentClass, String itemBody, String etag, String noneMatch) throws IOException
IOException
protected String getPermanentUrl()
protected byte[] getICSFromInternetContentProperty() throws IOException, org.apache.jackrabbit.webdav.DavException, javax.mail.MessagingException
IOException
org.apache.jackrabbit.webdav.DavException
javax.mail.MessagingException
public byte[] getEventContent() throws IOException
getEventContent
in class ExchangeSession.Event
IOException
- on errorprotected void deleteBroken()
protected org.apache.http.client.methods.CloseableHttpResponse internalCreateOrUpdate(String encodedHref, byte[] mimeContent) throws IOException
IOException
public ExchangeSession.ItemResult createOrUpdate() throws IOException
ExchangeSession.Event
createOrUpdate
in class ExchangeSession.Event
IOException
- on errorCopyright © 2001–2024 MickaĆ«l Guessant. All rights reserved.