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 DefaultDavClientnewInstance(String url)Create a new client instance.DefaultDavClientnewInstance(URL url)Create a new client instance.DavClientFactorywithFollowRedirects(boolean followRedirects)DavClientFactorywithPreemptiveAuth(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
-
-