Packages

p

org.http4s

client

package client

Source
package.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. client
  2. ClientTypes
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. trait Client[F[_]] extends AnyRef

    A Client submits Requests to a server and processes the Response.

  2. trait Connection[F[_]] extends AnyRef
  3. type ConnectionBuilder[F[_], A <: Connection[F]] = (RequestKey) ⇒ F[A]
    Definition Classes
    ClientTypes
  4. class ConnectionFailure extends IOException

    Indicates a failure to establish a client connection, preserving the request key that we tried to connect to.

  5. trait ConnectionManager[F[_], A <: Connection[F]] extends AnyRef

    Type that is responsible for the client lifecycle

    Type that is responsible for the client lifecycle

    The ConnectionManager is a general wrapper around a ConnectionBuilder that can pool resources in order to conserve resources such as socket connections, CPU time, SSL handshakes, etc. Because it can contain significant resources it must have a mechanism to free resources associated with it.

  6. sealed abstract class JavaNetClientBuilder[F[_]] extends BackendBuilder[F, Client[F]]

    Builder for a Client backed by on java.net.HttpUrlConnection.

    Builder for a Client backed by on java.net.HttpUrlConnection.

    The java.net client adds no dependencies beyond http4s-client. This client is generally not production grade, but convenient for exploration in a REPL.

    All I/O operations in this client are blocking.

  7. type Middleware[F[_]] = (Client[F]) ⇒ Client[F]
    Definition Classes
    ClientTypes
  8. final case class NoConnectionAllowedException(key: RequestKey) extends IllegalArgumentException with Product with Serializable
  9. final case class RequestKey(scheme: Scheme, authority: Authority) extends Product with Serializable

    Represents a key for requests that can conceivably share a Connection.

  10. final case class UnexpectedStatus(status: Status, requestMethod: Method, requestUri: Uri) extends RuntimeException with NoStackTrace with Product with Serializable
  11. final case class WaitQueueFullFailure() extends RuntimeException with Product with Serializable

Value Members

  1. object Client
  2. object ConnectionFailure extends Serializable
  3. object ConnectionManager
  4. object JavaNetClientBuilder

    Builder for a Client backed by on java.net.HttpUrlConnection.

  5. object RequestKey extends Serializable
  6. object WaitQueueTimeoutException extends TimeoutException with Product with Serializable
  7. object defaults

Inherited from ClientTypes

Inherited from AnyRef

Inherited from Any

Ungrouped