public abstract class AcknowledgedResponse extends ActionResponse
TransportResponse.Emptyheaders| Modifier | Constructor and Description |
|---|---|
protected |
AcknowledgedResponse() |
protected |
AcknowledgedResponse(boolean acknowledged) |
| Modifier and Type | Method and Description |
|---|---|
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, writeToremoteAddress, remoteAddresscontextSize, copyContextAndHeadersFrom, copyContextFrom, copyHeadersFrom, getContext, getFromContext, getFromContext, getHeader, getHeaders, hasHeader, hasInContext, isContextEmpty, putAllInContext, putHeader, putInContextprotected AcknowledgedResponse()
protected AcknowledgedResponse(boolean acknowledged)
public final boolean isAcknowledged()
protected void readAcknowledged(StreamInput in) throws IOException
IOExceptionprotected void writeAcknowledged(StreamOutput out) throws IOException
IOExceptionCopyright © 2009–2017. All rights reserved.