LongCodec

zio.http.codec.TextCodec.LongCodec
case object LongCodec extends TextCodec[Long]

Attributes

Graph
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait TextCodec[Long]
trait String => Long
class Object
trait Matchable
class Any
Show all
Self type
LongCodec.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

The name of the type

The name of the type

Attributes

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

The mirrored *-type

The mirrored *-type

Attributes

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

Attributes

Inherited from:
Singleton

Value members

Concrete methods

def apply(value: String): Long
def encode(value: Long): 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: Long => C): PartialFunction[String, C]

Attributes

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

Attributes

Inherited from:
PartialFunction

Attributes

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

Attributes

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

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
def lift: String => Option[Long]

Attributes

Inherited from:
PartialFunction

Attributes

Inherited from:
PartialFunction

Attributes

Inherited from:
Product

Attributes

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

Attributes

Inherited from:
PartialFunction

Attributes

Inherited from:
PartialFunction