Package one.nio.net
Class ProxyProtocol
- java.lang.Object
-
- one.nio.net.ProxyProtocol
-
public class ProxyProtocol extends Object
PROXY protocol handler for the server side. See http://www.haproxy.org/download/1.8/doc/proxy-protocol.txt
-
-
Constructor Summary
Constructors Constructor Description ProxyProtocol()
-
-
-
Method Detail
-
parse
public static InetSocketAddress parse(Socket socket, byte[] buffer) throws IOException
- Throws:
IOException
-
-