public class ValidationNameServlet extends HttpServlet implements InterfaceContextAware
名称验证服务。会进行以下处理: (1) 从接受的客户端消息中,进行参数提取 (2) 根据提取的参数类型,判断是进行任务名称的验证还是进行任务组名称的验证操作 (3) 具体操作处理,主要是验证提交的名称是唯一的
| 构造器和说明 |
|---|
ValidationNameServlet() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
doGet(HttpServletRequest request, HttpServletResponse response)
服务接受和处理
|
void |
doPost(HttpServletRequest request, HttpServletResponse response)
服务接受和处理
|
void |
setInterfaceContext(InterfaceContext context)
设置服务接口上下文。
|
public void setInterfaceContext(InterfaceContext context)
InterfaceContextAware设置服务接口上下文。
setInterfaceContext 在接口中 InterfaceContextAwarecontext - 服务接口上下文。
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