Class PutCalendar
- 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.http.client.methods.HttpPut
-
- net.fortuna.ical4j.connector.dav.method.AbstractPutMethod
-
- net.fortuna.ical4j.connector.dav.method.PutCalendar
-
- 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 PutCalendar extends AbstractPutMethod
$Id$ Created on 19/11/2008
-
-
Constructor Summary
Constructors Constructor Description PutCalendar(String uri)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
setCalendar(Calendar calendar)
-
Methods inherited from class net.fortuna.ical4j.connector.dav.method.AbstractPutMethod
setEtag, succeeded
-
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
-
-
-
-
Constructor Detail
-
PutCalendar
public PutCalendar(String uri)
- Parameters:
uri
- a calendar URI
-
-
Method Detail
-
setCalendar
public void setCalendar(Calendar calendar) throws IOException, ValidationException
- Parameters:
calendar
- a calendar object instance- Throws:
IOException
- where communication failsValidationException
- where the specified calendar is not valid
-
-