Class LicenseInfoResponse
- java.lang.Object
-
- org.elasticsearch.transport.TransportMessage
-
- org.elasticsearch.transport.TransportResponse
-
- org.elasticsearch.action.ActionResponse
-
- org.elasticsearch.action.support.nodes.BaseNodesResponse<LicenseInfoNodeResponse>
-
- com.floragunn.searchguard.action.licenseinfo.LicenseInfoResponse
-
- All Implemented Interfaces:
org.elasticsearch.common.io.stream.Writeable,org.elasticsearch.common.xcontent.ToXContent
public class LicenseInfoResponse extends org.elasticsearch.action.support.nodes.BaseNodesResponse<LicenseInfoNodeResponse> implements org.elasticsearch.common.xcontent.ToXContent
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.elasticsearch.transport.TransportResponse
org.elasticsearch.transport.TransportResponse.Empty
-
-
Constructor Summary
Constructors Constructor Description LicenseInfoResponse(org.elasticsearch.cluster.ClusterName clusterName, List<LicenseInfoNodeResponse> nodes, List<org.elasticsearch.action.FailedNodeException> failures)LicenseInfoResponse(org.elasticsearch.common.io.stream.StreamInput in)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<LicenseInfoNodeResponse>readNodesFrom(org.elasticsearch.common.io.stream.StreamInput in)StringtoString()org.elasticsearch.common.xcontent.XContentBuildertoXContent(org.elasticsearch.common.xcontent.XContentBuilder builder, org.elasticsearch.common.xcontent.ToXContent.Params params)voidwriteNodesTo(org.elasticsearch.common.io.stream.StreamOutput out, List<LicenseInfoNodeResponse> nodes)-
Methods inherited from class org.elasticsearch.action.support.nodes.BaseNodesResponse
failures, getClusterName, getNodes, getNodesMap, hasFailures, writeTo
-
Methods inherited from class org.elasticsearch.transport.TransportMessage
remoteAddress, remoteAddress
-
-
-
-
Constructor Detail
-
LicenseInfoResponse
public LicenseInfoResponse(org.elasticsearch.common.io.stream.StreamInput in) throws IOException- Throws:
IOException
-
LicenseInfoResponse
public LicenseInfoResponse(org.elasticsearch.cluster.ClusterName clusterName, List<LicenseInfoNodeResponse> nodes, List<org.elasticsearch.action.FailedNodeException> failures)
-
-
Method Detail
-
readNodesFrom
public List<LicenseInfoNodeResponse> readNodesFrom(org.elasticsearch.common.io.stream.StreamInput in) throws IOException
- Specified by:
readNodesFromin classorg.elasticsearch.action.support.nodes.BaseNodesResponse<LicenseInfoNodeResponse>- Throws:
IOException
-
writeNodesTo
public void writeNodesTo(org.elasticsearch.common.io.stream.StreamOutput out, List<LicenseInfoNodeResponse> nodes) throws IOException- Specified by:
writeNodesToin classorg.elasticsearch.action.support.nodes.BaseNodesResponse<LicenseInfoNodeResponse>- Throws:
IOException
-
toXContent
public org.elasticsearch.common.xcontent.XContentBuilder toXContent(org.elasticsearch.common.xcontent.XContentBuilder builder, org.elasticsearch.common.xcontent.ToXContent.Params params) throws IOException- Specified by:
toXContentin interfaceorg.elasticsearch.common.xcontent.ToXContent- Throws:
IOException
-
-