RequestPathCodec

oxygen.http.core.RequestPathCodec
See theRequestPathCodec companion object
sealed trait RequestPathCodec[A]

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class AndThen[A, B, C]
class ApplyPartial[A]
class ConstMany
class ConstSingle
trait FromDecodeCases[A]
class OrElse[A, B]
class Transform[A, B]
class TransformDecode[A, B]
Show all

Members list

Value members

Abstract methods

def decode(paths: List[String]): Option[(A, List[String])]
def encode(value: A): Growable[String]

Concrete methods

final def /[B](that: RequestPathCodec[B])(using zip: Zip[A, B]): RequestPathCodec[zip.Out]
final def <||[B >: A](that: RequestPathCodec[B])(using ct: TypeTest[B, A]): RequestPathCodec[B]
final inline def autoTransform[B]: RequestPathCodec[B]
final def transform[B](ab: A => B, ba: B => A): RequestPathCodec[B]
final def transformDecode[B](ab: A => Option[B], ba: B => A): RequestPathCodec[B]
final def ||>[B <: A](that: RequestPathCodec[B])(using ct: TypeTest[A, B]): RequestPathCodec[A]

Abstract fields

lazy val partiallyAppliedPathSchemas: NonEmptyList[Growable[PartiallyAppliedPathSchema]]

Concrete fields