public abstract class HttpHandler extends Object
JAX-WS运行时为此提供了实现,并在Endpoint.publish(HttpContext)
期间使用HttpContext.setHandler(HttpHandler)
进行设置
Constructor and Description |
---|
HttpHandler() |
public abstract void handle(HttpExchange exchange) throws IOException
exchange
- 交换包含来自客户端的请求并用于发送响应
IOException
- 请求处理期间发生I / O错误