api

http4k / org.http4k.contract / ContractRouteSpec0

ContractRouteSpec0

class ContractRouteSpec0 : ContractRouteSpec (source)

Types

Name Summary
Binder inner class Binder : ContractRouteSpec.ContractRequestBuilder

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): ContractRouteSpec0.Binder
div infix operator fun div(next: String): ContractRouteSpec0
infix operator fun <NEXT> div(next: PathLens<NEXT>): ContractRouteSpec1<NEXT>

Extension Functions

Name Summary
meta infix fun ContractRouteSpec0.meta(new: RouteMetaDsl.() -> Unit): ContractRouteSpec0
with fun <T> T.with(vararg modifiers: (T) -> T): T