com.supermap.services.wcs
Class WCSServlet
- java.lang.Object
-
- HttpServlet
-
- com.supermap.services.wcs.WCSServlet
-
- All Implemented Interfaces:
- InterfaceContextAware
public class WCSServlet extends HttpServlet implements InterfaceContextAware
WCS Servlet.
This class inherits from HttpServlet, mainly used to receive the HTTP request of WCS service from the client side, and return the HTTP response to the client side.
-
-
Constructor Summary
Constructors Constructor and Description WCSServlet()
-
Method Summary
Methods Modifier and Type Method and Description voidinit(ServletConfig config)Initialization.voidservice(HttpServletRequest request, HttpServletResponse response)Responds to client requests.voidsetInterfaceContext(InterfaceContext context)Set the context of the WCS service interface.
-
-
-
Method Detail
-
init
public void init(ServletConfig config) throws ServletExceptionInitialization.
- Throws:
ServletException
-
service
public void service(HttpServletRequest request, HttpServletResponse response)Responds to client requests.
- Parameters:
request- the HTTP request information of WCS 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 WCS service interface.
- Specified by:
setInterfaceContextin interfaceInterfaceContextAware- Parameters:
contextWCS- the context of the service interface.
-
-