Package org.opensearch.client.base
Class BooleanResponse
java.lang.Object
org.opensearch.client.base.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
Modifier and Type Method Description booleanvalue()
-
Constructor Details
-
BooleanResponse
public BooleanResponse(boolean value)
-
-
Method Details
-
value
public boolean value()
-