RequestSuccess
com.sksamuel.elastic4s.RequestSuccess
case class RequestSuccess[U](status: Int, body: Option[String], headers: Map[String, String], result: U) extends Response[U]
Attributes
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait Response[U]class Objecttrait Matchableclass AnyShow all
Members list
Value members
Concrete methods
Returns error details as an instance of ElasticError if this is RequestFailure. Otherwise throws an exception.
Returns error details as an instance of ElasticError if this is RequestFailure. Otherwise throws an exception.
Attributes
- Definition Classes
Returns true if this response is an error state.
Inherited methods
Attributes
- Inherited from:
- Response
Returns true if this response was successful
Attributes
- Inherited from:
- Product
Attributes
- Inherited from:
- Product
In this article