Package org.opensearch.client.transport.httpclient5
-
Interface Summary Interface Description ApacheHttpClient5TransportBuilder.HttpClientConfigCallback Callback used to customize theCloseableHttpClientinstance used by aRestClientinstance.ApacheHttpClient5TransportBuilder.RequestConfigCallback Callback used the defaultRequestConfigbeing set to theCloseableHttpClientHttpAsyncResponseConsumerFactory Factory used to create instances ofAsyncResponseConsumer.WarningsHandler Called if there are warnings to determine if those warnings should fail the request. -
Class Summary Class Description ApacheHttpClient5Options ApacheHttpClient5Options.Builder ApacheHttpClient5Transport Apache HttpClient 5 based client transport.ApacheHttpClient5Transport.ContentCompressingEntity A gzip compressing entity that also implementsgetContent().ApacheHttpClient5Transport.ContentHttpEntity An entity that lets the caller specify the return value ofisChunked().ApacheHttpClient5Transport.FailureListener Listener that allows to be notified whenever a failure happens.ApacheHttpClient5TransportBuilder HttpAsyncResponseConsumerFactory.HeapBufferedResponseConsumerFactory Default factory used to create instances ofAsyncResponseConsumer. -
Exception Summary Exception Description ResponseException Exception thrown when an opensearch node responds to a request with a status code that indicates an error.WarningFailureException This exception is used to indicate that one or moreResponse.getWarnings()exist and is typically used when theApacheHttpClient5Transportis set to fail by passing `true` to `strictDeprecationMode`.