protected class I2PTunnelHTTPClientBase.OnTimeout extends Object implements I2PTunnelRunner.FailCallback
Constructor and Description |
---|
I2PTunnelHTTPClientBase.OnTimeout(Socket s,
OutputStream out,
String target,
boolean usingProxy,
String wwwProxy,
long id) |
I2PTunnelHTTPClientBase.OnTimeout(Socket s,
OutputStream out,
String target,
boolean usingProxy,
String wwwProxy,
long id,
String targetHost,
boolean isSSL) |
public I2PTunnelHTTPClientBase.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 I2PTunnelHTTPClientBase.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