public abstract class AcknowledgedResponse extends ActionResponse
TransportResponse.Empty
headers
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, writeTo
remoteAddress, remoteAddress
contextSize, copyContextAndHeadersFrom, copyContextFrom, copyHeadersFrom, getContext, getFromContext, getFromContext, getHeader, getHeaders, hasHeader, hasInContext, isContextEmpty, putAllInContext, putHeader, putInContext
protected AcknowledgedResponse()
protected AcknowledgedResponse(boolean acknowledged)
public final boolean isAcknowledged()
protected void readAcknowledged(StreamInput in) throws IOException
IOException
protected void writeAcknowledged(StreamOutput out) throws IOException
IOException
Copyright © 2009–2016. All rights reserved.