Class GetWatchStateResponse
- java.lang.Object
-
- org.elasticsearch.transport.TransportMessage
-
- org.elasticsearch.transport.TransportResponse
-
- org.elasticsearch.action.ActionResponse
-
- com.floragunn.signals.actions.watch.state.get.GetWatchStateResponse
-
- All Implemented Interfaces:
org.elasticsearch.common.io.stream.Writeable,org.elasticsearch.common.xcontent.StatusToXContentObject,org.elasticsearch.core.RefCounted,org.elasticsearch.xcontent.ToXContent,org.elasticsearch.xcontent.ToXContentObject
public class GetWatchStateResponse extends org.elasticsearch.action.ActionResponse implements org.elasticsearch.common.xcontent.StatusToXContentObject
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.elasticsearch.action.ActionResponse
org.elasticsearch.action.ActionResponse.Empty
-
-
Constructor Summary
Constructors Constructor Description GetWatchStateResponse()GetWatchStateResponse(org.elasticsearch.common.io.stream.StreamInput in)GetWatchStateResponse(org.elasticsearch.rest.RestStatus restStatus, Map<String,org.elasticsearch.common.bytes.BytesReference> watchToStatusMap)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,org.elasticsearch.common.bytes.BytesReference>getWatchToStatusMap()org.elasticsearch.rest.RestStatusstatus()org.elasticsearch.xcontent.XContentBuildertoXContent(org.elasticsearch.xcontent.XContentBuilder builder, org.elasticsearch.xcontent.ToXContent.Params params)voidwriteTo(org.elasticsearch.common.io.stream.StreamOutput out)-
Methods inherited from class org.elasticsearch.transport.TransportMessage
decRef, hasReferences, incRef, remoteAddress, remoteAddress, tryIncRef
-
-
-
-
Constructor Detail
-
GetWatchStateResponse
public GetWatchStateResponse()
-
GetWatchStateResponse
public GetWatchStateResponse(org.elasticsearch.rest.RestStatus restStatus, Map<String,org.elasticsearch.common.bytes.BytesReference> watchToStatusMap)
-
GetWatchStateResponse
public GetWatchStateResponse(org.elasticsearch.common.io.stream.StreamInput in) throws IOException- Throws:
IOException
-
-
Method Detail
-
writeTo
public void writeTo(org.elasticsearch.common.io.stream.StreamOutput out) throws IOException- Specified by:
writeToin interfaceorg.elasticsearch.common.io.stream.Writeable- Throws:
IOException
-
toXContent
public org.elasticsearch.xcontent.XContentBuilder toXContent(org.elasticsearch.xcontent.XContentBuilder builder, org.elasticsearch.xcontent.ToXContent.Params params) throws IOException- Specified by:
toXContentin interfaceorg.elasticsearch.xcontent.ToXContent- Throws:
IOException
-
status
public org.elasticsearch.rest.RestStatus status()
- Specified by:
statusin interfaceorg.elasticsearch.common.xcontent.StatusToXContentObject
-
-