Class ProxyUtils
- java.lang.Object
-
- org.apache.sshd.contrib.server.session.proxyprotocolv2.utils.ProxyUtils
-
public final class ProxyUtils extends java.lang.Object
Proxy Utilities class
-
-
Constructor Summary
Constructors Modifier Constructor Description private
ProxyUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.String
toHexString(org.apache.sshd.common.util.buffer.Buffer buffer, int markPosition)
Create an hexadecimal string representation of the remaining content of a buffer and reset the buffer after reading.
-
-
-
Method Detail
-
toHexString
public static java.lang.String toHexString(org.apache.sshd.common.util.buffer.Buffer buffer, int markPosition)
Create an hexadecimal string representation of the remaining content of a buffer and reset the buffer after reading.- Parameters:
buffer
- a buffer to read frommarkPosition
- the position from which to start.- Returns:
- a hexadecimal string representation.
-
-