Streamable
, Writeable
CloseIndexResponse
, ClusterRerouteResponse
, ClusterUpdateSettingsResponse
, CreateIndexResponse
, DeleteIndexResponse
, DeleteIndexTemplateResponse
, DeleteRepositoryResponse
, DeleteSnapshotResponse
, DeleteStoredScriptResponse
, IndicesAliasesResponse
, OpenIndexResponse
, PutIndexTemplateResponse
, PutMappingResponse
, PutRepositoryResponse
, PutStoredScriptResponse
, UpdateSettingsResponse
, UpgradeSettingsResponse
, WritePipelineResponse
public abstract class AcknowledgedResponse extends ActionResponse
TransportResponse.Empty
Writeable.Reader<V>, Writeable.Writer<V>
Modifier | Constructor | Description |
---|---|---|
protected |
AcknowledgedResponse() |
|
protected |
AcknowledgedResponse(boolean acknowledged) |
Modifier and Type | Method | 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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
newWriteableReader
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