Class SimulatePipelineRequest

All Implemented Interfaces:
Writeable, org.elasticsearch.common.xcontent.ToXContent, org.elasticsearch.common.xcontent.ToXContentObject, org.elasticsearch.core.RefCounted, TaskAwareRequest

public class SimulatePipelineRequest extends ActionRequest implements org.elasticsearch.common.xcontent.ToXContentObject
  • Constructor Details

    • SimulatePipelineRequest

      public SimulatePipelineRequest(BytesReference source, org.elasticsearch.common.xcontent.XContentType xContentType)
      Creates a new request with the given source and its content type
  • Method Details

    • validate

      Specified by:
      validate in class ActionRequest
    • getId

      public String getId()
    • setId

      public void setId(String id)
    • isVerbose

      public boolean isVerbose()
    • setVerbose

      public void setVerbose(boolean verbose)
    • getSource

      public BytesReference getSource()
    • getXContentType

      public org.elasticsearch.common.xcontent.XContentType getXContentType()
    • writeTo

      public void writeTo(StreamOutput out) throws IOException
      Description copied from interface: Writeable
      Write this into the StreamOutput.
      Specified by:
      writeTo in interface Writeable
      Overrides:
      writeTo in class ActionRequest
      Throws:
      IOException
    • toXContent

      public org.elasticsearch.common.xcontent.XContentBuilder toXContent(org.elasticsearch.common.xcontent.XContentBuilder builder, org.elasticsearch.common.xcontent.ToXContent.Params params) throws IOException
      Specified by:
      toXContent in interface org.elasticsearch.common.xcontent.ToXContent
      Throws:
      IOException