Class BooleanResponse
java.lang.Object
co.elastic.clients.transport.endpoints.BooleanResponse
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
-
Method Summary
-
Constructor Details
-
BooleanResponse
public BooleanResponse(boolean value)
-
-
Method Details
-
value
public boolean value()
-