Class ReportMethod
- java.lang.Object
-
- org.apache.http.message.AbstractHttpMessage
-
- org.apache.http.client.methods.AbstractExecutionAwareRequest
-
- org.apache.http.client.methods.HttpRequestBase
-
- org.apache.http.client.methods.HttpEntityEnclosingRequestBase
-
- org.apache.jackrabbit.webdav.client.methods.BaseDavRequest
-
- org.apache.jackrabbit.webdav.client.methods.HttpReport
-
- net.fortuna.ical4j.connector.dav.method.ReportMethod
-
- All Implemented Interfaces:
Cloneable,org.apache.http.client.methods.AbortableHttpRequest,org.apache.http.client.methods.Configurable,org.apache.http.client.methods.HttpExecutionAware,org.apache.http.client.methods.HttpUriRequest,org.apache.http.HttpEntityEnclosingRequest,org.apache.http.HttpMessage,org.apache.http.HttpRequest
public class ReportMethod extends org.apache.jackrabbit.webdav.client.methods.HttpReport$Id$ Created on: 07/01/2009
-
-
Field Summary
Fields Modifier and Type Field Description static org.apache.jackrabbit.webdav.version.report.ReportTypeADDRESSBOOK_QUERYstatic org.apache.jackrabbit.webdav.version.report.ReportTypeCALENDAR_QUERYstatic org.apache.jackrabbit.webdav.version.report.ReportTypeFREEBUSY_QUERY
-
Constructor Summary
Constructors Constructor Description ReportMethod(String uri, org.apache.jackrabbit.webdav.version.report.ReportInfo reportInfo)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Calendar[]getCalendars(org.apache.http.HttpResponse httpResponse)net.fortuna.ical4j.vcard.VCard[]getVCards(org.apache.http.HttpResponse httpResponse)-
Methods inherited from class org.apache.jackrabbit.webdav.client.methods.HttpReport
getMethod, succeeded
-
Methods inherited from class org.apache.jackrabbit.webdav.client.methods.BaseDavRequest
checkSuccess, getResponseBodyAsDocument, getResponseBodyAsEventDiscovery, getResponseBodyAsLockDiscovery, getResponseBodyAsMultiStatus, getResponseBodyAsSubscriptionDiscovery, getResponseException
-
Methods inherited from class org.apache.http.client.methods.HttpEntityEnclosingRequestBase
clone, expectContinue, getEntity, setEntity
-
Methods inherited from class org.apache.http.client.methods.HttpRequestBase
getConfig, getProtocolVersion, getRequestLine, getURI, releaseConnection, setConfig, setProtocolVersion, setURI, started, toString
-
Methods inherited from class org.apache.http.client.methods.AbstractExecutionAwareRequest
abort, completed, isAborted, reset, setCancellable, setConnectionRequest, setReleaseTrigger
-
Methods inherited from class org.apache.http.message.AbstractHttpMessage
addHeader, addHeader, containsHeader, getAllHeaders, getFirstHeader, getHeaders, getLastHeader, getParams, headerIterator, headerIterator, removeHeader, removeHeaders, setHeader, setHeader, setHeaders, setParams
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
CALENDAR_QUERY
public static final org.apache.jackrabbit.webdav.version.report.ReportType CALENDAR_QUERY
-
FREEBUSY_QUERY
public static final org.apache.jackrabbit.webdav.version.report.ReportType FREEBUSY_QUERY
-
ADDRESSBOOK_QUERY
public static final org.apache.jackrabbit.webdav.version.report.ReportType ADDRESSBOOK_QUERY
-
-
Constructor Detail
-
ReportMethod
public ReportMethod(String uri, org.apache.jackrabbit.webdav.version.report.ReportInfo reportInfo) throws IOException
- Parameters:
uri- a calendar collection URIreportInfo- report configuration- Throws:
IOException- where communication fails
-
-
Method Detail
-
getCalendars
public Calendar[] getCalendars(org.apache.http.HttpResponse httpResponse) throws IOException, org.apache.jackrabbit.webdav.DavException, DOMException, ParserException
- Returns:
- an array of calendar objects
- Throws:
IOException- where communication failsorg.apache.jackrabbit.webdav.DavException- where the DAV method failsDOMException- where XML parsing failsParserException- where calendar parsing fails
-
getVCards
public net.fortuna.ical4j.vcard.VCard[] getVCards(org.apache.http.HttpResponse httpResponse) throws IOException, org.apache.jackrabbit.webdav.DavException, DOMException- Throws:
IOExceptionorg.apache.jackrabbit.webdav.DavExceptionDOMException
-
-