Package 

Interface Response

  • All Implemented Interfaces:

    
    public interface Response
    
                        

    HTTP response.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract Integer getStatusCode() HTTP status code of the response.
      abstract String getReasonPhrase() HTTP status message of the response.
      abstract Iterable<Pair<String, String>> getHeaders() HTTP response headers, if any were delivered.
      abstract BufferedSource getBody() HTTP response data source, if available.
      abstract Iterable<Pair<String, String>> getTrailers() HTTP response trailers, if any were delivered.
      abstract Request getRequest() HTTP request after API rewrites and/or HTTP redirects.
      • Methods inherited from class kotlin.Any

        equals, hashCode, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait