package shared
- Alphabetic
- By Inheritance
- shared
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
- sealed trait ApiElement extends AnyRef
- trait ApiOp extends AnyRef
-
trait
ApiTransformer extends AnyRef
Tranforms API type shape into five distinct types:
Tranforms API type shape into five distinct types:
- El: elements of the API (path elements, segment/query/header input placeholder, etc.)
- KIn: expected input key types (from parameters)
- VIn: expected input value types (from parameters)
- M: method type
- Out: output type
val api: TypeCarrier[Get[Json, Foo] :: Segment["name".type, String] :: "find".type :: HNil] val trans: ("name".type :: SegmentInput :: HNil, "name".type :: HNil, String :: HNil], Field[Json, GetCall], Foo)
-
final
case class
ApiTypeCarrier[H <: HList]() extends Product with Serializable
Specific TypeCarrier for complete API types.
- sealed trait ClientHeader[K, V] extends ApiOp
-
sealed
trait
ClientHeaderElement[K, V] extends ApiElement
Type-container providing the name (singleton) and value type for a static header element only used for the client.
- sealed trait ClientHeaderInput extends ApiOp
-
sealed
trait
ClientHeaderParam[K, V] extends ApiElement
Type-container providing the name (singleton) and value type for a header parameter only used for the client.
-
final
case class
CompositionCons[H <: HList]() extends Product with Serializable
Specific TypeCarrier for multiple API types.
- sealed trait DeleteCall extends MethodType
-
sealed
trait
DeleteElement[MT <: MediaType, A] extends MethodElement
Type-container representing a DELETE operation with a media-type and value type for the result.
- sealed trait FixedHeader[K, V] extends ApiOp
-
sealed
trait
FixedHeaderElement[K, V] extends ApiElement
Type-container providing the name (singleton) and value type for a static header element.
- sealed trait GetCall extends MethodType
-
sealed
trait
GetElement[MT <: MediaType, A] extends MethodElement
Type-container representing a GET operation with a media-type and value type for the result.
- sealed trait HeaderInput extends ApiOp
-
final
case class
HeaderListBuilder[H <: HList]() extends Product with Serializable
Typecarrier to construct a set of headers from HeaderParams, FixedHeaderElements, ClientHeaderElements, ServerHeaderSendElements and [ServerHeaderMatchParam]]s.
-
sealed
trait
HeaderParam[K, V] extends ApiElement
Type-container providing the name (singleton) and value type for a header parameter.
- trait MediaType extends AnyRef
- trait MediaTypes extends AnyRef
- trait MethodElement extends ApiElement
-
trait
MethodToReqBody[M <: MethodElement, MT <: MediaType, Bd] extends AnyRef
- Annotations
- @implicitNotFound( ... )
- trait MethodToReqBodyLowPrio extends AnyRef
-
trait
MethodToString[M <: MethodType] extends AnyRef
Transforms a MethodType to a
String
.Transforms a MethodType to a
String
.- Annotations
- @implicitNotFound( ... )
- trait MethodToStringLowPrio extends AnyRef
- trait MethodType extends ApiOp
-
final
class
PairTypeFromWitnessKey[F[_, _], V] extends AnyRef
Derive a TypeCarrier from a type parameter and a singleton type.
-
final
class
PairTypeFromWitnesses[F[_, _]] extends AnyRef
Derive a TypeCarrier from two singleton types.
-
sealed
trait
PathElement[P] extends AnyRef
Type-container providing the singleton-type of an static path element
-
final
case class
PathListBuilder[P <: HList]() extends Product with Serializable
Typecarrier to construct a complete path description from PathElements and SegmentParams.
- sealed trait PostCall extends MethodType
-
sealed
trait
PostElement[MT <: MediaType, A] extends MethodElement
Type-container representing a POST operation with a media-type and value type for the result.
- sealed trait PostWithBodyCall extends MethodType
-
sealed
trait
PostWithBodyElement[BMT <: MediaType, Bd, MT <: MediaType, A] extends MethodElement
Type-container representing a POST operation with a media-type and value type for the result and a body.
- sealed trait PutCall extends MethodType
-
sealed
trait
PutElement[MT <: MediaType, A] extends MethodElement
Type-container representing a PUT operation with a media-type and value type for the result.
- sealed trait PutWithBodyCall extends MethodType
-
sealed
trait
PutWithBodyElement[BMT <: MediaType, Bd, MT <: MediaType, A] extends MethodElement
Type-container representing a PUT operation with a media-type and value type for the result and a body.
- sealed trait QueryInput extends ApiOp
-
final
case class
QueryListBuilder[Q <: HList]() extends Product with Serializable
Typecarrier to construct a set of queries from QueryParams.
-
sealed
trait
QueryParam[K, V] extends ApiElement
Type-container providing the name (singleton) and value type for a query parameter.
-
sealed
trait
ReqBodyElement[MT <: MediaType, A] extends ApiElement
Type-container providing the media-type and value type for a request body.
- sealed trait SegmentInput extends ApiOp
-
sealed
trait
SegmentParam[K, V] extends ApiElement
Type-container providing the name (singleton) and value type for a path parameter.
- sealed trait ServerHeaderMatchInput extends ApiOp
-
sealed
trait
ServerHeaderMatchParam[K, V] extends ApiElement
Type-container providing the name (singleton) and value type describing a sub-string headers have to match only used for the server.
- sealed trait ServerHeaderSend[K, V] extends ApiOp
-
sealed
trait
ServerHeaderSendElement[K, V] extends ApiElement
Type-container providing the name (singleton) and value type for a static header element sent by server.
-
final
case class
TypeCarrier[A]() extends Product with Serializable
As the name says this case class is only there it pass types around on the value level.
-
sealed
trait
TypeLevelFoldFunction[In, Agg] extends AnyRef
Reimplements shapeles Case2 but on the type level (no real HList instance).
Reimplements shapeles Case2 but on the type level (no real HList instance).
- Annotations
- @implicitNotFound( ... )
-
sealed
trait
TypeLevelFoldLeft[H <: HList, Agg] extends Serializable
Reimplements shapeless LeftFolder but on the type level (no real HList instance)
Reimplements shapeless LeftFolder but on the type level (no real HList instance)
- Annotations
- @implicitNotFound( ... )
-
trait
TypeLevelFoldLeftList[H <: HList] extends AnyRef
Helper to work on a composition of HLists we want to fold over.
Helper to work on a composition of HLists we want to fold over.
- Annotations
- @implicitNotFound( ... )
- trait TypeLevelFoldLeftListLowPrio extends AnyRef
- trait TypeLevelFoldLeftLowPrio extends AnyRef
-
sealed
trait
WitnessToString[K] extends AnyRef
- Annotations
- @implicitNotFound( ... )
- trait WitnessToStringLowPrio extends AnyRef
Value Members
- final val BodyField: Aux[@@[Symbol, String("body")]]
- final val RawHeadersField: Aux[@@[Symbol, String("rawHeaders")]]
- object TypeLevelFoldFunction
- object TypeLevelFoldLeft extends Serializable
- object TypeLevelFoldLeftList