Class ProxyProtocolException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.apache.sshd.contrib.server.session.proxyprotocolv2.exception.ProxyProtocolException
- All Implemented Interfaces:
Serializable
Blocking Exception that must block the connection.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final int
static final int
private static final long
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic 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) Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
PROXY_PROTOCOL_VERSION_2
public static final int PROXY_PROTOCOL_VERSION_2- See Also:
-
MAX_FAMILY_CODE
private static final int MAX_FAMILY_CODE- See Also:
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
-
Constructor Details
-
ProxyProtocolException
-
-
Method Details
-
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)
-