Packages

case class HttpClient(request: HttpRequest)(implicit system: ActorSystem) extends RequestBuilder with Product with Serializable

Linear Supertypes
Serializable, Product, Equals, RequestBuilder, ResultLogger, LazyLogging, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. HttpClient
  2. Serializable
  3. Product
  4. Equals
  5. RequestBuilder
  6. ResultLogger
  7. LazyLogging
  8. AnyRef
  9. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new HttpClient(request: HttpRequest)(implicit system: ActorSystem)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def accept(mediaRanges: Seq[MediaRange]): HttpClient
  5. def acceptXml: HttpClient
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def asJson(): Future[(HttpResponse, Try[JsValue])]
  8. def asXml(): Future[(HttpResponse, Try[NodeSeq])]
  9. def baseRequest(req: HttpRequest): Future[HttpResponse]
    Definition Classes
    RequestBuilder
  10. def bodyAsBinary(body: ByteString): HttpClient
  11. def bodyAsBinary(body: Array[Byte]): HttpClient
  12. def bodyAsForm(fields: (String, String)*): HttpClient
  13. def bodyAsForm(fields: Map[String, String]): HttpClient
  14. def bodyAsJson(body: String): HttpClient
  15. def bodyAsText(body: String): HttpClient
  16. def bodyAsXml(body: String): HttpClient
  17. def bodyFromFile(contentType: ContentType, file: Path, chunkSize: Int = -1): HttpClient
  18. lazy val bufferSize: Int
    Attributes
    protected
    Definition Classes
    RequestBuilder
  19. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  20. def createRequestQueue(uri: Uri): SourceQueueWithComplete[(HttpRequest, Promise[HttpResponse])]
    Definition Classes
    RequestBuilder
  21. lazy val defaultCharset: HttpCharset
    Attributes
    protected
    Definition Classes
    RequestBuilder
  22. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  23. def failureToJson(requestId: String, failure: Throwable): JsValue
    Definition Classes
    ResultLogger
  24. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  25. def headers(kvs: (String, String)*): HttpClient
  26. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  27. def jsonRequest(req: HttpRequest): Future[(HttpResponse, Try[JsValue])]
    Definition Classes
    RequestBuilder
  28. def logJson(json: JsValue): Unit
    Definition Classes
    ResultLogger
  29. def logRequest(requestId: String, request: HttpRequest)(implicit ec: ExecutionContext, mat: Materializer): Unit
    Definition Classes
    ResultLogger
  30. lazy val logRequest: Boolean
    Attributes
    protected
    Definition Classes
    RequestBuilder
  31. def logResponse(requestId: String, responseF: Future[HttpResponse])(implicit ec: ExecutionContext, mat: Materializer): Future[Unit]
    Definition Classes
    ResultLogger
  32. lazy val logResponse: Boolean
    Attributes
    protected
    Definition Classes
    RequestBuilder
  33. lazy val logger: Logger
    Attributes
    protected
    Definition Classes
    LazyLogging
    Annotations
    @transient()
  34. lazy val maxNumberOfRequests: Int
    Attributes
    protected
    Definition Classes
    RequestBuilder
  35. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  36. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  37. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  38. def params(kvs: (String, String)*): HttpClient
  39. def poolClientFlow(uri: Uri): Flow[(HttpRequest, Promise[HttpResponse]), (Try[HttpResponse], Promise[HttpResponse]), HostConnectionPool]
    Definition Classes
    RequestBuilder
  40. def productElementNames: Iterator[String]
    Definition Classes
    Product
  41. def queueRequest(request: HttpRequest): Future[HttpResponse]
    Definition Classes
    RequestBuilder
  42. def rawRequest(req: HttpRequest, extraHeaders: Seq[HttpHeader] = Nil): Future[(HttpResponse, Option[String])]
    Definition Classes
    RequestBuilder
  43. val request: HttpRequest
  44. lazy val requestTimeout: FiniteDuration
    Attributes
    protected
    Definition Classes
    RequestBuilder
  45. def requestToJson(requestId: String, request: HttpRequest, entity: String): JsValue
    Definition Classes
    ResultLogger
  46. def responseToJson(requestId: String, response: HttpResponse, entity: String): JsValue
    Definition Classes
    ResultLogger
  47. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  48. implicit val system: ActorSystem
    Definition Classes
    HttpClientRequestBuilder
  49. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  50. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  51. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  52. def withBasicAuth(userName: String, password: String): HttpClient
  53. def withJsonEntity(jsonEntity: JsValue): HttpClient
  54. def withPath(path: String): HttpClient
  55. def withQuery(query: Seq[(String, String)]): HttpClient
  56. def xmlRequest(req: HttpRequest): Future[(HttpResponse, Try[NodeSeq])]
    Definition Classes
    RequestBuilder

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from RequestBuilder

Inherited from ResultLogger

Inherited from LazyLogging

Inherited from AnyRef

Inherited from Any

Ungrouped