Str

oxygen.http.core.BodyCodec.Plain.Str
case object Str extends Plain[String]

Attributes

Graph
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait Plain[String]
trait Text[String]
trait BodyCodec[String]
class Object
trait Matchable
class Any
Show all
Self type
Str.type

Members list

Type members

Inherited types

type MirroredElemLabels = EmptyTuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Singleton
type MirroredElemTypes = EmptyTuple

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

type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror

Value members

Concrete methods

override def decodeText(body: Text): Either[Cause, String]

Attributes

Definition Classes
override def encodeText(value: String): Text

Attributes

Definition Classes

Inherited methods

final override def decode(body: HttpBody): ZIO[Scope, Cause, String]

Attributes

Definition Classes
Inherited from:
Text
final override def encode(value: String): HttpBody

Attributes

Definition Classes
Inherited from:
Text
def fromProduct(p: Product): MirroredMonoType

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 productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product
final override def transform[B](ab: String => B, ba: B => String): Plain[B]

Attributes

Definition Classes
Inherited from:
Plain
final override def transformOrFail[B](ab: String => Either[String, B], ba: B => String): Plain[B]

Attributes

Definition Classes
Inherited from:
Plain