org.http4s.client.blaze

SimpleHttp1Client

class SimpleHttp1Client extends BlazeClient with Http1Support with Http1SSLSupport

A default implementation of the Blaze Asynchronous client for HTTP/1.x

Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. SimpleHttp1Client
  2. Http1SSLSupport
  3. Http1Support
  4. BlazeClient
  5. Client
  6. PipelineBuilder
  7. AnyRef
  8. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new SimpleHttp1Client(timeout: Duration, bufferSize: Int, executor: ExecutorService, group: Option[AsynchronousChannelGroup])

    Attributes
    protected

Type Members

  1. case class PipelineResult(builder: LeafBuilder[ByteBuffer], tail: BlazeClientStage) extends Product with Serializable

    Attributes
    protected
    Definition Classes
    PipelineBuilder

Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def apply(req: Task[Request]): Task[Response]

    Definition Classes
    Client
  7. final def apply(req: Uri): Task[Response]

    Definition Classes
    Client
  8. final def apply(req: Request): Task[Response]

    Definition Classes
    Client
  9. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  10. def buildPipeline(req: Request, closeOnFinish: Boolean): PipelineResult

    Generate the pipeline for the Request

    Generate the pipeline for the Request

    Attributes
    protected
    Definition Classes
    Http1SSLSupportHttp1SupportPipelineBuilder
  11. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  12. val connectionManager: ClientChannelFactory

    Attributes
    protected
  13. implicit final def ec: ExecutionContext

    Attributes
    protected
    Definition Classes
    SimpleHttp1ClientHttp1SSLSupportHttp1SupportBlazeClient
  14. final def eq(arg0: AnyRef): Boolean

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

    Definition Classes
    AnyRef → Any
  16. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  17. def getAddress(req: Request): AddressResult

    Find the address from the Request

    Find the address from the Request

    Attributes
    protected
    Definition Classes
    Http1SSLSupportHttp1SupportPipelineBuilder
  18. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  19. def getClient(req: Request, fresh: Boolean): Future[BlazeClientStage]

    Get a connection to the provided address

    Get a connection to the provided address

    fresh

    if the client should force a new connection

    returns

    a Future with the connected BlazeClientStage of a blaze pipeline

    Attributes
    protected
    Definition Classes
    SimpleHttp1ClientBlazeClient
  20. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  21. final def isInstanceOf[T0]: Boolean

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

    Definition Classes
    AnyRef
  23. final def notify(): Unit

    Definition Classes
    AnyRef
  24. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  25. final def prepAs[T](req: Task[Request])(implicit d: EntityDecoder[T]): Task[T]

    Definition Classes
    Client
  26. final def prepAs[T](req: Uri)(implicit d: EntityDecoder[T]): Task[T]

    Definition Classes
    Client
  27. def prepAs[T](req: Request)(implicit d: EntityDecoder[T]): Task[T]

    Definition Classes
    Client
  28. def prepare(req: Request): Task[Response]

    Definition Classes
    BlazeClient → Client
  29. final def prepare(req: Task[Request]): Task[Response]

    Definition Classes
    Client
  30. final def prepare(req: Uri): Task[Response]

    Definition Classes
    Client
  31. def recycleClient(request: Request, stage: BlazeClientStage): Unit

    Recycle or close the connection Allow for smart reuse or simple closing of a connection after the completion of a request

    Recycle or close the connection Allow for smart reuse or simple closing of a connection after the completion of a request

    request

    Request to connect too

    stage

    the BlazeClientStage which to deal with

    Attributes
    protected
    Definition Classes
    BlazeClient
  32. def shutdown(): Task[Unit]

    Shutdown this client, closing any open connections and freeing resources

    Shutdown this client, closing any open connections and freeing resources

    Definition Classes
    SimpleHttp1Client → Client
  33. lazy val sslContext: SSLContext

    The sslContext which will generate SSL engines for the pipeline Override to provide more specific SSL managers

    The sslContext which will generate SSL engines for the pipeline Override to provide more specific SSL managers

    Attributes
    protected
    Definition Classes
    Http1SSLSupport
  34. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  35. val timeout: Duration

    Specify the timeout for the entire request

    Specify the timeout for the entire request

    Attributes
    protected
    Definition Classes
    SimpleHttp1ClientPipelineBuilder
  36. def toString(): String

    Definition Classes
    AnyRef → Any
  37. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  38. final def wait(arg0: Long, arg1: Int): Unit

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Http1SSLSupport

Inherited from Http1Support

Inherited from BlazeClient

Inherited from Client

Inherited from PipelineBuilder

Inherited from AnyRef

Inherited from Any

Ungrouped