encodeInputHeaders

Returns an empty map when the request does not expect headers.


Encodes input headers for an endpoint expecting one header definition.

Return

map of header names to their encoded values.

Parameters

h1

value for the first header.

See also


Encodes input headers for an endpoint expecting 2 header definitions.

Return

map of header names to their encoded values.

Parameters

h1

value for the first header.

h2

value for the second header.

See also


fun <H1 : Any, H2 : Any, H3 : Any> Input<Headers3<H1, H2, H3>, *>.encodeInputHeaders(h1: H1, h2: H2, h3: H3): Map<String, List<String>>(source)

Encodes input headers for an endpoint expecting 3 header definitions.

Return

map of header names to their encoded values.

Parameters

h1

value for the first header.

h2

value for the second header.

h3

value for the third header.

See also


fun <H1 : Any, H2 : Any, H3 : Any, H4 : Any> Input<Headers4<H1, H2, H3, H4>, *>.encodeInputHeaders(h1: H1, h2: H2, h3: H3, h4: H4): Map<String, List<String>>(source)

Encodes input headers for an endpoint expecting 4 header definitions.

Return

map of header names to their encoded values.

Parameters

h1

value for the first header.

h2

value for the second header.

h3

value for the third header.

h4

value for the 4th header.

See also


fun <H1 : Any, H2 : Any, H3 : Any, H4 : Any, H5 : Any> Input<Headers5<H1, H2, H3, H4, H5>, *>.encodeInputHeaders(h1: H1, h2: H2, h3: H3, h4: H4, h5: H5): Map<String, List<String>>(source)

Encodes input headers for an endpoint expecting 5 header definitions.

Return

map of header names to their encoded values.

Parameters

h1

value for the first header.

h2

value for the second header.

h3

value for the third header.

h4

value for the 4th header.

h5

value for the 5th header.

See also


fun <H1 : Any, H2 : Any, H3 : Any, H4 : Any, H5 : Any, H6 : Any> Input<Headers6<H1, H2, H3, H4, H5, H6>, *>.encodeInputHeaders(h1: H1, h2: H2, h3: H3, h4: H4, h5: H5, h6: H6): Map<String, List<String>>(source)

Encodes input headers for an endpoint expecting 6 header definitions.

Return

map of header names to their encoded values.

Parameters

h1

value for the first header.

h2

value for the second header.

h3

value for the third header.

h4

value for the 4th header.

h5

value for the 5th header.

h6

value for the 6th header.

See also


fun <H1 : Any, H2 : Any, H3 : Any, H4 : Any, H5 : Any, H6 : Any, H7 : Any> Input<Headers7<H1, H2, H3, H4, H5, H6, H7>, *>.encodeInputHeaders(h1: H1, h2: H2, h3: H3, h4: H4, h5: H5, h6: H6, h7: H7): Map<String, List<String>>(source)

Encodes input headers for an endpoint expecting 7 header definitions.

Return

map of header names to their encoded values.

Parameters

h1

value for the first header.

h2

value for the second header.

h3

value for the third header.

h4

value for the 4th header.

h5

value for the 5th header.

h6

value for the 6th header.

h7

value for the 7th header.

See also


fun <H1 : Any, H2 : Any, H3 : Any, H4 : Any, H5 : Any, H6 : Any, H7 : Any, H8 : Any> Input<Headers8<H1, H2, H3, H4, H5, H6, H7, H8>, *>.encodeInputHeaders(h1: H1, h2: H2, h3: H3, h4: H4, h5: H5, h6: H6, h7: H7, h8: H8): Map<String, List<String>>(source)

Encodes input headers for an endpoint expecting 8 header definitions.

Return

map of header names to their encoded values.

Parameters

h1

value for the first header.

h2

value for the second header.

h3

value for the third header.

h4

value for the 4th header.

h5

value for the 5th header.

h6

value for the 6th header.

h7

value for the 7th header.

h8

value for the 8th header.

See also


fun <H1 : Any, H2 : Any, H3 : Any, H4 : Any, H5 : Any, H6 : Any, H7 : Any, H8 : Any, H9 : Any> Input<Headers9<H1, H2, H3, H4, H5, H6, H7, H8, H9>, *>.encodeInputHeaders(h1: H1, h2: H2, h3: H3, h4: H4, h5: H5, h6: H6, h7: H7, h8: H8, h9: H9): Map<String, List<String>>(source)

Encodes input headers for an endpoint expecting 9 header definitions.

Return

map of header names to their encoded values.

Parameters

h1

value for the first header.

h2

value for the second header.

h3

value for the third header.

h4

value for the 4th header.

h5

value for the 5th header.

h6

value for the 6th header.

h7

value for the 7th header.

h8

value for the 8th header.

h9

value for the 9th header.

See also


fun <H1 : Any, H2 : Any, H3 : Any, H4 : Any, H5 : Any, H6 : Any, H7 : Any, H8 : Any, H9 : Any, H10 : Any> Input<Headers10<H1, H2, H3, H4, H5, H6, H7, H8, H9, H10>, *>.encodeInputHeaders(h1: H1, h2: H2, h3: H3, h4: H4, h5: H5, h6: H6, h7: H7, h8: H8, h9: H9, h10: H10): Map<String, List<String>>(source)

Encodes input headers for an endpoint expecting 10 header definitions.

Return

map of header names to their encoded values.

Parameters

h1

value for the first header.

h2

value for the second header.

h3

value for the third header.

h4

value for the 4th header.

h5

value for the 5th header.

h6

value for the 6th header.

h7

value for the 7th header.

h8

value for the 8th header.

h9

value for the 9th header.

h10

value for the 10th header.

See also