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
      void destroy()
      Destroy objects.
      void init(ServletConfig config)
      Initialization.
      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.
      void setInterfaceContext(InterfaceContext context)
      Set the context of the service interface.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • WMTSServlet

        public WMTSServlet()
        
    • Method Detail

      • init

        public void init(ServletConfig config)
                  throws ServletException
        

        Initialization.

        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.
      • destroy

        public void destroy()
        

        Destroy objects.