Object/Class

sttp.client.akkahttp

AkkaHttpBackend

Related Docs: class AkkaHttpBackend | package akkahttp

Permalink

object AkkaHttpBackend

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. AkkaHttpBackend
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. type EncodingHandler = PartialFunction[(HttpResponse, HttpEncoding), HttpResponse]

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. object EncodingHandler

    Permalink
  5. def apply(options: SttpBackendOptions = SttpBackendOptions.Default, customHttpsContext: Option[HttpsConnectionContext] = None, customConnectionPoolSettings: Option[ConnectionPoolSettings] = None, customLog: Option[LoggingAdapter] = None, customizeRequest: (HttpRequest) ⇒ HttpRequest = identity, customizeWebsocketRequest: (WebSocketRequest) ⇒ WebSocketRequest = identity, customEncodingHandler: EncodingHandler = PartialFunction.empty)(implicit ec: ExecutionContext = ExecutionContext.global): SttpBackend[Future, Source[ByteString, Any], [γ$2$]Flow[Message, Message, γ$2$]]

    Permalink

    ec

    The execution context for running non-network related operations, e.g. mapping responses. Defaults to the global execution context.

  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @throws( ... )
  8. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  10. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  11. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  12. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  13. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  14. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  15. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  16. def stub(implicit ec: ExecutionContext = ExecutionContext.global): SttpBackendStub[Future, Nothing, [γ$5$]Flow[Message, Message, γ$5$]]

    Permalink

    Create a stub backend for testing, which uses the Future response wrapper, and doesn't support streaming.

    Create a stub backend for testing, which uses the Future response wrapper, and doesn't support streaming.

    See SttpBackendStub for details on how to configure stub responses.

  17. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  18. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  19. def usingActorSystem(actorSystem: ActorSystem, options: SttpBackendOptions = SttpBackendOptions.Default, customHttpsContext: Option[HttpsConnectionContext] = None, customConnectionPoolSettings: Option[ConnectionPoolSettings] = None, customLog: Option[LoggingAdapter] = None, customizeRequest: (HttpRequest) ⇒ HttpRequest = identity, customizeWebsocketRequest: (WebSocketRequest) ⇒ WebSocketRequest = identity, customEncodingHandler: EncodingHandler = PartialFunction.empty)(implicit ec: ExecutionContext = ExecutionContext.global): SttpBackend[Future, Source[ByteString, Any], [γ$3$]Flow[Message, Message, γ$3$]]

    Permalink

    actorSystem

    The actor system which will be used for the http-client actors.

    ec

    The execution context for running non-network related operations, e.g. mapping responses. Defaults to the global execution context.

  20. def usingClient(actorSystem: ActorSystem, options: SttpBackendOptions = SttpBackendOptions.Default, customConnectionPoolSettings: Option[ConnectionPoolSettings] = None, http: AkkaHttpClient, customizeRequest: (HttpRequest) ⇒ HttpRequest = identity, customizeWebsocketRequest: (WebSocketRequest) ⇒ WebSocketRequest = identity, customEncodingHandler: EncodingHandler = PartialFunction.empty)(implicit ec: ExecutionContext = ExecutionContext.global): SttpBackend[Future, Source[ByteString, Any], [γ$4$]Flow[Message, Message, γ$4$]]

    Permalink

    actorSystem

    The actor system which will be used for the http-client actors.

    ec

    The execution context for running non-network related operations, e.g. mapping responses. Defaults to the global execution context.

  21. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  22. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  23. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def finalize(): Unit

    Permalink
    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 AnyRef

Inherited from Any

Ungrouped