Packages

sealed trait Atom[I] extends Basic[I] with EndpointInput.Atom[I] with EndpointOutput.Atom[I]

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Atom
  2. Atom
  3. Atom
  4. Atom
  5. Basic
  6. Basic
  7. Basic
  8. Basic
  9. Single
  10. Single
  11. Single
  12. EndpointIO
  13. EndpointOutput
  14. EndpointInput
  15. EndpointTransput
  16. EndpointTransputMacros
  17. AnyRef
  18. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def codec: Codec[L, I, CF]
    Definition Classes
    Atom
  2. abstract def info: Info[I]
    Definition Classes
    Atom
  3. abstract def show: String
    Definition Classes
    EndpointTransput

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. def /[U, TU](other: EndpointInput[U])(implicit concat: typelevel.ParamConcat.Aux[I, U, TU]): EndpointInput[TU]
    Definition Classes
    EndpointInput
  4. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  5. def and[J, IJ](other: EndpointIO[J])(implicit concat: typelevel.ParamConcat.Aux[I, J, IJ]): EndpointIO[IJ]
    Definition Classes
    EndpointIO
  6. def and[J, IJ](other: EndpointOutput[J])(implicit concat: typelevel.ParamConcat.Aux[I, J, IJ]): EndpointOutput[IJ]
    Definition Classes
    EndpointOutput
  7. def and[U, TU](other: EndpointInput[U])(implicit concat: typelevel.ParamConcat.Aux[I, U, TU]): EndpointInput[TU]
    Definition Classes
    EndpointInput
  8. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  9. def attribute[A](k: AttributeKey[A], v: A): ThisType[I]
    Definition Classes
    Atom
  10. def attribute[A](k: AttributeKey[A]): Option[A]
    Definition Classes
    Atom
  11. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  12. def default(d: I): ThisType[I]
    Definition Classes
    Atom
  13. def deprecated(): ThisType[I]
    Definition Classes
    Atom
  14. def description(d: String): ThisType[I]
    Definition Classes
    Atom
  15. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  17. def example(example: Example[I]): ThisType[I]
    Definition Classes
    Atom
  18. def example(t: I): ThisType[I]
    Definition Classes
    Atom
  19. def examples(examples: List[Example[I]]): ThisType[I]
    Definition Classes
    Atom
  20. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  21. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  22. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  23. def map[U](mapping: Mapping[I, U]): ThisType[U]
    Definition Classes
    AtomEndpointTransput
  24. def map[U](f: (I) ⇒ U)(g: (U) ⇒ I): ThisType[U]
    Definition Classes
    EndpointTransput
  25. def mapDecode[U](f: (I) ⇒ DecodeResult[U])(g: (U) ⇒ I): ThisType[U]
    Definition Classes
    EndpointTransput
  26. macro def mapTo[CASE_CLASS]: ThisType[CASE_CLASS]
    Definition Classes
    EndpointTransputMacros
  27. def mapValidate[U](v: Validator[I])(f: (I) ⇒ U)(g: (U) ⇒ I): ThisType[U]

    Adds the given validator, and maps to the given higher-level type U.

    Adds the given validator, and maps to the given higher-level type U.

    Unlike a .validate(v).map(f)(g) invocation, during decoding the validator is run before applying the f function. If there are validation errors, decoding fails. However, the validator is then invoked again on the fully decoded value.

    This is useful to create inputs/outputs for types, which are unrepresentable unless the validator's condition is met, e.g. due to preconditions in the constructor.

    Definition Classes
    EndpointTransput
    See also

    validate

  28. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  29. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  30. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  31. def schema(modify: (Schema[I]) ⇒ Schema[I]): ThisType[I]
    Definition Classes
    Atom
  32. def schema(s: Option[Schema[I]]): ThisType[I]
    Definition Classes
    Atom
  33. def schema(s: Schema[I]): ThisType[I]
    Definition Classes
    Atom
  34. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  35. def toString(): String
    Definition Classes
    AnyRef → Any
  36. def validate(v: Validator[I]): ThisType[I]

    Adds a validator.

    Adds a validator.

    Note that validation is run on a fully decoded value. That is, during decoding, first the decoding functions are run, followed by validations. Hence any functions provided in subsequent .maps or .mapDecodes will be invoked before validation.

    Definition Classes
    EndpointTransput
    See also

    mapValidate

  37. def validateIterable[C[X] <: Iterable[X], U](v: Validator[U])(implicit tIsCU: =:=[I, C[U]]): ThisType[I]

    Adds a validator which validates each element in the collection.

    Adds a validator which validates each element in the collection.

    Should only be used if the schema hasn't been created by .mapping another one, but directly from Schema[U]. Otherwise the shape of the schema doesn't correspond to the type T, but to some lower-level representation of the type. This might cause invalid results at run-time.

    Definition Classes
    Atom
  38. def validateOption[U](v: Validator[U])(implicit tIsOptionU: =:=[I, Option[U]]): ThisType[I]

    Adds a validator which validates the option's element, if it is present.

    Adds a validator which validates the option's element, if it is present.

    Should only be used if the schema hasn't been created by .mapping another one, but directly from Schema[U]. Otherwise the shape of the schema doesn't correspond to the type T, but to some lower-level representation of the type. This might cause invalid results at run-time.

    Definition Classes
    Atom
  39. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  40. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  41. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated
    Deprecated

Inherited from EndpointOutput.Atom[I]

Inherited from EndpointInput.Atom[I]

Inherited from EndpointTransput.Atom[I]

Inherited from Basic[I]

Inherited from EndpointOutput.Basic[I]

Inherited from EndpointInput.Basic[I]

Inherited from EndpointTransput.Basic[I]

Inherited from Single[I]

Inherited from EndpointOutput.Single[I]

Inherited from EndpointInput.Single[I]

Inherited from EndpointIO[I]

Inherited from EndpointOutput[I]

Inherited from EndpointInput[I]

Inherited from EndpointTransput[I]

Inherited from EndpointTransputMacros[I]

Inherited from AnyRef

Inherited from Any

Ungrouped