protected class I2PTunnelHTTPClientBase.OnTimeout extends Object implements I2PTunnelRunner.FailCallback
public OnTimeout(Socket s, OutputStream out, String target, boolean usingProxy, String wwwProxy, long id)
target
- the URI for an HTTP request, or the host name for CONNECTpublic OnTimeout(Socket s, OutputStream out, String target, boolean usingProxy, String wwwProxy, long id, String targetHost, boolean isSSL)
target
- the URI for an HTTP request, or the host name for CONNECTtargetHost
- if non-null, call noteProxyResult() with this as hostisSSL
- to pass to noteProxyResult(). FALSE for ConnectClient.public void onFail(Exception ex)
onFail
in interface I2PTunnelRunner.FailCallback
ex
- may be null