Streamable, Writeable, ToXContent, ToXContentObjectpublic class ClusterRerouteResponse extends AcknowledgedResponse implements ToXContentObject
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.ParamsTransportResponse.EmptyWriteable.Reader<V>, Writeable.Writer<V>EMPTY_PARAMS| Modifier and Type | Method | Description |
|---|---|---|
protected void |
addCustomFields(XContentBuilder builder,
ToXContent.Params params) |
|
RoutingExplanations |
getExplanations() |
|
ClusterState |
getState() |
Returns the cluster state resulted from the cluster reroute request execution
|
void |
readFrom(StreamInput in) |
Set this object's fields from a StreamInput.
|
void |
writeTo(StreamOutput out) |
Write this object's fields to a StreamOutput.
|
declareAcknowledgedField, equals, hashCode, isAcknowledged, readAcknowledged, toXContent, writeAcknowledgedclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waittoXContentisFragmentremoteAddress, remoteAddresspublic ClusterState getState()
public RoutingExplanations getExplanations()
public void readFrom(StreamInput in) throws java.io.IOException
StreamablereadFrom in interface StreamablereadFrom in class ActionResponsejava.io.IOExceptionpublic void writeTo(StreamOutput out) throws java.io.IOException
StreamablewriteTo in interface StreamablewriteTo in interface WriteablewriteTo in class ActionResponsejava.io.IOExceptionprotected void addCustomFields(XContentBuilder builder, ToXContent.Params params) throws java.io.IOException
addCustomFields in class AcknowledgedResponsejava.io.IOException