Class Response

  • java.lang.Object
    • io.milvus.client.Response

  • public class Response
    extends java.lang.Object
    Represents response of a client call. Contains a status and a message
    • Nested Class Summary

      Modifier and Type Class Description
      static class  Response.Status
      Represents server and client side status code
    • Method Summary

      Modifier and Type Method Description
      java.lang.String getMessage()  
      Response.Status getStatus()  
      boolean ok()  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

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

      • Response

        public Response​(Response.Status status,
                        java.lang.String message)
      • Response

        public Response​(Response.Status status)
    • Method Detail

      • getStatus

        public Response.Status getStatus()
      • getMessage

        public java.lang.String getMessage()
      • ok

        public boolean ok()
        true if status equals SUCCESS
      • toString

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