Top Description Constructors Methods
org.springframework.http.client.reactive

pack-priv Class HttpComponentsClientHttpResponse

extends AbstractClientHttpResponse
Class Inheritance
Imports
java.nio.ByteBuffer, org.apache.hc.client5.http.cookie.Cookie, org.apache.hc.client5.http.protocol.HttpClientContext, org.apache.hc.core5.http.HttpResponse, .Message, org.reactivestreams.Publisher, reactor.core.publisher.Flux, org.springframework.core.io.buffer.DataBufferFactory, org.springframework.http.HttpHeaders, .HttpStatusCode, .ResponseCookie, org.springframework.http.support.HttpComponentsHeadersAdapter, org.springframework.util.LinkedMultiValueMap, .MultiValueMap

ClientHttpResponse implementation for the Apache HttpComponents HttpClient 5.x.
Authors
Martin Tarjányi, Arjen Poutsma
Since
5.3
See Also
Apache HttpComponents

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
private static MultiValueMap<String, ResponseCookie>
private static long
Inherited from org.springframework.http.client.reactive.AbstractClientHttpResponse:
getBodygetCookiesgetHeadersgetStatusCode

Constructor Detail

HttpComponentsClientHttpResponseback to summary
public HttpComponentsClientHttpResponse(DataBufferFactory dataBufferFactory, Message<HttpResponse, Publisher<ByteBuffer>> message, HttpClientContext context)

Method Detail

adaptCookiesback to summary
private static MultiValueMap<String, ResponseCookie> adaptCookies(HttpClientContext context)
getMaxAgeSecondsback to summary
private static long getMaxAgeSeconds(Cookie cookie)