Class SearchAccountResponse
- java.lang.Object
-
- org.elasticsearch.transport.TransportMessage
-
- org.elasticsearch.transport.TransportResponse
-
- org.elasticsearch.action.ActionResponse
-
- com.floragunn.signals.actions.account.search.SearchAccountResponse
-
- All Implemented Interfaces:
org.elasticsearch.common.io.stream.Writeable,org.elasticsearch.common.xcontent.StatusToXContentObject,org.elasticsearch.common.xcontent.ToXContent,org.elasticsearch.common.xcontent.ToXContentObject
public class SearchAccountResponse extends org.elasticsearch.action.ActionResponse implements org.elasticsearch.common.xcontent.StatusToXContentObject
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.elasticsearch.transport.TransportResponse
org.elasticsearch.transport.TransportResponse.Empty
-
-
Constructor Summary
Constructors Constructor Description SearchAccountResponse()SearchAccountResponse(org.elasticsearch.action.search.SearchResponse searchResponse)SearchAccountResponse(org.elasticsearch.common.io.stream.StreamInput in)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.elasticsearch.action.search.SearchResponsegetSearchResponse()org.elasticsearch.rest.RestStatusstatus()org.elasticsearch.common.xcontent.XContentBuildertoXContent(org.elasticsearch.common.xcontent.XContentBuilder builder, org.elasticsearch.common.xcontent.ToXContent.Params params)voidwriteTo(org.elasticsearch.common.io.stream.StreamOutput out)-
Methods inherited from class org.elasticsearch.transport.TransportMessage
remoteAddress, remoteAddress
-
-
-
-
Constructor Detail
-
SearchAccountResponse
public SearchAccountResponse()
-
SearchAccountResponse
public SearchAccountResponse(org.elasticsearch.action.search.SearchResponse searchResponse)
-
SearchAccountResponse
public SearchAccountResponse(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.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
-
getSearchResponse
public org.elasticsearch.action.search.SearchResponse getSearchResponse()
-
status
public org.elasticsearch.rest.RestStatus status()
- Specified by:
statusin interfaceorg.elasticsearch.common.xcontent.StatusToXContentObject
-
-