public class WCSServlet extends HttpServlet implements InterfaceContextAware
WCS Servlet。
该类继承自 HttpServlet,主要用于接受客户端发送的有关 WCS 服务的 HTTP 请求,并将 HTTP 响应返回给客户端。
| 构造器和说明 |
|---|
WCSServlet() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
init(ServletConfig config)
初始化。
|
void |
service(HttpServletRequest request, HttpServletResponse response)
响应客户端请求。
|
void |
setInterfaceContext(InterfaceContext context)
设置 WCS 服务接口上下文。
|
public void init(ServletConfig config)
throws ServletException
初始化。
ServletException
public void service(HttpServletRequest request,
HttpServletResponse response)
响应客户端请求。
request客户端发送的有关 - WCS 服务的 HTTP 请求信息。response服务器端返回给客户端的 - HTTP 响应结果。public void setInterfaceContext(InterfaceContext context)
设置 WCS 服务接口上下文。
setInterfaceContext 在接口中 InterfaceContextAwarecontextWCS - 服务接口上下文。