public class GetListServlet extends HttpServlet implements InterfaceContextAware
Gets list service. The operations are as follows: 1. Gets geoprocess list 2. Gets model list 3. Groups geoprocess list and model list, and return.
Constructor and Description |
---|
GetListServlet() |
Modifier and Type | Method and Description |
---|---|
void |
doGet(HttpServletRequest request, HttpServletResponse response)
Service receiving and processing
|
void |
doPost(HttpServletRequest request, HttpServletResponse response)
Service receiving and processing
|
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