com.supermap.geoprocessor.services
Class SaveFileServlet
- java.lang.Object
-
- HttpServlet
-
- com.supermap.geoprocessor.services.SaveFileServlet
-
- All Implemented Interfaces:
- InterfaceContextAware
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 Summary
Constructors Constructor and Description SaveFileServlet()
-
Method Summary
Methods Modifier and Type Method and Description voiddoGet(HttpServletRequest request, HttpServletResponse response)Services receive and processvoiddoPost(HttpServletRequest request, HttpServletResponse response)Services receive and processvoidsetInterfaceContext(InterfaceContext context)Set the context of the service interface.
-
-
-
Method Detail
-
setInterfaceContext
public void setInterfaceContext(InterfaceContext context)
Description copied from interface:InterfaceContextAwareSet the context of the service interface.
- Specified by:
setInterfaceContextin interfaceInterfaceContextAware- Parameters:
context- the context of the service interface.
-
doGet
public void doGet(HttpServletRequest request, HttpServletResponse response) throws java.io.IOException, ServletExceptionServices receive and process- Throws:
java.io.IOExceptionServletException
-
doPost
public void doPost(HttpServletRequest request, HttpServletResponse response) throws java.io.IOException, ServletExceptionServices receive and process- Throws:
java.io.IOExceptionServletException
-
-