Class BooleanEndpoint<RequestT>
java.lang.Object
co.elastic.clients.transport.endpoints.EndpointBase<RequestT,BooleanResponse>
co.elastic.clients.transport.endpoints.BooleanEndpoint<RequestT>
- All Implemented Interfaces:
Endpoint<RequestT,BooleanResponse, ErrorResponse>
-
Field Summary
Fields inherited from class co.elastic.clients.transport.endpoints.EndpointBase
hasRequestBody, headers, id, method, queryParameters, requestUrl -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class co.elastic.clients.transport.endpoints.EndpointBase
emptyMap, errorDeserializer, hasRequestBody, headers, id, method, noPathTemplateFound, pathEncode, queryParameters, requestUrl, withResponseDeserializer
-
Constructor Details
-
BooleanEndpoint
-
-
Method Details
-
isError
public boolean isError(int statusCode) Description copied from interface:EndpointIs this status code to be considered as an error?- Specified by:
isErrorin interfaceEndpoint<RequestT,BooleanResponse, ErrorResponse> - Overrides:
isErrorin classEndpointBase<RequestT,BooleanResponse>
-
getResult
public boolean getResult(int statusCode)
-