public class ActionWriteResponse extends ActionResponse
Modifier and Type | Class and Description |
---|---|
static class |
ActionWriteResponse.ShardInfo |
TransportResponse.Empty
Modifier and Type | Field and Description |
---|---|
static ActionWriteResponse.ShardInfo.Failure[] |
EMPTY |
headers
Constructor and Description |
---|
ActionWriteResponse() |
Modifier and Type | Method and Description |
---|---|
ActionWriteResponse.ShardInfo |
getShardInfo() |
void |
readFrom(StreamInput in) |
void |
setShardInfo(ActionWriteResponse.ShardInfo shardInfo) |
void |
writeTo(StreamOutput out) |
remoteAddress, remoteAddress
contextSize, copyContextAndHeadersFrom, copyContextFrom, copyHeadersFrom, getContext, getFromContext, getFromContext, getHeader, getHeaders, hasHeader, hasInContext, isContextEmpty, putAllInContext, putHeader, putInContext
public static final ActionWriteResponse.ShardInfo.Failure[] EMPTY
public void readFrom(StreamInput in) throws IOException
readFrom
in interface Streamable
readFrom
in class ActionResponse
IOException
public void writeTo(StreamOutput out) throws IOException
writeTo
in interface Streamable
writeTo
in class ActionResponse
IOException
public ActionWriteResponse.ShardInfo getShardInfo()
public void setShardInfo(ActionWriteResponse.ShardInfo shardInfo)
Copyright © 2009–2017. All rights reserved.