Class BinaryEndpoint<RequestT>
java.lang.Object
co.elastic.clients.transport.endpoints.EndpointBase<RequestT,BinaryResponse>
co.elastic.clients.transport.endpoints.BinaryEndpoint<RequestT>
- All Implemented Interfaces:
Endpoint<RequestT,BinaryResponse, ErrorResponse>
-
Field Summary
Fields inherited from class co.elastic.clients.transport.endpoints.EndpointBase
hasRequestBody, headers, id, method, queryParameters, requestUrl -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanisError(int statusCode) Is this status code to be considered as an error?Methods inherited from class co.elastic.clients.transport.endpoints.EndpointBase
emptyMap, errorDeserializer, hasRequestBody, headers, id, method, noPathTemplateFound, pathEncode, queryParameters, requestUrl, withResponseDeserializerMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface co.elastic.clients.transport.Endpoint
withBinaryResponse
-
Constructor Details
-
BinaryEndpoint
-
-
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,BinaryResponse, ErrorResponse> - Overrides:
isErrorin classEndpointBase<RequestT,BinaryResponse>
-