📄 is3ocoremodel.java
字号:
package net.s3o.core;
import java.io.IOException;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import net.s3o.core.method.ServerMethodCenter;
import net.s3o.core.method.ServerMethodProxyCenter;
import net.s3o.core.service.ServiceInvokerCenter;
import net.s3o.core.service.ServiceProxyCenter;
public interface IS3OCoreModel {
public boolean mainFunction(HttpServletRequest request, HttpServletResponse response) throws ServletException;
public boolean afterChain(HttpServletRequest request, HttpServletResponse response) throws ServletException;
public void setServerMethodRequestPrefix(String serverMethodRequestPrefix);
public void setServiceRequestPrefix(String serviceRequestPrefix);
public boolean isServiceRequest(HttpServletRequest request,
HttpServletResponse response);
public void invokeService(HttpServletRequest request,
HttpServletResponse response) throws IOException, ServletException;
public boolean isServerMethodRequest(HttpServletRequest request,
HttpServletResponse response);
public boolean invokeServerMethod(HttpServletRequest request,
HttpServletResponse response) throws IOException, ServletException;
public Object callRemoteServiceByName(String proxyName, Object arguments)
throws IOException, ServletException;
public Object callRemoteServiceByURL(String serviceURL, Object arguments)
throws IOException, ServletException;
public boolean callRemoteServerMethodByName(HttpServletRequest request,
HttpServletResponse response) throws IOException, ServletException;
public boolean callRemoteServerMethodByURL(HttpServletRequest request,
HttpServletResponse response) throws IOException, ServletException;
public void setServiceInvokerCenter(
ServiceInvokerCenter serviceInvokerCenter);
public void setServiceProxyCenter(ServiceProxyCenter serviceProxyCenter);
public void setServerMethodCenter(
ServerMethodCenter serverMethodInvokerCenter);
public void setServerMethodProxyCenter(
ServerMethodProxyCenter serverMethodProxyCenter);
public void setSystemKey(String s3oKey);
public String getSystemKey();
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -