output

@JvmName(name = "outputWithStatus0")
fun <P : Parameters, I : Input<*, *>, B : Body<*>> HttpEndpoint<P, I, Outputs0>.output(status: Status = Status.OK, body: () -> B): HttpEndpoint<P, I, Outputs1<Output<Headers0, B>>>(source)

Adds a new output that is selected when the response status equals status.

Receiver

Endpoint that currently declares no outputs.

Return

endpoint containing the existing configuration plus the newly added output.

Parameters

U

type of the endpoint URI definition.

I

type of the request input definition.

B

type of the response body definition created by body.

status

HTTP status used to select the new output; defaults to Status.OK.

body

factory producing the response body definition when status matches.


@JvmName(name = "outputWithStatusHeaders0")
fun <P : Parameters, I : Input<*, *>, H : Headers, B : Body<*>> HttpEndpoint<P, I, Outputs0>.output(status: Status = Status.OK, headers: () -> H, body: () -> B): HttpEndpoint<P, I, Outputs1<Output<H, B>>>(source)

Adds a new output that uses status together with headers and body.

Receiver

Endpoint that currently declares no outputs.

Return

endpoint containing the existing configuration plus the newly added output.

Parameters

U

type of the endpoint URI definition.

I

type of the request input definition.

H

type of the response header definition created by headers.

B

type of the response body definition created by body.

status

HTTP status used to select the new output; defaults to Status.OK.

headers

factory producing the response headers emitted when status matches.

body

factory producing the response body definition when status matches.


@JvmName(name = "outputMatcher0")
fun <P : Parameters, I : Input<*, *>, B : Body<*>> HttpEndpoint<P, I, Outputs0>.output(statusMatcher: StatusMatcher, body: () -> B): HttpEndpoint<P, I, Outputs1<Output<Headers0, B>>>(source)

Adds a new output that is selected when statusMatcher accepts the response and uses body.

Receiver

Endpoint that currently declares no outputs.

Return

endpoint containing the existing configuration plus the newly added output.

Parameters

U

type of the endpoint URI definition.

I

type of the request input definition.

B

type of the response body definition created by body.

statusMatcher

matcher describing which statuses select the new output.

body

factory producing the response body definition when statusMatcher matches.


@JvmName(name = "outputMatcherHeaders0")
fun <P : Parameters, I : Input<*, *>, H : Headers, B : Body<*>> HttpEndpoint<P, I, Outputs0>.output(statusMatcher: StatusMatcher, headers: () -> H, body: () -> B): HttpEndpoint<P, I, Outputs1<Output<H, B>>>(source)

Adds a new output that is selected when statusMatcher accepts the response and uses headers and body.

Receiver

Endpoint that currently declares no outputs.

Return

endpoint containing the existing configuration plus the newly added output.

Parameters

U

type of the endpoint URI definition.

I

type of the request input definition.

H

type of the response header definition created by headers.

B

type of the response body definition created by body.

statusMatcher

matcher describing which statuses select the new output.

headers

factory producing the response headers emitted when statusMatcher matches.

body

factory producing the response body definition when statusMatcher matches.


@JvmName(name = "outputWithStatus1")
fun <P : Parameters, I : Input<*, *>, O1 : Output<*, *>, B : Body<*>> HttpEndpoint<P, I, Outputs1<O1>>.output(status: Status = Status.OK, body: () -> B): HttpEndpoint<P, I, Outputs2<O1, Output<Headers0, B>>>(source)

Appends a new output matched by status and using body while preserving the existing output O1.

Receiver

Endpoint that currently declares a single output.

Return

endpoint containing the original output and the newly added one.

Parameters

U

type of the endpoint URI definition.

I

type of the request input definition.

O1

type of the existing output that remains unchanged.

B

type of the response body definition created by body.

status

HTTP status used to select the new output; defaults to Status.OK.

body

factory producing the response body definition when status matches.


@JvmName(name = "outputWithStatusHeaders1")
fun <P : Parameters, I : Input<*, *>, O1 : Output<*, *>, H : Headers, B : Body<*>> HttpEndpoint<P, I, Outputs1<O1>>.output(status: Status = Status.OK, headers: () -> H, body: () -> B): HttpEndpoint<P, I, Outputs2<O1, Output<H, B>>>(source)

Appends a new output matched by status using headers and body while preserving the existing output O1.

Receiver

Endpoint that currently declares a single output.

Return

endpoint containing the original output and the newly added one.

Parameters

U

type of the endpoint URI definition.

I

type of the request input definition.

O1

type of the existing output that remains unchanged.

H

type of the response header definition created by headers.

B

type of the response body definition created by body.

status

HTTP status used to select the new output; defaults to Status.OK.

headers

factory producing the response headers emitted when status matches.

body

factory producing the response body definition when status matches.


@JvmName(name = "outputMatcher1")
fun <P : Parameters, I : Input<*, *>, O1 : Output<*, *>, B : Body<*>> HttpEndpoint<P, I, Outputs1<O1>>.output(statusMatcher: StatusMatcher, body: () -> B): HttpEndpoint<P, I, Outputs2<O1, Output<Headers0, B>>>(source)

Appends a new output matched by statusMatcher and using body while preserving the existing output O1.

Receiver

Endpoint that currently declares a single output.

Return

endpoint containing the original output and the newly added one.

Parameters

U

type of the endpoint URI definition.

I

type of the request input definition.

O1

type of the existing output that remains unchanged.

B

type of the response body definition created by body.

statusMatcher

matcher describing which statuses select the new output.

body

factory producing the response body definition when statusMatcher matches.


@JvmName(name = "outputMatcherHeaders1")
fun <P : Parameters, I : Input<*, *>, O1 : Output<*, *>, H : Headers, B : Body<*>> HttpEndpoint<P, I, Outputs1<O1>>.output(statusMatcher: StatusMatcher, headers: () -> H, body: () -> B): HttpEndpoint<P, I, Outputs2<O1, Output<H, B>>>(source)

Appends a new output matched by statusMatcher using headers and body while preserving the existing output O1.

Receiver

Endpoint that currently declares a single output.

Return

endpoint containing the original output and the newly added one.

