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, vCalendardisplayName, 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, isCalendarContentTypegetEtag, getHref, getName, setHref, setItemNameclear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, valuesequals, hashCode, toStringprotected 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
IOExceptionprotected String getPermanentUrl()
protected byte[] getICSFromInternetContentProperty()
throws IOException,
org.apache.jackrabbit.webdav.DavException,
javax.mail.MessagingException
IOExceptionorg.apache.jackrabbit.webdav.DavExceptionjavax.mail.MessagingExceptionpublic byte[] getEventContent()
throws IOException
getEventContent in class ExchangeSession.EventIOException - on errorprotected void deleteBroken()
protected org.apache.http.client.methods.CloseableHttpResponse internalCreateOrUpdate(String encodedHref, byte[] mimeContent) throws IOException
IOExceptionpublic ExchangeSession.ItemResult createOrUpdate() throws IOException
ExchangeSession.EventcreateOrUpdate in class ExchangeSession.EventIOException - on errorCopyright © 2001–2025 MickaĆ«l Guessant. All rights reserved.