Top Description Fields Constructors Methods
com.mysql.cj.callback

public Class UsernameCallback

extends Object
implements MysqlCallback
Class Inheritance
All Implemented Interfaces
com.mysql.cj.callback.MysqlCallback

A callback that can be used to exchange username information to a callback handler owner.

Field Summary

Modifier and TypeField and Description
private String

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public String

Returns:

the username to pass over to the callback handler.
getUsername
()

Get the username provided by the caller of MysqlCallbackHandler#handle(MysqlCallback).

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

usernameback to summary
private String username

Constructor Detail

UsernameCallbackback to summary
public UsernameCallback(String username)

Method Detail

getUsernameback to summary
public String getUsername()

Get the username provided by the caller of MysqlCallbackHandler#handle(MysqlCallback).

Returns:String

the username to pass over to the callback handler.