public class HttpTunnel.HttpTunnelConnection
extends java.lang.Object
implements java.lang.Runnable
| Modifier and Type | Field and Description |
|---|---|
protected java.net.Socket |
socket |
| Constructor and Description |
|---|
HttpTunnelConnection(java.net.Socket socket) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
onRequest(HttpRequest request)
Invoked after income connection is parsed.
|
protected void |
onResponse(HttpResponse response)
Invoked after target response is processed.
|
void |
run() |
protected void |
tunnel()
Performs the tunneling.
|
public void run()
run in interface java.lang.Runnableprotected void onRequest(HttpRequest request)
protected void onResponse(HttpResponse response)
protected void tunnel()
throws java.io.IOException
java.io.IOExceptionCopyright © 2003-present Jodd Team