📄 remoteservice.java
字号:
package com.easyjf.web.ajax;
import java.util.HashSet;
import java.util.Set;
public class RemoteService {
private String name;
private Class type;
private Set allowNames=new HashSet();
private Set denyNames=new HashSet();
public Set getAllowNames() {
return allowNames;
}
public void addAllowName(String name)
{
allowNames.add(name);
}
public void addDenyName(String name)
{
denyNames.add(name);
}
public void setAllowNames(Set allowMethods) {
this.allowNames = allowMethods;
}
public Set getDenyNames() {
return denyNames;
}
public void setDenyNames(Set denyMethods) {
this.denyNames = denyMethods;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public Class getType() {
return type;
}
public void setType(Class type) {
this.type = type;
}
public String toString()
{
return name+":"+type+"\n"+allowNames+"\n"+denyNames;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -