Class ProxyProtocolException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.apache.sshd.contrib.server.session.proxyprotocolv2.exception.ProxyProtocolException
-
- All Implemented Interfaces:
java.io.Serializable
public final class ProxyProtocolException extends java.lang.Exception
Blocking Exception that must block the connection.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private static int
MAX_FAMILY_CODE
static int
PROXY_PROTOCOL_VERSION_2
private static long
serialVersionUID
-
Constructor Summary
Constructors Modifier Constructor Description private
ProxyProtocolException(java.lang.String message)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ProxyProtocolException
buildFamilyAndTransport(org.slf4j.Logger log, org.apache.sshd.server.session.ServerSession session, byte value)
static ProxyProtocolException
buildVersionOrCommand(org.slf4j.Logger log, org.apache.sshd.server.session.ServerSession session, byte value)
-
-
-
Field Detail
-
PROXY_PROTOCOL_VERSION_2
public static final int PROXY_PROTOCOL_VERSION_2
- See Also:
- Constant Field Values
-
MAX_FAMILY_CODE
private static final int MAX_FAMILY_CODE
- See Also:
- Constant Field Values
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
-
Method Detail
-
buildVersionOrCommand
public static ProxyProtocolException buildVersionOrCommand(org.slf4j.Logger log, org.apache.sshd.server.session.ServerSession session, byte value)
-
buildFamilyAndTransport
public static ProxyProtocolException buildFamilyAndTransport(org.slf4j.Logger log, org.apache.sshd.server.session.ServerSession session, byte value)
-
-