Package co.elastic.clients.transport
Interface JsonEndpoint<RequestT,ResponseT,ErrorT>
- All Superinterfaces:
Endpoint<RequestT,ResponseT, ErrorT>
- All Known Implementing Classes:
DelegatingJsonEndpoint,EndpointWithResponseMapperAttr,SimpleEndpoint,SimpleJsonEndpoint
public interface JsonEndpoint<RequestT,ResponseT,ErrorT>
extends Endpoint<RequestT,ResponseT,ErrorT>
An endpoint with a JSON response body.
-
Method Summary
Modifier and TypeMethodDescriptionThe entity parser for the response body.Methods inherited from interface co.elastic.clients.transport.Endpoint
body, call, call, callAsync, callAsync, errorDeserializer, headers, id, isError, method, pathParameters, queryParameters, requestUrl, withBinaryResponse
-
Method Details
-
responseDeserializer
JsonpDeserializer<ResponseT> responseDeserializer()The entity parser for the response body.
-