Uses of Interface
java.net.http.HttpResponse.PushPromiseHandler
-
Packages that use HttpResponse.PushPromiseHandler 软件包 描述 java.net.http HTTP客户端和WebSocket API -
-
Uses of HttpResponse.PushPromiseHandler in java.net.http
Methods in java.net.http that return HttpResponse.PushPromiseHandler 变量和类型 方法 描述 static <T> HttpResponse.PushPromiseHandler<T>
HttpResponse.PushPromiseHandler. of(Function<HttpRequest,HttpResponse.BodyHandler<T>> pushPromiseHandler, ConcurrentMap<HttpRequest,CompletableFuture<HttpResponse<T>>> pushPromisesMap)
返回推送承诺处理程序,它将推送承诺及其响应累积到给定的映射中。Methods in java.net.http with parameters of type HttpResponse.PushPromiseHandler 变量和类型 方法 描述 abstract <T> CompletableFuture<HttpResponse<T>>
HttpClient. sendAsync(HttpRequest request, HttpResponse.BodyHandler<T> responseBodyHandler, HttpResponse.PushPromiseHandler<T> pushPromiseHandler)
使用此客户端与给定的响应正文处理程序和推送承诺处理程序异步发送给定请求。
-