Class PutMethod
- 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.PutMethod
-
- 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 PutMethod extends org.apache.http.client.methods.HttpPut$Id$ Created on 19/11/2008
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidsetCalendar(Calendar calendar)voidsetVCard(net.fortuna.ical4j.vcard.VCard card)-
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
-
PutMethod
public PutMethod(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
-
setVCard
public void setVCard(net.fortuna.ical4j.vcard.VCard card) throws IOException, ValidationException- Throws:
IOExceptionValidationException
-
-