Package

com.sksamuel.elastic4s

http

Permalink

package http

Visibility
  1. Public
  2. All

Type Members

  1. class DefaultResponseHandler[U] extends ResponseHandler[U]

    Permalink
  2. trait ElasticDsl extends ElasticApi with Logging with BulkImplicits with CatImplicits with CountImplicits with ClusterImplicits with DeleteImplicits with ExistsImplicits with ExplainImplicits with GetImplicits with IndexImplicits with IndexAdminImplicits with IndexAliasImplicits with IndexStatsImplicits with IndexTemplateImplicits with LocksImplicits with MappingExecutables with NodesImplicits with ReindexImplicits with RolloverImplicits with SearchImplicits with SearchTemplateImplicits with SearchScrollImplicits with SettingsImplicits with SnapshotHttpImplicits with UpdateImplicits with TaskImplicits with TermVectorsExecutables with ValidateImplicits

    Permalink
  3. case class ElasticError(type: String, reason: String, indexUuid: Option[String], index: Option[String], shard: Option[String], rootCause: Seq[ElasticError]) extends Product with Serializable

    Permalink
  4. class ElasticsearchJavaRestClient extends HttpRequestClient

    Permalink
  5. trait HttpClient extends Logging

    Permalink
  6. sealed trait HttpEntity extends AnyRef

    Permalink
  7. abstract class HttpExecutable[T, U] extends Logging

    Permalink

    T

    the type of the request object handled by this handler

    U

    the type of the response object returned by this handler

  8. trait HttpRequestClient extends Logging

    Permalink

    Adapts an underlying http client so that it can be used by the elastic4s http client.

    Adapts an underlying http client so that it can be used by the elastic4s http client.

    Implementations should return a HttpResponse for all requests that received a response, including errors like 500s or not founds like 404s.

    A failed future should only be returned if the communication itself failed.

  9. case class HttpResponse(statusCode: Int, entity: Option[StringEntity], headers: Map[String, String]) extends Product with Serializable

    Permalink
  10. case class JavaClientExceptionWrapper(t: Throwable) extends RuntimeException with Product with Serializable

    Permalink
  11. class NotFound404ResponseHandler[U] extends DefaultResponseHandler[U]

    Permalink
  12. case class RequestFailure(status: Int, body: Option[String], headers: Map[String, String], error: ElasticError) extends Response[Nothing] with Product with Serializable

    Permalink
  13. case class RequestSuccess[U](status: Int, body: Option[String], headers: Map[String, String], result: U) extends Response[U] with Product with Serializable

    Permalink
  14. sealed trait Response[+U] extends AnyRef

    Permalink
  15. trait ResponseHandler[U] extends AnyRef

    Permalink
  16. case class Shards(total: Int, failed: Int, successful: Int) extends Product with Serializable

    Permalink

Value Members

  1. object ElasticDsl extends ElasticDsl

    Permalink
  2. object ElasticError extends Serializable

    Permalink
  3. object EnumConversions

    Permalink
  4. object FetchSourceContextBuilderFn

    Permalink
  5. object FetchSourceContextQueryParameterFn

    Permalink
  6. object HttpClient extends Logging

    Permalink
  7. object HttpEntity

    Permalink
  8. object IndicesOptionsParams

    Permalink
  9. object NoOpHttpClientConfigCallback extends HttpClientConfigCallback

    Permalink

    HttpAsyncClientBuilder that performs a no-op on the given HttpAsyncClientBuilder

    HttpAsyncClientBuilder that performs a no-op on the given HttpAsyncClientBuilder

    Used as a default parameter to the HttpClient when no custom HttpAsync configuration is needed.

  10. object NoOpRequestConfigCallback extends RequestConfigCallback

    Permalink

    RequestConfigCallback that performs a no-op on the given RequestConfig.Builder.

    RequestConfigCallback that performs a no-op on the given RequestConfig.Builder.

    Used as a default parameter to the HttpClient when no custom request configuration is needed.

  11. object RefreshPolicyHttpValue

    Permalink
  12. object ResponseHandler extends Logging

    Permalink
  13. object ScriptBuilderFn

    Permalink
  14. object SourceAsContentBuilder

    Permalink
  15. package bulk

    Permalink
  16. package cat

    Permalink
  17. package cluster

    Permalink
  18. package count

    Permalink
  19. package delete

    Permalink
  20. package explain

    Permalink
  21. package get

    Permalink
  22. package index

    Permalink
  23. package locks

    Permalink
  24. package nodes

    Permalink
  25. package reindex

    Permalink
  26. package search

    Permalink
  27. package settings

    Permalink
  28. package snapshots

    Permalink
  29. package task

    Permalink
  30. package termvectors

    Permalink
  31. package update

    Permalink
  32. package validate

    Permalink

Ungrouped