davmail.caldav
Class CaldavConnection.CaldavRequest
java.lang.Object
davmail.caldav.CaldavConnection.CaldavRequest
- Enclosing class:
- CaldavConnection
protected static class CaldavConnection.CaldavRequest
- extends Object
command
protected final String command
path
protected final String path
pathElements
protected final String[] pathElements
headers
protected final Map<String,String> headers
depth
protected int depth
body
protected final String body
properties
protected final HashMap<String,String> properties
hrefs
protected HashSet<String> hrefs
isMultiGet
protected boolean isMultiGet
timeRangeStart
protected String timeRangeStart
timeRangeEnd
protected String timeRangeEnd
vTodoOnly
protected boolean vTodoOnly
vEventOnly
protected boolean vEventOnly
CaldavConnection.CaldavRequest
protected CaldavConnection.CaldavRequest(String command,
String path,
Map<String,String> headers,
String body)
throws IOException
- Throws:
IOException
isOptions
public boolean isOptions()
isPropFind
public boolean isPropFind()
isPropPatch
public boolean isPropPatch()
isReport
public boolean isReport()
isGet
public boolean isGet()
isHead
public boolean isHead()
isPut
public boolean isPut()
isPost
public boolean isPost()
isDelete
public boolean isDelete()
isMkCalendar
public boolean isMkCalendar()
isMove
public boolean isMove()
isFolder
public boolean isFolder()
- Check if this request is a folder request.
- Returns:
- true if this is a folder (not event) request
isRoot
public boolean isRoot()
isPathLength
public boolean isPathLength(int length)
getPathLength
public int getPathLength()
getPath
public String getPath()
getPath
public String getPath(String subFolder)
isPath
public boolean isPath(int index,
String value)
- Check if path element at index is value
- Parameters:
index - path element indexvalue - path value
- Returns:
- true if path element at index is value
getPathElement
protected String getPathElement(int index)
getLastPath
public String getLastPath()
isBrokenHrefEncoding
protected boolean isBrokenHrefEncoding()
isBrokenLightning
protected boolean isBrokenLightning()
isLightning
protected boolean isLightning()
isIcal5
protected boolean isIcal5()
isUserAgent
protected boolean isUserAgent(String key)
isFreeBusy
public boolean isFreeBusy()
buildDepth
protected void buildDepth()
getDepth
public int getDepth()
getBody
public String getBody()
getHeader
public String getHeader(String headerName)
parseXmlBody
protected void parseXmlBody()
throws IOException
- Throws:
IOException
isEndTag
protected boolean isEndTag(javax.xml.stream.XMLStreamReader reader,
String tagLocalName)
handleCompFilter
public void handleCompFilter(javax.xml.stream.XMLStreamReader reader)
throws javax.xml.stream.XMLStreamException
- Throws:
javax.xml.stream.XMLStreamException
handleProp
public void handleProp(javax.xml.stream.XMLStreamReader reader)
throws javax.xml.stream.XMLStreamException
- Throws:
javax.xml.stream.XMLStreamException
hasProperty
public boolean hasProperty(String propertyName)
getProperty
public String getProperty(String propertyName)
isMultiGet
public boolean isMultiGet()
getHrefs
public Set<String> getHrefs()
toString
public String toString()
- Overrides:
toString in class Object
getFolderPath
public String getFolderPath()
- Get request folder path.
- Returns:
- exchange folder path
getParentFolderPath
public String getParentFolderPath()
getFolderPath
public String getFolderPath(String subFolder)
- Get request folder path with subFolder.
- Parameters:
subFolder - sub folder path
- Returns:
- folder path
getFolderPath
protected String getFolderPath(int endIndex,
String subFolder)
Copyright © 2001-2013 MickaĆ«l Guessant. All Rights Reserved.