OpenSearch/client
Ryan Ernst fb77d8f461 Removed writeTo from TransportResponse and ActionResponse (#44092)
The base classes for transport requests and responses currently
implement Streamable and Writeable. The writeTo method on these base
classes is implemented with an empty implementation. Not only does this
complicate subclasses to think they need to call super.writeTo, but it
also can lead to not implementing writeTo when it should have been
implemented, or extendiong one of these classes when not necessary,
since there is nothing to actually implement.

This commit removes the empty writeTo from these base classes, and fixes
subclasses to not call super and in some cases implement an empty
writeTo themselves.

relates #34389
2019-07-10 12:42:04 -07:00
..
benchmark [Backport] Remove dependency substitutions 7.x (#42866) 2019-06-04 13:50:23 -07:00
client-benchmark-noop-api-plugin Rename Action to ActionType (#43778) 2019-06-30 22:00:17 -07:00
rest Fix version parsing in various tests (#42871) 2019-06-04 18:22:20 -04:00
rest-high-level Removed writeTo from TransportResponse and ActionResponse (#44092) 2019-07-10 12:42:04 -07:00
sniffer [Backport] Remove dependency substitutions 7.x (#42866) 2019-06-04 13:50:23 -07:00
test [Backport] Remove dependency substitutions 7.x (#42866) 2019-06-04 13:50:23 -07:00
transport [Backport] Remove dependency substitutions 7.x (#42866) 2019-06-04 13:50:23 -07:00