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.
-
-
Constructor Summary
Constructors Constructor and Description ValidationNameServlet()
-
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
-
-