📄 abstractrequest.java
字号:
package com.croftsoft.apps.chat.request; import java.io.Serializable; import com.croftsoft.core.lang.NullArgumentException; import com.croftsoft.core.security.Authentication; /********************************************************************* * An abstract user request to the Server. * * @version * 2003-06-20 * @since * 2003-06-06 * @author * <a href="http://www.croftsoft.com/">David Wallace Croft</a> *********************************************************************/ public abstract class AbstractRequest implements Request ////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////// { private static final long serialVersionUID = 0L; // protected final Authentication authentication; ////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////// public AbstractRequest ( Authentication authentication ) ////////////////////////////////////////////////////////////////////// { NullArgumentException.check ( this.authentication = authentication ); } ////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////// public Authentication getAuthentication ( ) ////////////////////////////////////////////////////////////////////// { return authentication; } ////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////// }
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -