We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
我想知道OnlineWebSessionManager重写的setAttribute方法起到了什么作用?
getOnlineSession的逻辑是:
getOnlineSession
而setAttribute里只是将这个新创建的s1的attributeChanged属性设置为了true,然后方法就返回了。
s1
attributeChanged
看起来对attribute修改的监听没有作用到真实的session对象上,而对一个只被该方法内的局部变量有引用的对象进行了操作。
The text was updated successfully, but these errors were encountered:
No branches or pull requests
我想知道OnlineWebSessionManager重写的setAttribute方法起到了什么作用?
getOnlineSession
的逻辑是:而setAttribute里只是将这个新创建的
s1
的attributeChanged
属性设置为了true,然后方法就返回了。看起来对attribute修改的监听没有作用到真实的session对象上,而对一个只被该方法内的局部变量有引用的对象进行了操作。
The text was updated successfully, but these errors were encountered: