Package net.fortuna.ical4j.connector.dav
Class DavClient
- java.lang.Object
-
- net.fortuna.ical4j.connector.dav.DavClient
-
public class DavClient extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected org.apache.http.HttpHosthostConfigurationThe HTTP client configuration.protected org.apache.http.client.HttpClienthttpClientThe underlying HTTP client.protected org.apache.http.client.protocol.HttpClientContexthttpClientContext
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<SupportedFeature>begin(String bearerAuth)List<SupportedFeature>begin(String username, char[] password)org.apache.http.HttpResponseexecute(org.apache.http.client.methods.HttpRequestBase method)org.apache.http.HttpResponseexecute(org.apache.http.HttpHost _hostConfiguration, org.apache.http.client.methods.HttpRequestBase method)List<SupportedFeature>getSupportedFeatures()
-
-
-
Field Detail
-
httpClient
protected org.apache.http.client.HttpClient httpClient
The underlying HTTP client.
-
httpClientContext
protected org.apache.http.client.protocol.HttpClientContext httpClientContext
-
hostConfiguration
protected org.apache.http.HttpHost hostConfiguration
The HTTP client configuration.
-
-
Method Detail
-
begin
public List<SupportedFeature> begin(String bearerAuth) throws IOException, FailedOperationException
- Throws:
IOExceptionFailedOperationException
-
begin
public List<SupportedFeature> begin(String username, char[] password) throws IOException, FailedOperationException
- Throws:
IOExceptionFailedOperationException
-
getSupportedFeatures
public List<SupportedFeature> getSupportedFeatures() throws IOException, FailedOperationException
- Throws:
IOExceptionFailedOperationException
-
execute
public org.apache.http.HttpResponse execute(org.apache.http.client.methods.HttpRequestBase method) throws IOException- Throws:
IOException
-
execute
public org.apache.http.HttpResponse execute(org.apache.http.HttpHost _hostConfiguration, org.apache.http.client.methods.HttpRequestBase method) throws IOException- Throws:
IOException
-
-