ArmeriaClientBuilder

org.http4s.armeria.client.ArmeriaClientBuilder$
See theArmeriaClientBuilder companion class

A builder class that builds http4s org.http4s.client.Client based on Armeria com.linecorp.armeria.client.WebClient.

Attributes

Companion:
class
Source:
ArmeriaClientBuilder.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Concise view

Value members

Concrete methods

def apply[F[_]](clientBuilder: WebClientBuilder)(implicit F: Async[F]): ArmeriaClientBuilder[F]

Returns a new ArmeriaClientBuilder.

Returns a new ArmeriaClientBuilder.

Attributes

Source:
ArmeriaClientBuilder.scala

Returns a new ArmeriaClientBuilder created with the specified base java.net.URI.

Returns a new ArmeriaClientBuilder created with the specified base java.net.URI.

Attributes

Returns:

Left(IllegalArgumentException) if the uri is not valid or its scheme is not one of the values values in com.linecorp.armeria.common.SessionProtocol.httpValues() or com.linecorp.armeria.common.SessionProtocol.httpsValues(), else Right(ArmeriaClientBuilder).

Source:
ArmeriaClientBuilder.scala
def apply[F[_]](uri: URI)(implicit F: Async[F]): Either[IllegalArgumentException, ArmeriaClientBuilder[F]]

Returns a new ArmeriaClientBuilder created with the specified base java.net.URI.

Returns a new ArmeriaClientBuilder created with the specified base java.net.URI.

Attributes

Returns:

Left(IllegalArgumentException) if the java.net.URI is not valid or its scheme is not one of the values in com.linecorp.armeria.common.SessionProtocol.httpValues() or com.linecorp.armeria.common.SessionProtocol.httpsValues(), else Right(ArmeriaClientBuilder).

Source:
ArmeriaClientBuilder.scala
def unsafe[F[_]](uri: String)(implicit F: Async[F]): ArmeriaClientBuilder[F]

Returns a new ArmeriaClientBuilder created with the specified base java.net.URI.

Returns a new ArmeriaClientBuilder created with the specified base java.net.URI.

Attributes

Throws:
scala.IllegalArgumentException

if the uri is not valid or its scheme is not one of the values in com.linecorp.armeria.common.SessionProtocol.httpValues() or com.linecorp.armeria.common.SessionProtocol.httpsValues().

Source:
ArmeriaClientBuilder.scala
def unsafe[F[_]](uri: URI)(implicit F: Async[F]): ArmeriaClientBuilder[F]

Returns a new ArmeriaClientBuilder created with the specified base java.net.URI.

Returns a new ArmeriaClientBuilder created with the specified base java.net.URI.

Attributes

Throws:
scala.IllegalArgumentException

if the java.net.URI is not valid or its scheme is not one of the values values in com.linecorp.armeria.common.SessionProtocol.httpValues() or com.linecorp.armeria.common.SessionProtocol.httpsValues().

Source:
ArmeriaClientBuilder.scala