Author: batosai
Date: 2008-08-10 10:29:07 +0000 (Sun, 10 Aug 2008)
New Revision: 21702
Modified:
trunk/apps/WoT/src/plugins/WoT/IdentityFetcher.java
Log:
Specify the file we want to fetch.
Modified: trunk/apps/WoT/src/plugins/WoT/IdentityFetcher.java
===================================================================
--- trunk/apps/WoT/src/plugins/WoT/IdentityFetcher.java 2008-08-10 09:58:14 UTC
(rev 21701)
+++ trunk/apps/WoT/src/plugins/WoT/IdentityFetcher.java 2008-08-10 10:29:07 UTC
(rev 21702)
@@ -46,15 +46,16 @@
}
public void fetch(Identity identity) throws FetchException {
- FetchContext fetchContext = client.getFetchContext();
- fetchContext.maxSplitfileBlockRetries = -1; // retry
forever
- fetchContext.maxNonSplitfileRetries = -1; // retry
forever
- client.fetch(identity.getRequestURI(), -1, this, this,
fetchContext);
+
+ FetchContext fetchContext = client.getFetchContext();
+ fetchContext.maxSplitfileBlockRetries = -1; // retry forever
+ fetchContext.maxNonSplitfileRetries = -1; // retry forever
+ client.fetch(identity.getRequestURI().setMetaString(new String
[] {"identity.xml"}), -1, this, this, fetchContext);
}
@Override
public void onFailure(FetchException e, ClientGetter state) {
-
+
}
@Override