Class DefaultHttpClientTelemetryResponseWrapper
java.lang.Object
ru.tinkoff.kora.http.client.common.telemetry.DefaultHttpClientTelemetryResponseWrapper
- All Implemented Interfaces:
Closeable,AutoCloseable,HttpClientResponse
-
Nested Class Summary
Nested classes/interfaces inherited from interface ru.tinkoff.kora.http.client.common.response.HttpClientResponse
HttpClientResponse.Default -
Constructor Summary
ConstructorsConstructorDescriptionDefaultHttpClientTelemetryResponseWrapper(HttpClientResponse delegate, ru.tinkoff.kora.http.common.body.HttpBodyInput wrappedBody) -
Method Summary
-
Constructor Details
-
DefaultHttpClientTelemetryResponseWrapper
public DefaultHttpClientTelemetryResponseWrapper(HttpClientResponse delegate, ru.tinkoff.kora.http.common.body.HttpBodyInput wrappedBody)
-
-
Method Details
-
code
public int code()- Specified by:
codein interfaceHttpClientResponse
-
headers
public ru.tinkoff.kora.http.common.header.HttpHeaders headers()- Specified by:
headersin interfaceHttpClientResponse
-
body
public ru.tinkoff.kora.http.common.body.HttpBodyInput body()- Specified by:
bodyin interfaceHttpClientResponse
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Specified by:
closein interfaceHttpClientResponse- Throws:
IOException
-
toString
-