public class ProxyProtocolV1V2Handler extends Object implements ProxyHandler
ProxyHandler both for PROXY
protocol V1 textual and V2 binary.ProxyHandler.ProxyResult| Modifier and Type | Field and Description |
|---|---|
static ProxyProtocolV1V2Handler |
INSTANCE
Standard instance
|
NOP| Constructor and Description |
|---|
ProxyProtocolV1V2Handler(ProxyProtocolV1Handler v1,
ProxyProtocolV2Handler v2) |
| Modifier and Type | Method and Description |
|---|---|
ProxyHandler.ProxyResult |
handle(InputStream in,
OutputStream out,
Session session) |
public static final ProxyProtocolV1V2Handler INSTANCE
public ProxyProtocolV1V2Handler(ProxyProtocolV1Handler v1, ProxyProtocolV2Handler v2)
public ProxyHandler.ProxyResult handle(InputStream in, OutputStream out, Session session) throws IOException
handle in interface ProxyHandlerIOExceptionCopyright © 2006–2024. All rights reserved.