com.supermap.geoprocessor.services

Class ValidationNameServlet

  • java.lang.Object
    • HttpServlet
      • com.supermap.geoprocessor.services.ValidationNameServlet
  • All Implemented Interfaces:
    InterfaceContextAware


    public class ValidationNameServlet
    extends HttpServlet
    implements InterfaceContextAware
    
     The service for verifying name. Below operations will be done:
     1. Extract parameters from the client messages
     2. According to the extracted parameter type, decide to validate by task name or by task group name.
     3. Specific process for validating the unique of the name submitted.
     
    
    • 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

      • ValidationNameServlet

        public ValidationNameServlet()
        
    • 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