Parameters

U

type of the endpoint URI definition.

I

type of the request input definition.

O1

type of the existing output that remains unchanged.

H

type of the response header definition created by headers.

B

type of the response body definition created by body.

statusMatcher

matcher describing which statuses select the new output.

headers

factory producing the response headers emitted when statusMatcher matches.

body

factory producing the response body definition when statusMatcher matches.


@JvmName(name = "outputWithStatus2")
fun <P : Parameters, I : Input<*, *>, O1 : Output<*, *>, O2 : Output<*, *>, B : Body<*>> HttpEndpoint<P, I, Outputs2<O1, O2>>.output(status: Status = Status.OK, body: () -> B): HttpEndpoint<P, I, Outputs3<O1, O2, Output<Headers0, B>>>(source)

Appends a new output matched by status and using body while preserving O1 and O2.

Receiver

Endpoint that currently declares two outputs.

Return

endpoint containing the original outputs together with the newly added one.

Parameters

U

type of the endpoint URI definition.

I

type of the request input definition.

O1

type of the first existing output that remains unchanged.

O2

type of the second existing output that remains unchanged.

B

type of the response body definition created by body.

status

HTTP status used to select the new output; defaults to Status.OK.

body

factory producing the response body definition when status matches.


@JvmName(name = "outputWithStatusHeaders2")
fun <P : Parameters, I : Input<*, *>, O1 : Output<*, *>, O2 : Output<*, *>, H : Headers, B : Body<*>> HttpEndpoint<P, I, Outputs2<O1, O2>>.output(status: Status = Status.OK, headers: () -> H, body: () -> B): HttpEndpoint<P, I, Outputs3<O1, O2, Output<H, B>>>(source)

Appends a new output matched by status using headers and body while preserving O1 and O2.

Receiver

Endpoint that currently declares two outputs.

Return

endpoint containing the original outputs together with the newly added one.

Parameters

U

type of the endpoint URI definition.

I

type of the request input definition.

O1

type of the first existing output that remains unchanged.

O2

type of the second existing output that remains unchanged.

H

type of the response header definition created by headers.

B

type of the response body definition created by body.

status

HTTP status used to select the new output; defaults to Status.OK.

headers

factory producing the response headers emitted when status matches.

body

factory producing the response body definition when status matches.


@JvmName(name = "outputMatcher2")
fun <P : Parameters, I : Input<*, *>, O1 : Output<*, *>, O2 : Output<*, *>, B : Body<*>> HttpEndpoint<P, I, Outputs2<O1, O2>>.output(statusMatcher: StatusMatcher, body: () -> B): HttpEndpoint<P, I, Outputs3<O1, O2, Output<Headers0, B>>>(source)

Appends a new output matched by statusMatcher and using body while preserving O1 and O2.

Receiver

Endpoint that currently declares two outputs.

Return

endpoint containing the original outputs together with the newly added one.

Parameters

U

type of the endpoint URI definition.

I

type of the request input definition.

O1

type of the first existing output that remains unchanged.

O2

type of the second existing output that remains unchanged.

B

type of the response body definition created by body.

statusMatcher

matcher describing which statuses select the new output.

body

factory producing the response body definition when statusMatcher matches.


@JvmName(name = "outputMatcherHeaders2")
fun <P : Parameters, I : Input<*, *>, O1 : Output<*, *>, O2 : Output<*, *>, H : Headers, B : Body<*>> HttpEndpoint<P, I, Outputs2<O1, O2>>.output(statusMatcher: StatusMatcher, headers: () -> H, body: () -> B): HttpEndpoint<P, I, Outputs3<O1, O2, Output<H, B>>>(source)

Appends a new output matched by statusMatcher using headers and body while preserving O1 and O2.

Receiver

Endpoint that currently declares two outputs.

Return

endpoint containing the original outputs together with the newly added one.

Parameters

U

type of the endpoint URI definition.

I

type of the request input definition.

O1

type of the first existing output that remains unchanged.

O2

type of the second existing output that remains unchanged.

H

type of the response header definition created by headers.

B

type of the response body definition created by body.

statusMatcher

matcher describing which statuses select the new output.

headers

factory producing the response headers emitted when statusMatcher matches.

body

factory producing the response body definition when statusMatcher matches.


@JvmName(name = "outputWithStatus3")
fun <P : Parameters, I : Input<*, *>, O1 : Output<*, *>, O2 : Output<*, *>, O3 : Output<*, *>, B : Body<*>> HttpEndpoint<P, I, Outputs3<O1, O2, O3>>.output(status: Status = Status.OK, body: () -> B): HttpEndpoint<P, I, Outputs4<O1, O2, O3, Output<Headers0, B>>>(source)

Appends a new output matched by status and using body while preserving O1, O2, and O3.

Receiver

Endpoint that currently declares three outputs.

Return

endpoint containing the original outputs together with the newly added one.

Parameters

U

type of the endpoint URI definition.

I

type of the request input definition.

O1

type of the first existing output that remains unchanged.

O2

type of the second existing output that remains unchanged.

O3

type of the third existing output that remains unchanged.

B

type of the response body definition created by body.

status

HTTP status used to select the new output; defaults to Status.OK.

body

factory producing the response body definition when status matches.


@JvmName(name = "outputWithStatusHeaders3")
fun <P : Parameters, I : Input<*, *>, O1 : Output<*, *>, O2 : Output<*, *>, O3 : Output<*, *>, H : Headers, B : Body<*>> HttpEndpoint<P, I, Outputs3<O1, O2, O3>>.output(status: Status = Status.OK, headers: () -> H, body: () -> B): HttpEndpoint<P, I, Outputs4<O1, O2, O3, Output<H, B>>>(source)

Appends a new output matched by status using headers and body while preserving O1, O2, and O3.

Receiver

Endpoint that currently declares three outputs.

Return

endpoint containing the original outputs together with the newly added one.

Parameters

U

type of the endpoint URI definition.

I

type of the request input definition.

O1

type of the first existing output that remains unchanged.

O2

type of the second existing output that remains unchanged.

O3

type of the third existing output that remains unchanged.

H

