Package org.mariadb.jdbc.message.client
Class SslRequestPacket
- java.lang.Object
-
- org.mariadb.jdbc.message.client.SslRequestPacket
-
- All Implemented Interfaces:
ClientMessage
public final class SslRequestPacket extends java.lang.Object implements ClientMessage
-
-
Field Summary
Fields Modifier and Type Field Description private long
clientCapabilities
private byte
exchangeCharset
-
Constructor Summary
Constructors Modifier Constructor Description private
SslRequestPacket(long clientCapabilities, byte exchangeCharset)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SslRequestPacket
create(long clientCapabilities, byte exchangeCharset)
int
encode(PacketWriter writer, Context context)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.mariadb.jdbc.message.client.ClientMessage
batchUpdateLength, binaryProtocol, canSkipMeta, description, readPacket
-
-
-
-
Method Detail
-
create
public static SslRequestPacket create(long clientCapabilities, byte exchangeCharset)
-
encode
public int encode(PacketWriter writer, Context context) throws java.io.IOException
- Specified by:
encode
in interfaceClientMessage
- Throws:
java.io.IOException
-
-