public class WPSServlet extends HttpServlet implements InterfaceContextAware
WPS Servlet.
This class inherits from HttpServlet, mainly used to receive the HTTP request of WPS service from the client side, and return the HTTP response to the client side.
Constructor and Description |
---|
WPSServlet() |
Modifier and Type | Method and Description |
---|---|
void |
init()
Initialization.
|
void |
service(HttpServletRequest request, HttpServletResponse response)
Responds to client requests.
|
void |
setInterfaceContext(InterfaceContext context)
Set the context of the WPS service interface.
|
public void init() throws ServletException
Initialization.
ServletException
public void service(HttpServletRequest request, HttpServletResponse response)
Responds to client requests.
request
- the HTTP request information of WPS 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 WPS service interface.
setInterfaceContext
in interface InterfaceContextAware
context
- the context of the WPS service interface.