public abstract class AcknowledgedResponse extends ActionResponse
TransportResponse.Empty
Modifier | Constructor and Description |
---|---|
protected |
AcknowledgedResponse() |
protected |
AcknowledgedResponse(boolean acknowledged) |
Modifier and Type | Method and Description |
---|---|
protected void |
addAcknowledgedField(XContentBuilder builder) |
protected static <T extends AcknowledgedResponse> |
declareAcknowledgedField(ConstructingObjectParser<T,java.lang.Void> PARSER) |
boolean |
isAcknowledged()
Returns whether the response is acknowledged or not
|
protected void |
readAcknowledged(StreamInput in)
Reads the timeout value
|
protected void |
writeAcknowledged(StreamOutput out)
Writes the timeout value
|
readFrom, writeTo
remoteAddress, remoteAddress
protected AcknowledgedResponse()
protected AcknowledgedResponse(boolean acknowledged)
protected static <T extends AcknowledgedResponse> void declareAcknowledgedField(ConstructingObjectParser<T,java.lang.Void> PARSER)
public final boolean isAcknowledged()
protected void readAcknowledged(StreamInput in) throws java.io.IOException
java.io.IOException
protected void writeAcknowledged(StreamOutput out) throws java.io.IOException
java.io.IOException
protected void addAcknowledgedField(XContentBuilder builder) throws java.io.IOException
java.io.IOException