View Javadoc
1   package org.esigate.test.conn;
2   
3   import org.apache.http.HttpClientConnection;
4   import org.apache.http.conn.routing.HttpRoute;
5   import org.apache.http.protocol.HttpContext;
6   
7   /**
8    * A response handler with support for receiving connection information.
9    * 
10   * Can be used to test Http route behavior.
11   * 
12   * @author Nicolas Richeton
13   */
14  public interface IResponseHandler2 extends IResponseHandler {
15      public void connect(HttpClientConnection conn, HttpRoute route, int connectTimeout, HttpContext context);
16  }