Streamable, Writeable, TaskAwareRequestpublic class SimulatePipelineRequest extends ActionRequest
| Modifier and Type | Class | Description |
|---|---|---|
static class |
SimulatePipelineRequest.Fields |
TransportRequest.EmptyWriteable.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.
|
getShouldStoreResultclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateTask, getDescription, setParentTaskremoteAddress, remoteAddressgetParentTask, 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 ActionRequestpublic 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
StreamablereadFrom in interface StreamablereadFrom in class ActionRequestjava.io.IOExceptionpublic void writeTo(StreamOutput out) throws java.io.IOException
StreamablewriteTo in interface StreamablewriteTo in interface WriteablewriteTo in class ActionRequestjava.io.IOException