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