📄 s3oservermodel.java
字号:
package net.s3o.server;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import net.s3o.core.S3OCoreModel;
public class S3OServerModel extends S3OCoreModel {
public boolean mainFunction(HttpServletRequest request, HttpServletResponse response) throws ServletException {
boolean breakChain=false;
try {
if (isServiceRequest(request,response)){
invokeService(request, response);
breakChain=true;
}else if (isServerMethodRequest(request, response)){
invokeServerMethod(request,response);
breakChain=true;
}else{
}
}catch(Exception e){
throw new ServletException(e);
}
return breakChain;
}
public boolean afterChain(HttpServletRequest request, HttpServletResponse response) throws ServletException {
// TODO Auto-generated method stub
return false;
}
public void afterPropertiesSet() throws Exception {
// TODO Auto-generated method stub
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -