Class TransportResponse

java.lang.Object
org.elasticsearch.transport.TransportMessage
org.elasticsearch.transport.TransportResponse
All Implemented Interfaces:
Writeable, RefCounted
Direct Known Subclasses:
ActionResponse, BaseNodeResponse, BroadcastShardResponse, CanMatchNodeResponse, LocalAllocateDangledIndices.AllocateDangledResponse, MasterFaultDetection.MasterPingResponseResponse, NodesFaultDetection.PingResponse, PeersResponse, PreVoteResponse, PublishWithJoinResponse, RecoveryResponse, SearchPhaseResult, SearchTransportService.SearchFreeContextResponse, SyncedFlushService.ShardSyncedFlushResponse, TransportResponse.Empty, TransportService.HandshakeResponse, UnicastZenPing.UnicastPingResponse

public abstract class TransportResponse extends TransportMessage
  • Constructor Details

    • TransportResponse

      public TransportResponse()
      Constructs a new empty transport response
    • TransportResponse

      public TransportResponse(StreamInput in) throws IOException
      Constructs a new transport response with the data from the StreamInput. This is currently a no-op. However, this exists to allow extenders to call super(in) so that reading can mirror writing where we often call super.writeTo(out).
      Throws:
      IOException