public class SaveFileServlet extends HttpServlet implements InterfaceContextAware
The service for saving file. The service will execute the following operation: 1. Extract parameters from the client messages 2. According to the file saving types, decide to save as model file or as project file. 3. Special process
Constructor and Description |
---|
SaveFileServlet() |
Modifier and Type | Method and Description |
---|---|
void |
doGet(HttpServletRequest request, HttpServletResponse response)
Services receive and process
|
void |
doPost(HttpServletRequest request, HttpServletResponse response)
Services receive and process
|
void |
setInterfaceContext(InterfaceContext context)
Set the context of the service interface.
|
public void setInterfaceContext(InterfaceContext context)
InterfaceContextAware
Set the context of the service interface.
setInterfaceContext
in interface InterfaceContextAware
context
- the context of the service interface.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