public abstract class ActionRequest<T extends ActionRequest> extends TransportRequest
TransportRequest.Empty
headers
Modifier | Constructor and Description |
---|---|
|
ActionRequest() |
protected |
ActionRequest(ActionRequest request) |
Modifier and Type | Method and Description |
---|---|
void |
readFrom(StreamInput in) |
abstract ActionRequestValidationException |
validate() |
void |
writeTo(StreamOutput out) |
createTask, getDescription
remoteAddress, remoteAddress
contextSize, copyContextAndHeadersFrom, copyContextFrom, copyHeadersFrom, getContext, getFromContext, getFromContext, getHeader, getHeaders, hasHeader, hasInContext, isContextEmpty, putAllInContext, putHeader, putInContext
public ActionRequest()
protected ActionRequest(ActionRequest request)
public abstract ActionRequestValidationException validate()
public void readFrom(StreamInput in) throws IOException
readFrom
in interface Streamable
readFrom
in class TransportMessage<TransportRequest>
IOException
public void writeTo(StreamOutput out) throws IOException
writeTo
in interface Streamable
writeTo
in class TransportMessage<TransportRequest>
IOException
Copyright © 2009–2016. All rights reserved.