Class GetMethod
- 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.HttpGet
-
- net.fortuna.ical4j.connector.dav.method.GetMethod
-
- 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.HttpMessage
,org.apache.http.HttpRequest
public class GetMethod extends org.apache.http.client.methods.HttpGet
$Id$ Created on 19/11/2008
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Calendar
getCalendar(org.apache.http.HttpResponse httpResponse)
-
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, clone, 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
-
GetMethod
public GetMethod()
-
GetMethod
public GetMethod(String uri)
- Parameters:
uri
- a calendar URI
-
-
Method Detail
-
getCalendar
public Calendar getCalendar(org.apache.http.HttpResponse httpResponse) throws IOException, ParserException
- Returns:
- a calendar object instance
- Throws:
IOException
- where a communication error occursParserException
- where calendar parsing fails
-
-