class OHttpClient extends OHttpClientBase

HTTP Client without any authentication / authorization.

Linear Supertypes
OHttpClientBase, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. OHttpClient
  2. OHttpClientBase
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new OHttpClient()(implicit system: ActorSystem, materializer: Materializer, settings: OHttpClientSettings)

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 akkaHttpRequest(request: OHttpRequest, rawSettings: Option[ConnectionPoolSettings]): Future[HttpResponse]

    Makes an HTTP request.

    Makes an HTTP request. (internal API)

    request

    Request as OHttpRequest.

    rawSettings

    (Advanced) Raw ConnectionPoolSettings for each request. Not None value overrides the client's settings.

    returns

    Same as the result of the callback.

    Attributes
    protected
    Definition Classes
    OHttpClientBase
  5. final def apply(request: OHttpRequest, ignoreBody: Boolean = false): Future[OHttpResponse]

    Equivalent to makeRequest.

  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate() @throws( ... )
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  10. implicit val executionContext: ExecutionContextExecutor
    Definition Classes
    OHttpClientBase
  11. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  12. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  13. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  14. def makeRequest(request: OHttpRequest, ignoreBody: Boolean = false, rawSettings: Option[ConnectionPoolSettings] = None): Future[OHttpResponse]

    Makes an HTTP request and receive the response and the body at the same time.

    Makes an HTTP request and receive the response and the body at the same time. Automatically consumes the data byte stream of the response body.

    request

    Request as OHttpRequest.

    ignoreBody

    If true, the response body is ignored and discarded. The default is false.

    rawSettings

    (Advanced) Raw ConnectionPoolSettings for each request. Not None value overrides the client's settings.

    returns

    Future for OHttpResponse.

  15. def makeRequestWithCallback[R](request: OHttpRequest, rawSettings: Option[ConnectionPoolSettings] = None)(callback: (HttpResponse) ⇒ R): Future[R]

    Makes an HTTP request.

    Makes an HTTP request. (for advanced use)

    When the response is arrived, this function passes it to the given callback function that converts data bytes of the response body into some modeled data.

    By Akka's stream nature, callback must consume data bytes of the response body.

    request

    Request as OHttpRequest.

    rawSettings

    (Advanced) Raw ConnectionPoolSettings for each request. Not None value overrides the client's settings.

    callback

    Callback function.

    returns

    Same as the result of the callback.

  16. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  18. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  19. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  20. def toStrictAndWrap(response: HttpResponse): Future[OHttpResponse]

    Receives the entire response body and wraps it.

  21. def toString(): String
    Definition Classes
    AnyRef → Any
  22. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  23. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  24. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

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

    (Since version ) see corresponding Javadoc for more information.

Inherited from OHttpClientBase

Inherited from AnyRef

Inherited from Any

Ungrouped