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 and Description |
---|
WMTSServlet() |
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.
|
public void init(ServletConfig config) throws ServletException
Initialization.
ServletException
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.
request
- the HTTP request object of WMTS service from the client side.response
- the HTTP request response result object from the server side.public void setInterfaceContext(InterfaceContext context)
Set the context of the service interface.
setInterfaceContext
in interface InterfaceContextAware
context
- the context of the service interface.public void destroy()
Destroy objects.