📄 request.java
字号:
package com.tarena.exam.model;
import java.io.Serializable;
import java.util.Properties;
public class Request implements Serializable{
public static final int LOGIN_REQUEST=1;
public static final int BEGIN_REQUEST=2;
public static final int SEND_REQUEST=3;
public static final int QUIT_REQUEST=4;
private int type;
private Properties pro;
private static final long serialVersionUID=-371890756421779L;
public Request(int type){
this.type=type;
pro=new Properties();
}
public void addData(String key,String value){
pro.put(key,value);
}
public String getData(String key){
return pro.getProperty(key);
}
public int getType() {
return type;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -