Class HttpClient.HttpResp

  • Enclosing class:
    HttpClient

    public static class HttpClient.HttpResp
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      HttpResp​(int status, java.lang.String body)  
    • Method Summary

      Modifier and Type Method Description
      java.lang.String getBody()  
      int getStatus()  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • HttpResp

        public HttpResp​(int status,
                        java.lang.String body)
    • Method Detail

      • getStatus

        public int getStatus()
      • getBody

        public java.lang.String getBody()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object