public class SaveFileServlet extends HttpServlet implements InterfaceContextAware
文件保存服务。该服务会进行以下处理: (1) 从接受的客户端消息中,进行参数提取 (2) 根据参数中文件保存的类型,判断是进行模型文件的保存操作还是进行工程文件的保存操作 (3) 特定操作处理
构造器和说明 |
---|
SaveFileServlet() |
限定符和类型 | 方法和说明 |
---|---|
void |
doGet(HttpServletRequest request, HttpServletResponse response)
服务接受和处理
|
void |
doPost(HttpServletRequest request, HttpServletResponse response)
服务接受和处理
|
void |
setInterfaceContext(InterfaceContext context)
设置服务接口上下文。
|
public void setInterfaceContext(InterfaceContext context)
InterfaceContextAware
设置服务接口上下文。
setInterfaceContext
在接口中 InterfaceContextAware
context
- 服务接口上下文。public void doGet(HttpServletRequest request, HttpServletResponse response) throws java.io.IOException, ServletException
java.io.IOException
ServletException
public void doPost(HttpServletRequest request, HttpServletResponse response) throws java.io.IOException, ServletException
java.io.IOException
ServletException