public interface HttpHandler
修飾子と型 | メソッドと説明 |
---|---|
void |
handle(HttpExchange exchange)
指定された要求を処理し、適切な応答を生成します。
|
void handle(HttpExchange exchange) throws IOException
HttpExchange
を参照してください。exchange
- クライアントからの要求を含み、応答を送信するために使用される交換NullPointerException
- exchange が null
の場合IOException
Copyright © 2005, 2013, Oracle and/or its affiliates. All rights reserved.