public static interface ReverseProxy.ProxyConnectionHandler
| Modifier and Type | Method and Description |
|---|---|
void |
handleConnection(java.io.InputStream clientIn,
java.io.OutputStream clientOut,
java.io.InputStream serverIn,
java.io.OutputStream serverOut,
java.net.InetSocketAddress clientLocalSocketAddress,
java.net.InetSocketAddress clientRemoteSocketAddress,
java.net.InetSocketAddress serverLocalSocketAddress,
java.net.InetSocketAddress serverRemoteSocketAddress,
Stoppable stoppable)
This method is invoked when the
ReverseProxy has accepted a connection from a client and created
the connection to the remote server. |
void handleConnection(@NotNull java.io.InputStream clientIn, @NotNull java.io.OutputStream clientOut, @NotNull java.io.InputStream serverIn, @NotNull java.io.OutputStream serverOut, @NotNull java.net.InetSocketAddress clientLocalSocketAddress, @NotNull java.net.InetSocketAddress clientRemoteSocketAddress, @NotNull java.net.InetSocketAddress serverLocalSocketAddress, @NotNull java.net.InetSocketAddress serverRemoteSocketAddress, @NotNull Stoppable stoppable) throws java.io.IOException
ReverseProxy has accepted a connection from a client and created
the connection to the remote server.clientIn - Stream from the clientclientOut - Stream to the clientserverIn - Stream from the serverserverOut - Stream to the serverclientLocalSocketAddress - Local address of the connection to the clientclientRemoteSocketAddress - Remote address of the connection to the clientserverLocalSocketAddress - Local address of the connection to the serverserverRemoteSocketAddress - Remote address of the connection to the serverstoppable - Stopping this shuts the reverse proxy downjava.io.IOException