com.supermap.services.wmts
Class WMTSServlet
- java.lang.Object
-
- HttpServlet
-
- com.supermap.services.wmts.WMTSServlet
-
- All Implemented Interfaces:
- InterfaceContextAware
public class WMTSServlet extends HttpServlet implements InterfaceContextAware
WMTS Servlet。
This class inherits from HttpServlet, mainly used to receive the HTTP request of WMTS service from the client side, and return the HTTP response to the client side.
-
-
Constructor Summary
Constructors Constructor and Description WMTSServlet()
-
Method Summary
Methods Modifier and Type Method and Description voiddestroy()Destroy objects.voidinit(ServletConfig config)Initialization.voidservice(HttpServletRequest httpServletRequest, HttpServletResponse response)Gets the specific request parameters from the request object request, generates the response content according to the request parameter and puts it into the response object.voidsetInterfaceContext(InterfaceContext context)Set the context of the service interface.
-
-
-
Method Detail
-
init
public void init(ServletConfig config) throws ServletExceptionInitialization.
- Throws:
ServletException
-
service
public final void service(HttpServletRequest httpServletRequest, HttpServletResponse response)Gets the specific request parameters from the request object request, generates the response content according to the request parameter and puts it into the response object.
- Parameters:
request- the HTTP request object of WMTS service from the client side.response- the HTTP request response result object from the server side.
-
setInterfaceContext
public void setInterfaceContext(InterfaceContext context)
Set the context of the service interface.
- Specified by:
setInterfaceContextin interfaceInterfaceContextAware- Parameters:
context- the context of the service interface.
-
destroy
public void destroy()
Destroy objects.
-
-