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