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
      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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SaveFileServlet

        public SaveFileServlet()
        
    • Method Detail

      • doGet

        public void doGet(HttpServletRequest request,
                 HttpServletResponse response)
                   throws java.io.IOException,
                          ServletException
        
        Services receive and process
        Throws:
        java.io.IOException
        ServletException
      • doPost

        public void doPost(HttpServletRequest request,
                  HttpServletResponse response)
                    throws java.io.IOException,
                           ServletException
        
        Services receive and process
        Throws:
        java.io.IOException
        ServletException