options
Registers an OPTIONS stub.
fun <P : Any> options(requestType: Class<P>, spec: Consumer<RequestSpecificationBuilder<P>>): JavaBuildingStep<P>(source)
Registers an OPTIONS stub with a typed request body.
fun options(configuration: StubConfiguration, spec: Consumer<RequestSpecificationBuilder<String>>): JavaBuildingStep<String>(source)
Registers an OPTIONS stub with StubConfiguration.
fun <P : Any> options(configuration: StubConfiguration, requestType: Class<P>, spec: Consumer<RequestSpecificationBuilder<P>>): JavaBuildingStep<P>(source)
Registers an OPTIONS stub with a typed request body and StubConfiguration.