type of the response header definition created by headers.

B

type of the response body definition created by body.

status

HTTP status used to select the new output; defaults to Status.OK.

headers

factory producing the response headers emitted when status matches.

body

factory producing the response body definition when status matches.


@JvmName(name = "outputMatcher3")
fun <P : Parameters, I : Input<*, *>, O1 : Output<*, *>, O2 : Output<*, *>, O3 : Output<*, *>, B : Body<*>> HttpEndpoint<P, I, Outputs3<O1, O2, O3>>.output(statusMatcher: StatusMatcher, body: () -> B): HttpEndpoint<P, I, Outputs4<O1, O2, O3, Output<Headers0, B>>>(source)

Appends a new output matched by statusMatcher and using body while preserving O1, O2, and O3.

Receiver

Endpoint that currently declares three outputs.

Return

endpoint containing the original outputs together with the newly added one.

Parameters

U

type of the endpoint URI definition.

I

type of the request input definition.

O1

type of the first existing output that remains unchanged.

O2

type of the second existing output that remains unchanged.

O3

type of the third existing output that remains unchanged.

B

type of the response body definition created by body.

statusMatcher

matcher describing which statuses select the new output.

body

factory producing the response body definition when statusMatcher matches.


@JvmName(name = "outputMatcherHeaders3")
fun <P : Parameters, I : Input<*, *>, O1 : Output<*, *>, O2 : Output<*, *>, O3 : Output<*, *>, H : Headers, B : Body<*>> HttpEndpoint<P, I, Outputs3<O1, O2, O3>>.output(statusMatcher: StatusMatcher, headers: () -> H, body: () -> B): HttpEndpoint<P, I, Outputs4<O1, O2, O3, Output<H, B>>>(source)

Appends a new output matched by statusMatcher using headers and body while preserving O1, O2, and O3.

Receiver

Endpoint that currently declares three outputs.

Return

endpoint containing the original outputs together with the newly added one.

Parameters

U

type of the endpoint URI definition.

I

type of the request input definition.

O1

type of the first existing output that remains unchanged.

O2

type of the second existing output that remains unchanged.

O3

type of the third existing output that remains unchanged.

H

type of the response header definition created by headers.

B

type of the response body definition created by body.

statusMatcher

matcher describing which statuses select the new output.

headers

factory producing the response headers emitted when statusMatcher matches.

body

factory producing the response body definition when statusMatcher matches.


@JvmName(name = "outputWithStatus4")
fun <P : Parameters, I : Input<*, *>, O1 : Output<*, *>, O2 : Output<*, *>, O3 : Output<*, *>, O4 : Output<*, *>, B : Body<*>> HttpEndpoint<P, I, Outputs4<O1, O2, O3, O4>>.output(status: Status = Status.OK, body: () -> B): HttpEndpoint<P, I, Outputs5<O1, O2, O3, O4, Output<Headers0, B>>>(source)

Appends a new output matched by status and using body while preserving O1, O2, O3, and O4.

Receiver

Endpoint that currently declares four outputs.

Return

endpoint containing the original outputs together with the newly added one.

Parameters

U

type of the endpoint URI definition.

I

type of the request input definition.

O1

type of the first existing output that remains unchanged.

O2

type of the second existing output that remains unchanged.

O3

type of the third existing output that remains unchanged.

O4

type of the fourth existing output that remains unchanged.

B

type of the response body definition created by body.

status

HTTP status used to select the new output; defaults to Status.OK.

body

factory producing the response body definition when status matches.


@JvmName(name = "outputWithStatusHeaders4")
fun <P : Parameters, I : Input<*, *>, O1 : Output<*, *>, O2 : Output<*, *>, O3 : Output<*, *>, O4 : Output<*, *>, H : Headers, B : Body<*>> HttpEndpoint<P, I, Outputs4<O1, O2, O3, O4>>.output(status: Status = Status.OK, headers: () -> H, body: () -> B): HttpEndpoint<P, I, Outputs5<O1, O2, O3, O4, Output<H, B>>>(source)

Appends a new output matched by status using headers and body while preserving O1, O2, O3, and O4.

Receiver

Endpoint that currently declares four outputs.

Return

endpoint containing the original outputs together with the newly added one.

Parameters

U

type of the endpoint URI definition.

I

type of the request input definition.

O1

type of the first existing output that remains unchanged.

O2

type of the second existing output that remains unchanged.

O3

type of the third existing output that remains unchanged.

O4

type of the fourth existing output that remains unchanged.

H

type of the response header definition created by headers.

B

type of the response body definition created by body.

status

HTTP status used to select the new output; defaults to Status.OK.

headers

factory producing the response headers emitted when status matches.

body

factory producing the response body definition when status matches.


@JvmName(name = "outputMatcher4")
fun <P : Parameters, I : Input<*, *>, O1 : Output<*, *>, O2 : Output<*, *>, O3 : Output<*, *>, O4 : Output<*, *>, B : Body<*>> HttpEndpoint<P, I, Outputs4<O1, O2, O3, O4>>.output(statusMatcher: StatusMatcher, body: () -> B): HttpEndpoint<P, I, Outputs5<O1, O2, O3, O4, Output<Headers0, B>>>(source)

Appends a new output matched by statusMatcher and using body while preserving O1, O2, O3, and O4.

Receiver

Endpoint that currently declares four outputs.

Return

endpoint containing the original outputs together with the newly added one.

Parameters

U

type of the endpoint URI definition.

I

type of the request input definition.

O1

type of the first existing output that remains unchanged.

O2

type of the second existing output that remains unchanged.

O3

type of the third existing output that remains unchanged.

O4

type of the fourth existing output that remains unchanged.

B

type of the response body definition created by body.

statusMatcher

matcher describing which statuses select the new output.

body

factory producing the response body definition when statusMatcher matches.


@JvmName(name = "outputMatcherHeaders4")
fun <P : Parameters, I : Input<*, *>, O1 : Output<*, *>, O2 : Output<*, *>, O3 : Output<*, *>, O4 : Output<*, *>, H : Headers, B : Body<*>> HttpEndpoint<P, I, Outputs4<O1, O2, O3, O4>>.output(statusMatcher: StatusMatcher, headers: () -> H, body: () -> B): HttpEndpoint<P, I, Outputs5<O1, O2, O3, O4, Output<H, B>>>(source)

