|
The only pure Java Subversion library in the world!
|
|
Customizing network connections
For accessing a repository via the http:// (https:// ) protocol SVNKit uses the
IHTTPConnection interface. And IHTTPConnection objects are
provided by IHTTPConnectionFactory . Both these interfaces can be found
in the org.tmatesoft.svn.core.internal.io.dav package.
Using your custom implementations
To make SVNKit use your implementations of IHTTPConnection and
IHTTPConnectionFactory provide your factory implementation to
DAVRepositoryFactory when setting up the library for using
via the http:// protocol:
...
import org.tmatesoft.svn.core.internal.io.dav;
...
IHTTPConnectionFactory factory = new YourCustomHTTPConnectionFactory();
DAVRepositoryFactory.setup(factory);
SVNKit default implementations
When you call DAVRepositoryFactory.setup() , SVNKit takes into use a default
implementation of IHTTPConnectionFactory - IHTTPConnectionFactory.DEFAULT .
If you have any questions regarding SVNKit, would like to report a bug or contribute a patch, please write to
support@svnkit.com
|