I also added a constructor that'll make creating fully initialized objects a lot easier as compared to calling a lot of setter methods.
我还添加了一个构造函数,与调用大量setter方法相比,这个构造函数可以更加轻松地创建完全初始化的对象。
I have taken the simplest and most expedient route and explicitly set the user ID and password using setter methods on the CallbackHandler.
我采用最简单最有利的方式,使用CallbackHandler上的setter方法显式地设置用户ID和密码。
It's not there because I didn't provide the name field with the getter and setter method.
它不在这里,因为我没有通过getter和setter方法提供name字段。
应用推荐