Package | Description |
---|---|
io.vertx.mysqlclient | |
io.vertx.reactivex.mysqlclient | |
io.vertx.rxjava.mysqlclient | |
io.vertx.rxjava3.mysqlclient |
Modifier and Type | Method and Description |
---|---|
MySQLAuthOptions |
MySQLAuthOptions.addProperty(String key,
String value)
Add a property for this client, which will be sent to server at the re-authentication.
|
MySQLAuthOptions |
MySQLAuthOptions.setCharset(String charset)
Set the charset for the connection.
|
MySQLAuthOptions |
MySQLAuthOptions.setCollation(String collation)
Set the collation for the connection.
|
MySQLAuthOptions |
MySQLAuthOptions.setDatabase(String database)
Specify the default database for the re-authentication.
|
MySQLAuthOptions |
MySQLAuthOptions.setPassword(String password)
Specify the user password to be used for the authentication.
|
MySQLAuthOptions |
MySQLAuthOptions.setProperties(Map<String,String> properties)
Set connection attributes which will be sent to server at the re-authentication.
|
MySQLAuthOptions |
MySQLAuthOptions.setServerRsaPublicKeyPath(String serverRsaPublicKeyPath)
Set the path of server RSA public key which is mostly used for encrypting password under insecure connections when performing authentication.
|
MySQLAuthOptions |
MySQLAuthOptions.setServerRsaPublicKeyValue(Buffer serverRsaPublicKeyValue)
Set the value of server RSA public key which is mostly used for encrypting password under insecure connections when performing authentication.
|
MySQLAuthOptions |
MySQLAuthOptions.setUser(String user)
Specify the user account to be used for the authentication.
|
Modifier and Type | Method and Description |
---|---|
Future<Void> |
MySQLConnection.changeUser(MySQLAuthOptions options)
Like
MySQLConnection.changeUser(MySQLAuthOptions, Handler) but returns a Future of the asynchronous result |
MySQLConnection |
MySQLConnection.changeUser(MySQLAuthOptions options,
Handler<AsyncResult<Void>> handler)
Send a CHANGE_USER command to change the user of the current connection, this operation will also reset connection state.
|
Constructor and Description |
---|
MySQLAuthOptions(MySQLAuthOptions other) |
Modifier and Type | Method and Description |
---|---|
MySQLConnection |
MySQLConnection.changeUser(MySQLAuthOptions options)
Send a CHANGE_USER command to change the user of the current connection, this operation will also reset connection state.
|
MySQLConnection |
MySQLConnection.changeUser(MySQLAuthOptions options,
Handler<AsyncResult<Void>> handler)
Send a CHANGE_USER command to change the user of the current connection, this operation will also reset connection state.
|
Completable |
MySQLConnection.rxChangeUser(MySQLAuthOptions options)
Send a CHANGE_USER command to change the user of the current connection, this operation will also reset connection state.
|
Modifier and Type | Method and Description |
---|---|
MySQLConnection |
MySQLConnection.changeUser(MySQLAuthOptions options)
Send a CHANGE_USER command to change the user of the current connection, this operation will also reset connection state.
|
MySQLConnection |
MySQLConnection.changeUser(MySQLAuthOptions options,
Handler<AsyncResult<Void>> handler)
Send a CHANGE_USER command to change the user of the current connection, this operation will also reset connection state.
|
Single<Void> |
MySQLConnection.rxChangeUser(MySQLAuthOptions options)
Send a CHANGE_USER command to change the user of the current connection, this operation will also reset connection state.
|
Modifier and Type | Method and Description |
---|---|
Completable |
MySQLConnection.changeUser(MySQLAuthOptions options)
Send a CHANGE_USER command to change the user of the current connection, this operation will also reset connection state.
|
Completable |
MySQLConnection.rxChangeUser(MySQLAuthOptions options)
Send a CHANGE_USER command to change the user of the current connection, this operation will also reset connection state.
|
Copyright © 2024 Eclipse. All rights reserved.