PageCodec

oxygen.ui.web.PageCodec
See thePageCodec companion object
trait PageCodec[A]

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class ConstPath
class ConstPaths
object Empty
class FromParamCodec[A]
class FromPathCodec[A]
class Transform[A, B]
class Zipped[A, B, C]
Show all

Members list

Value members

Abstract methods

def decodeInternal(paths: List[String], queryParams: QueryParams): ParseResult[(A, List[String])]
def encodeInternal(value: A): (Growable[String], Growable[(String, Chunk[String])])

Concrete methods

final def /[B](that: PageCodec[B])(using zip: Zip[A, B]): PageCodec[zip.Out]
final inline def autoTransform[B]: PageCodec[B]
final def decode(url: PageURL): ParseResult[A]
final def encode(value: A): PageURL
final def transform[B](ab: A => B, ba: B => A): PageCodec[B]