public class ProxyProtocolV2Handler extends Object implements ProxyHandler
ProxyHandler for PROXY
protocol V2 binary.| Modifier and Type | Class and Description |
|---|---|
static class |
ProxyProtocolV2Handler.Command |
static class |
ProxyProtocolV2Handler.Family |
static class |
ProxyProtocolV2Handler.Transport |
ProxyHandler.ProxyResult| Modifier and Type | Field and Description |
|---|---|
static ProxyProtocolV2Handler |
INSTANCE
Default thread safe instance with maximum data length size 2048.
|
NOP| Constructor and Description |
|---|
ProxyProtocolV2Handler(int maxDataLength) |
| Modifier and Type | Method and Description |
|---|---|
ProxyHandler.ProxyResult |
handle(InputStream in,
OutputStream out,
Session session) |
public static final ProxyProtocolV2Handler INSTANCE
public ProxyHandler.ProxyResult handle(InputStream in, OutputStream out, Session session) throws IOException
handle in interface ProxyHandlerIOExceptionCopyright © 2006–2024. All rights reserved.