Class RestClient.WatchResponse

  • Enclosing class:
    RestClient

    public static class RestClient.WatchResponse
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      WatchResponse​(java.net.http.HttpResponse<java.io.InputStream> response)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void disconnect()  
      int getCode()  
      java.lang.String nextLine()  
      • Methods inherited from class java.lang.Object

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

      • WatchResponse

        public WatchResponse​(java.net.http.HttpResponse<java.io.InputStream> response)
                      throws java.io.IOException
        Throws:
        java.io.IOException
    • Method Detail

      • getCode

        public int getCode()
      • nextLine

        public java.lang.String nextLine()
                                  throws java.io.IOException
        Throws:
        java.io.IOException
      • disconnect

        public void disconnect()
                        throws java.io.IOException
        Throws:
        java.io.IOException