public class GetStoredScriptRequest extends MasterNodeReadRequest<GetStoredScriptRequest>
TransportRequest.Empty
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
id |
protected java.lang.String |
lang |
local
DEFAULT_MASTER_NODE_TIMEOUT, masterNodeTimeout
Constructor and Description |
---|
GetStoredScriptRequest(java.lang.String id,
java.lang.String lang) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
id() |
GetStoredScriptRequest |
id(java.lang.String id) |
java.lang.String |
lang() |
GetStoredScriptRequest |
lang(java.lang.String lang) |
void |
readFrom(StreamInput in)
Set this object's fields from a StreamInput.
|
java.lang.String |
toString() |
ActionRequestValidationException |
validate() |
void |
writeTo(StreamOutput out)
Write this object's fields to a StreamOutput.
|
local, local
masterNodeTimeout, masterNodeTimeout, masterNodeTimeout
getShouldStoreResult
getParentTask, setParentTask
remoteAddress, remoteAddress
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
createTask, getDescription, setParentTask
public GetStoredScriptRequest(java.lang.String id, java.lang.String lang)
public ActionRequestValidationException validate()
validate
in class ActionRequest
public java.lang.String id()
public GetStoredScriptRequest id(java.lang.String id)
public java.lang.String lang()
public GetStoredScriptRequest lang(java.lang.String lang)
public void readFrom(StreamInput in) throws java.io.IOException
Streamable
readFrom
in interface Streamable
readFrom
in class MasterNodeReadRequest<GetStoredScriptRequest>
java.io.IOException
public void writeTo(StreamOutput out) throws java.io.IOException
Streamable
writeTo
in interface Streamable
writeTo
in class MasterNodeReadRequest<GetStoredScriptRequest>
java.io.IOException
public java.lang.String toString()
toString
in class java.lang.Object