public class WFSServlet extends HttpServlet implements InterfaceContextAware
WFS Servlet。
This class inherits from HttpServlet, mainly used to receive the HTTP request of WFS service from the client side, and return the HTTP response to the client side.
Constructor and Description |
---|
WFSServlet() |
Modifier and Type | Method and Description |
---|---|
void |
init(ServletConfig config)
Initialization.
|
void |
service(HttpServletRequest request, HttpServletResponse response)
Responds to client requests.
|
void |
setInterfaceContext(InterfaceContext context)
Set the context of the WFS service interface.
|
public void init(ServletConfig config) throws ServletException
Initialization.
ServletException
public void service(HttpServletRequest request, HttpServletResponse response)
Responds to client requests.
request
- the HTTP request information of WFS service from the client side.response
- the server returns the HTTP response result to the client side.public void setInterfaceContext(InterfaceContext context)
Set the context of the WFS service interface.
setInterfaceContext
in interface InterfaceContextAware
contextWFS
- the context of the service interface.