java.lang.Object
org.apache.sshd.contrib.server.session.proxyprotocolv2.utils.ProxyUtils

public final class ProxyUtils extends Object
Proxy Utilities class
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    private
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static 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.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ProxyUtils

      private ProxyUtils()
  • Method Details

    • toHexString

      public static 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 from
      markPosition - the position from which to start.
      Returns:
      a hexadecimal string representation.