Package co.elastic.clients
Class ApiClient<T extends Transport,Self extends ApiClient<T,Self>>
java.lang.Object
co.elastic.clients.ApiClient<T,Self>
- Direct Known Subclasses:
ElasticsearchAsyncClient,ElasticsearchAsyncSearchAsyncClient,ElasticsearchAsyncSearchClient,ElasticsearchAutoscalingAsyncClient,ElasticsearchAutoscalingClient,ElasticsearchCatAsyncClient,ElasticsearchCatClient,ElasticsearchCcrAsyncClient,ElasticsearchCcrClient,ElasticsearchClient,ElasticsearchClusterAsyncClient,ElasticsearchClusterClient,ElasticsearchDanglingIndicesAsyncClient,ElasticsearchDanglingIndicesClient,ElasticsearchEnrichAsyncClient,ElasticsearchEnrichClient,ElasticsearchEqlAsyncClient,ElasticsearchEqlClient,ElasticsearchFeaturesAsyncClient,ElasticsearchFeaturesClient,ElasticsearchGraphAsyncClient,ElasticsearchGraphClient,ElasticsearchIlmAsyncClient,ElasticsearchIlmClient,ElasticsearchIndicesAsyncClient,ElasticsearchIndicesClient,ElasticsearchIngestAsyncClient,ElasticsearchIngestClient,ElasticsearchLicenseAsyncClient,ElasticsearchLicenseClient,ElasticsearchLogstashAsyncClient,ElasticsearchLogstashClient,ElasticsearchMigrationAsyncClient,ElasticsearchMigrationClient,ElasticsearchMlAsyncClient,ElasticsearchMlClient,ElasticsearchMonitoringAsyncClient,ElasticsearchMonitoringClient,ElasticsearchNodesAsyncClient,ElasticsearchNodesClient,ElasticsearchRollupAsyncClient,ElasticsearchRollupClient,ElasticsearchSearchableSnapshotsAsyncClient,ElasticsearchSearchableSnapshotsClient,ElasticsearchSecurityAsyncClient,ElasticsearchSecurityClient,ElasticsearchShutdownAsyncClient,ElasticsearchShutdownClient,ElasticsearchSlmAsyncClient,ElasticsearchSlmClient,ElasticsearchSnapshotAsyncClient,ElasticsearchSnapshotClient,ElasticsearchSqlAsyncClient,ElasticsearchSqlClient,ElasticsearchSslAsyncClient,ElasticsearchSslClient,ElasticsearchTasksAsyncClient,ElasticsearchTasksClient,ElasticsearchTransformAsyncClient,ElasticsearchTransformClient,ElasticsearchWatcherAsyncClient,ElasticsearchWatcherClient,ElasticsearchXpackAsyncClient,ElasticsearchXpackClient
public abstract class ApiClient<T extends Transport,Self extends ApiClient<T,Self>>
extends java.lang.Object
-
Field Summary
Fields Modifier and Type Field Description protected Ttransportprotected TransportOptionstransportOptions -
Constructor Summary
Constructors Modifier Constructor Description protectedApiClient(T transport, TransportOptions transportOptions) -
Method Summary
Modifier and Type Method Description JsonpMapper_jsonpMapper()Get the JSON mapper used to map API objects to/from JSON.T_transport()Get the transport used by this client to handle communication with the server.TransportOptions_transportOptions()protected <V> JsonpDeserializer<V>getDeserializer(java.lang.Class<V> clazz)abstract SelfwithTransportOptions(TransportOptions transportOptions)Creates a new client with some request optionsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
transport
-
transportOptions
-
-
Constructor Details
-
ApiClient
-
-
Method Details
-
getDeserializer
-
withTransportOptions
Creates a new client with some request options -
_transport
Get the transport used by this client to handle communication with the server. -
_transportOptions
-
_jsonpMapper
Get the JSON mapper used to map API objects to/from JSON.Shortcut for
_transport().jsonpMapper()
-