com.supermap.services.wps
Class WPSServlet
- java.lang.Object
-
- HttpServlet
-
- com.supermap.services.wps.WPSServlet
-
- All Implemented Interfaces:
- InterfaceContextAware
public class WPSServlet extends HttpServlet implements InterfaceContextAware
WPS Servlet.
This class inherits from HttpServlet, mainly used to receive the HTTP request of WPS service from the client side, and return the HTTP response to the client side.
-
-
Constructor Summary
Constructors Constructor and Description WPSServlet()
-
Method Summary
Methods Modifier and Type Method and Description voidinit()Initialization.voidservice(HttpServletRequest request, HttpServletResponse response)Responds to client requests.voidsetInterfaceContext(InterfaceContext context)Set the context of the WPS service interface.
-
-
-
Method Detail
-
init
public void init() throws ServletExceptionInitialization.
- Throws:
ServletException
-
service
public void service(HttpServletRequest request, HttpServletResponse response)Responds to client requests.
- Parameters:
request- the HTTP request information of WPS service from the client side.response- the server returns the HTTP response result to the client side.
-
setInterfaceContext
public void setInterfaceContext(InterfaceContext context)
Set the context of the WPS service interface.
- Specified by:
setInterfaceContextin interfaceInterfaceContextAware- Parameters:
context- the context of the WPS service interface.
-
-