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
HttpExchange
。当接收到传入请求时,容器调用此方法。
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.