Module org.elasticsearch.server
Class GetComponentTemplateAction.Request
java.lang.Object
org.elasticsearch.transport.TransportMessage
org.elasticsearch.transport.TransportRequest
org.elasticsearch.action.ActionRequest
org.elasticsearch.action.support.master.MasterNodeRequest<GetComponentTemplateAction.Request>
org.elasticsearch.action.support.master.MasterNodeReadRequest<GetComponentTemplateAction.Request>
org.elasticsearch.action.admin.indices.template.get.GetComponentTemplateAction.Request
- All Implemented Interfaces:
Writeable,RefCounted,TaskAwareRequest
- Enclosing class:
GetComponentTemplateAction
public static class GetComponentTemplateAction.Request
extends MasterNodeReadRequest<GetComponentTemplateAction.Request>
Request that to retrieve one or more component templates
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V> -
Field Summary
Fields inherited from class org.elasticsearch.action.support.master.MasterNodeReadRequest
localFields inherited from class org.elasticsearch.action.support.master.MasterNodeRequest
TRAPPY_IMPLICIT_DEFAULT_MASTER_NODE_TIMEOUTFields inherited from interface org.elasticsearch.core.RefCounted
ALWAYS_REFERENCED -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanTrue if in the response the default values will be displayed.includeDefaults(boolean includeDefaults) Sets the flag to signal that in the response the default values will also be displayed.name()The name of the component templates.Sets the name of the component templates.validate()voidwriteTo(StreamOutput out) Write this into the StreamOutput.Methods inherited from class org.elasticsearch.action.support.master.MasterNodeReadRequest
local, localMethods inherited from class org.elasticsearch.action.support.master.MasterNodeRequest
infiniteMasterNodeTimeout, masterNodeTimeout, masterNodeTimeout, masterTermMethods inherited from class org.elasticsearch.action.ActionRequest
getShouldStoreResultMethods inherited from class org.elasticsearch.transport.TransportRequest
getParentTask, getRequestId, setParentTask, setRequestId, toStringMethods inherited from class org.elasticsearch.transport.TransportMessage
decRef, hasReferences, incRef, remoteAddress, remoteAddress, tryIncRefMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.elasticsearch.core.RefCounted
mustIncRefMethods inherited from interface org.elasticsearch.tasks.TaskAwareRequest
createTask, getDescription, setParentTask
-
Constructor Details
-
Request
public Request() -
Request
-
Request
- Throws:
IOException
-
-
Method Details
-
writeTo
Description copied from interface:WriteableWrite this into the StreamOutput.- Specified by:
writeToin interfaceWriteable- Overrides:
writeToin classMasterNodeReadRequest<GetComponentTemplateAction.Request>- Throws:
IOException
-
validate
- Specified by:
validatein classActionRequest
-
name
Sets the name of the component templates. -
includeDefaults
Sets the flag to signal that in the response the default values will also be displayed. -
name
The name of the component templates. -
includeDefaults
public boolean includeDefaults()True if in the response the default values will be displayed.
-