org.http4s.dsl

Members list

Concise view

Type members

Classlikes

object &

A conjunction extractor. Generally used as an infix operator.

A conjunction extractor. Generally used as an infix operator.

scala> import org.http4s.dsl.&
scala> object Even { def unapply(i: Int) = (i % 2) == 0 }
scala> object Positive { def unapply(i: Int) = i > 0 }
scala> def describe(i: Int) = i match {
    |   case Even() & Positive() => "even and positive"
    |   case Even() => "even but not positive"
    |   case Positive() => "positive but not even"
    |   case _ => "neither even nor positive"
    | }
scala> describe(-1)
res0: String = neither even nor positive
scala> describe(0)
res1: String = even but not positive
scala> describe(1)
res2: String = positive but not even
scala> describe(2)
res3: String = even and positive

Attributes

Source:
and.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
&.type
trait Http4sDsl[F[_]] extends Http4sDsl2[F, F]

Attributes

Companion:
object
Source:
Http4sDsl.scala
Graph
Supertypes
trait Http4sDsl2[F, F]
trait Responses[F, F]
trait Statuses
trait Auth
trait Methods
class Object
trait Matchable
class Any
Known subtypes
object io.type
object Http4sDsl

Attributes

Companion:
trait
Source:
Http4sDsl.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
trait Http4sDsl2[F[_], G[_]] extends RequestDsl with Statuses with Responses[F, G]

Attributes

Source:
Http4sDsl.scala
Graph
Supertypes
trait Responses[F, G]
trait Statuses
trait Auth
trait Methods
class Object
trait Matchable
class Any
Known subtypes
trait Http4sDsl[F]
object io.type

Attributes

Source:
Http4sDsl.scala
Graph
Supertypes
trait Http4sDsl[F]
trait Http4sDsl2[F, F]
trait Responses[F, F]
trait Statuses
trait Auth
trait Methods
class Object
trait Matchable
class Any
Known subtypes
object io.type
trait RequestDsl extends Methods with Auth

Attributes

Source:
RequestDsl.scala
Graph
Supertypes
trait Auth
trait Methods
class Object
trait Matchable
class Any
Known subtypes
trait Http4sDsl2[F, G]
trait Http4sDsl[F]
object io.type
object request.type

Attributes

Source:
RequestDsl.scala
Graph
Supertypes
trait Auth
trait Methods
class Object
trait Matchable
class Any
Known subtypes
object io.type
object request.type
object io extends Http4sDslBinCompat[IO]

Attributes

Source:
io.scala
Graph
Supertypes
trait Http4sDsl[IO]
trait Http4sDsl2[IO, IO]
trait Responses[IO, IO]
trait Statuses
trait Auth
trait Methods
class Object
trait Matchable
class Any
Self type
io.type

Attributes

Source:
request.scala
Graph
Supertypes
trait Auth
trait Methods
class Object
trait Matchable
class Any
Self type
request.type