Class SendSslConnectionRequestPacket


  • public class SendSslConnectionRequestPacket
    extends java.lang.Object
    Used for starting ssl connections.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void send​(PacketOutputStream pos, long clientCapabilities, byte serverLanguage)
      Send SSL request packet.
      • Methods inherited from class java.lang.Object

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

      • SendSslConnectionRequestPacket

        public SendSslConnectionRequestPacket()
    • Method Detail

      • send

        public static void send​(PacketOutputStream pos,
                                long clientCapabilities,
                                byte serverLanguage)
                         throws java.io.IOException
        Send SSL request packet. See https://mariadb.com/kb/en/library/connection/#sslrequest-packet
        Parameters:
        pos - output stream
        clientCapabilities - client capabilities
        serverLanguage - connection charset
        Throws:
        java.io.IOException - if any connection error occur