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错误
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.