Packages

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

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.

Source
JavaNetClientBuilder.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. JavaNetClientBuilder
  2. BackendBuilder
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

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. implicit val F: Sync[F]
    Attributes
    protected
    Definition Classes
    JavaNetClientBuilder → BackendBuilder
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  7. val connectTimeout: Duration
  8. def create: Client[F]

    Creates a Client.

    Creates a Client.

    The shutdown of this client is a no-op. Creation of the client allocates no resources, and any resources allocated while using this client are reclaimed by the JVM at its own leisure.

  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  11. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  12. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  13. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  14. val hostnameVerifier: Option[HostnameVerifier]
  15. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  16. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  18. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  19. val proxy: Option[Proxy]
  20. val readTimeout: Duration
  21. def resource: Resource[F, Client[F]]
    Definition Classes
    JavaNetClientBuilder → BackendBuilder
  22. val sslSocketFactory: Option[SSLSocketFactory]
  23. def stream: Stream[F, Client[F]]
    Definition Classes
    BackendBuilder
  24. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  25. def toString(): String
    Definition Classes
    AnyRef → Any
  26. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  27. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  28. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  29. def withConnectTimeout(connectTimeout: Duration): JavaNetClientBuilder[F]
  30. def withHostnameVerifier(hostnameVerifier: HostnameVerifier): JavaNetClientBuilder[F]
  31. def withHostnameVerifierOption(hostnameVerifier: Option[HostnameVerifier]): JavaNetClientBuilder[F]
  32. def withProxy(proxy: Proxy): JavaNetClientBuilder[F]
  33. def withProxyOption(proxy: Option[Proxy]): JavaNetClientBuilder[F]
  34. def withReadTimeout(readTimeout: Duration): JavaNetClientBuilder[F]
  35. def withSslSocketFactory(sslSocketFactory: SSLSocketFactory): JavaNetClientBuilder[F]
  36. def withSslSocketFactoryOption(sslSocketFactory: Option[SSLSocketFactory]): JavaNetClientBuilder[F]
  37. def withoutHostnameVerifier: JavaNetClientBuilder[F]
  38. def withoutProxy: JavaNetClientBuilder[F]
  39. def withoutSslSocketFactory: JavaNetClientBuilder[F]

Deprecated Value Members

  1. def allocated: F[(Client[F], F[Unit])]
    Definition Classes
    BackendBuilder
    Annotations
    @deprecated
    Deprecated

    (Since version 0.23.14) Use manually called '.resource.allocated' instead. Will be removed from public API in 1.0.

Inherited from BackendBuilder[F, Client[F]]

Inherited from AnyRef

Inherited from Any

Ungrouped