Streamable
, Writeable
, TaskAwareRequest
public class SimulatePipelineRequest extends ActionRequest
Modifier and Type | Class | Description |
---|---|---|
static class |
SimulatePipelineRequest.Fields |
TransportRequest.Empty
Writeable.Reader<V>, Writeable.Writer<V>
Constructor | Description |
---|---|
SimulatePipelineRequest(BytesReference source) |
Deprecated.
use
SimulatePipelineRequest(BytesReference, XContentType) that does not attempt content autodetection |
SimulatePipelineRequest(BytesReference source,
XContentType xContentType) |
Creates a new request with the given source and its content type
|
Modifier and Type | Method | Description |
---|---|---|
java.lang.String |
getId() |
|
BytesReference |
getSource() |
|
XContentType |
getXContentType() |
|
boolean |
isVerbose() |
|
void |
readFrom(StreamInput in) |
Set this object's fields from a StreamInput.
|
void |
setId(java.lang.String id) |
|
void |
setVerbose(boolean verbose) |
|
ActionRequestValidationException |
validate() |
|
void |
writeTo(StreamOutput out) |
Write this object's fields to a StreamOutput.
|
getShouldStoreResult
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createTask, getDescription, setParentTask
remoteAddress, remoteAddress
getParentTask, setParentTask
@Deprecated public SimulatePipelineRequest(BytesReference source)
SimulatePipelineRequest(BytesReference, XContentType)
that does not attempt content autodetectionpublic SimulatePipelineRequest(BytesReference source, XContentType xContentType)
public ActionRequestValidationException validate()
validate
in class ActionRequest
public java.lang.String getId()
public void setId(java.lang.String id)
public boolean isVerbose()
public void setVerbose(boolean verbose)
public BytesReference getSource()
public XContentType getXContentType()
public void readFrom(StreamInput in) throws java.io.IOException
Streamable
readFrom
in interface Streamable
readFrom
in class ActionRequest
java.io.IOException
public void writeTo(StreamOutput out) throws java.io.IOException
Streamable
writeTo
in interface Streamable
writeTo
in interface Writeable
writeTo
in class ActionRequest
java.io.IOException