Interface Response

  • All Implemented Interfaces:

    
    public interface 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 Request getRequest() The request for which the response is being returned.
      abstract String getUrl() The URL from which the response was returned.
      abstract int getStatus() The status code as returned in the HTTP response.
      abstract String getStatusText() The status text as returned in the HTTP response.
      abstract Map<String, String> getHeaders() The HTTP headers as returned by the server.
      abstract Array<byte> getBody() The body of the response.
      • Methods inherited from class java.lang.Object

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