インタフェースjava.net.http.HttpResponse.ResponseInfoの
使用
パッケージ | 説明 |
---|---|
java.net.http |
HTTPクライアントおよびWebSocket API
|
-
java.net.httpでのHttpResponse.ResponseInfoの使用
型HttpResponse.ResponseInfoのパラメータを持つjava.net.httpのメソッド 修飾子と型 メソッド 説明 HttpResponse.BodySubscriber<T>
HttpResponse.BodyHandler. apply(HttpResponse.ResponseInfo responseInfo)
与えられたレスポンス・ステータス・コードとヘッダーを考慮してBodySubscriber
を返します。