package http
- Alphabetic
- Public
- All
Type Members
- class DefaultResponseHandler [U] extends ResponseHandler[U]
- trait ElasticDsl extends ElasticApi with Logging with BulkImplicits with CatImplicits with ClusterImplicits with DeleteImplicits with ExplainImplicits with GetImplicits with IndexImplicits with IndexAdminImplicits with IndexAliasImplicits with IndexTemplateImplicits with LocksImplicits with MappingExecutables with NodesImplicits with SearchImplicits with SearchTemplateImplicits with SearchScrollImplicits with UpdateImplicits with TaskImplicits with TermVectorsExecutables with ValidateImplicits
- class ElasticsearchJavaRestClient extends HttpRequestClient
- trait HttpClient extends Logging
- case class HttpEntity (content: String, contentType: Option[String]) extends Product with Serializable
-
abstract
class
HttpExecutable
[T, U] extends Logging
- T
the type of the request object handled by this handler
- U
the type of the response object returned by this handler
-
trait
HttpRequestClient
extends Logging
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.
- case class HttpResponse (statusCode: Int, entity: Option[HttpEntity], headers: Map[String, String]) extends Product with Serializable
- class NotFound404ResponseHandler [U] extends DefaultResponseHandler[U]
- trait ResponseHandler [U] extends AnyRef
Value Members
- object ElasticDsl extends ElasticDsl
- object EnumConversions
- object HttpClient extends Logging
- object HttpEntity extends Serializable
- object IndicesOptionsParams
-
object
NoOpHttpClientConfigCallback
extends HttpClientConfigCallback
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.
-
object
NoOpRequestConfigCallback
extends RequestConfigCallback
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.
- object ResponseHandler extends Logging
- object ScriptBuilderFn
- object SourceAsContentBuilder