public class ClusterStateResponse extends ActionResponse
TransportResponse.Emptyheaders| 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, remoteAddresscontextSize, copyContextAndHeadersFrom, copyContextFrom, copyHeadersFrom, getContext, getFromContext, getFromContext, getHeader, getHeaders, hasHeader, hasInContext, isContextEmpty, putAllInContext, putHeader, putInContextpublic ClusterStateResponse()
public ClusterStateResponse(ClusterName clusterName, ClusterState clusterState)
public ClusterState getState()
public ClusterName getClusterName()
public void readFrom(StreamInput in) throws IOException
readFrom in interface StreamablereadFrom in class ActionResponseIOExceptionpublic void writeTo(StreamOutput out) throws IOException
writeTo in interface StreamablewriteTo in class ActionResponseIOExceptionCopyright © 2009–2017. All rights reserved.