Class EmptyAsyncHttpClientResponse

java.lang.Object
ru.tinkoff.kora.http.client.async.response.EmptyAsyncHttpClientResponse
All Implemented Interfaces:
Closeable, AutoCloseable, ru.tinkoff.kora.http.client.common.response.HttpClientResponse

public class EmptyAsyncHttpClientResponse 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

    Constructors
    Constructor
    Description
    EmptyAsyncHttpClientResponse(org.asynchttpclient.HttpResponseStatus responseStatus, io.netty.handler.codec.http.HttpHeaders headers)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    ru.tinkoff.kora.http.common.body.HttpBodyInput
     
    void
     
    int
     
    ru.tinkoff.kora.http.common.header.HttpHeaders
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • EmptyAsyncHttpClientResponse

      public EmptyAsyncHttpClientResponse(org.asynchttpclient.HttpResponseStatus responseStatus, io.netty.handler.codec.http.HttpHeaders headers)
  • Method Details

    • code

      public int code()
      Specified by:
      code in interface ru.tinkoff.kora.http.client.common.response.HttpClientResponse
    • headers

      public ru.tinkoff.kora.http.common.header.HttpHeaders headers()
      Specified by:
      headers in interface ru.tinkoff.kora.http.client.common.response.HttpClientResponse
    • body

      public ru.tinkoff.kora.http.common.body.HttpBodyInput body()
      Specified by:
      body in interface ru.tinkoff.kora.http.client.common.response.HttpClientResponse
    • close

      public void close()
      Specified by:
      close in interface AutoCloseable
      Specified by:
      close in interface Closeable
      Specified by:
      close in interface ru.tinkoff.kora.http.client.common.response.HttpClientResponse