commit | 467e59105152e34a80462bccc10e73e299010d59 | [log] [tgz] |
---|---|---|
author | Sebastian Nagel <snagel@apache.org> | Tue Sep 21 20:23:02 2021 +0200 |
committer | Sebastian Nagel <snagel@apache.org> | Mon Jun 13 15:36:23 2022 +0200 |
tree | bb2915042fce6b1c09257465631d799b0258a5bc | |
parent | af44bcb6f28c8825641b9ff18a516aad8d79de61 [diff] |
NUTCH-2896 Protocol-okhttp: make connection pool configurable - fix javadoc error
diff --git a/src/plugin/protocol-okhttp/src/java/org/apache/nutch/protocol/okhttp/OkHttp.java b/src/plugin/protocol-okhttp/src/java/org/apache/nutch/protocol/okhttp/OkHttp.java index 09eb1a5..9fbcda7 100644 --- a/src/plugin/protocol-okhttp/src/java/org/apache/nutch/protocol/okhttp/OkHttp.java +++ b/src/plugin/protocol-okhttp/src/java/org/apache/nutch/protocol/okhttp/OkHttp.java
@@ -365,7 +365,13 @@ return this.customRequestHeaders; } - /** Distribute hosts over clients by host name */ + /** + * Distribute hosts over clients by host name + * + * @param url + * URL to fetch + * @return client responsible to fetch the given URL + */ protected OkHttpClient getClient(URL url) { if (this.clients.length == 1) { return this.clients[0];