sealed abstract class JavaNetClientBuilder extends AnyRef
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.
- Alphabetic
- By Inheritance
- JavaNetClientBuilder
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
def
+(other: String): String
- Implicit
- This member is added by an implicit conversion from JavaNetClientBuilder to any2stringadd[JavaNetClientBuilder] performed by method any2stringadd in scala.Predef.
- Definition Classes
- any2stringadd
-
def
->[B](y: B): (JavaNetClientBuilder, B)
- Implicit
- This member is added by an implicit conversion from JavaNetClientBuilder to ArrowAssoc[JavaNetClientBuilder] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @inline()
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- val blockingExecutionContext: ExecutionContext
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
- val connectTimeout: Duration
-
def
create[F[_]](implicit F: Async[F], cs: ContextShift[F]): 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.
-
def
ensuring(cond: (JavaNetClientBuilder) ⇒ Boolean, msg: ⇒ Any): JavaNetClientBuilder
- Implicit
- This member is added by an implicit conversion from JavaNetClientBuilder to Ensuring[JavaNetClientBuilder] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: (JavaNetClientBuilder) ⇒ Boolean): JavaNetClientBuilder
- Implicit
- This member is added by an implicit conversion from JavaNetClientBuilder to Ensuring[JavaNetClientBuilder] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: Boolean, msg: ⇒ Any): JavaNetClientBuilder
- Implicit
- This member is added by an implicit conversion from JavaNetClientBuilder to Ensuring[JavaNetClientBuilder] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: Boolean): JavaNetClientBuilder
- Implicit
- This member is added by an implicit conversion from JavaNetClientBuilder to Ensuring[JavaNetClientBuilder] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
formatted(fmtstr: String): String
- Implicit
- This member is added by an implicit conversion from JavaNetClientBuilder to StringFormat[JavaNetClientBuilder] performed by method StringFormat in scala.Predef.
- Definition Classes
- StringFormat
- Annotations
- @inline()
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- val hostnameVerifier: Option[HostnameVerifier]
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- val proxy: Option[Proxy]
- val readTimeout: Duration
-
def
resource[F[_]](implicit F: Async[F], cs: ContextShift[F]): Resource[F, Client[F]]
Creates a Client resource.
Creates a Client resource.
The release of this resource 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.
- val sslSocketFactory: Option[SSLSocketFactory]
-
def
stream[F[_]](implicit F: Async[F], cs: ContextShift[F]): Stream[F, Client[F]]
Creates a Client stream.
Creates a Client stream.
The bracketed release on this stream 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.
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
- def withBlockingExecutionContext(blockingExecutionContext: ExecutionContext): JavaNetClientBuilder
- def withConnectTimeout(connectTimeout: Duration): JavaNetClientBuilder
- def withHostnameVerifier(hostnameVerifier: HostnameVerifier): JavaNetClientBuilder
- def withHostnameVerifierOption(hostnameVerifier: Option[HostnameVerifier]): JavaNetClientBuilder
- def withProxy(proxy: Proxy): JavaNetClientBuilder
- def withProxyOption(proxy: Option[Proxy]): JavaNetClientBuilder
- def withReadTimeout(readTimeout: Duration): JavaNetClientBuilder
- def withSslSocketFactory(sslSocketFactory: SSLSocketFactory): JavaNetClientBuilder
- def withSslSocketFactoryOption(sslSocketFactory: Option[SSLSocketFactory]): JavaNetClientBuilder
- def withoutHostnameVerifier: JavaNetClientBuilder
- def withoutProxy: JavaNetClientBuilder
- def withoutSslSocketFactory: JavaNetClientBuilder
-
def
→[B](y: B): (JavaNetClientBuilder, B)
- Implicit
- This member is added by an implicit conversion from JavaNetClientBuilder to ArrowAssoc[JavaNetClientBuilder] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc