Uses of Class
jdk.incubator.http.HttpResponse
-
Packages that use HttpResponse 软件包 描述 jdk.incubator.http 高级HTTP和WebSocket API -
-
Uses of HttpResponse in jdk.incubator.http
Methods in jdk.incubator.http that return HttpResponse Modifier and Type 方法 描述 HttpResponse<?>
WebSocketHandshakeException. getResponse()
返回服务器对应的开启握手。abstract <T> HttpResponse<T>
HttpClient. send(HttpRequest req, HttpResponse.BodyHandler<T> responseBodyHandler)
使用此客户端发送给定的请求,如有必要,阻止获取响应。Methods in jdk.incubator.http that return types with arguments of type HttpResponse Modifier and Type 方法 描述 Set<Map.Entry<HttpRequest,CompletableFuture<HttpResponse<V>>>>
MultiMapResult. entrySet()
CompletableFuture<HttpResponse<V>>
MultiMapResult. get(Object key)
CompletableFuture<HttpResponse<V>>
MultiMapResult. put(HttpRequest key, CompletableFuture<HttpResponse<V>> value)
CompletableFuture<HttpResponse<V>>
MultiMapResult. remove(Object key)
abstract <T> CompletableFuture<HttpResponse<T>>
HttpClient. sendAsync(HttpRequest req, HttpResponse.BodyHandler<T> responseBodyHandler)
使用此客户端和给定的响应处理程序异步发送给定的请求。Collection<CompletableFuture<HttpResponse<V>>>
MultiMapResult. values()
Methods in jdk.incubator.http with parameters of type HttpResponse Modifier and Type 方法 描述 void
HttpResponse.MultiProcessor. onResponse(HttpResponse<T> response)
呼叫收到的每个响应。Method parameters in jdk.incubator.http with type arguments of type HttpResponse Modifier and Type 方法 描述 CompletableFuture<HttpResponse<V>>
MultiMapResult. put(HttpRequest key, CompletableFuture<HttpResponse<V>> value)
void
MultiMapResult. putAll(Map<? extends HttpRequest,? extends CompletableFuture<HttpResponse<V>>> m)
Constructors in jdk.incubator.http with parameters of type HttpResponse Constructor 描述 WebSocketHandshakeException(HttpResponse<?> response)
-