public class ClusterStateResponse extends ActionResponse
TransportResponse.Empty
headers
Constructor and Description |
---|
ClusterStateResponse() |
ClusterStateResponse(ClusterName clusterName,
ClusterState clusterState) |
Modifier and Type | Method and Description |
---|---|
ClusterName |
getClusterName() |
ClusterState |
getState() |
void |
readFrom(StreamInput in) |
void |
writeTo(StreamOutput out) |
remoteAddress, remoteAddress
contextSize, copyContextAndHeadersFrom, copyContextFrom, copyHeadersFrom, getContext, getFromContext, getFromContext, getHeader, getHeaders, hasHeader, hasInContext, isContextEmpty, putAllInContext, putHeader, putInContext
public ClusterStateResponse()
public ClusterStateResponse(ClusterName clusterName, ClusterState clusterState)
public ClusterState getState()
public ClusterName getClusterName()
public void readFrom(StreamInput in) throws IOException
readFrom
in interface Streamable
readFrom
in class ActionResponse
IOException
public void writeTo(StreamOutput out) throws IOException
writeTo
in interface Streamable
writeTo
in class ActionResponse
IOException
Copyright © 2009–2016. All rights reserved.