You are viewing a plain text version of this content. The canonical link for it is here.
Posted to slide-dev@jakarta.apache.org by di...@apache.org on 2001/11/18 19:24:22 UTC
cvs commit: jakarta-slide/src/webdav/client/src/org/apache/webdav/lib WebdavSession.java
dirkv 01/11/18 10:24:22
Modified: src/webdav/client/src/org/apache/webdav/lib
WebdavSession.java
Log:
use the URL to start a session (https support)
Revision Changes Path
1.20 +5 -4 jakarta-slide/src/webdav/client/src/org/apache/webdav/lib/WebdavSession.java
Index: WebdavSession.java
===================================================================
RCS file: /home/cvs/jakarta-slide/src/webdav/client/src/org/apache/webdav/lib/WebdavSession.java,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -r1.19 -r1.20
--- WebdavSession.java 2001/08/25 14:29:00 1.19
+++ WebdavSession.java 2001/11/18 18:24:22 1.20
@@ -1,7 +1,7 @@
/*
- * $Header: /home/cvs/jakarta-slide/src/webdav/client/src/org/apache/webdav/lib/WebdavSession.java,v 1.19 2001/08/25 14:29:00 dirkv Exp $
- * $Revision: 1.19 $
- * $Date: 2001/08/25 14:29:00 $
+ * $Header: /home/cvs/jakarta-slide/src/webdav/client/src/org/apache/webdav/lib/WebdavSession.java,v 1.20 2001/11/18 18:24:22 dirkv Exp $
+ * $Revision: 1.20 $
+ * $Date: 2001/11/18 18:24:22 $
*
* ====================================================================
*
@@ -178,7 +178,8 @@
client.setDebug(debug);
// Set a state which allows lock tracking
client.setState(new WebdavState());
- client.startSession(httpURL.getHost(), httpURL.getPort());
+ client.startSession(httpURL.toURL());
+
String userName = httpURL.getUserName();
if (userName != null && userName.length() > 0) {
String password = httpURL.getPassword();
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>