public class PutPipelineRequest extends AcknowledgedRequest<PutPipelineRequest>
TransportRequest.EmptyDEFAULT_ACK_TIMEOUT, timeoutDEFAULT_MASTER_NODE_TIMEOUT, masterNodeTimeout| Constructor and Description |
|---|
PutPipelineRequest(java.lang.String id,
BytesReference source)
Deprecated.
use
PutPipelineRequest(String, BytesReference, XContentType) to avoid content type auto-detection |
PutPipelineRequest(java.lang.String id,
BytesReference source,
XContentType xContentType)
Create a new pipeline request with the id and source along with the content type of the source
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getId() |
BytesReference |
getSource() |
XContentType |
getXContentType() |
void |
readFrom(StreamInput in)
Set this object's fields from a StreamInput.
|
ActionRequestValidationException |
validate() |
void |
writeTo(StreamOutput out)
Write this object's fields to a StreamOutput.
|
ackTimeout, timeout, timeout, timeoutmasterNodeTimeout, masterNodeTimeout, masterNodeTimeoutgetShouldStoreResultgetParentTask, setParentTaskremoteAddress, remoteAddressclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitmasterNodeTimeoutcreateTask, getDescription, setParentTask@Deprecated
public PutPipelineRequest(java.lang.String id,
BytesReference source)
PutPipelineRequest(String, BytesReference, XContentType) to avoid content type auto-detectionpublic PutPipelineRequest(java.lang.String id,
BytesReference source,
XContentType xContentType)
public ActionRequestValidationException validate()
validate in class ActionRequestpublic java.lang.String getId()
public BytesReference getSource()
public XContentType getXContentType()
public void readFrom(StreamInput in) throws java.io.IOException
StreamablereadFrom in interface StreamablereadFrom in class AcknowledgedRequest<PutPipelineRequest>java.io.IOExceptionpublic void writeTo(StreamOutput out) throws java.io.IOException
StreamablewriteTo in interface StreamablewriteTo in class AcknowledgedRequest<PutPipelineRequest>java.io.IOException