Class BooleanResponse


  • public class BooleanResponse
    extends java.lang.Object
    An API response that has boolean value according to the HTTP status code. Typically status codes 1xx, 2xx and 3xx are "true" and 4xx is false.
    • Constructor Summary

      Constructors 
      Constructor Description
      BooleanResponse​(boolean value)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean value()  
      • Methods inherited from class java.lang.Object

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

      • BooleanResponse

        public BooleanResponse​(boolean value)
    • Method Detail

      • value

        public boolean value()