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 and Description |
|---|
ValidationNameServlet() |
| 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)
InterfaceContextAwareSet the context of the service interface.
setInterfaceContext in interface InterfaceContextAwarecontext - the context of the service interface.
public void doGet(HttpServletRequest request,
HttpServletResponse response)
throws java.io.IOException,
ServletException
java.io.IOExceptionServletException
public void doPost(HttpServletRequest request,
HttpServletResponse response)
throws java.io.IOException,
ServletException
java.io.IOExceptionServletException