Appends a new output matched by statusMatcher using headers and body while preserving O1, O2, O3, and O4.

Receiver

Endpoint that currently declares four outputs.

Return

endpoint containing the original outputs together with the newly added one.

Parameters

U

type of the endpoint URI definition.

I

type of the request input definition.

O1

type of the first existing output that remains unchanged.

O2

type of the second existing output that remains unchanged.

O3

type of the third existing output that remains unchanged.

O4

type of the fourth existing output that remains unchanged.

H

type of the response header definition created by headers.

B

type of the response body definition created by body.

statusMatcher

matcher describing which statuses select the new output.

headers

factory producing the response headers emitted when statusMatcher matches.

body

factory producing the response body definition when statusMatcher matches.


@JvmName(name = "outputWithStatus5")
fun <P : Parameters, I : Input<*, *>, O1 : Output<*, *>, O2 : Output<*, *>, O3 : Output<*, *>, O4 : Output<*, *>, O5 : Output<*, *>, B : Body<*>> HttpEndpoint<P, I, Outputs5<O1, O2, O3, O4, O5>>.output(status: Status = Status.OK, body: () -> B): HttpEndpoint<P, I, Outputs6<O1, O2, O3, O4, O5, Output<Headers0, B>>>(source)

Appends a new output matched by status and using body while preserving O1, O2, O3, O4, and O5.

Receiver

Endpoint that currently declares five outputs.

Return

endpoint containing the original outputs together with the newly added one.

Parameters

U

type of the endpoint URI definition.

I

type of the request input definition.

O1

type of the first existing output that remains unchanged.

O2

type of the second existing output that remains unchanged.

O3

type of the third existing output that remains unchanged.

O4

type of the fourth existing output that remains unchanged.

O5

type of the fifth existing output that remains unchanged.

B

type of the response body definition created by body.

status

HTTP status used to select the new output; defaults to Status.OK.

body

factory producing the response body definition when status matches.


@JvmName(name = "outputWithStatusHeaders5")
fun <P : Parameters, I : Input<*, *>, O1 : Output<*, *>, O2 : Output<*, *>, O3 : Output<*, *>, O4 : Output<*, *>, O5 : Output<*, *>, H : Headers, B : Body<*>> HttpEndpoint<P, I, Outputs5<O1, O2, O3, O4, O5>>.output(status: Status = Status.OK, headers: () -> H, body: () -> B): HttpEndpoint<P, I, Outputs6<O1, O2, O3, O4, O5, Output<H, B>>>(source)

Appends a new output matched by status using headers and body while preserving O1, O2, O3, O4, and O5.

Receiver

Endpoint that currently declares five outputs.

Return

endpoint containing the original outputs together with the newly added one.

Parameters

U

type of the endpoint URI definition.

I

type of the request input definition.

O1

type of the first existing output that remains unchanged.

O2

type of the second existing output that remains unchanged.

O3

type of the third existing output that remains unchanged.

O4

type of the fourth existing output that remains unchanged.

O5

type of the fifth existing output that remains unchanged.

H

type of the response header definition created by headers.

B

type of the response body definition created by body.

status

HTTP status used to select the new output; defaults to Status.OK.

headers

factory producing the response headers emitted when status matches.

body

factory producing the response body definition when status matches.


@JvmName(name = "outputMatcher5")
fun <P : Parameters, I : Input<*, *>, O1 : Output<*, *>, O2 : Output<*, *>, O3 : Output<*, *>, O4 : Output<*, *>, O5 : Output<*, *>, B : Body<*>> HttpEndpoint<P, I, Outputs5<O1, O2, O3, O4, O5>>.output(statusMatcher: StatusMatcher, body: () -> B): HttpEndpoint<P, I, Outputs6<O1, O2, O3, O4, O5, Output<Headers0, B>>>(source)

Appends a new output matched by statusMatcher and using body while preserving O1, O2, O3, O4, and O5.

Receiver

Endpoint that currently declares five outputs.

Return

endpoint containing the original outputs together with the newly added one.

Parameters

U

type of the endpoint URI definition.

I

type of the request input definition.

O1

type of the first existing output that remains unchanged.

O2

type of the second existing output that remains unchanged.

O3

type of the third existing output that remains unchanged.

O4

type of the fourth existing output that remains unchanged.

O5

type of the fifth existing output that remains unchanged.

B

type of the response body definition created by body.

statusMatcher

matcher describing which statuses select the new output.

body

factory producing the response body definition when statusMatcher matches.


@JvmName(name = "outputMatcherHeaders5")
fun <P : Parameters, I : Input<*, *>, O1 : Output<*, *>, O2 : Output<*, *>, O3 : Output<*, *>, O4 : Output<*, *>, O5 : Output<*, *>, H : Headers, B : Body<*>> HttpEndpoint<P, I, Outputs5<O1, O2, O3, O4, O5>>.output(statusMatcher: StatusMatcher, headers: () -> H, body: () -> B): HttpEndpoint<P, I, Outputs6<O1, O2, O3, O4, O5, Output<H, B>>>(source)

Appends a new output matched by statusMatcher using headers and body while preserving O1, O2, O3, O4, and O5.

Receiver

Endpoint that currently declares five outputs.

Return

endpoint containing the original outputs together with the newly added one.

Parameters

U

type of the endpoint URI definition.

I

type of the request input definition.

O1

type of the first existing output that remains unchanged.

O2

type of the second existing output that remains unchanged.

O3

type of the third existing output that remains unchanged.

O4

type of the fourth existing output that remains unchanged.

O5

type of the fifth existing output that remains unchanged.

H

type of the response header definition created by headers.

B

type of the response body definition created by body.

statusMatcher

matcher describing which statuses select the new output.

headers

factory producing the response headers emitted when statusMatcher matches.

body

factory producing the response body definition when statusMatcher matches.


