Class StreamingAsyncHttpClientResponse
java.lang.Object
ru.tinkoff.kora.http.client.async.response.StreamingAsyncHttpClientResponse
- All Implemented Interfaces:
Closeable,AutoCloseable,ru.tinkoff.kora.http.client.common.response.HttpClientResponse
public class StreamingAsyncHttpClientResponse
extends Object
implements ru.tinkoff.kora.http.client.common.response.HttpClientResponse
-
Nested Class Summary
Nested classes/interfaces inherited from interface ru.tinkoff.kora.http.client.common.response.HttpClientResponse
ru.tinkoff.kora.http.client.common.response.HttpClientResponse.Default -
Constructor Summary
ConstructorsConstructorDescriptionStreamingAsyncHttpClientResponse(org.asynchttpclient.HttpResponseStatus responseStatus, io.netty.handler.codec.http.HttpHeaders headers, Flow.Publisher<ByteBuffer> body) -
Method Summary
-
Constructor Details
-
StreamingAsyncHttpClientResponse
public StreamingAsyncHttpClientResponse(org.asynchttpclient.HttpResponseStatus responseStatus, io.netty.handler.codec.http.HttpHeaders headers, Flow.Publisher<ByteBuffer> body)
-
-
Method Details
-
code
public int code()- Specified by:
codein interfaceru.tinkoff.kora.http.client.common.response.HttpClientResponse
-
headers
public ru.tinkoff.kora.http.common.header.HttpHeaders headers()- Specified by:
headersin interfaceru.tinkoff.kora.http.client.common.response.HttpClientResponse
-
body
public ru.tinkoff.kora.http.common.body.HttpBodyInput body()- Specified by:
bodyin interfaceru.tinkoff.kora.http.client.common.response.HttpClientResponse
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Specified by:
closein interfaceru.tinkoff.kora.http.client.common.response.HttpClientResponse- Throws:
IOException
-