Package net.fortuna.ical4j.connector.dav
Class DavClientFactory
- java.lang.Object
-
- net.fortuna.ical4j.connector.dav.DavClientFactory
-
public class DavClientFactory extends Object
-
-
Constructor Summary
Constructors Constructor Description DavClientFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DefaultDavClient
newInstance(String url)
Create a new client instance.DefaultDavClient
newInstance(URL url)
Create a new client instance.DavClientFactory
withFollowRedirects(boolean followRedirects)
DavClientFactory
withPreemptiveAuth(boolean preemptiveAuth)
-
-
-
Method Detail
-
withPreemptiveAuth
public DavClientFactory withPreemptiveAuth(boolean preemptiveAuth)
-
withFollowRedirects
public DavClientFactory withFollowRedirects(boolean followRedirects)
-
newInstance
public DefaultDavClient newInstance(URL url)
Create a new client instance. Note that if a path is specified it should include a trailing forward slash.- Parameters:
url
- the URL of the DAV repository- Returns:
- a new client instance
-
newInstance
public DefaultDavClient newInstance(String url) throws MalformedURLException
Create a new client instance. Note that if a path is specified it should include a trailing forward slash.- Parameters:
url
- the URL of the DAV repository- Returns:
- a new client instance
- Throws:
MalformedURLException
-
-