@JvmName(name = "outputWithStatus6")
fun <P : Parameters, I : Input<*, *>, O1 : Output<*, *>, O2 : Output<*, *>, O3 : Output<*, *>, O4 : Output<*, *>, O5 : Output<*, *>, O6 : Output<*, *>, B : Body<*>> HttpEndpoint<P, I, Outputs6<O1, O2, O3, O4, O5, O6>>.output(status: Status = Status.OK, body: () -> B): HttpEndpoint<P, I, Outputs7<O1, O2, O3, O4, O5, O6, Output<Headers0, B>>>(source)

Appends a new output matched by status and using body while preserving O1, O2, O3, O4, O5, and O6.

Receiver

Endpoint that currently declares six outputs.

Return

endpoint containing the original outputs together with the newly added one.

Parameters

U

type of the endpoint URI definition.

I

type of the request input definition.

O1

type of the first existing output that remains unchanged.

O2

type of the second existing output that remains unchanged.

O3

type of the third existing output that remains unchanged.

O4

type of the fourth existing output that remains unchanged.

O5

type of the fifth existing output that remains unchanged.

O6

type of the sixth existing output that remains unchanged.

B

type of the response body definition created by body.

status

HTTP status used to select the new output; defaults to Status.OK.

body

factory producing the response body definition when status matches.


@JvmName(name = "outputWithStatusHeaders6")
fun <P : Parameters, I : Input<*, *>, O1 : Output<*, *>, O2 : Output<*, *>, O3 : Output<*, *>, O4 : Output<*, *>, O5 : Output<*, *>, O6 : Output<*, *>, H : Headers, B : Body<*>> HttpEndpoint<P, I, Outputs6<O1, O2, O3, O4, O5, O6>>.output(status: Status = Status.OK, headers: () -> H, body: () -> B): HttpEndpoint<P, I, Outputs7<O1, O2, O3, O4, O5, O6, Output<H, B>>>(source)

Appends a new output matched by status using headers and body while preserving O1, O2, O3, O4, O5, and O6.

Receiver

Endpoint that currently declares six outputs.

Return

endpoint containing the original outputs together with the newly added one.

Parameters

U

type of the endpoint URI definition.

I

type of the request input definition.

O1

type of the first existing output that remains unchanged.

O2

type of the second existing output that remains unchanged.

O3

type of the third existing output that remains unchanged.

O4

type of the fourth existing output that remains unchanged.

O5

type of the fifth existing output that remains unchanged.

O6

type of the sixth existing output that remains unchanged.

H

type of the response header definition created by headers.

B

type of the response body definition created by body.

status

HTTP status used to select the new output; defaults to Status.OK.

headers

factory producing the response headers emitted when status matches.

body

factory producing the response body definition when status matches.


@JvmName(name = "outputMatcher6")
fun <P : Parameters, I : Input<*, *>, O1 : Output<*, *>, O2 : Output<*, *>, O3 : Output<*, *>, O4 : Output<*, *>, O5 : Output<*, *>, O6 : Output<*, *>, B : Body<*>> HttpEndpoint<P, I, Outputs6<O1, O2, O3, O4, O5, O6>>.output(statusMatcher: StatusMatcher, body: () -> B): HttpEndpoint<P, I, Outputs7<O1, O2, O3, O4, O5, O6, Output<Headers0, B>>>(source)

Appends a new output matched by statusMatcher and using body while preserving O1, O2, O3, O4, O5, and O6.

Receiver

Endpoint that currently declares six outputs.

Return

endpoint containing the original outputs together with the newly added one.

Parameters

U

type of the endpoint URI definition.

I

type of the request input definition.

O1

type of the first existing output that remains unchanged.

O2

type of the second existing output that remains unchanged.

O3

type of the third existing output that remains unchanged.

O4

type of the fourth existing output that remains unchanged.

O5

type of the fifth existing output that remains unchanged.

O6

type of the sixth existing output that remains unchanged.

B

type of the response body definition created by body.

statusMatcher

matcher describing which statuses select the new output.

body

factory producing the response body definition when statusMatcher matches.


@JvmName(name = "outputMatcherHeaders6")
fun <P : Parameters, I : Input<*, *>, O1 : Output<*, *>, O2 : Output<*, *>, O3 : Output<*, *>, O4 : Output<*, *>, O5 : Output<*, *>, O6 : Output<*, *>, H : Headers, B : Body<*>> HttpEndpoint<P, I, Outputs6<O1, O2, O3, O4, O5, O6>>.output(statusMatcher: StatusMatcher, headers: () -> H, body: () -> B): HttpEndpoint<P, I, Outputs7<O1, O2, O3, O4, O5, O6, Output<H, B>>>(source)

Appends a new output matched by statusMatcher using headers and body while preserving O1, O2, O3, O4, O5, and O6.

Receiver

Endpoint that currently declares six outputs.

Return

endpoint containing the original outputs together with the newly added one.

Parameters

U

type of the endpoint URI definition.

I

type of the request input definition.

O1

type of the first existing output that remains unchanged.

O2

type of the second existing output that remains unchanged.

O3

type of the third existing output that remains unchanged.

O4

type of the fourth existing output that remains unchanged.

O5

type of the fifth existing output that remains unchanged.

O6

type of the sixth existing output that remains unchanged.

H

type of the response header definition created by headers.

B

type of the response body definition created by body.

statusMatcher

matcher describing which statuses select the new output.

headers

factory producing the response headers emitted when statusMatcher matches.

body

factory producing the response body definition when statusMatcher matches.


@JvmName(name = "outputWithStatus7")
fun <P : Parameters, I : Input<*, *>, O1 : Output<*, *>, O2 : Output<*, *>, O3 : Output<*, *>, O4 : Output<*, *>, O5 : Output<*, *>, O6 : Output<*, *>, O7 : Output<*, *>, B : Body<*>> HttpEndpoint<P, I, Outputs7<O1, O2, O3, O4, O5, O6, O7>>.output(status: Status = Status.OK, body: () -> B): HttpEndpoint<P, I, Outputs8<O1, O2, O3, O4, O5, O6, O7, Output<Headers0, B>>>(source)

Appends a new output matched by status and using body while preserving O1, O2, O3, O4, O5, O6, and O7.

