Package | Description |
---|---|
java.net.http |
High level HTTP and WebSocket API
|
Modifier and Type | Method | Description |
---|---|---|
HttpResponse |
WebSocketHandshakeException.getResponse() |
Returns a HTTP response from the server.
|
abstract HttpResponse |
HttpRequest.response() |
Returns the response to this request, by sending it and blocking if
necessary to get the response.
|
Modifier and Type | Method | Description |
---|---|---|
BiFunction<HttpRequest,CompletableFuture<HttpResponse>,Boolean> |
HttpResponse.MultiProcessor.onStart(HttpRequest mainRequest,
CompletableFuture<HttpResponse> response) |
Called before or soon after a multi request is sent.
|
abstract CompletableFuture<HttpResponse> |
HttpRequest.responseAsync() |
Sends the request and returns the response asynchronously.
|
Modifier and Type | Method | Description |
---|---|---|
BiFunction<HttpRequest,CompletableFuture<HttpResponse>,Boolean> |
HttpResponse.MultiProcessor.onStart(HttpRequest mainRequest,
CompletableFuture<HttpResponse> response) |
Called before or soon after a multi request is sent.
|
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, 2016, Oracle and/or its affiliates. All rights reserved.
DRAFT 9-Ubuntu+0-9b144-1