sealed trait Basic[I] extends Single[I] with EndpointInput.Basic[I] with EndpointOutput.Basic[I]
- Alphabetic
- By Inheritance
- Basic
- Basic
- Basic
- Basic
- Single
- Single
- Single
- EndpointIO
- EndpointOutput
- EndpointInput
- EndpointTransput
- EndpointTransputMacros
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Abstract Value Members
-
abstract
def
map[U](mapping: Mapping[I, U]): ThisType[U]
- Definition Classes
- EndpointTransput
-
abstract
def
show: String
- Definition Classes
- EndpointTransput
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
def
/[U, TU](other: EndpointInput[U])(implicit concat: typelevel.ParamConcat.Aux[I, U, TU]): EndpointInput[TU]
- Definition Classes
- EndpointInput
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
and[J, IJ](other: EndpointIO[J])(implicit concat: typelevel.ParamConcat.Aux[I, J, IJ]): EndpointIO[IJ]
- Definition Classes
- EndpointIO
-
def
and[J, IJ](other: EndpointOutput[J])(implicit concat: typelevel.ParamConcat.Aux[I, J, IJ]): EndpointOutput[IJ]
- Definition Classes
- EndpointOutput
-
def
and[U, TU](other: EndpointInput[U])(implicit concat: typelevel.ParamConcat.Aux[I, U, TU]): EndpointInput[TU]
- Definition Classes
- EndpointInput
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
map[U](f: (I) ⇒ U)(g: (U) ⇒ I): ThisType[U]
- Definition Classes
- EndpointTransput
-
def
mapDecode[U](f: (I) ⇒ DecodeResult[U])(g: (U) ⇒ I): ThisType[U]
- Definition Classes
- EndpointTransput
-
macro
def
mapTo[CASE_CLASS]: ThisType[CASE_CLASS]
- Definition Classes
- EndpointTransputMacros
-
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 thef
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
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
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
.map
s or.mapDecode
s will be invoked before validation.- Definition Classes
- EndpointTransput
- See also
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated