Uses of Interface
jdk.incubator.http.HttpHeaders
-
Packages that use HttpHeaders 软件包 描述 jdk.incubator.http 高级HTTP和WebSocket API -
-
Uses of HttpHeaders in jdk.incubator.http
Methods in jdk.incubator.http that return HttpHeaders Modifier and Type 方法 描述 abstract HttpHeaders
HttpRequest. headers()
此请求(或将要)发送的(用户可访问的)请求标头。abstract HttpHeaders
HttpResponse. headers()
返回接收到的响应头。Methods in jdk.incubator.http that return types with arguments of type HttpHeaders Modifier and Type 方法 描述 abstract CompletableFuture<HttpHeaders>
HttpResponse. trailers()
返回接收到的响应预告片(如果有),当它们可用时。Methods in jdk.incubator.http with parameters of type HttpHeaders Modifier and Type 方法 描述 HttpResponse.BodyProcessor<T>
HttpResponse.BodyHandler. apply(int statusCode, HttpHeaders responseHeaders)
考虑到给定的响应状态代码和标题,返回一个BodyProcessor
。
-