From 64abe1e5a264ae6f86311be32e2ddb915e461241 Mon Sep 17 00:00:00 2001 From: Oleg Kalnichevski Date: Wed, 27 Feb 2008 20:51:28 +0000 Subject: [PATCH] Added javadocs git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@631721 13f79535-47bb-0310-9956-ffa450edef68 --- .../org/apache/http/conn/MultihomePlainSocketFactory.java | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/module-client/src/main/java/org/apache/http/conn/MultihomePlainSocketFactory.java b/module-client/src/main/java/org/apache/http/conn/MultihomePlainSocketFactory.java index dab1d2ccd..57b7b8c1f 100644 --- a/module-client/src/main/java/org/apache/http/conn/MultihomePlainSocketFactory.java +++ b/module-client/src/main/java/org/apache/http/conn/MultihomePlainSocketFactory.java @@ -43,6 +43,13 @@ import java.util.List; import org.apache.http.params.HttpConnectionParams; import org.apache.http.params.HttpParams; +/** + * Socket factory that implements a simple multi-home fail-over on connect failure, + * provided the same hostname resolves to multiple {@link InetAddress}es. Please note + * the {@link #connectSocket(Socket, String, int, InetAddress, int, HttpParams)} + * method cannot be reliably interrupted by closing the socket returned by the + * {@link #createSocket()} method. + */ public final class MultihomePlainSocketFactory implements SocketFactory { /**