public class NodesInfoResponse extends BaseNodesResponse<NodeInfo> implements ToXContent
TransportResponse.EmptyToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.ParamsnodesheadersEMPTY_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, iteratorremoteAddress, remoteAddresscontextSize, copyContextAndHeadersFrom, copyContextFrom, copyHeadersFrom, getContext, getFromContext, getFromContext, getHeader, getHeaders, hasHeader, hasInContext, isContextEmpty, putAllInContext, putHeader, putInContextpublic NodesInfoResponse()
public NodesInfoResponse(ClusterName clusterName, NodeInfo[] nodes)
public void readFrom(StreamInput in) throws IOException
readFrom in interface StreamablereadFrom in class BaseNodesResponse<NodeInfo>IOExceptionpublic void writeTo(StreamOutput out) throws IOException
writeTo in interface StreamablewriteTo in class BaseNodesResponse<NodeInfo>IOExceptionpublic XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws IOException
toXContent in interface ToXContentIOExceptionCopyright © 2009–2017. All rights reserved.