Is your feature request related to a problem?
Currently the call to client.cluster().state() returns a StateResponse, which is just a wrapper around JsonData. This means that there are no actual types in the response and I have to parse the json response on my own. This would make sense in a low level rest client, but feels out of place in this strongly typed high level java client.
What solution would you like?
Having properly formatted and typed response for cluster().state() calls.
What alternatives have you considered?
I am now parsing the json response on my own, which works but doesn't make much sense here.
Is your feature request related to a problem?
Currently the call to
client.cluster().state()returns aStateResponse, which is just a wrapper aroundJsonData. This means that there are no actual types in the response and I have to parse the json response on my own. This would make sense in a low level rest client, but feels out of place in this strongly typed high level java client.What solution would you like?
Having properly formatted and typed response for
cluster().state()calls.What alternatives have you considered?
I am now parsing the json response on my own, which works but doesn't make much sense here.