api

http4k / org.http4k.contract / ContractRouteSpec5

ContractRouteSpec5

class ContractRouteSpec5<out A, out B, out C, out D, out E> : ContractRouteSpec (source)

Types

Name Summary
Binder inner class Binder<out A, out B, out C, out D, out E> : ContractRouteSpec.ContractRequestBuilder

Properties

Name Summary
a val a: PathLens<A>
b val b: PathLens<B>
c val c: PathLens<C>
d val d: PathLens<D>
e val e: PathLens<E>

Inherited Properties

Name Summary
pathFn val pathFn: (PathSegments) -> PathSegments
pathLenses vararg val pathLenses: Array<out PathLens<*>>
routeMeta val routeMeta: RouteMeta

Functions

Name Summary
bindContract infix fun bindContract(method: Method): ContractRouteSpec5.Binder<A, B, C, D, E>
div infix operator fun div(next: String): ContractRouteSpec6<A, B, C, D, E, String>
infix operator fun <NEXT> div(next: PathLens<NEXT>): ContractRouteSpec6<A, B, C, D, E, NEXT>

Extension Functions

Name Summary
meta infix fun <A, B, C, D, E> ContractRouteSpec5<A, B, C, D, E>.meta(new: RouteMetaDsl.() -> Unit): ContractRouteSpec5<A, B, C, D, E>
with fun <T> T.with(vararg modifiers: (T) -> T): T