git://wamblee.org
/
utils
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
(no commit message)
[utils]
/
crawler
/
basic
/
src
/
org
/
wamblee
/
crawler
/
PageRequest.java
diff --git
a/crawler/basic/src/org/wamblee/crawler/PageRequest.java
b/crawler/basic/src/org/wamblee/crawler/PageRequest.java
index 192f74e4587ecc714c174a92f45bbcf326439533..be729069864b1f5e581de8d49def2a3771e60a40 100644
(file)
--- a/
crawler/basic/src/org/wamblee/crawler/PageRequest.java
+++ b/
crawler/basic/src/org/wamblee/crawler/PageRequest.java
@@
-17,6
+17,7
@@
package org.wamblee.crawler;
import org.apache.commons.httpclient.HttpClient;
package org.wamblee.crawler;
import org.apache.commons.httpclient.HttpClient;
+import org.apache.commons.httpclient.NameValuePair;
import org.w3c.dom.Document;
/**
import org.w3c.dom.Document;
/**
@@
-27,11
+28,12
@@
public interface PageRequest {
/**
* Gets a page as an XML document.
* @param aUrl Url of the page.
/**
* Gets a page as an XML document.
* @param aUrl Url of the page.
+ * @param aParams Additional parameters to supply.
* @param aClient Http client to use.
* @return Client.
* @throws PageException In case of problems retrieving the page.
*/
* @param aClient Http client to use.
* @return Client.
* @throws PageException In case of problems retrieving the page.
*/
- Document execute(String aUrl, HttpClient aClient) throws PageException;
+ Document execute(String aUrl,
NameValuePair[] aParams,
HttpClient aClient) throws PageException;
/**
* Overrides the Xslt to use. This is used when the transformed page specifies
/**
* Overrides the Xslt to use. This is used when the transformed page specifies