Receiver

Endpoint that currently declares seven outputs.

Return

endpoint containing the original outputs together with the newly added one.

Parameters

U

type of the endpoint URI definition.

I

type of the request input definition.

O1

type of the first existing output that remains unchanged.

O2

type of the second existing output that remains unchanged.

O3

type of the third existing output that remains unchanged.

O4

type of the fourth existing output that remains unchanged.

O5

type of the fifth existing output that remains unchanged.

O6

type of the sixth existing output that remains unchanged.

O7

type of the seventh existing output that remains unchanged.

B

type of the response body definition created by body.

status

HTTP status used to select the new output; defaults to Status.OK.

body

factory producing the response body definition when status matches.


@JvmName(name = "outputWithStatusHeaders7")
fun <P : Parameters, I : Input<*, *>, O1 : Output<*, *>, O2 : Output<*, *>, O3 : Output<*, *>, O4 : Output<*, *>, O5 : Output<*, *>, O6 : Output<*, *>, O7 : Output<*, *>, H : Headers, B : Body<*>> HttpEndpoint<P, I, Outputs7<O1, O2, O3, O4, O5, O6, O7>>.output(status: Status = Status.OK, headers: () -> H, body: () -> B): HttpEndpoint<P, I, Outputs8<O1, O2, O3, O4, O5, O6, O7, Output<H, B>>>(source)

Appends a new output matched by status using headers and body while preserving O1, O2, O3, O4, O5, O6, and O7.

Receiver

Endpoint that currently declares seven outputs.

Return

endpoint containing the original outputs together with the newly added one.

Parameters

U

type of the endpoint URI definition.

I

type of the request input definition.

O1

type of the first existing output that remains unchanged.

O2

type of the second existing output that remains unchanged.

O3

type of the third existing output that remains unchanged.

O4

type of the fourth existing output that remains unchanged.

O5

type of the fifth existing output that remains unchanged.

O6

type of the sixth existing output that remains unchanged.

O7

type of the seventh existing output that remains unchanged.

H

type of the response header definition created by headers.

B

type of the response body definition created by body.

status

HTTP status used to select the new output; defaults to Status.OK.

headers

factory producing the response headers emitted when status matches.

body

factory producing the response body definition when status matches.


@JvmName(name = "outputMatcher7")
fun <P : Parameters, I : Input<*, *>, O1 : Output<*, *>, O2 : Output<*, *>, O3 : Output<*, *>, O4 : Output<*, *>, O5 : Output<*, *>, O6 : Output<*, *>, O7 : Output<*, *>, B : Body<*>> HttpEndpoint<P, I, Outputs7<O1, O2, O3, O4, O5, O6, O7>>.output(statusMatcher: StatusMatcher, body: () -> B): HttpEndpoint<P, I, Outputs8<O1, O2, O3, O4, O5, O6, O7, Output<Headers0, B>>>(source)

Appends a new output matched by statusMatcher and using body while preserving O1, O2, O3, O4, O5, O6, and O7.

Receiver

Endpoint that currently declares seven outputs.

Return

endpoint containing the original outputs together with the newly added one.

Parameters

U

type of the endpoint URI definition.

I

type of the request input definition.

O1

type of the first existing output that remains unchanged.

O2

type of the second existing output that remains unchanged.

O3

type of the third existing output that remains unchanged.

O4

type of the fourth existing output that remains unchanged.

O5

type of the fifth existing output that remains unchanged.

O6

type of the sixth existing output that remains unchanged.

O7

type of the seventh existing output that remains unchanged.

B

type of the response body definition created by body.

statusMatcher

matcher describing which statuses select the new output.

body

factory producing the response body definition when statusMatcher matches.


@JvmName(name = "outputMatcherHeaders7")
fun <P : Parameters, I : Input<*, *>, O1 : Output<*, *>, O2 : Output<*, *>, O3 : Output<*, *>, O4 : Output<*, *>, O5 : Output<*, *>, O6 : Output<*, *>, O7 : Output<*, *>, H : Headers, B : Body<*>> HttpEndpoint<P, I, Outputs7<O1, O2, O3, O4, O5, O6, O7>>.output(statusMatcher: StatusMatcher, headers: () -> H, body: () -> B): HttpEndpoint<P, I, Outputs8<O1, O2, O3, O4, O5, O6, O7, Output<H, B>>>(source)

Appends a new output matched by statusMatcher using headers and body while preserving O1, O2, O3, O4, O5, O6, and O7.

Receiver

Endpoint that currently declares seven outputs.

Return

endpoint containing the original outputs together with the newly added one.

Parameters

U

type of the endpoint URI definition.

I

type of the request input definition.

O1

type of the first existing output that remains unchanged.

O2

type of the second existing output that remains unchanged.

O3

type of the third existing output that remains unchanged.

O4

type of the fourth existing output that remains unchanged.

O5

type of the fifth existing output that remains unchanged.

O6

type of the sixth existing output that remains unchanged.

O7

type of the seventh existing output that remains unchanged.

H

type of the response header definition created by headers.

B

type of the response body definition created by body.

statusMatcher

matcher describing which statuses select the new output.

headers

factory producing the response headers emitted when statusMatcher matches.

body

factory producing the response body definition when statusMatcher matches.


@JvmName(name = "outputWithStatus8")
fun <P : Parameters, I : Input<*, *>, O1 : Output<*, *>, O2 : Output<*, *>, O3 : Output<*, *>, O4 : Output<*, *>, O5 : Output<*, *>, O6 : Output<*, *>, O7 : Output<*, *>, O8 : Output<*, *>, B : Body<*>> HttpEndpoint<P, I, Outputs8<O1, O2, O3, O4, O5, O6, O7, O8>>.output(status: Status = Status.OK, body: () -> B): HttpEndpoint<P, I, Outputs9<O1, O2, O3, O4, O5, O6, O7, O8, Output<Headers0, B>>>(source)

Appends a new output matched by status and using body while preserving O1, O2, O3, O4, O5, O6, O7, and O8.

Receiver

Endpoint that currently declares eight outputs.

Return

endpoint containing the original outputs together with the newly added one.

Parameters

