BooleanCodec

zio.http.codec.TextCodec.BooleanCodec
case object BooleanCodec extends TextCodec[Boolean]

Attributes

Graph
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait String => Boolean
class Object
trait Matchable
class Any
Show all
Self type

Members list

Type members

Inherited types

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Singleton

Attributes

Inherited from:
Singleton
type MirroredMonoType = Singleton.this.type

The mirrored *-type

The mirrored *-type

Attributes

Inherited from:
Singleton
type MirroredType = Singleton.this.type

Attributes

Inherited from:
Singleton

Inherited and Abstract types

The name of the type

The name of the type

Attributes

Inherited from:
Mirror

Value members

Concrete methods

def apply(value: String): Boolean
def encode(value: Boolean): String
def isDefinedAt(value: String): Boolean
override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
Function1 -> Any

Inherited methods

Attributes

Inherited from:
PartialFunction
override def andThen[C](k: Boolean => C): PartialFunction[String, C]

Attributes

Definition Classes
Inherited from:
PartialFunction
def applyOrElse[A1 <: String, B1 >: Boolean](x: A1, default: A1 => B1): B1

Attributes

Inherited from:
PartialFunction

Attributes

Inherited from:
PartialFunction
def compose[A](g: A => String): A => Boolean

Attributes

Inherited from:
Function1
final def decode(value: String): Option[Boolean]

Attributes

Inherited from:
TextCodec

Attributes

Inherited from:
PartialFunction

Create a new instance of type T with elements taken from product p.

Create a new instance of type T with elements taken from product p.

Attributes

Inherited from:
Singleton

Attributes

Inherited from:
PartialFunction

Attributes

Inherited from:
PartialFunction

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product
def runWith[U](action: Boolean => U): String => Boolean

Attributes

Inherited from:
PartialFunction

Attributes

Inherited from:
PartialFunction