make http proxy port configurable in cxml, avoiding this: org.springframework.beans.NotWritablePropertyException: Invalid property 'httpProxyPort' of bean class [org.archive.modules.fetcher.FetchHTTP]: Bean property 'httpProxyPort' is not writable or has an invalid setter method. Did you mean 'httpProxyHost'?

This commit is contained in:
Noah Levitt
2014-01-22 16:01:21 -08:00
parent fafcc1e28b
commit c5c8788227
@@ -318,8 +318,8 @@ public class FetchHTTP extends Processor implements Lifecycle {
/**
* Proxy port (set only if needed).
*/
public void setHttpProxyPort(int port) {
kp.put("httpProxyPort",port);
public void setHttpProxyPort(Integer port) {
kp.put("httpProxyPort", port);
}
public String getHttpProxyUser() {