java.lang.Object
org.elasticsearch.transport.TransportMessage
org.elasticsearch.transport.TransportResponse
org.elasticsearch.action.ActionResponse
org.elasticsearch.action.ActionResponse.Empty
- All Implemented Interfaces:
Writeable,RefCounted
- Enclosing class:
ActionResponse
A response with no payload. This is deliberately not an implementation of
ToXContent or similar because an empty response
has no valid XContent representation. Use EmptyResponseListener to convert this to a valid (plain-text) REST
response instead.-
Nested Class Summary
Nested classes/interfaces inherited from class org.elasticsearch.action.ActionResponse
ActionResponse.EmptyNested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V> -
Field Summary
FieldsFields inherited from interface org.elasticsearch.core.RefCounted
ALWAYS_REFERENCED -
Method Summary
Modifier and TypeMethodDescriptiontoString()voidwriteTo(StreamOutput out) Write this into the StreamOutput.Methods inherited from class org.elasticsearch.transport.TransportMessage
decRef, hasReferences, incRef, tryIncRefMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.elasticsearch.core.RefCounted
mustIncRef
-
Field Details
-
INSTANCE
-
-
Method Details
-
toString
-
writeTo
Description copied from interface:WriteableWrite this into the StreamOutput.
-