mirror of
https://github.com/internetarchive/heritrix3.git
synced 2026-09-25 07:05:49 +00:00
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:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user