Package org.elasticsearch.transport
Class TransportResponse
- java.lang.Object
-
- org.elasticsearch.transport.TransportMessage
-
- org.elasticsearch.transport.TransportResponse
-
- All Implemented Interfaces:
Streamable
,Writeable
- Direct Known Subclasses:
ActionResponse
,BaseNodeResponse
,BroadcastShardResponse
,LocalAllocateDangledIndices.AllocateDangledResponse
,RecoveryResponse
,SearchPhaseResult
,SearchTransportService.SearchFreeContextResponse
,SyncedFlushService.ShardSyncedFlushResponse
,TransportResponse.Empty
,TransportService.HandshakeResponse
public abstract class TransportResponse extends TransportMessage
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TransportResponse.Empty
-
Nested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V>
-
-
Constructor Summary
Constructors Constructor Description TransportResponse()
Constructs a new empty transport responseTransportResponse(StreamInput in)
Constructs a new transport response with the data from theStreamInput
.
-
Method Summary
-
Methods inherited from class org.elasticsearch.transport.TransportMessage
readFrom, remoteAddress, remoteAddress, writeTo
-
-
-
-
Constructor Detail
-
TransportResponse
public TransportResponse()
Constructs a new empty transport response
-
TransportResponse
public TransportResponse(StreamInput in) throws java.io.IOException
Constructs a new transport response with the data from theStreamInput
. This is currently a no-op. However, this exists to allow extenders to callsuper(in)
so that reading can mirror writing where we often callsuper.writeTo(out)
.- Throws:
java.io.IOException
-
-