U

type of the endpoint URI definition.

I

type of the request input definition.

O1

type of the first existing output that remains unchanged.

O2

type of the second existing output that remains unchanged.

O3

type of the third existing output that remains unchanged.

O4

type of the fourth existing output that remains unchanged.

O5

type of the fifth existing output that remains unchanged.

O6

type of the sixth existing output that remains unchanged.

O7

type of the seventh existing output that remains unchanged.

O8

type of the eighth existing output that remains unchanged.

B

type of the response body definition created by body.

status

HTTP status used to select the new output; defaults to Status.OK.

body

factory producing the response body definition when status matches.


@JvmName(name = "outputWithStatusHeaders8")
fun <P : Parameters, I : Input<*, *>, O1 : Output<*, *>, O2 : Output<*, *>, O3 : Output<*, *>, O4 : Output<*, *>, O5 : Output<*, *>, O6 : Output<*, *>, O7 : Output<*, *>, O8 : Output<*, *>, H : Headers, B : Body<*>> HttpEndpoint<P, I, Outputs8<O1, O2, O3, O4, O5, O6, O7, O8>>.output(status: Status = Status.OK, headers: () -> H, body: () -> B): HttpEndpoint<P, I, Outputs9<O1, O2, O3, O4, O5, O6, O7, O8, Output<H, B>>>(source)

Appends a new output matched by status using headers and body while preserving O1, O2, O3, O4, O5, O6, O7, and O8.

Receiver

Endpoint that currently declares eight outputs.

Return

endpoint containing the original outputs together with the newly added one.

Parameters

U

type of the endpoint URI definition.

I

type of the request input definition.

O1

type of the first existing output that remains unchanged.

O2

type of the second existing output that remains unchanged.

O3

type of the third existing output that remains unchanged.

O4

type of the fourth existing output that remains unchanged.

O5

type of the fifth existing output that remains unchanged.

O6

type of the sixth existing output that remains unchanged.

O7

type of the seventh existing output that remains unchanged.

O8

type of the eighth existing output that remains unchanged.

H

type of the response header definition created by headers.

B

type of the response body definition created by body.

status

HTTP status used to select the new output; defaults to Status.OK.

headers

factory producing the response headers emitted when status matches.

body

factory producing the response body definition when status matches.


@JvmName(name = "outputMatcher8")
fun <P : Parameters, I : Input<*, *>, O1 : Output<*, *>, O2 : Output<*, *>, O3 : Output<*, *>, O4 : Output<*, *>, O5 : Output<*, *>, O6 : Output<*, *>, O7 : Output<*, *>, O8 : Output<*, *>, B : Body<*>> HttpEndpoint<P, I, Outputs8<O1, O2, O3, O4, O5, O6, O7, O8>>.output(statusMatcher: StatusMatcher, body: () -> B): HttpEndpoint<P, I, Outputs9<O1, O2, O3, O4, O5, O6, O7, O8, Output<Headers0, B>>>(source)

Appends a new output matched by statusMatcher and using body while preserving O1, O2, O3, O4, O5, O6, O7, and O8.

Receiver

Endpoint that currently declares eight outputs.

Return

endpoint containing the original outputs together with the newly added one.

Parameters

U

type of the endpoint URI definition.

I

type of the request input definition.

O1

type of the first existing output that remains unchanged.

O2

type of the second existing output that remains unchanged.

O3

type of the third existing output that remains unchanged.

O4

type of the fourth existing output that remains unchanged.

O5

type of the fifth existing output that remains unchanged.

O6

type of the sixth existing output that remains unchanged.

O7

type of the seventh existing output that remains unchanged.

O8

type of the eighth existing output that remains unchanged.

B

type of the response body definition created by body.

statusMatcher

matcher describing which statuses select the new output.

body

factory producing the response body definition when statusMatcher matches.


@JvmName(name = "outputMatcherHeaders8")
fun <P : Parameters, I : Input<*, *>, O1 : Output<*, *>, O2 : Output<*, *>, O3 : Output<*, *>, O4 : Output<*, *>, O5 : Output<*, *>, O6 : Output<*, *>, O7 : Output<*, *>, O8 : Output<*, *>, H : Headers, B : Body<*>> HttpEndpoint<P, I, Outputs8<O1, O2, O3, O4, O5, O6, O7, O8>>.output(statusMatcher: StatusMatcher, headers: () -> H, body: () -> B): HttpEndpoint<P, I, Outputs9<O1, O2, O3, O4, O5, O6, O7, O8, Output<H, B>>>(source)

Appends a new output matched by statusMatcher using headers and body while preserving O1, O2, O3, O4, O5, O6, O7, and O8.

Receiver

Endpoint that currently declares eight outputs.

Return

endpoint containing the original outputs together with the newly added one.

Parameters

U

type of the endpoint URI definition.

I

type of the request input definition.

O1

type of the first existing output that remains unchanged.

O2

type of the second existing output that remains unchanged.

O3

type of the third existing output that remains unchanged.

O4

type of the fourth existing output that remains unchanged.

O5

type of the fifth existing output that remains unchanged.

O6

type of the sixth existing output that remains unchanged.

O7

type of the seventh existing output that remains unchanged.

O8

type of the eighth existing output that remains unchanged.

H

type of the response header definition created by headers.

B

type of the response body definition created by body.

statusMatcher

matcher describing which statuses select the new output.

headers

factory producing the response headers emitted when statusMatcher matches.

body

factory producing the response body definition when statusMatcher matches.


@JvmName(name = "outputWithStatus9")
fun <P : Parameters, I : Input<*, *>, O1 : Output<*, *>, O2 : Output<*, *>, O3 : Output<*, *>, O4 : Output<*, *>, O5 : Output<*, *>, O6 : Output<*, *>, O7 : Output<*, *>, O8 : Output<*, *>, O9 : Output<*, *>, B : Body<*>> HttpEndpoint<P, I, Outputs9<O1, O2, O3, O4, O5, O6, O7, O8, O9>>.output(status: Status = Status.OK, body: () -> B): HttpEndpoint<P, I, Outputs10<O1, O2, O3, O4, O5, O6, O7, O8, O9, Output<Headers0, B>>>(source)

