public class NodesInfoResponse extends BaseNodesResponse<NodeInfo> implements ToXContent
TransportResponse.Empty
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
nodes
headers
EMPTY_PARAMS
Constructor and Description |
---|
NodesInfoResponse() |
NodesInfoResponse(ClusterName clusterName,
NodeInfo[] nodes) |
Modifier and Type | Method and Description |
---|---|
void |
readFrom(StreamInput in) |
String |
toString() |
XContentBuilder |
toXContent(XContentBuilder builder,
ToXContent.Params params) |
void |
writeTo(StreamOutput out) |
failures, getAt, getClusterName, getClusterNameAsString, getNodes, getNodesMap, iterator
remoteAddress, remoteAddress
contextSize, copyContextAndHeadersFrom, copyContextFrom, copyHeadersFrom, getContext, getFromContext, getFromContext, getHeader, getHeaders, hasHeader, hasInContext, isContextEmpty, putAllInContext, putHeader, putInContext
public NodesInfoResponse()
public NodesInfoResponse(ClusterName clusterName, NodeInfo[] nodes)
public void readFrom(StreamInput in) throws IOException
readFrom
in interface Streamable
readFrom
in class BaseNodesResponse<NodeInfo>
IOException
public void writeTo(StreamOutput out) throws IOException
writeTo
in interface Streamable
writeTo
in class BaseNodesResponse<NodeInfo>
IOException
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws IOException
toXContent
in interface ToXContent
IOException
Copyright © 2009–2016. All rights reserved.