Package org.elasticsearch.action
Class StreamableResponseActionType<Response extends ActionResponse>
- java.lang.Object
-
- org.elasticsearch.action.ActionType<Response>
-
- org.elasticsearch.action.StreamableResponseActionType<Response>
-
- Direct Known Subclasses:
AliasesExistAction
,BulkAction
,ClearIndicesCacheAction
,ClearScrollAction
,ClusterAllocationExplainAction
,ClusterHealthAction
,ClusterStateAction
,ClusterStatsAction
,CompletionPersistentTaskAction
,CreateSnapshotAction
,DeleteAction
,DeleteByQueryAction
,FieldCapabilitiesAction
,FlushAction
,ForceMergeAction
,GetAliasesAction
,GetIndexAction
,GetIndexTemplatesAction
,GetMappingsAction
,GetPipelineAction
,GetRepositoriesAction
,GetSettingsAction
,GetSnapshotsAction
,GetStoredScriptAction
,GetTaskAction
,IndexAction
,IndicesExistsAction
,IndicesSegmentsAction
,IndicesShardStoresAction
,IndicesStatsAction
,MainAction
,MultiGetAction
,MultiTermVectorsAction
,NodesHotThreadsAction
,NodesInfoAction
,NodesReloadSecureSettingsAction
,NodesStatsAction
,NodesUsageAction
,PendingClusterTasksAction
,RecoveryAction
,RefreshAction
,ReindexAction
,RemoteInfoAction
,RemovePersistentTaskAction
,RestoreSnapshotAction
,RetentionLeaseActions.Add
,RetentionLeaseActions.Remove
,RetentionLeaseActions.Renew
,SimulatePipelineAction
,SnapshotsStatusAction
,StartPersistentTaskAction
,SyncedFlushAction
,TypesExistsAction
,UpdateAction
,UpdateByQueryAction
,UpdatePersistentTaskStatusAction
,UpgradeAction
,UpgradeStatusAction
,ValidateQueryAction
,VerifyRepositoryAction
@Deprecated public abstract class StreamableResponseActionType<Response extends ActionResponse> extends ActionType<Response>
Deprecated.UseActionType
directly and provide aWriteable.Reader
An action for with the response type implementsStreamable
.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
StreamableResponseActionType(java.lang.String name)
Deprecated.
-
Method Summary
Modifier and Type Method Description Writeable.Reader<Response>
getResponseReader()
Deprecated.Get a reader that can create a new instance of the class from aStreamInput
abstract Response
newResponse()
Deprecated.ImplementgetResponseReader()
instead and make this method throw anUnsupportedOperationException
-
Methods inherited from class org.elasticsearch.action.ActionType
equals, hashCode, name, transportOptions
-
-
-
-
Method Detail
-
newResponse
@Deprecated public abstract Response newResponse()
Deprecated.ImplementgetResponseReader()
instead and make this method throw anUnsupportedOperationException
Creates a new response instance.
-
getResponseReader
public final Writeable.Reader<Response> getResponseReader()
Deprecated.Description copied from class:ActionType
Get a reader that can create a new instance of the class from aStreamInput
- Overrides:
getResponseReader
in classActionType<Response extends ActionResponse>
-
-