Appends a new output matched by status and using body while preserving O1, O2, O3, O4, O5, O6, O7, O8, and O9.

Receiver

Endpoint that currently declares nine outputs.

Return

endpoint containing the original outputs together with the newly added one.

Parameters

U

type of the endpoint URI definition.

I

type of the request input definition.

O1

type of the first existing output that remains unchanged.

O2

type of the second existing output that remains unchanged.

O3

type of the third existing output that remains unchanged.

O4

type of the fourth existing output that remains unchanged.

O5

type of the fifth existing output that remains unchanged.

O6

type of the sixth existing output that remains unchanged.

O7

type of the seventh existing output that remains unchanged.

O8

type of the eighth existing output that remains unchanged.

O9

type of the ninth existing output that remains unchanged.

B

type of the response body definition created by body.

status

HTTP status used to select the new output; defaults to Status.OK.

body

factory producing the response body definition when status matches.


@JvmName(name = "outputWithStatusHeaders9")
fun <P : Parameters, I : Input<*, *>, O1 : Output<*, *>, O2 : Output<*, *>, O3 : Output<*, *>, O4 : Output<*, *>, O5 : Output<*, *>, O6 : Output<*, *>, O7 : Output<*, *>, O8 : Output<*, *>, O9 : Output<*, *>, H : Headers, B : Body<*>> HttpEndpoint<P, I, Outputs9<O1, O2, O3, O4, O5, O6, O7, O8, O9>>.output(status: Status = Status.OK, headers: () -> H, body: () -> B): HttpEndpoint<P, I, Outputs10<O1, O2, O3, O4, O5, O6, O7, O8, O9, Output<H, B>>>(source)

Appends a new output matched by status using headers and body while preserving O1, O2, O3, O4, O5, O6, O7, O8, and O9.

Receiver

Endpoint that currently declares nine outputs.

Return

endpoint containing the original outputs together with the newly added one.

Parameters

U

type of the endpoint URI definition.

I

type of the request input definition.

O1

type of the first existing output that remains unchanged.

O2

type of the second existing output that remains unchanged.

O3

type of the third existing output that remains unchanged.

O4

type of the fourth existing output that remains unchanged.

O5

type of the fifth existing output that remains unchanged.

O6

type of the sixth existing output that remains unchanged.

O7

type of the seventh existing output that remains unchanged.

O8

type of the eighth existing output that remains unchanged.

O9

type of the ninth existing output that remains unchanged.

H

type of the response header definition created by headers.

B

type of the response body definition created by body.

status

HTTP status used to select the new output; defaults to Status.OK.

headers

factory producing the response headers emitted when status matches.

body

factory producing the response body definition when status matches.


@JvmName(name = "outputMatcher9")
fun <P : Parameters, I : Input<*, *>, O1 : Output<*, *>, O2 : Output<*, *>, O3 : Output<*, *>, O4 : Output<*, *>, O5 : Output<*, *>, O6 : Output<*, *>, O7 : Output<*, *>, O8 : Output<*, *>, O9 : Output<*, *>, B : Body<*>> HttpEndpoint<P, I, Outputs9<O1, O2, O3, O4, O5, O6, O7, O8, O9>>.output(statusMatcher: StatusMatcher, body: () -> B): HttpEndpoint<P, I, Outputs10<O1, O2, O3, O4, O5, O6, O7, O8, O9, Output<Headers0, B>>>(source)

Appends a new output matched by statusMatcher and using body while preserving O1, O2, O3, O4, O5, O6, O7, O8, and O9.

Receiver

Endpoint that currently declares nine outputs.

Return

endpoint containing the original outputs together with the newly added one.

Parameters

U

type of the endpoint URI definition.

I

type of the request input definition.

O1

type of the first existing output that remains unchanged.

O2

type of the second existing output that remains unchanged.

O3

type of the third existing output that remains unchanged.

O4

type of the fourth existing output that remains unchanged.

O5

type of the fifth existing output that remains unchanged.

O6

type of the sixth existing output that remains unchanged.

O7

type of the seventh existing output that remains unchanged.

O8

type of the eighth existing output that remains unchanged.

O9

type of the ninth existing output that remains unchanged.

B

type of the response body definition created by body.

statusMatcher

matcher describing which statuses select the new output.

body

factory producing the response body definition when statusMatcher matches.


@JvmName(name = "outputMatcherHeaders9")
fun <P : Parameters, I : Input<*, *>, O1 : Output<*, *>, O2 : Output<*, *>, O3 : Output<*, *>, O4 : Output<*, *>, O5 : Output<*, *>, O6 : Output<*, *>, O7 : Output<*, *>, O8 : Output<*, *>, O9 : Output<*, *>, H : Headers, B : Body<*>> HttpEndpoint<P, I, Outputs9<O1, O2, O3, O4, O5, O6, O7, O8, O9>>.output(statusMatcher: StatusMatcher, headers: () -> H, body: () -> B): HttpEndpoint<P, I, Outputs10<O1, O2, O3, O4, O5, O6, O7, O8, O9, Output<H, B>>>(source)

Appends a new output matched by statusMatcher using headers and body while preserving O1, O2, O3, O4, O5, O6, O7, O8, and O9.

Receiver

Endpoint that currently declares nine outputs.

Return

endpoint containing the original outputs together with the newly added one.

Parameters

U

type of the endpoint URI definition.

I

type of the request input definition.

O1

type of the first existing output that remains unchanged.

O2

type of the second existing output that remains unchanged.

O3

type of the third existing output that remains unchanged.

O4

type of the fourth existing output that remains unchanged.

O5

type of the fifth existing output that remains unchanged.

O6

type of the sixth existing output that remains unchanged.

O7

type of the seventh existing output that remains unchanged.

O8

type of the eighth existing output that remains unchanged.

O9

type of the ninth existing output that remains unchanged.

H

type of the response header definition created by headers.

B

type of the response body definition created by body.

statusMatcher

matcher describing which statuses select the new output.

headers

factory producing the response headers emitted when statusMatcher matches.

body

factory producing the response body definition when statusMatcher matches.